file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
app/src/main/java/ac/id/unikom/codelabs/navigasee/utilities/service/foregroundconnect/LocationManager.kt | unknown_repo | kotlin | package ac.id.unikom.codelabs.navigasee.utilities.service.foregroundconnect
import ac.id.unikom.codelabs.navigasee.MyApplication
import ac.id.unikom.codelabs.navigasee.data.source.UpdateStatusRepository
import ac.id.unikom.codelabs.navigasee.utilities.helper.Preferences
import android.os.Looper
import android.util.Log... |
app/src/main/java/org/wikipedia/suggestededits/SuggestionsActivity.kt | unknown_repo | kotlin | package org.wikipedia.suggestededits
import android.content.Context
import android.content.Intent
import android.os.Bundle
import org.wikipedia.Constants
import org.wikipedia.Constants.INTENT_EXTRA_ACTION
import org.wikipedia.Constants.INTENT_EXTRA_INVOKE_SOURCE
import org.wikipedia.activity.SingleFragmentActivity
imp... |
app/src/main/java/com/app/hcmut/mymovie/feature/movies/MoviesActivity.kt | unknown_repo | kotlin | package com.app.hcmut.mymovie.feature.movies
import android.content.Intent
import android.graphics.Typeface
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.core.view.GravityCompat
import androidx.viewpager.widget.ViewPager
impor... |
lpDevice/src/main/java/com/angcyo/laserpacker/device/firmware/FirmwareModel.kt | unknown_repo | kotlin | package com.angcyo.laserpacker.device.firmware
import androidx.annotation.AnyThread
import androidx.lifecycle.ViewModel
import com.angcyo.bluetooth.fsc.*
import com.angcyo.bluetooth.fsc.laserpacker.LaserPeckerModel
import com.angcyo.bluetooth.fsc.laserpacker.command.DataCmd
import com.angcyo.bluetooth.fsc.laserpacker.... |
codegen/src/androidMain/kotlin/com/freeletics/khonshu/codegen/internal/DestinationComponentLookup.kt | unknown_repo | kotlin | package com.freeletics.khonshu.codegen.internal
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.freeletics.khonshu.navigation.BaseRoute
import com.freeletics.khonshu.navigation.internal.DestinationId
import com.freeletics.khonshu.navigation.internal.NavigationExecutor
import c... |
coil-compose-base/src/main/java/coil/compose/ImagePainter.kt | unknown_repo | kotlin | @file:SuppressLint("ComposableNaming")
@file:Suppress("unused")
package coil.compose
import android.annotation.SuppressLint
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import androidx.compose.runtime.Composable
import android... |
app/src/main/java/com/luuu/seven/module/news/ComicNewsFragment.kt | unknown_repo | kotlin | package com.luuu.seven.module.news
import android.arch.lifecycle.Observer
import android.os.Bundle
import android.support.design.widget.AppBarLayout
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentTransaction
import com.luuu.seven.R
import com.luuu.seven.WebActivity
import com.luuu.... |
presentation/src/main/java/com/anytypeio/anytype/presentation/home/HomeScreenViewModel.kt | unknown_repo | kotlin | package com.anytypeio.anytype.presentation.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import com.anytypeio.anytype.analytics.base.Analytics
import com.anytypeio.anytype.analytics.base.EventsDictionary
import com.anytypeio.anytype.core_m... |
app/src/main/java/com/kcteam/features/SearchLocation/SearchLocationFragment.kt | unknown_repo | kotlin | package com.dryftdynamics.features.SearchLocation
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import android.location.Address
import android.location.Geocoder
import android.location.Location
import a... |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Peugeot.kt | unknown_repo | kotlin | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... |
client-android/app/src/main/java/stasis/client_android/StasisClientDependencies.kt | unknown_repo | kotlin | package stasis.client_android
import stasis.client_android.lib.ops.backup.Providers as BackupProviders
import stasis.client_android.lib.ops.recovery.Providers as RecoveryProviders
import android.app.Application
import android.content.SharedPreferences
import android.os.HandlerThread
import android.os.Process
import da... |
app/src/main/java/com/seif/booksislandapp/presentation/home/categories/book_categories/BookCategoriesFragment.kt | unknown_repo | kotlin | package com.seif.booksislandapp.presentation.home.categories.book_categories
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.navigation.fragment.findN... |
app/src/main/java/br/com/github/ui/common/liveData/LiveDataSingleEvent.kt | unknown_repo | kotlin | package br.com.github.ui.common.liveData
import androidx.annotation.MainThread
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
import timber.log.Timber
import java.util.concurrent.atomic.AtomicBoolean
class LiveDataSingleEvent<T> : MutableLiveData<... |
example/composeApp/src/commonMain/kotlin/presentation/ui/home/HomeScreen.kt | unknown_repo | kotlin | package presentation.ui.home
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
import androidx.co... |
lab_assignments/MortgageCalculator/app/src/main/java/com/android/cecs453/mortgagecalculator/Prefs.kt | unknown_repo | kotlin | package com.android.cecs453.mortgagecalculator
import android.content.Context
import android.content.SharedPreferences
import android.preference.PreferenceManager
import android.util.Log
class Prefs (context1: Context) {
private var context: Context? = context1
private var amount:Float=200000.0f
private va... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Messageremove.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.bold
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... |
playground/app/src/main/kotlin/io/github/composegears/valkyrie/playground/icons/lazy/outlined/Add.kt | unknown_repo | kotlin | package io.github.composegears.valkyrie.playground.icons.lazy.outlined
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import io.github.comp... |
instrumented/integration/src/androidTest/kotlin/com/datadog/android/sdk/integration/trace/ConsentPendingNotGrantedTracesTest.kt | unknown_repo | kotlin | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sdk.integration.trace
import androidx.te... |
HW_1/app/src/main/java/com/example/tipcalculator/MainActivity.kt | unknown_repo | kotlin | package com.example.tipcalculator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.AbsSeekBar
import android.widget.SeekBar
import kotlinx.android.synthetic.main.activity_main.*
private c... |
app/src/androidTest/java/com/duckduckgo/app/email/ui/EmailProtectionSignInViewModelTest.kt | unknown_repo | kotlin | /*
* Copyright (c) 2021 DuckDuckGo
*
* 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 ... |
mobile-ui/src/main/java/com/lekaha/simpletube/ui/model/BrowseDetailViewModel.kt | unknown_repo | kotlin | package com.lekaha.simpletube.ui.model
import android.arch.lifecycle.LifecycleObserver
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.arch.lifecycle.ViewModel
import com.lekaha.simpletube.presentation.ViewResponse
import com.lekaha.simpletube.presentation.browse.Bro... |
app/src/main/java/br/com/siecola/androidproject02/network/OauthTokenInterceptor.kt | unknown_repo | kotlin | package br.com.siecola.androidproject02.network
import android.util.Log
import br.com.siecola.androidproject02.util.SharedPreferencesUtils
import okhttp3.Interceptor
import okhttp3.Response
private const val TAG = "OauthTokenInterceptor"
class OauthTokenInterceptor() : Interceptor {
override fun intercept(chain:... |
app/src/main/java/com/nativemobilebits/loginflow/screens/LoginScreen.kt | unknown_repo | kotlin | package com.nativemobilebits.loginflow.screens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
im... |
app/src/main/java/com/rphmelo/routeapp/extensions/CommonExtension.kt | unknown_repo | kotlin | package com.rphmelo.routeapp.extensions
import android.content.Context
import com.rphmelo.routeapp.util.DialogUtil
fun Context.tryRun(message: String? = null, block: () -> Unit) {
try {
block()
} catch (e: Exception) {
DialogUtil.showMessageDialog(this, message)
}
} |
sdk-incubator-lib/src/main/java/cash/z/ecc/android/sdk/WalletCoordinator.kt | unknown_repo | kotlin | package cash.z.ecc.android.sdk.demoapp
import android.content.Context
import cash.z.ecc.android.sdk.Synchronizer
import cash.z.ecc.android.sdk.demoapp.model.PersistableWallet
import cash.z.ecc.android.sdk.demoapp.util.Twig
import cash.z.ecc.android.sdk.demoapp.util.fromResources
import cash.z.ecc.android.sdk.ext.onFir... |
app/src/main/java/com/example/androiddevchallenge/ui/Shared.kt | unknown_repo | kotlin | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
lite/examples/image_segmentation/android/lib_interpreter/src/main/java/org/tensorflow/lite/examples/imagesegmentation/tflite/ModelExecutionResult.kt | unknown_repo | kotlin | /*
* Copyright 2019 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/msg/gcms/presentation/base/BaseActivity.kt | unknown_repo | kotlin | package com.msg.gfo_v2.gfo.ui.base
import android.os.Bundle
import android.os.PersistableBundle
import android.widget.Toast
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
abstract class BaseAc... |
examples/QuickStart/app/src/main/java/com/ntt/skyway/example/quickstart/MainActivity.kt | unknown_repo | kotlin | package com.ntt.skyway.example.quickstart
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.ntt.skyway.core.SkyWayContext
import com.ntt.skyway.core.channel.Publication
import com.ntt.skyway.core.content.Stream
import com.ntt.skyway.core.content.local.source.Au... |
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/ui/LocalLifecycleOwnerScreenTest.kt | unknown_repo | kotlin | package com.steleot.jetpackcompose.playground.compose.ui
import androidx.compose.ui.test.junit4.createComposeRule
import com.steleot.jetpackcompose.playground.compose.theme.TestTheme
import org.junit.Rule
import org.junit.Test
class LocalLifecycleOwnerScreenTest {
@get:Rule
val composeTestRule = createCompos... |
app/src/main/java/com/zasa/hashr/HomeViewModel.kt | unknown_repo | kotlin | package com.zasa.hashr
import android.util.Log
import androidx.lifecycle.ViewModel
import java.security.MessageDigest
/**
**@Project -> HashR
**@Author -> Sangeeth on 6/27/2022
*/
class HomeViewModel : ViewModel() {
fun getHash(etPlainText : String, algorithm : String) : String{
val bytes = MessageDig... |
auth/data/src/main/java/com/google/android/horologist/auth/data/googlesignin/AuthUserMapper.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
ui/src/main/java/io/snabble/sdk/ui/payment/CreditCardInputFragment.kt | unknown_repo | kotlin | package io.snabble.sdk.ui.payment
import android.os.Bundle
import android.view.View
import io.snabble.sdk.PaymentMethod
import io.snabble.sdk.ui.BaseFragment
import io.snabble.sdk.ui.R
open class CreditCardInputFragment : BaseFragment(
layoutResId = R.layout.snabble_fragment_cardinput_creditcard,
waitForProje... |
forgerock-auth/src/test/java/org/forgerock/android/auth/FRLifeCycleListenerTest.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023 ForgeRock. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package org.forgerock.android.auth
import android.content.Context
import android.net.Uri
import androidx.test.ext.junit.runners.And... |
demo/src/main/java/com/michaelflisar/composethemer/demo/composables/Drawer.kt | unknown_repo | kotlin | package com.michaelflisar.composethemer.demo.composables
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ColorLens
import androidx.compose.ma... |
app/src/main/java/com/thetechsamurai/foodonwheelz/orderHandling/CartActivity.kt | unknown_repo | kotlin | package com.thetechsamurai.foodonwheelz.orderHandling
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.os.SystemClock
import android.provider.Settings
import android.view.View
import android.widget.*
import androidx.appcompat.app.AlertDialog
import androidx... |
app/src/main/java/com/chen/app/navigationtest/MainActivity.kt | unknown_repo | kotlin | package com.chen.app.navigationtest
import android.os.Bundle
import androidx.navigation.findNavController
import androidx.navigation.fragment.FragmentNavigator
import androidx.navigation.fragment.findNavController
import com.chen.app.R
import com.chen.app.ui.simple.toolbar.SimpleFirstFragment
import com.chen.basemodul... |
shared/common/src/main/java/com/sadri/common/compose/CardItem.kt | unknown_repo | kotlin | package com.sadri.common.compose
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMa... |
app/src/main/java/com/rokoblak/gittrendingcompose/data/repo/GitRepoDetailsRepo.kt | unknown_repo | kotlin | package com.rokoblak.gittrendingcompose.data.repo
import com.rokoblak.gittrendingcompose.data.datasource.RemoteRepoDetailsDataSource
import com.rokoblak.gittrendingcompose.domain.model.ExpandedGitRepositoryDetails
import com.rokoblak.gittrendingcompose.data.model.RepoDetailsInput
import com.rokoblak.gittrendingcompose... |
app/src/main/java/org/nekomanga/presentation/components/dialog/RemoveFilterDialog.kt | unknown_repo | kotlin | /*
package org.nekomanga.presentation.components.dialog
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.text.selection.LocalTextSelectionColors
import androidx.compose.material.ripple.LocalRippleTheme
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Bu... |
zoomable/src/main/java/net/engawapg/lib/zoomable/Zoomable.kt | unknown_repo | kotlin | /*
* Copyright 2022 usuiat
*
* 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 writin... |
ChoiceSDK/choicesdk-maps/src/main/java/at/bluesource/choicesdk/maps/hms/HmsMarkerOptions.kt | unknown_repo | kotlin | package at.bluesource.choicesdk.maps.hms
import android.os.Parcel
import at.bluesource.choicesdk.maps.common.BitmapDescriptor
import at.bluesource.choicesdk.maps.common.LatLng
import at.bluesource.choicesdk.maps.common.LatLng.Companion.toChoiceLatLng
import at.bluesource.choicesdk.maps.common.LatLng.Companion.toHmsLat... |
bezier/src/main/java/io/channel/bezier/icon/ArrowHookRightDown.kt | unknown_repo | kotlin | @file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")
// Auto-generated by script/generate_compose_bezier_icon.py
package io.channel.bezier.icon
import androidx.compose.foundation.layout.size
import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifie... |
app/src/main/java/com/allentom/diffusion/ui/screens/setting/Screen.kt | unknown_repo | kotlin | package com.allentom.diffusion.ui.screens.setting
import android.content.Context
import android.widget.Toast
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import android... |
cutilslibrary/src/main/java/com/utils/library/http/download/DownloadHandler.kt | unknown_repo | kotlin | package com.utils.library.http.download
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.os.Message
/**
* 用于线程传递ui的
*/
internal class DownloadHandler {
/**
* handle ,处理ui方面的onProgress
*/
private var mHandler: Handler? = null
private var mDownloadListen... |
app/src/main/java/com/cid/bot/data/message.kt | unknown_repo | kotlin | package com.cid.bot.data
import androidx.room.*
import com.cid.bot.*
import io.reactivex.Completable
import io.reactivex.Observable
import javax.inject.Inject
@Entity
data class Message(
@PrimaryKey val id: Int?,
val sender: String?,
val receiver: String?,
val text: String,
val... |
app/src/main/java/com/vitorpamplona/amethyst/model/User.kt | unknown_repo | kotlin | package com.vitorpamplona.amethyst.model
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import androidx.lifecycle.LiveData
import com.vitorpamplona.amethyst.service.Bech32
import com.vitorpamplona.amethyst.service.NostrSingleUserDataSource
import com.vitorpamplona.amethyst.service.che... |
app-desktop/src/main/kotlin/com/scurab/kuproxy/desktop/Texts.kt | unknown_repo | kotlin | package com.scurab.kuproxy.desktop
import androidx.compose.ui.text.AnnotatedString
import com.scurab.kuproxy.desktop.ext.ans
interface Texts {
val domains: AnnotatedString
val port: AnnotatedString
val ok: AnnotatedString
val cancel: AnnotatedString
val proxy: AnnotatedString
val passthrough: ... |
stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/components/avatar/ChannelAvatar.kt | unknown_repo | kotlin | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/TestRegistrationStateProcessor.kt | unknown_repo | kotlin | package de.rki.coronawarnapp.submission
import android.content.Context
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.bugreporting.censors.submission.PcrQrCodeCensor
import de.rki.coronawarnapp.bugreporting.ui.toErrorDialogBuilder
import d... |
shared/src/commonMain/kotlin/com/flepper/therapeutic/data/usecases/GetTeamMembersUseCase.kt | unknown_repo | kotlin | package com.flepper.therapeutic.data.usecases
import com.flepper.therapeutic.data.FlowResult
import com.flepper.therapeutic.data.models.Filter
import com.flepper.therapeutic.data.models.TeamMembersItem
import com.flepper.therapeutic.data.models.WorldWideEvent
import com.flepper.therapeutic.data.models.appointments.Sea... |
app/src/main/java/com/looper/vic/fragment/ChatFragment.kt | unknown_repo | kotlin | package com.looper.vic.fragment
import android.Manifest
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Base64
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuIt... |
applovin/BIDApplovinInterstitial.kt | unknown_repo | kotlin | package io.bidapp.networks.applovin
import android.app.Activity
import android.util.Log
import com.applovin.adview.AppLovinInterstitialAd
import com.applovin.adview.AppLovinInterstitialAdDialog
import com.applovin.sdk.*
import io.bidapp.sdk.BIDLog
import io.bidapp.sdk.protocols.BIDFullscreenAdapterDelegateProtocol
imp... |
sample/src/main/java/com/rbrooks/indefinitepagerindicatorsample/viewPagerSample/ViewPagerSampleFragment.kt | unknown_repo | kotlin | package com.rbrooks.indefinitepagerindicatorsample.viewPagerSample
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v4.view.ViewPager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import com.rbrooks.indefinit... |
app/src/main/java/com/example/android/codelabs/navigation/HomeFragment.kt | unknown_repo | kotlin | /*
* Copyright (C) 2018 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/src/main/java/it/airgap/beaconsdk/core/internal/BeaconSdk.kt | unknown_repo | kotlin | package it.airgap.beaconsdk.core.internal
import android.content.Context
import androidx.annotation.RestrictTo
import it.airgap.beaconsdk.core.blockchain.Blockchain
import it.airgap.beaconsdk.core.internal.crypto.Crypto
import it.airgap.beaconsdk.core.internal.crypto.data.KeyPair
import it.airgap.beaconsdk.core.intern... |
app/src/main/java/io/github/wulkanowy/ui/modules/mobiledevice/MobileDeviceFragment.kt | unknown_repo | kotlin | package io.github.wulkanowy.ui.modules.mobiledevice
import android.os.Bundle
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import androidx.core.view.postDelayed
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.snackbar.Snackbar
import ... |
feature-onboarding-impl/src/main/java/jp/co/soramitsu/feature_onboarding_impl/presentation/welcome/di/WelcomeComponent.kt | unknown_repo | kotlin | package jp.co.soramitsu.feature_onboarding_impl.presentation.welcome.di
import androidx.fragment.app.Fragment
import dagger.BindsInstance
import dagger.Subcomponent
import jp.co.soramitsu.common.di.scope.ScreenScope
import jp.co.soramitsu.feature_onboarding_impl.presentation.welcome.WelcomeFragment
@Subcomponent(
... |
features/dd-sdk-android-session-replay/src/main/kotlin/com/datadog/android/sessionreplay/internal/recorder/resources/BitmapPoolHelper.kt | unknown_repo | kotlin | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sessionreplay.internal.recorder.resources... |
library/src/main/java/tmg/aboutthisapp/configuration/Dependency.kt | unknown_repo | kotlin | package tmg.aboutthisapp.configuration
import android.os.Parcelable
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.annotation.Keep
import androidx.compose.ui.graphics.Color
import kotlinx.parcelize.Parcelize
@Keep
@Parcelize
data class Dependency(
val dependencyName: St... |
app/src/main/java/com/reefii/atlasindonesia/zoom_compose.kt | unknown_repo | kotlin | package com.reefii.atlasindonesia
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTransformGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtim... |
app/src/main/java/com/reefii/atlasindonesia/zoom_compose.kt | unknown_repo | kotlin | package com.reefii.atlasindonesia
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTransformGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtim... |
app/src/main/java/com/oldautumn/movie/ui/main/home/TrendingAdapter.kt | unknown_repo | kotlin | package com.oldautumn.movie.ui.main.home
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import coil.load
import coil.transform.RoundedCornersTransformation
import com.oldautumn.movie.R
import com... |
presentation/src/main/java/com/jsevilla/movieviewer/feature/base/BaseActivity.kt | unknown_repo | kotlin | package com.jsevilla.movieviewer.feature.base
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
/**
* Created by Jose Sevilla on 20/08/2020.
* jose1.sevilla23@gmail.com
*
* Movie Viewer
* Lima, Peru.
*... |
Scanner/Android/app/src/main/java/ca/snmc/scanner/data/providers/VisitLogFileProvider.kt | unknown_repo | kotlin | package ca.snmc.scanner.data.providers
import android.content.Context
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import ca.snmc.scanner.models.VisitInfo
import com.github.doyaaaaaken.kotlincsv.client.CsvReader
import com.github.doyaaaaaken.kotlincsv.client.CsvWriter
import java.io.Fil... |
base-domain/src/test/kotlin/org/ossiaustria/lib/domain/repositories/SettingsRepositoryTest.kt | unknown_repo | kotlin | package org.ossiaustria.lib.domain.repositories
import androidx.security.crypto.EncryptedSharedPreferences
import androidx.security.crypto.MasterKeys
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotEquals
import org.junit.Assert.assertNotN... |
cmpe/common/src/commonMain/kotlin/xyz/mcxross/cohesive/ui/impl/view/md/markup/StyledText.kt | unknown_repo | kotlin | package xyz.mcxross.cohesive.ui.impl.view.md.markup
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.ExperimentalUnitApi
import... |
design/src/main/kotlin/com/stepmate/design/component/lazyList/VerticalScrollBar.kt | unknown_repo | kotlin | package com.stepmate.design.component.lazyList
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectVerticalDragGestures
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.BoxWithCons... |
Frontend/app/src/main/java/com/example/TeamApp/ui/theme/Type.kt | unknown_repo | kotlin | package com.example.ui.theme
import android.content.res.Resources
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Typography
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionL... |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/PlugAlt.kt | unknown_repo | kotlin | package me.localx.icons.straight.bold
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
i... |
library/src/main/java/renetik/android/core/logging/CSLog.kt | unknown_repo | kotlin | package renetik.android.core.logging
import android.content.Context
import renetik.android.core.extensions.content.toast
import renetik.android.core.kotlin.CSUnexpectedException
import renetik.android.core.kotlin.primitives.leaveEndOfLength
import renetik.android.core.kotlin.then
import renetik.android.core.kotlin.toS... |
phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/settings/ElectrumView.kt | unknown_repo | kotlin | /*
* Copyright 2021 ACINQ SAS
*
* 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... |
widgets/src/androidMain/kotlin/dev/icerock/moko/widgets/core/screen/Screen.kt | unknown_repo | kotlin | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.widgets.screen
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.os.Parcelable
import android... |
shared/src/commonMain/kotlin/data/repositories/TimerRepository.kt | unknown_repo | kotlin | package data.repositories
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.intPreferencesKey
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow... |
libausbc/src/main/java/com/jiangdg/ausbc/render/effect/EffectZoom.kt | unknown_repo | kotlin | /*
* Copyright 2017-2022 Jiangdg
*
* 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... |
zoomimage-view/src/main/kotlin/com/github/panpf/zoomimage/view/subsampling/internal/TileDrawHelper.kt | unknown_repo | kotlin | /*
* Copyright (C) 2023 panpf <panpfpanpf@outlook.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 applica... |
app/src/main/kotlin/ir/thatsmejavad/backgroundable/screens/settings/SettingsScreen.kt | unknown_repo | kotlin | package ir.thatsmejavad.backgroundable.screens.settings
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layo... |
collect_app/src/androidTest/java/org/odk/collect/android/benchmark/SearchBenchmarkTest.kt | unknown_repo | kotlin | package org.odk.collect.android.benchmark
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.blankOrNullString
import org.hamcrest.Matchers.not
import org.junit.Rule
import org.junit.Test
import org.junit.rules.RuleChain
import org.junit.runne... |
sample/src/main/java/com/example/sample/ui/MainViewModel.kt | unknown_repo | kotlin | package com.example.sample.ui
import android.app.Application
import android.content.Context
import androidx.core.content.edit
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.viewModelScope
import com.amazonaws.mobileconnectors.iot.AWSIoTKeystoreHe... |
lib-moshi/src/main/java/net/codefeet/lemmyandroidclient/gen/types/ListRegistrationApplicationsResponse.kt | unknown_repo | kotlin | package net.codefeet.lemmyandroidclient.gen.types
import android.os.Parcelable
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import kotlin.collections.List
import kotlinx.parcelize.Parcelize
@Parcelize
@JsonClass(generateAdapter = true)
public data class ListRegistrationApplicationsResponse(
@J... |
app/src/main/java/com/example/webexandroid/HomeActivity.kt | unknown_repo | kotlin | package com.example.webexandroid
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.Observer
import com.example.webexandroid.auth.LoginActivit... |
app/src/main/java/com/ogamoga/developerslive/screens/main/PagerAdapter.kt | unknown_repo | kotlin | package com.ogamoga.developerslive.screens.main
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.ogamoga.developerslive.screens.item.ItemFragment
class PagerAdapter(
fragment: Fragment
) : FragmentStateAdapter(fragment) {
override fun getItemCount(): Int... |
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/demos/PersistentBottomSheetActivity.kt | unknown_repo | kotlin | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
package com.microsoft.fluentuidemo.demos
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.Gravity... |
appcompose/src/main/java/com/developersancho/hb/compose/app/widgets/ProgressIndicator.kt | unknown_repo | kotlin | package com.developersancho.component
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.MaterialTheme
import androidx.compose.runt... |
android/app/src/main/kotlin/com/babanomania/CleanHabits/SingleHabitWidgetConfigureActivity.kt | unknown_repo | kotlin | package com.babanomania.CleanHabits
import android.app.Activity
import android.appwidget.AppWidgetManager
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.AdapterView
imp... |
app/src/main/java/com/example/loginsesame/helper/LogAssert.kt | unknown_repo | kotlin | package com.example.loginsesame.helper
import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStreamReader
import java.util.regex.Matcher
import java.util.regex.Pattern
import kotlin.jvm.Thr... |
features/series/src/main/java/com/chesire/nekome/app/series/list/DialogExtensions.kt | unknown_repo | kotlin | package com.chesire.nekome.app.series.list
import androidx.fragment.app.Fragment
import com.afollestad.materialdialogs.MaterialDialog
import com.afollestad.materialdialogs.lifecycle.lifecycleOwner
import com.afollestad.materialdialogs.list.listItems
import com.afollestad.materialdialogs.list.listItemsMultiChoice
impor... |
core/src/main/java/de/markusressel/kutepreferences/core/preference/action/ActionPreferenceBehavior.kt | unknown_repo | kotlin | package de.markusressel.kutepreferences.core.preference.action
import de.markusressel.kutepreferences.core.preference.KuteItemBehavior
import de.markusressel.kutepreferences.core.preference.category.shimmerLengthMillis
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow... |
app/src/main/java/com/example/alertasullana/ui/viewmodel/PerfilViewModel.kt | unknown_repo | kotlin | package com.example.alertasullana.ui.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.alertasullana.data.repository.FirebaseRepository
import com.example.alertasullana.data.repository.UsuarioRepository
class PerfilViewModel(p... |
underwave/src/androidTest/kotlin/com/aallam/underwave/internal/view/ViewManagerTest.kt | unknown_repo | kotlin | package com.aallam.underwave.internal.view
import android.os.Handler
import com.aallam.underwave.extension.MainCoroutineRule
import com.aallam.underwave.extension.runBlocking
import com.aallam.underwave.internal.cache.memory.bitmap.BitmapPool
import com.aallam.underwave.internal.image.Bitmap
import com.aallam.underwav... |
app/src/main/java/com/yazag/navigationhomework/ui/home/HomeFragment.kt | unknown_repo | kotlin | package com.yazag.navigationhomework.ui.home
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.navigation.fragment.findNavController
import androidx.viewbinding.ViewBinding... |
presentation/src/main/java/com/doctoror/splittor/presentation/groupsoverview/GroupsOverviewContent.kt | unknown_repo | kotlin | package com.doctoror.splittor.presentation.groupsoverview
import androidx.compose.foundation.Image
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx... |
app/src/main/java/com/ajce/hostelmate/nightstudy/inmates/InmatesRequestNightStudyActivity.kt | unknown_repo | kotlin | package com.ajce.hostelmate.nightstudy.inmates
import android.appwidget.AppWidgetManager
import android.os.Bundle
import android.view.View
import android.widget.ArrayAdapter
import android.widget.RemoteViews
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.ajce.hostelmate.R
import... |
relateddigital-android/src/main/java/com/relateddigital/relateddigital_android/inapp/spintowin/SpinToWinWebDialogFragment.kt | unknown_repo | kotlin | package com.relateddigital.relateddigital_google.inapp.slotmachine
import android.annotation.SuppressLint
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.webkit.ConsoleMessage
import andro... |
libraries/tools/src/main/kotlin/com/ave/vastgui/tools/utils/permission/PermissionRegister.kt | unknown_repo | kotlin | /*
* Copyright 2022 VastGui <EMAIL>
*
* 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 ... |
feature/quiz/src/main/kotlin/de/tum/informatics/www1/artemis/native_app/feature/quiz/participation/ConnectionStatusUi.kt | unknown_repo | kotlin | package de.tum.informatics.www1.artemis.native_app.feature.quiz.participation
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Wifi
import androidx.compose.material.icons.filled... |
biometric/src/main/java/dev/skomlach/biometric/compat/engine/internal/face/facelock/FacelockOldModule.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023 <NAME> aka Salat-Cx65; Original project https://github.com/Salat-Cx65/AdvancedBiometricPromptCompat
* All rights reserved.
*
* 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 ... |
app/src/main/java/com/example/glossaryapp/fragments/ProductListFragment.kt | unknown_repo | kotlin | package com.example.glossaryapp.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import com.android.volley.Request
import com.android.volley.toolbox.... |
source/app/src/main/java/com/apion/apionhome/ui/adapter/HouseAdapter.kt | unknown_repo | kotlin | package com.apion.apionhome.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import com.apion.apionhome.base.BaseAdapter
import com.apion.apionhome.base.BaseViewHolder
import com.apion.apionhome.data.model.House
import com.apion.apionhome.databinding.ItemHouseBinding
class HouseAdapter(priv... |
Parent/app/src/main/kotlin/com/github/midros/istheapp/ui/fragments/social/InteractorSocial.kt | unknown_repo | kotlin | package com.github.midros.istheapp.ui.fragments.social
import android.content.Context
import androidx.fragment.app.FragmentManager
import com.github.midros.istheapp.data.rxFirebase.InterfaceFirebase
import com.github.midros.istheapp.ui.activities.base.BaseInteractor
import com.github.midros.istheapp.utils.Consts.CHILD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.