file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
qr/src/main/java/dev/entao/kan/qr/camera/CameraPreview.kt | unknown_repo | kotlin | @file:Suppress("MemberVisibilityCanBePrivate")
package dev.entao.kan.qr.camera
import android.Manifest
import android.content.Context
import android.graphics.Color
import android.graphics.Rect
import android.graphics.SurfaceTexture
import android.view.TextureView
import android.widget.FrameLayout
import com.google.zx... |
app/src/main/java/com/example/withbreadtechtest/model/WBViewModelFactory.kt | unknown_repo | kotlin | package com.example.withbreadtechtest.model
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.withbreadtechtest.api.WBRepository
class WBViewModelFactory constructor(private val repository: WBRepository): ViewModelProvider.Factory {
override fun <T : ViewModel> cr... |
app/src/main/java/com/apiguave/tinderclonecompose/domain/profile/entity/UserPicture.kt | unknown_repo | kotlin | package com.apiguave.tinderclonecompose.domain.profile.entity
import android.graphics.Bitmap
import android.net.Uri
/*
* A class that represents any picture given by the user.
* Regardless of if it was already on their profile
* or it has just been included from the device.
* */
sealed class UserPicture(val uri: Ur... |
app/src/main/java/com/example/jetpackdemo/viewmodel/fragment/ShowViewModel.kt | unknown_repo | kotlin | package com.example.jetpackdemo.viewmodel.fragment
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel
class ShowViewModel : BaseViewModel() |
app/src/main/java/com/concordium/wallet/core/security/BiometricPromptCallback.kt | unknown_repo | kotlin | package com.concordium.wallet.core.security
import androidx.biometric.BiometricPrompt
import com.concordium.wallet.util.Log
import javax.crypto.Cipher
open class BiometricPromptCallback : BiometricPrompt.AuthenticationCallback() {
override fun onAuthenticationError(errorCode: Int, errString: CharSequence) {
... |
sample/src/main/java/com/patrykandpatrick/vico/sample/previews/composables/line/LineCharts.kt | unknown_repo | kotlin | /*
* Copyright 2024 by <NAME> and <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 ... |
app/src/main/java/com/example/mecanica/RegisterActivity.kt | unknown_repo | kotlin | package com.example.mecanica
import android.app.Activity
import android.os.Bundle
import android.renderscript.ScriptGroup.Binding
import android.util.Log
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.Fi... |
app/src/main/java/com/teobaranga/monica/contacts/detail/activities/ui/ContactActivityPlaceholder.kt | unknown_repo | kotlin | package com.teobaranga.monica.contacts.detail.activities.ui
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import... |
proj/hwvc_android/hwcommon/src/main/java/com/lmy/common/ext/ActivityExt.kt | unknown_repo | kotlin | package com.lmy.common.ext
import android.app.Activity
import android.os.Build
import android.text.TextUtils
import android.util.TypedValue
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
i... |
docpicker/src/main/java/com/greentoad/turtlebody/docpicker/labels/DocLabelConstants.kt | unknown_repo | kotlin | package com.greentoad.turtlebody.docpicker.labels
import android.text.TextUtils
import com.greentoad.turtlebody.docpicker.R
/**
* Created by niraj on 29-04-2019.
*/
object DocLabelConstants {
object Docs {
const val MASK = 0xF
private val PDF_LIST = arrayListOf("pdf")
const val PDF... |
lib/src/main/java/com/sd/lib/compose/tab/container/TabContainer.kt | unknown_repo | kotlin | package com.sd.lib.compose.tab.container
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.SideEffect
import androidx.compose.runtime.key
import androidx.co... |
app/src/main/java/cc/imorning/chat/compontens/SearchBar.kt | unknown_repo | kotlin | package cc.imorning.chat.compontens
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.... |
android-annotation-processor/src/main/java/name/wildswift/android/kanprocessor/ActivityFieldsAnnotationProcessor.kt | unknown_repo | kotlin | /*
* Copyright (C) 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 agreed to i... |
pickfacebook/src/main/kotlin/com/lovoo/android/pickfacebook/contract/FbGalleryPresenter.kt | unknown_repo | kotlin | /**
* Copyright 2018 LOVOO GmbH
*
* 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 ... |
app/src/main/java/softspark/com/inventorypilot/splash/MainActivity.kt | unknown_repo | kotlin | package softspark.com.inventorypilot.splash
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import softspark.com.inventorypilot.databinding.MainActivityBinding
import softspark.com.invent... |
app/src/main/java/com/aleksandrovych/purchasepal/whatToBuy/WhatToBuyFragment.kt | unknown_repo | kotlin | package com.aleksandrovych.purchasepal.whatToBuy
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.viewModels
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
... |
modules/library-ui/src/main/kotlin/com/leinardi/forlago/library/ui/component/NavigationBarItemWithBadge.kt | unknown_repo | kotlin | /*
* Copyright 2024 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
MisNotasA/app/src/main/java/net/ivanvega/misnotasa/repository/NotasRepository.kt | unknown_repo | kotlin | package net.ivanvega.misnotasa.repository
import androidx.annotation.WorkerThread
import androidx.lifecycle.LiveData
import kotlinx.coroutines.flow.Flow
import net.ivanvega.misnotasa.data.dao.NotaDao
import net.ivanvega.misnotasa.data.model.Nota
/**
* Abstracted Repository as promoted by the Architecture Guide.
* h... |
app/src/main/java/com/worker8/autoadapter/rows/SimpleRow.kt | unknown_repo | kotlin | package com.worker8.autoadapter.rows
import android.view.View
import com.worker8.auto.adapter.library.ListItem
import android.widget.TextView
import com.worker8.autoadapter.R
import com.worker8.autoadapter.data.StringData
class SimpleRow(
override val data: StringData,
val onClick: () -> Unit
) : ListItem<Str... |
app/src/main/java/com/example/splashscreen/NextActivity.kt | unknown_repo | kotlin | package com.example.splashscreen
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class NextActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_next2)
}
} |
zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/RealZoomableState.kt | unknown_repo | kotlin | @file:Suppress("ConstPropertyName")
package me.saket.telephoto.zoomable
import androidx.annotation.FloatRange
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.AnimationState
import androidx.compose.animation.core.AnimationVector
import androidx.compose.animation.core.SpringS... |
app/src/main/java/com/sebastijanzindl/galore/presentation/component/TopBar.kt | unknown_repo | kotlin | package com.sebastijanzindl.galore.presentation.component
import android.util.Log
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.icons.Icons
import androidx.compose.material.icon... |
app/src/main/java/com/sachin/app/storyapp/ui/home/HomeViewModel.kt | unknown_repo | kotlin | package com.sachin.app.storyapp.ui.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.sachin.app.storyapp.data.repository.DashboardRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.stateIn... |
snapshots/snapshots/src/main/kotlin/com/emergetools/snapshots/compose/SnapshotVariantProvider.kt | unknown_repo | kotlin | package com.emergetools.snapshots.compose
import android.content.Context
import android.content.ContextWrapper
import android.content.res.Configuration
import android.content.res.Configuration.UI_MODE_NIGHT_MASK
import android.content.res.Resources
import androidx.compose.foundation.background
import androidx.compose.... |
app/src/main/java/cn/geektang/privacyspace/ui/widget/TopBar.kt | unknown_repo | kotlin | package cn.geektang.privacyspace.ui.widget
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.fill... |
app/src/main/java/com/dgoliy/sharedcookiejar/cookies/DDCookieManager.kt | unknown_repo | kotlin | package com.dgoliy.sharedcookiejar.cookies
import android.os.Build
import com.company.android.logging.DDLog
import java.net.CookieHandler
import java.net.CookiePolicy
import java.net.CookieStore
import java.net.HttpCookie
import java.util.concurrent.atomic.AtomicReference
class DDCookieManager private constructor(
... |
vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SetDeviceTypeIconUseCase.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022 New Vector Ltd
*
* 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 agr... |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/HouseCrack.kt | unknown_repo | kotlin | package me.localx.icons.straight.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.Mite... |
common/ui-compose/src/main/java/com/mmb/ui_compose/theme/Color.kt | unknown_repo | kotlin | package com.mmb.ui_compose.theme
import androidx.compose.ui.graphics.Color
val Pink100 = Color(0xFFFFEEEE)
val Pink200 = Color(0xffffbcbc)
val Pink800 = Color(0xfff38ba0)
val Grey200 = Color(0xFFB8B8B8)
val Grey800 = Color(0xff353535) |
GuessTheWord-Starter/app/src/main/java/com/example/android/guesstheword/screens/score/ScoreFragment.kt | unknown_repo | kotlin | /*
* Copyright (C) 2019 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... |
app/src/androidTest/java/com/example/android/hilt/CustomTestRunner.kt | unknown_repo | kotlin | package com.example.android.hilt
import android.app.Application
import android.content.Context
import androidx.test.internal.runner.junit3.AndroidJUnit3Builder
import androidx.test.runner.AndroidJUnitRunner
import dagger.hilt.android.testing.HiltTestApplication
/**
* Created by Namget on 2021.01.26.
*/
class Custo... |
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/UnlockAlt.kt | unknown_repo | kotlin | package compose.icons.fontawesomeicons.solid
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.... |
jettheme-material/src/test/java/dev/lcdsmao/jettheme/material/MaterialThemeSpecTest.kt | unknown_repo | kotlin | package dev.lcdsmao.jettheme.material
import androidx.compose.material.Shapes
import androidx.compose.material.Typography
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import dev.lcdsmao.jettheme.ThemeIds
import dev.lcdsmao.jettheme.darkId
import io.kotest.assertions.throwabl... |
module-eyepetizer/src/main/java/me/shouheng/eyepetizer/config/DialogCustom.kt | unknown_repo | kotlin | package me.shouheng.eyepetizer.config
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.Typeface
import android.graphics.drawable.Drawable
import android.support.annotation.ColorInt
import android.support.annotation.StringRes
import android.view.Gravity
impo... |
library/src/main/java/com/silverpine/uu/ux/RecyclerViewExtensions.kt | unknown_repo | kotlin | package com.silverpine.uu.ux
import androidx.recyclerview.widget.LinearSmoothScroller
import androidx.recyclerview.widget.RecyclerView
fun RecyclerView.uuSmoothSnapToPosition(position: Int, snapMode: Int = LinearSmoothScroller.SNAP_TO_START) {
val smoothScroller = object : LinearSmoothScroller(this.context) {
... |
app/src/main/java/com/longdo/api3/Main.kt | unknown_repo | kotlin | package com.longdo.api3
import android.app.Application
import android.os.Bundle
import android.view.ViewGroup
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrang... |
app/src/main/java/com/neal786y/mvparchitecture/main/adaper/RestaurantAdapter.kt | unknown_repo | kotlin | package com.neal786y.mvparchitecture.main.adaper
import android.view.LayoutInflater
import android.view.ViewGroup
import com.dev.neal786y.mvpsample.base.BaseAdapter
import com.neal786y.mvparchitecture.R
import com.neal786y.mvparchitecture.main.listeners.OnRestaurantItemClickListener
import com.neal786y.mvparchitecture... |
app/src/main/java/com/example/cpudefense/Persistency.kt | unknown_repo | kotlin | package com.example.cpudefense
import android.content.SharedPreferences
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Base64
import com.google.gson.Gson
import java.io.ByteArrayOutputStream
import java.lang.Exception
class Persistency(var game: Game?) {
data class Serial... |
fancydialog/src/main/java/com/geniusforapp/fancydialog/interfaces/OnActionClickedListener.kt | unknown_repo | kotlin | package com.geniusforapp.fancydialog.interfaces
import android.app.Dialog
import android.view.View
interface OnActionClickedListener {
fun onClick(view: View, dialog: Dialog)
} |
recycler_view/src/main/java/com/owner/recycler_view/view/emptyview/EmptyViewUseActivity.kt | unknown_repo | kotlin | package com.owner.recycler_view.view.emptyview
import android.os.Bundle
import android.view.View
import com.owner.recycler_view.view.emptyview.adapter.EmptyViewAdapter
import com.owner.recycler_view.R
import com.owner.recycler_view.base.BaseViewBindingActivity
import com.owner.recycler_view.data.DataServer
import com.... |
app/src/main/java/com/oldautumn/movie/ui/movie/TraktReviewActivity.kt | unknown_repo | kotlin | /*
* Copyright 2023 The Old Autumn 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 applicable law o... |
app/src/p_app/main/java/com/llj/architecturedemo/ui/activity/AptActivity.kt | unknown_repo | kotlin | package com.llj.architecturedemo.ui.activity
import android.os.Bundle
import android.support.constraint.ConstraintLayout
import com.example.lib.jump.annotation.Jump
import com.llj.architecturedemo.R
import com.llj.component.service.ComponentMvcBaseActivity
import com.llj.component.service.arouter.CInner
import com.llj... |
identity-android/src/androidTest/java/com/android/identity/android/mdoc/deviceretrieval/DeviceRetrievalHelperTest.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... |
app/src/main/java/net/pfiers/osmfocus/viewmodel/ExceptionVM.kt | unknown_repo | kotlin | package net.pfiers.osmfocus.viewmodel
import android.os.Build
import androidx.databinding.ObservableField
import androidx.lifecycle.ViewModel
import net.pfiers.osmfocus.BuildConfig
import net.pfiers.osmfocus.service.ThrowableInfo
import net.pfiers.osmfocus.service.util.createGitHubIssueUrl
import net.pfiers.osmfocus.s... |
android/BaiPiaoOcrAndroidOnnx/app/src/main/java/com/benjaminwan/ocr/onnx/dialog/BaseDialog.kt | unknown_repo | kotlin | package com.benjaminwan.ocr.onnx.dialog
import android.app.Dialog
import android.util.DisplayMetrics
import android.view.Gravity
import android.view.ViewGroup
import android.view.WindowManager
import androidx.fragment.app.DialogFragment
abstract class BaseDialog : DialogFragment() {
private var mGravity = Gravit... |
app/src/main/java/com/topjohnwu/magisk/core/tasks/RepoUpdater.kt | unknown_repo | kotlin | package com.brightsight.magisk.core.tasks
import com.brightsight.magisk.core.model.module.OnlineModule
import com.brightsight.magisk.data.database.RepoDao
import com.brightsight.magisk.data.repository.NetworkService
import com.brightsight.magisk.ktx.synchronized
import kotlinx.coroutines.Dispatchers
import kotlinx.cor... |
app/src/main/java/com/vydra/possumusdrinks/drinks/favorites/FavoritesAdapter.kt | unknown_repo | kotlin | package com.vydra.possumusdrinks.drinks.favorites
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.vydra.possumusdrinks.R
i... |
src/main/kotlin/chekers/ui/CheckerApp.kt | unknown_repo | kotlin | package chekers.ui
import chekers.viewmodel.CheckersGameViewModel
import utills.observeForever
import kotlinx.css.*
import kotlinx.html.DIV
import react.*
import react.dom.*
import styled.*
interface AppState : RState {
var board: Board?
var timerSec: Long?
}
interface CheckerAppProps : RProps {
var vie... |
src/main/kotlin/ui/conciliar/PaginaConciliar.kt | unknown_repo | kotlin | package ui.conciliar
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.*
im... |
app/src/main/java/com/tugasakhirsemester/triwibowopermana/MainActivity.kt | unknown_repo | kotlin | package com.tugasakhirsemester.triwibowopermana
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import com.tugasakhirsemester.triwibowopermana.viewModel.CovidViewModel
import kotlinx.android.synthetic.main.activity_main.*
/**
* Acti... |
app/src/main/java/io/keyu/urekalite/view/BranchListFragment.kt | unknown_repo | kotlin | package io.keyu.urekalite.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.recyclerview.widget.LinearLayoutManager... |
app/src/main/java/com/leyrey/cryptolisto/ui/CoinMarketCapViewModelFactory.kt | unknown_repo | kotlin | package com.leyrey.cryptolisto.ui
import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.ViewModelProvider
import com.leyrey.cryptolisto.data.repository.CoinMarketCapRepository
import javax.inject.Inject
class CoinMarketCapViewModelFactory @Inject constructor(val coinMarketCapRepository: CoinMarketCapR... |
aacmvi/src/main/java/com/rohitss/aacmvi/AacMviFragment.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 agreed to in ... |
app/src/main/java/com/sdex/activityrunner/manifest/ManifestReader.kt | unknown_repo | kotlin | package com.sdex.activityrunner.manifest
import android.content.res.Resources
import android.content.res.XmlResourceParser
import android.text.TextUtils
import androidx.annotation.WorkerThread
import com.sdex.activityrunner.util.PackageInfoProvider
import net.dongliu.apk.parser.ApkFile
import timber.log.Timber
import ... |
app/src/main/java/com/kofar/appuk/loginregister/LoginRegister.kt | unknown_repo | kotlin | package com.kofar.appuk.loginregister
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.preference.PreferenceManager
import android.view.View
import android.widget.Button
import android.widget.Toast
import androidx.appcompat.ap... |
app/src/main/java/com/babylon/wallet/android/presentation/transaction/TransactionReviewScreen.kt | unknown_repo | kotlin | package com.babylon.wallet.android.presentation.transaction
import androidx.activity.compose.BackHandler
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.background
import androidx.compose.foundati... |
android/app/src/androidTest/java/com/epimorphics/android/myrivers/SplashActivityTest.kt | unknown_repo | kotlin | package com.epimorphics.android.myrivers
import android.content.Intent
import android.support.test.filters.LargeTest
import android.support.test.rule.ActivityTestRule
import android.support.test.runner.AndroidJUnit4
import android.support.test.uiautomator.By
import android.support.test.uiautomator.UiDevice
import andr... |
composeApp/src/commonMain/kotlin/ui/composables/Texts.kt | unknown_repo | kotlin | package ui.composables
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import ui.theme.AppColor
import ui.theme.AppTheme
@Composable
fun LargeTitleText(modifier: Modifier = Modifier, text: String) {
... |
common/src/commonMain/kotlin/com/yorick/sharednotes/ui/components/SharedNotesProfileImage.kt | unknown_repo | kotlin | package com.yorick.sharednotes.ui.components
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.c... |
app/src/main/java/com/endiar/anyrecipes/di/AppModule.kt | unknown_repo | kotlin | package com.endiar.anyrecipes.di
import com.endiar.anyrecipes.core.domain.usecase.LocalInteractor
import com.endiar.anyrecipes.core.domain.usecase.LocalUseCase
import com.endiar.anyrecipes.core.domain.usecase.RemoteInteractor
import com.endiar.anyrecipes.core.domain.usecase.RemoteUseCase
import com.endiar.anyrecipes.u... |
app/src/main/java/com/example/vehiclepartsshop/CategoriesFragment.kt | unknown_repo | kotlin | package com.example.vehiclepartsshop
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.vehiclepartsshop.databi... |
work/work-runtime/src/main/java/androidx/work/impl/model/DependencyDao.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... |
My Crypto App/app/src/main/java/com/xhiti/mycryptoapp/dependencyinjection/LocalizationModule.kt | unknown_repo | kotlin | package com.baruckis.kriptofolio.dependencyinjection
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Configuration
import android.content.res.Resources
import com.baruckis.kriptofolio.utilities.localization.Localization
import com.baruckis.kriptofolio.utilities.locali... |
BaseDebug/src/main/java/com/bihe0832/android/base/debug/clipboard/DebugClipboardFragment.kt | unknown_repo | kotlin | package com.bihe0832.android.base.debug.clipboard
import android.view.View
import com.bihe0832.android.app.tools.AAFTools
import com.bihe0832.android.common.debug.base.BaseDebugListFragment
import com.bihe0832.android.common.debug.item.DebugItemData
import com.bihe0832.android.framework.ZixieContext
import com.bihe083... |
phoenix-legacy/src/main/kotlin/fr/acinq/phoenix/legacy/background/EclairNodeService.kt | unknown_repo | kotlin | /*
* Copyright 2020 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... |
sdk/src/main/kotlin/com/processout/sdk/ui/shared/style/background/POBackgroundDecorationStyle.kt | unknown_repo | kotlin | package com.processout.sdk.ui.shared.style.background
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class POBackgroundDecorationStyle(
val normal: POBackgroundDecorationStateStyle,
val success: POBackgroundDecorationStateStyle
) : Parcelable
|
rxcv4j/src/main/java/com/cv4j/rxjava/MemCache.kt | unknown_repo | kotlin | /**
* Copyright (c) 2017-present, CV4J Contributors.
*
* 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 ... |
app/src/main/java/com/iamsdt/pssd/ui/favourite/FavouriteAdapter.kt | unknown_repo | kotlin | /*
* Developed By <NAME>
* on 8/21/18 6:28 PM
* Copyright (c) 2018 <NAME>.
*/
package com.iamsdt.pssd.ui.favourite
import android.content.Context
import android.content.Intent
import android.os.Handler
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Toast
import androidx.... |
app/src/main/java/com/newlondonweb/tabbedfragmentdemo/viewModels/CalcViewModel.kt | unknown_repo | kotlin | package com.newlondonweb.tabbedfragmentdemo.viewModels
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
class CalcViewModel (application: Application) : AndroidViewModel(application) {
//////////////////////CALCU... |
composeApp/src/commonMain/kotlin/com/takaotech/dashboard/App.kt | unknown_repo | kotlin | package com.takaotech.dashboard
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material.BottomNavigationItem
import androidx.compose.material.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalLayoutDirect... |
components-core/src/main/java/com/airwallex/android/core/model/PhysicalProduct.kt | unknown_repo | kotlin | package com.airwallex.android.core.model
import android.os.Parcelable
import com.airwallex.android.core.model.parser.PhysicalProductParser
import kotlinx.parcelize.Parcelize
/**
* Product information
*/
@Parcelize
data class PhysicalProduct internal constructor(
/**
* Type of product, such as electronic, ... |
app/src/main/java/com/taskail/placesapp/data/PlacesRepository.kt | unknown_repo | kotlin | package com.taskail.placesapp.data
import android.util.Log
import com.taskail.placesapp.data.local.FavoritesDao
import com.taskail.placesapp.data.local.removeFavFromDatabase
//import com.taskail.placesapp.data.local.getFavoritesFromDatabase
import com.taskail.placesapp.data.local.saveFavoriteToDatabase
import com.task... |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Background.kt | unknown_repo | kotlin | package me.localx.icons.straight.filled
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... |
benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/perfetto/BatteryDischargeQuery.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... |
Week 4/ListMaker/app/src/main/java/com/carol/listmaker/fragments/ListSelectionViewHolder.kt | unknown_repo | kotlin | package com.carol.listmaker.fragments
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.carol.listmaker.R
class ListSelectionViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val listPosition = itemView.findViewById(R.id.itemNumber)... |
app/src/main/java/com/a10miaomiao/bilimiao/widget/comm/behavior/ContentBehavior.kt | unknown_repo | kotlin | package com.a10miaomiao.bilimiao.widget.comm.behavior
import android.animation.Animator
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import androidx.coordinatorlayout.widget.CoordinatorLayout
import com.a10miaomiao.bilimiao.widget.comm.ScaffoldV... |
app/src/main/java/com/concordium/wallet/uicore/dialog/AuthenticationDialogFragment.kt | unknown_repo | kotlin | package com.concordium.wallet.uicore.dialog
import android.content.Context
import android.os.Bundle
import android.text.InputType
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.TextV... |
samples/src/main/java/com/dailystudio/devbricksx/samples/inmemory/Card.kt | unknown_repo | kotlin | package com.dailystudio.devbricksx.samples.inmemory
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.view.View
import com.dailystudio.devbricksx.annotations.*
import com.dailystudio.devbricksx.inmemory.InMemoryObject
import com.dailystudio.devbricksx.ui.AbsInformativeCardViewHolde... |
app/src/main/java/com/example/waterme/viewmodel/PlantViewModel.kt | unknown_repo | kotlin | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
app/src/main/java/dev/konnov/databasesandroid/App.kt | unknown_repo | kotlin | package dev.konnov.databasesandroid
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class App : Application() |
gradle-client/src/jvmMain/kotlin/org/gradle/client/ui/composables/SourcesColumn.kt | unknown_repo | kotlin | @file:Suppress("MatchingDeclarationName")
package org.gradle.client.ui.composables
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.width
import androidx.compose.mat... |
common/src/commonMain/kotlin/com/artemchep/keyguard/common/service/export/impl/ExportManagerImpl.kt | unknown_repo | kotlin | package com.artemchep.keyguard.common.service.export.impl
import arrow.core.left
import arrow.core.right
import com.artemchep.keyguard.common.io.bind
import com.artemchep.keyguard.common.io.throwIfFatalOrCancellation
import com.artemchep.keyguard.common.model.DCollection
import com.artemchep.keyguard.common.model.DFil... |
app/src/main/java/com/guness/lottie/ui/activities/main/popular/PopularCard.kt | unknown_repo | kotlin | package com.guness.lottie.ui.activities.main.popular
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleS... |
app/src/main/java/com/developergunda/timerlifecycleservice/service/TimerService.kt | unknown_repo | kotlin | package com.developergunda.timerlifecycleservice.service
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_LOW
import android.content.Context
import android.content.Intent
import android.os.Build
import androidx.annotation.RequiresApi
import... |
ui/src/main/java/io/dock2dock/android/ui/components/BottomSheetActionRow.kt | unknown_repo | kotlin | package io.dock2dock.android.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.... |
app/src/main/java/com/mg/zeearchiver/dialogs/ExtractProgressDialog.kt | unknown_repo | kotlin | package com.mg.zeearchiver.dialogs
import android.app.AlertDialog
import android.content.Context
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.widget.Button
import android.widget.TextView
import com.mg.zeearchiver.R
import java.util.concurrent.Callable
class ... |
app/src/main/java/com/example/minorproject/ui/CriminalListAdapter.kt | unknown_repo | kotlin | package com.example.minorproject.ui
import android.net.Uri
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.example.minorproj... |
core/src/main/java/com/crocodic/core/extension/ViewExtension.kt | unknown_repo | kotlin | package com.crocodic.core.extension
import android.content.Context
import android.graphics.Color
import android.util.Base64
import android.view.View
import android.view.inputmethod.InputMethodManager
import android.widget.EditText
import android.widget.ImageView
import android.widget.TextView
import androidx.annotatio... |
app/src/main/java/uz/algorithmgateway/tezkorakfa/base/MyApplication.kt | unknown_repo | kotlin | package uz.algorithmgateway.tezkorakfa.base
import android.app.Application
import com.mocklets.pluto.Pluto
import uz.algorithmgateway.tezkorakfa.di.component.AppComponent
import uz.algorithmgateway.tezkorakfa.di.component.DaggerAppComponent
import uz.algorithmgateway.tezkorakfa.di.module.ApplicationModule
class MyAp... |
consumerapp/src/main/java/com/nicktra/consumerapp/adapter/SectionsPagerAdapter.kt | unknown_repo | kotlin | package com.nicktra.consumerapp.adapter
import android.content.Context
import androidx.annotation.Nullable
import androidx.annotation.StringRes
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentPagerAdapter
import com.nicktra.consumerapp.R
import co... |
app/src/main/java/tf/samir/borrowtee/features/main/view/notifications/NotificationsFragment.kt | unknown_repo | kotlin | package tf.samir.borrowtee.features.main.view.notifications
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import tf.samir.borrowtee.R
import tf.samir.borrowtee.databinding.FragmentNotificationsBinding
import tf.samir.borrowtee.features.m... |
app/src/main/java/tf/samir/borrowtee/features/main/view/notifications/NotificationsFragment.kt | unknown_repo | kotlin | package tf.samir.borrowtee.features.main.view.notifications
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import tf.samir.borrowtee.R
import tf.samir.borrowtee.databinding.FragmentNotificationsBinding
import tf.samir.borrowtee.features.m... |
app/src/main/java/com/hashim/instagram/ui/base/BaseDialog.kt | unknown_repo | kotlin | package com.hashim.instagram.ui.base
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.annotation.StringRes
import androidx.fragment.app.DialogFragment
import androidx.li... |
request-filterer/request-filterer-impl/src/test/java/com/duckduckgo/request/filterer/impl/RequestFiltererImplTest.kt | unknown_repo | kotlin |
package com.duckduckgo.request.filterer.impl
import android.webkit.WebResourceRequest
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.duckduckgo.common.test.CoroutineTestRule
import com.duckduckgo.feature.toggles.api.FeatureExceptions.FeatureException
import com.duckduckgo.feature.toggles.api.Feature... |
feature/options/impl/src/main/java/com/turtleteam/impl/presentation/additional/aboutApp/AboutAppScreen.kt | unknown_repo | kotlin | package com.turtleteam.impl.presentation.additional.aboutApp
import android.content.Intent
import android.net.Uri
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import and... |
app/src/main/java/com/eternal/base/mvvm/ui/activity/WebViewActivity.kt | unknown_repo | kotlin | package com.eternal.base.mvvm.ui.activity
import android.content.Context
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.view.ViewGroup
import android.webkit.WebSettings
import android.webkit.WebView
import com.eternal.baselib.base.BaseActivity
import com.eterna... |
src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/SettingDialogView.kt | unknown_repo | kotlin | package com.sunnychung.application.multiplatform.hellohttp.ux
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import andro... |
app/src/main/java/oliveira/br/consultacepmvvm/ui/activities/MainActivity.kt | unknown_repo | kotlin | package oliveira.br.consultacepmvvm.ui.activities
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import com.google.android.material.snackbar.Snackbar
import kotlinx.android.synthetic.main.activity_main.*
import oliveira.br.consultace... |
composeApp/src/commonMain/kotlin/ui/component/AlertDialog.kt | unknown_repo | kotlin | package ui.component
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.AnimatedVisibilityScope
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.material3.AlertDialog
import androi... |
lawnchair/src/app/lawnchair/ui/preferences/PreferenceActivity.kt | unknown_repo | kotlin | /*
* Copyright 2021, Lawnchair
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.