file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/linear/Playremove.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.linear
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... |
mdUtil/src/main/java/util/mddesign/viewtint/ProgressBar.kt | unknown_repo | kotlin | @file:JvmName("ProgressBarUtil")
package util.mddesign.viewtint
import android.content.res.ColorStateList
import android.os.Build
import android.widget.ProgressBar
import androidx.annotation.ColorInt
import androidx.core.graphics.BlendModeColorFilterCompat
import androidx.core.graphics.BlendModeCompat
fun setTint(pr... |
app/src/main/java/com/hritikbhat/spotify_mvvm_app/models/Song.kt | unknown_repo | kotlin | package com.hritikbhat.spotify_mvvm_app.Models
import android.app.Activity
import android.app.Service.STOP_FOREGROUND_REMOVE
import android.view.View
import com.hritikbhat.spotify_mvvm_app.ui.Activities.PlayActivity
import com.hritikbhat.spotify_mvvm_app.ui.Fragments.NowPlaying
import kotlin.random.Random
import kotli... |
app/src/main/java/com/hritikbhat/spotify_mvvm_app/models/Song.kt | unknown_repo | kotlin | package com.hritikbhat.spotify_mvvm_app.Models
import android.app.Activity
import android.app.Service.STOP_FOREGROUND_REMOVE
import android.view.View
import com.hritikbhat.spotify_mvvm_app.ui.Activities.PlayActivity
import com.hritikbhat.spotify_mvvm_app.ui.Fragments.NowPlaying
import kotlin.random.Random
import kotli... |
app/src/main/java/com/peter/landing/data/local/history/SearchHistory.kt | unknown_repo | kotlin | package com.peter.landing.data.local.history
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.peter.landing.util.getTodayDateTimeFull
import java.util.*
@Entity(tableName = "search_history")
data class SearchHistory(
@PrimaryKey
val input: String = "",
... |
sqlite-driver/src/commonMain/kotlin/WasmSqliteDriverDriverBuilder.kt | unknown_repo | kotlin | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.driver
import a... |
plugins/music_player/android/src/main/kotlin/com/xhhold/plugin/music_player/MusicScanner.kt | unknown_repo | kotlin | package com.xhhold.plugin.music_player
import android.content.ContentUris
import android.provider.MediaStore
import android.util.Log
import com.xhhold.plugin.music_player.ext.openFileDescriptorRead
import com.xhhold.plugin.music_player.manager.FileManager
import kotlinx.coroutines.runBlocking
typealias MusicScannerCa... |
app/src/main/java/com/hujiayucc/hook/ui/activity/MainActivity.kt | unknown_repo | kotlin | package com.hujiayucc.hook.ui.activity
import android.Manifest
import android.annotation.SuppressLint
import android.app.ActivityManager
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Configuration
... |
app/src/main/java/com/carin/viewmodels/InfoRouteViewModel.kt | unknown_repo | kotlin | package com.carin.viewmodels
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import com.carin.data.repositories.RouteRepository
import com.carin.domain.models.RouteModel... |
app/src/main/java/com/github/pidsamhai/covid19thailand/appwidget/BaseAppWidgetProvider.kt | unknown_repo | kotlin | package com.github.pidsamhai.covid19thailand.appwidget
import android.appwidget.AppWidgetManager
import android.appwidget.AppWidgetProvider
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.... |
client-android/app/src/main/java/com/innodroid/foodscannerapp/ui/detail/IngredientSummaryView.kt | unknown_repo | kotlin | package com.innodroid.foodscannerapp.ui.detail
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import androidx.annotation.DrawableRes
import com.innodroid.foodscannerapp.R
import com.innodroid.foodscannerapp.databinding.ViewIngredient... |
android/app/src/main/java/com/btsplusplus/fowallet/ViewSelector.kt | unknown_repo | kotlin | package com.btsplusplus.fowallet
import android.app.AlertDialog
import android.content.Context
import bitshares.forEach
import bitshares.toList
import org.json.JSONArray
import org.json.JSONObject
class ViewSelector {
companion object {
fun create(ctx: Context, title: String, list: Array<String>, callb... |
app/src/main/java/ua/blackwind/limbushelper/ui/util/BannerShape.kt | unknown_repo | kotlin | package ua.blackwind.limbushelper.ui.util
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.Color
import androidx.compose.ui... |
dialogs-color/src/main/java/com/michaelflisar/dialogs/classes/GroupedColor.kt | unknown_repo | kotlin | package com.michaelflisar.dialogs.classes
import android.content.Context
import android.graphics.drawable.Drawable
import android.os.Build
import android.view.View
import androidx.core.content.ContextCompat
import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat
import com.michaelflisar.dialogs.ColorDefi... |
feather/src/commonMain/kotlin/compose/icons/feathericons/RotateCcw.kt | unknown_repo | kotlin | package compose.icons.feathericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeC... |
app/src/main/java/com/senierr/mortal/domain/category/wrapper/CategoryWrapper.kt | unknown_repo | kotlin | package com.senierr.mortal.domain.category.wrapper
import android.widget.TextView
import com.senierr.adapter.internal.ViewHolder
import com.senierr.adapter.internal.ViewHolderWrapper
import com.senierr.mortal.R
import com.senierr.repository.entity.gank.Category
/**
* 分类标签管理适配器
*
* @author zhouchunjie
* @date 2020... |
app/src/main/java/com/torrydo/testfloatingbubble/BubbleCompose.kt | unknown_repo | kotlin | package com.torrydo.testfloatingbubble
import android.widget.Toast
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxHei... |
health/connect/connect-client/src/main/java/androidx/health/connect/client/impl/platform/records/RequestConverters.kt | unknown_repo | kotlin | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
src/android/com/adobe/phonegap/push/notifications/NotificationBuilder.kt | unknown_repo | kotlin | package com.adobe.phonegap.push.notifications
import android.R
import android.annotation.SuppressLint
import android.app.Notification
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.media.RingtoneManager
import android.net.Uri
i... |
solar/src/main/java/com/chiksmedina/solar/outline/messagesconversation/Letter.kt | unknown_repo | kotlin | package com.chiksmedina.solar.outline.messagesconversation
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJ... |
app/src/main/java/uk/lobsterdoodle/namepicker/ui/groups/GroupsPage.kt | unknown_repo | kotlin | package uk.lobsterdoodle.namepicker.ui.groups
import androidx.compose.foundation.layout.*
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.... |
app/src/main/java/cc/imorning/chat/activity/ChatActivity.kt | unknown_repo | kotlin | package cc.imorning.chat.activity
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.compose.foundation.layout.*
import andr... |
next/kmp/pureImage/src/commonMain/kotlin/org/dweb_browser/pure/image/offscreenwebcanvas/WebCanvasContextSession.kt | unknown_repo | kotlin | package org.dweb_browser.pure.image.offscreenwebcanvas
import androidx.compose.ui.graphics.ImageBitmap
import org.dweb_browser.helper.OrderDeferred
import org.dweb_browser.helper.platform.toImageBitmap
import org.dweb_browser.pure.image.OffscreenWebCanvas
suspend fun OffscreenWebCanvas.waitReady() = core.channel.wai... |
app/src/main/java/ir/digireza/tmdb/presentation/people/details/components/PersonDetailsHeaderComponent.kt | unknown_repo | kotlin | package dn.marjan.tmdb.presentation.people.details.components
import android.graphics.drawable.AnimatedImageDrawable
import androidx.compose.animation.AnimatedContent
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
imp... |
app/src/main/java/com/example/nestedtestdemo/config/Constant.kt | unknown_repo | kotlin | package com.example.nestedtestdemo.config
import androidx.viewpager.widget.ViewPager
import com.example.nestedtestdemo.widget.NestedInnerRecyclerView
import com.example.nestedtestdemo.widget.NestedOuterRecyclerView
import com.example.nestedtestdemo.widget.OverScroller
import com.example.nestedtestdemo.widget.RecyclerT... |
android/app/src/main/kotlin/com/v2ray/ang/ui/PerAppProxyAdapter.kt | unknown_repo | kotlin | package com.hamrah.ang.ui
import android.view.LayoutInflater
import androidx.recyclerview.widget.RecyclerView
import android.view.View
import android.view.ViewGroup
import com.hamrah.ang.R
import com.hamrah.ang.databinding.ItemRecyclerBypassListBinding
import com.hamrah.ang.dto.AppInfo
import java.util.*
class PerApp... |
android/app/opentracesdk_fat/src/main/java/ai/kun/opentracesdk_fat/dao/DeviceDao.kt | unknown_repo | kotlin | package ai.kun.opentracesdk_fat.dao
import androidx.lifecycle.LiveData
import androidx.room.*
/**
* a DAO for dealing with devices
*
*/
@Dao
interface DeviceDao {
/**
* get all the devices that have been detected
*
* @return live data for all the devices
*/
@Query("SELECT * FROM device_... |
app/src/main/java/com/pandulapeter/beagle/appDemo/feature/main/examples/analytics/list/ClearButtonViewHolder.kt | unknown_repo | kotlin | package com.pandulapeter.beagle.appDemo.feature.main.examples.analytics.list
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.pandulapeter.beagle.appDemo.R
import com.pandulapeter.beagle.appDemo.data... |
import-export/android/src/main/kotlin/studio/lunabee/onesafe/importexport/usecase/StoreExternalBackupUseCase.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023-2024 Lunabee Studio
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackFragment.kt | unknown_repo | kotlin | package eu.kanade.tachiyomi.ui.manga.track
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.NumberPicker
import com.afollestad.materialdialogs.MaterialDialog
import eu.kanade.tac... |
presentation/src/main/java/com/bayarsahintekin/matchscores/ui/components/stats/StatDetailScreen.kt | unknown_repo | kotlin | package com.bayarsahintekin.matchscores.ui.components.stats
import androidx.compose.runtime.Composable
import androidx.hilt.navigation.compose.hiltViewModel
import com.bayarsahintekin.matchscores.ui.viewmodel.GamesViewModel
import com.bayarsahintekin.matchscores.ui.viewmodel.StatsViewModel
@Composable
fun StatDetailS... |
PayByBank/src/main/java/com/ecospend/paylinksdk/app/module/bulkPayment/BulkPayment.kt | unknown_repo | kotlin | package com.ecospend.paybybank.app.module.bulkPayment
import android.app.Activity
import com.ecospend.paybybank.data.remote.model.bulkPayment.BulkPaymentGetResponse
import com.ecospend.paybybank.shared.coroutine.Coroutine
import com.ecospend.paybybank.shared.logger.AppLog
import com.ecospend.paybybank.shared.model.com... |
PayByBank/src/main/java/com/ecospend/paylinksdk/app/module/bulkPayment/BulkPayment.kt | unknown_repo | kotlin | package com.ecospend.paybybank.app.module.bulkPayment
import android.app.Activity
import com.ecospend.paybybank.data.remote.model.bulkPayment.BulkPaymentGetResponse
import com.ecospend.paybybank.shared.coroutine.Coroutine
import com.ecospend.paybybank.shared.logger.AppLog
import com.ecospend.paybybank.shared.model.com... |
app/src/main/java/com/kgurgul/cpuinfo/features/information/screen/ScreenInfoFragment.kt | unknown_repo | kotlin | /*
* Copyright 2017 KG Soft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
app/src/main/java/petrov/ivan/tmdb/ui/search/ScreenSearch.kt | unknown_repo | kotlin | package petrov.ivan.tmdb.ui.search
import android.annotation.SuppressLint
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items... |
HttpUtils/src/main/java/com/zhangteng/httputils/utils/DiskLruCacheUtils.kt | unknown_repo | kotlin | package com.zhangteng.httputils.utils
import android.os.Environment
import android.util.Log
import com.zhangteng.httputils.http.GlobalHttpUtils
import okhttp3.Cache
import okhttp3.HttpUrl
import okhttp3.internal.cache.DiskLruCache
import okhttp3.internal.concurrent.TaskRunner
import okhttp3.internal.io.FileSystem
impo... |
app/src/main/java/com/task/App.kt | unknown_repo | kotlin | package com.task
import android.app.Application
import android.content.Context
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
open class App : Application()
|
platform/external-system-impl/src/com/intellij/openapi/externalSystem/dependency/analyzer/DependencyAnalyzerViewImpl.kt | unknown_repo | kotlin | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.externalSystem.dependency.analyzer
import com.intellij.icons.AllIcons
import com.intellij.openapi.Disposable
import com.intellij.op... |
icamera/src/main/java/me/shouheng/icamera/enums/PreviewAdjustType.kt | unknown_repo | kotlin | package me.shouheng.icamera.enums
import androidx.annotation.IntDef
/**
* Camera preview adjust type, will be used to decide how
* the imagery is displayed when the preview view size diffs
* from the imagery size.
*
* @author [WngShhng](mailto:shouheng2015@gmail.com)
* @version 2019-12-28 11:55
*/
@IntDef(
... |
net/src/main/java/pers/icebounded/net/cookie/CookieStore.kt | unknown_repo | kotlin | package pers.icebounded.net.cookie
import android.content.Context
import android.content.SharedPreferences
import pers.icebounded.lib.util.clear
import pers.icebounded.lib.util.put
import pers.icebounded.lib.util.remove
import pers.icebounded.serialization.cookie.CookieSerializer
import kotlinx.serialization.builtins.... |
common/ui/compose/src/commonMain/kotlin/app/tivi/common/compose/ui/DateTimeTextFields.kt | unknown_repo | kotlin | /*
* Taken from https://github.com/chrisbanes/tivi/blob/main/common/ui/compose/src/commonMain/kotlin/app/tivi/common/compose/ui/DateTimeTextFields.kt
*/
package com.seiko.greenqrscanner.ui.widget
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Box
import androidx.compose.fo... |
ground/src/main/java/com/google/android/ground/system/NotificationManager.kt | unknown_repo | kotlin | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
java/com/relapps/everythingyouneed/activities/WeatherActivity.kt | unknown_repo | kotlin | package com.relapps.everythingyouneed.activities
import android.Manifest
import android.annotation.SuppressLint
import android.app.Dialog
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.location.Locati... |
sample/src/main/java/io/github/onreg/todo/App.kt | unknown_repo | kotlin | package com.hurryyu.tworecyclerviewlinkage
import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
class App : Application() {
companion object {
@SuppressLint("StaticFieldLeak")
lateinit var context: Context
}
override fun onCreate() {
... |
DigitalBookAppUIKit/app/src/main/java/com/rotmstudio/digitalbookappuikit/ui/detail/DetailScreen.kt | unknown_repo | kotlin | package com.rotmstudio.digitalbookappuikit.ui.detail
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.... |
beagle/src/test/kotlin/br/com/zup/beagle/android/view/viewmodel/ListViewIdViewModelTest.kt | unknown_repo | kotlin | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
app/src/main/java/eu/kanade/tachiyomi/ui/extension/repos/RepoHolder.kt | unknown_repo | kotlin | package eu.kanade.tachiyomi.ui.category.repos
import android.view.View
import androidx.core.view.isVisible
import eu.davidea.viewholders.FlexibleViewHolder
import eu.kanade.tachiyomi.databinding.CategoriesItemBinding
/**
* Holder used to display repo items.
*
* @param view The view used by repo items.
* @param ad... |
packages/expo-camera/android/src/main/java/expo/modules/camera/events/CameraReadyEvent.kt | unknown_repo | kotlin | package abi45_0_0.expo.modules.camera.events
import android.os.Bundle
import androidx.core.util.Pools
import abi45_0_0.expo.modules.camera.CameraViewManager
import abi45_0_0.expo.modules.core.interfaces.services.EventEmitter.BaseEvent
class CameraReadyEvent private constructor() : BaseEvent() {
override fun getEven... |
src/main/kotlin/coroutines/hello/Hello.kt | unknown_repo | kotlin | package coroutines.hello
import kotlinx.coroutines.*
import java.rmi.RemoteException
fun main() = helloWithFun()
fun hello() = runBlocking {
launch {
delay(1000L)
println("Campus!")
}
println("Willkommen zum")
}
fun helloWithFun() = runBlocking {
launch {
try {
de... |
android-ui/src/main/java/app/boletinhos/bill/add/AddBillViewModel.kt | unknown_repo | kotlin | package app.boletinhos.bill.add
import app.boletinhos.domain.bill.Bill
import app.boletinhos.domain.bill.BillStatus
import app.boletinhos.domain.bill.CreateBill
import app.boletinhos.domain.bill.error.BillInvalidDueDateException
import app.boletinhos.lifecycle.LifecycleAwareCoroutineScope
import app.boletinhos.messagi... |
app/src/main/java/com/hexad/skodaautomotiveapp/viewmodel/UserViewModelFactory.kt | unknown_repo | kotlin | package com.hexad.skodaautomotiveapp.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.hexad.skodaautomotiveapp.data.repository.UserRepository
class UserViewModelFactory(private val repository: UserRepository) : ViewModelProvider.Factory {
override fun <T : View... |
BasicAndroidAccessibility-Kotlin/app/src/main/java/com/example/android/basicandroidaccessibility/ContentLabelingFragment.kt | unknown_repo | kotlin | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
app/src/main/java/com/anabelmm/imboredapp/view/MyApplication.kt | unknown_repo | kotlin | package com.anabelmm.imboredapp.view
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MyApplication : Application() |
presentation/viewmodel/src/main/kotlin/org/a_cyb/sayitalarm/presentation/viewmodel/EditViewModel.kt | unknown_repo | kotlin | /*
* Copyright (c) 2024 <NAME> / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
package org.a_cyb.sayitalarm.presentation.viewmodel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.cor... |
library-ui-test/src/main/kotlin/com/github/aakira/expandablelayout/uitest/ExpandableLinearLayoutActivity3.kt | unknown_repo | kotlin | package com.github.aakira.expandablelayout.uitest
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_expandable_linear_layout3.*
import rx.subscriptions.CompositeSubscription
/**
* test for [com.github.aakira.expandablelayout.ExpandableLinearLayout... |
software/AndroidApp2/app/src/main/java/com/handplotter/shdev/handplotter/PreparationActivity.kt | unknown_repo | kotlin | package com.handplotter.shdev.handplotter
import android.Manifest
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.constraint.ConstraintLayout
impo... |
app/src/main/java/com/github/felipecastilhos/pokedexandroid/features/pokemon/presentation/components/AboutPanel.kt | unknown_repo | kotlin | package com.github.felipecastilhos.pokedexandroid.features.pokemon.presentation.components
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.lay... |
app/src/test/java/p/ritika/cricsummit/viewmodel/Challenge1ViewModelTest.kt | unknown_repo | kotlin | package p.ritika.cricsummit.viewmodel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.resetMain
import kotlinx.coroutines.test.setMain
import org.junit.After
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import kotlin.test.a... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/LightSwitchOff.kt | unknown_repo | kotlin | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... |
androidApp/src/main/java/io/github/jacksonweekes/xviewer/android/XViewer.kt | unknown_repo | kotlin | package io.github.jacksonweekes.xviewer.android
import android.app.Application
import android.content.Context
import android.content.SharedPreferences
import io.github.jacksonweekes.xviewer.initKoin
import org.koin.dsl.module
class XViewer: Application() {
override fun onCreate() {
super.onCreate()
... |
app/src/main/java/com/victordevs/customnavbar/ui/custom_nav/BottomNav.kt | unknown_repo | kotlin | package com.victordevs.customnavbar.ui.custom_nav
import android.widget.Toast
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.lay... |
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-raise-12.kt | unknown_repo | kotlin | // This file was automatically generated from Effect.kt by Knit tool. Do not edit.
package arrow.core.examples.exampleRaise12
import arrow.core.raise.effect
import arrow.core.raise.fold
import io.kotest.assertions.fail
import io.kotest.matchers.shouldBe
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutine... |
app/src/test/java/io/github/wulkanowy/data/WulkanowySdkFactoryTest.kt | unknown_repo | kotlin | package io.github.wulkanowy.data
import android.os.Build
import dagger.hilt.android.testing.HiltTestApplication
import io.github.wulkanowy.data.db.dao.StudentDao
import io.github.wulkanowy.data.db.entities.Student
import io.github.wulkanowy.data.db.entities.StudentIsEduOne
import io.github.wulkanowy.getStudentEntity
i... |
app/src/main/java/co/kotekote/partyverse/ui/screens/ProfileScreen.kt | unknown_repo | kotlin | package co.kotekote.partyverse.ui.screens
import android.graphics.Bitmap
import android.graphics.ImageDecoder
import android.net.Uri
import android.os.Build
import android.provider.MediaStore
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.PickVisualMediaRequest
impor... |
app/src/main/java/com/canque/listviewrecyclerview/Fruit.kt | unknown_repo | kotlin | package com.canque.listviewrecyclerview
import android.os.Parcel
import android.os.Parcelable
import java.io.Serializable
data class Fruit(
val fruitName: String,
val fruitImg: Int,
): Serializable
|
app/src/main/java/io/horizontalsystems/bankwallet/modules/rooteddevice/RootedDeviceScreen.kt | unknown_repo | kotlin | package io.deus.wallet.modules.rooteddevice
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fi... |
app/src/androidTest/java/world/gregs/android/album/ui/MainActivityTest.kt | unknown_repo | kotlin | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
core/ui/src/main/java/com/niyaj/ui/components/ScrollToTop.kt | unknown_repo | kotlin | package com.niyaj.ui.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVertically
import androidx.compose.foundation.background
... |
app/src/main/java/com/example/hellonavigation/popupto/MainActivity.kt | unknown_repo | kotlin | package com.example.hellonavigation.popupto
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxHeight
import andro... |
app/src/main/java/taiwan/no/one/dropbeat/di/FeatModuleHelper.kt | unknown_repo | kotlin | /*
* MIT License
*
* Copyright (c) 2021 Jieyi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... |
app/src/main/java/com/quangpv/punk/feature/MainActivity.kt | unknown_repo | kotlin | package com.quangpv.punk.feature
import android.os.Bundle
import android.support.core.view.viewBinding
import android.support.viewmodel.viewModel
import com.quangpv.punk.R
import com.quangpv.punk.app.AppActivity
import com.quangpv.punk.databinding.ActivityMainBinding
import com.quangpv.punk.extension.show
class MainA... |
app/src/main/java/io/github/kunal26das/yify/movie/list/NewMoviesViewModel.kt | unknown_repo | kotlin | package io.github.kunal26das.yify.movie.list
import dagger.hilt.android.lifecycle.HiltViewModel
import io.github.kunal26das.yify.movie.filter.Filters
import io.github.kunal26das.yify.repository.MovieRepository
import io.github.kunal26das.yify.source.NewMovies
import java.util.*
import javax.inject.Inject
@HiltViewMod... |
composeApp/src/commonMain/kotlin/com/anbui/skribbl/main/MainScreen.kt | unknown_repo | kotlin | package com.anbui.skribbl.main
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Scaffold
import androidx.compose.material3.SnackbarHost
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import cafe.adriel.... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Saveminus.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... |
aula12/app/src/main/java/br/edu/ifb/android/PesquisaActivity.kt | unknown_repo | kotlin | package br.edu.ifb.android
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.widget.ArrayAdapter
import android.widget.EditText
import android.widget.ListView
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.FirebaseApp
import com.google.fire... |
app/src/main/java/com/crossbowffs/quotelock/account/SyncAccountManager.kt | unknown_repo | kotlin | package com.crossbowffs.quotelock.account
import android.accounts.Account
import android.accounts.AccountManager
import android.content.ContentResolver
import android.os.Build
import android.os.Bundle
import com.crossbowffs.quotelock.account.syncadapter.getServerSyncMarker
import com.crossbowffs.quotelock.account.sync... |
core/src/main/kotlin/com/vmadalin/core/di/CoreComponent.kt | unknown_repo | kotlin | /*
* Copyright 2019 vmadalin.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
fl_amap/android/src/main/kotlin/fl/amap/AMapLocationMethodCall.kt | unknown_repo | kotlin | package fl.amap
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Handler
import com.amap.api.fence.GeoFence
import com.amap.api.fence.GeoFenceClient
import com.amap.api.fence.GeoFenceClient.*
import com.amap.api.... |
main/src/main/java/com/quxianggif/util/AnimUtils.kt | unknown_repo | kotlin | /*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
sensorgraphview/src/main/java/com/ncorti/myonnaise/sensorgraphview/SensorGraphView.kt | unknown_repo | kotlin | package com.ncorti.myonnaise.sensorgraphview
import android.content.ContentValues.TAG
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.AttributeSet
import android.util.Log
import android.view.View
import androidx.core.content.... |
app/src/main/java/dev/leonlatsch/photok/ui/setup/SetupFragment.kt | unknown_repo | kotlin | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
app/src/main/java/dev/lucasnlm/arch/info/logic/DeviceInfoSharer.kt | unknown_repo | kotlin | package dev.lucasnlm.arch.info.logic
import android.content.Context
import android.content.Intent
import dev.lucasnlm.arch.info.models.DeviceInfo
import java.util.*
class DeviceInfoSharer(
private val context: Context
) {
fun share(deviceInfo: DeviceInfo) {
val intent = Intent(Intent.ACTION_SEND).appl... |
feature/history/src/main/java/com/qure/history/HistoryNavigation.kt | unknown_repo | kotlin | package com.qure.history
import androidx.compose.foundation.layout.PaddingValues
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavOptions
import androidx.navigation.compose.composable
import com.qure.navigation.MainTabRoute
import com.qure.ui.model.MemoU... |
src/main/kotlin/dev/kingtux/tms/api/modifiers/BindingModifiers.kt | unknown_repo | kotlin | package dev.kingtux.tms.api.modifiers
import de.siphalor.amecs.api.KeyModifiers
import dev.kingtux.tms.TooManyShortcuts
import kotlinx.serialization.Serializable
@Serializable
data class BindingModifiers(
var shift: Boolean = false,
var ctrl: Boolean = false,
var alt: Boolean = false,
) {
fun hasModi... |
app/src/main/java/com/google/firebase/ml/md/kotlin/LiveBarcodeScanningActivity.kt | unknown_repo | kotlin | /**
* Created by <NAME> on 19,July,2020
*/
package com.google.firebase.ml.md.kotlin
import android.animation.AnimatorInflater
import android.animation.AnimatorSet
import android.app.Activity
import android.content.Intent
import android.hardware.Camera
import android.os.Bundle
import android.util.Log
import android.... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/CircleJ.kt | unknown_repo | kotlin | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... |
EZRecipes/app/src/main/java/com/abhiek/ezrecipes/ui/recipe/InstructionsList.kt | unknown_repo | kotlin | package com.abhiek.ezrecipes.ui.recipe
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.MaterialTheme
import androidx.compose.m... |
client/android/div/src/test/java/com/yandex/div/core/view2/items/DivItemChangeActionHandlerTest.kt | unknown_repo | kotlin | package com.yandex.div.core.view2.items
import android.net.Uri
import android.view.View
import com.yandex.div.core.DivViewFacade
import org.junit.After
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito... |
app/src/main/java/io/horizontalsystems/bankwallet/modules/transactionInfo/TransactionInfoFragment.kt | unknown_repo | kotlin | package io.horizontalsystems.bankwallet.modules.transactionInfo
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.lazy.LazyColumn... |
image/src/main/java/com/github/komamj/image/ImageGlideModule.kt | unknown_repo | kotlin | package com.github.komamj.image
import android.content.Context
import com.bumptech.glide.Glide
import com.bumptech.glide.Registry
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader
import com.bumptech.glide.load.model.GlideUrl
import com.bumptech.glide.module... |
kellocharts/src/main/java/co/csadev/kellocharts/model/Viewport.kt | unknown_repo | kotlin | package co.csadev.kellocharts.model
import android.os.Parcel
import android.os.Parcelable
class Viewport(var left: Float = 0f, var top: Float = 0f, var right: Float = 0f, var bottom: Float = 0f) : Parcelable {
/**
* Returns true if the viewport is empty `left >= right or bottom >= top`
*/
val isEmp... |
app/src/main/java/study/me/please/ui/session/SessionScreenState.kt | unknown_repo | kotlin | package study.me.please.ui.session
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.withContext
import study.me.p... |
photoeditor/src/main/java/ja/burhanrashid52/photoeditor/FilterImageView.kt | unknown_repo | kotlin | package ja.burhanrashid52.photoeditor
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.Bitmap
import android.graphics.Matrix
import android.graphics.PorterDuff
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.Drawable
import android.graphi... |
library/src/main/java/ru/pravbeseda/currencyedittext/CurrencyEditText.kt | unknown_repo | kotlin | /**
* Copyright (c) 2022-2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
designcompose/src/main/java/com/android/designcompose/MaterialThemeValues.kt | unknown_repo | kotlin | /*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
app/src/main/java/bruhcollective/itaysonlab/cobalt/news/entries/ReceivedNewGameEntry.kt | unknown_repo | kotlin | package bruhcollective.itaysonlab.cobalt.news.entries
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx... |
wmpf-demo/app/src/main/java/com/eyuan/wmpf/screen/Api.kt | unknown_repo | kotlin | @file:Suppress("SpellCheckingInspection")
package com.eyuan.wmpf.screen
import android.util.Log
import com.eyuan.luggage.demo.wxapi.DeviceInfo
import com.tencent.mm.ipcinvoker.IPCInvokeCallbackEx
import com.tencent.wmpf.cli.task.*
import com.tencent.wmpf.cli.task.pb.WMPFBaseRequestHelper
import com.tencent.wmpf.cli.t... |
app/src/main/java/io/horizontalsystems/bankwallet/core/storage/AppDatabase.kt | unknown_repo | kotlin | package io.horizontalsystems.bankwallet.core.storage
import android.arch.persistence.db.SupportSQLiteDatabase
import android.arch.persistence.room.Database
import android.arch.persistence.room.Room
import android.arch.persistence.room.RoomDatabase
import android.arch.persistence.room.migration.Migration
import android... |
core/designsystem/src/main/java/com/manjee/designsystem/ui/Color.kt | unknown_repo | kotlin | package com.manjee.designsystem.ui
import androidx.compose.ui.graphics.Color
val Grey10 = Color(0xFFB3B3B3)
val Grey20 = Color(0xFF999999)
val Grey30 = Color(0xFF808080)
val Grey40 = Color(0xFF666666)
val Grey50 = Color(0xFF4D4D4D)
val Grey60 = Color(0xFF333333)
val Grey70 = Color(0xFF1A1A1A)
val Grey80 = Color(0xFF0... |
app/src/main/kotlin/com/madness/collision/versatile/ApiViewingSearchActivity.kt | unknown_repo | kotlin | package com.madness.collision.versatile
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.madness.collision.main.MainActivity
import com.madness.collision.unit.Unit
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
class ApiViewingSe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.