file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
wear/src/main/java/com/vlad1m1r/watchface/components/ticks/TicksLayoutOriginal.kt | unknown_repo | kotlin | package com.vlad1m1r.watchface.components.ticks
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import com.vlad1m1r.watchface.R
import com.vlad1m1r.watchface.data.ColorStorage
import com.vlad1m1r.watchface.data.DataStorage
import com.vlad1m1r.watchface.model.Mode
import com.... |
app/src/main/java/com/naveenkumawat/transactions/data/local/TransactionDao.kt | unknown_repo | kotlin | package com.naveenkumawat.transactions.data.local
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.TypeConverters
import com.naveenkumawat.transactions.domain.model... |
app/src/main/java/com/athorfeo/source/di/key/ViewModelKey.kt | unknown_repo | kotlin | package com.athorfeo.source.di.key
import androidx.lifecycle.ViewModel
import dagger.MapKey
import kotlin.reflect.KClass
/**
* Anotacion para ViewModel
* @version 1.0
* @author Juan Ortiz
* @date 10/09/2019
*/
@MustBeDocumented
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY_GETTER,
Ann... |
app/src/main/java/ke/co/tulivuapps/hoteltours/features/screen/popular/PopularViewModel.kt | unknown_repo | kotlin | package ke.co.tulivuapps.hoteltours.features.screen.popular
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import ke.co.tulivuapps.hoteltours.data.remote.utils.DataState
import ke.co.tulivuapps.hoteltours.domain.repository.PopularRepository
import ke.co.tulivuapps.hoteltour... |
examples/android/src/main/kotlin/com/algolia/instantsearch/examples/android/guides/gettingstarted/ProductFragment.kt | unknown_repo | kotlin | package com.algolia.instantsearch.examples.android.guides.gettingstarted
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.recyclerview.widget.RecyclerView
import com.algolia.instantsearch... |
OrderCenter/src/main/java/com/kotlin/order/ui/activity/OrderConfirmActivity.kt | unknown_repo | kotlin | package com.kotlin.order.ui.activity
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.eightbitlab.rxbus.B... |
desktopApp/src/jvmMain/kotlin/com/hoc081098/compose_multiplatform_kmpviewmodel_sample/navigation.kt | unknown_repo | kotlin | package com.hoc081098.compose_multiplatform_kmpviewmodel_sample
import androidx.compose.runtime.Stable
import androidx.compose.runtime.remember
import com.freeletics.khonshu.navigation.NavEventNavigator
import com.freeletics.khonshu.navigation.compose.NavDestination
import com.freeletics.khonshu.navigation.compose.Nav... |
app/src/main/java/com/wan/android/ui/main/MainActivity.kt | unknown_repo | kotlin | package com.wan.android.ui.main
import android.view.Menu
import android.view.MenuItem
import androidx.activity.viewModels
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatDelegate
import androidx.drawerlayout.widget.DrawerLayout
import androidx.navigation.fragment.NavHostFragm... |
engrave2/src/main/java/com/angcyo/engrave2/data/TransitionParam.kt | unknown_repo | kotlin | package com.angcyo.engrave2.data
import android.graphics.Matrix
import com.angcyo.bluetooth.fsc.laserpacker.HawkEngraveKeys
import com.angcyo.bluetooth.fsc.laserpacker.bean._cutGCodeHeight
import com.angcyo.bluetooth.fsc.laserpacker.bean._cutGCodeWidth
import com.angcyo.bluetooth.fsc.laserpacker.bean._cutLoopCount
imp... |
app/src/main/java/br/com/djalmahenry/pokedex/view/ui/pokedex/PokedexFragment.kt | unknown_repo | kotlin | package br.com.djalmahenry.pokedex.view.ui.pokedex
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.l... |
app/src/main/java/dev/esnault/bunpyro/android/screen/start/StartViewModel.kt | unknown_repo | kotlin | package dev.esnault.bunpyro.android.screen.start
import androidx.lifecycle.viewModelScope
import dev.esnault.bunpyro.android.screen.base.BaseViewModel
import dev.esnault.bunpyro.data.repository.apikey.IApiKeyRepository
import dev.esnault.bunpyro.data.repository.sync.ISyncRepository
import kotlinx.coroutines.Dispatche... |
YasuoRVAdapter/src/main/java/com/fusion_nex_gen/yasuorvadapter/viewPager/YasuoNormalVPAdapter.kt | unknown_repo | kotlin | package com.fusion_nex_gen.yasuorvadapter.viewPager
import android.view.ViewGroup
import androidx.core.util.set
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.OnLifecycleEvent
import androidx.recyclerview.widget.Recycle... |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/PersonClock.kt | unknown_repo | kotlin |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.PersonClock: ImageVector
get() {
if (_personClock != null) ... |
feature/schedule/src/main/java/little/goose/schedule/ui/ScheduleHomeViewModel.kt | unknown_repo | kotlin | package little.goose.schedule.ui
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.launch
import little.goose.schedule.data.entities.Schedule
import little.goose.schedule.logic.Delet... |
ackpine-splits/src/main/kotlin/ru/solrudev/ackpine/splits/parsing/AndroidManifest.kt | unknown_repo | kotlin | package ru.solrudev.ackpine.splits.parsing
import androidx.annotation.RestrictTo
private const val ANDROID_NAMESPACE = "http://schemas.android.com/apk/res/android"
@RestrictTo(RestrictTo.Scope.LIBRARY)
internal class AndroidManifest internal constructor(private val manifest: Map<String, String>) {
@get:JvmSyntheti... |
sdk-gigya/src/main/java/com/ownid/sdk/internal/OwnIdGigyaIntegration.kt | unknown_repo | kotlin | package com.ownid.sdk.internal
import androidx.annotation.RestrictTo
import androidx.core.os.LocaleListCompat
import com.gigya.android.sdk.Gigya
import com.gigya.android.sdk.GigyaLoginCallback
import com.gigya.android.sdk.account.models.GigyaAccount
import com.gigya.android.sdk.api.GigyaApiResponse
import com.gigya.an... |
app/src/main/java/com/akhbulatov/wordkeeper/features/wordcategory/selectwordcategory/SelectWordCategoryFactory.kt | unknown_repo | kotlin | package com.akhbulatov.wordkeeper.features.wordcategory.selectwordcategory
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.akhbulatov.wordkeeper.WordKeeperApp
class SelectWordCategoryFactory {
fun createViewModelFactory() = object : ViewModelProvider.Factory {
o... |
app/src/main/java/com/kkyy_96/controlmywindow/MainActivity.kt | unknown_repo | kotlin | package com.kkyy_96.controlmywindow
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.fragment.app.FragmentActivity
import com.kkyy_96.controlmywindow.src.config.MyControlConfig
import com.kkyy_96.controlmywindow.src.log.MyLog
import com.kkyy_96.controlmywindow.src.page.NavGraph
impo... |
app/src/main/java/com/flight/app/view/map/MapsActivity.kt | unknown_repo | kotlin | package com.flight.app.view.map
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import androidx.lifecycle.ViewModelProvid... |
projects/ComposeConstraintLayout/app/src/main/java/com/example/constraintlayout/motion/dsl/ExtendingConstraintSets.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... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Brush3.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.broken
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.... |
app/src/main/java/com/github2136/base/view/activity/login/LoginVM.kt | unknown_repo | kotlin | package com.github2136.base.view.activity.login
import android.app.Application
import androidx.lifecycle.MutableLiveData
import com.github2136.base.repository.UserRepository
import com.github2136.base.repository.WeatherRepository
import com.github2136.basemvvm.BaseVM
import com.github2136.basemvvm.ResultRepo
/**
* C... |
shared/src/commonMain/kotlin/ui/screen/PreferenceScreen.kt | unknown_repo | kotlin | package ui.screen
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import andro... |
still/src/main/java/com/darwin/viola/still/detector/FaceDetectorProcessor.kt | unknown_repo | kotlin | /*
* Copyright 2020 Google LLC. 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
features/intro/src/main/java/com/metinkale/prayer/intro/LanguageFragment.kt | unknown_repo | kotlin | /*
* Copyright (c) 2013-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 agreed... |
app/src/main/java/com/noname/firebasepagination/main/MainActivity.kt | unknown_repo | kotlin | package com.noname.firebasepagination.main
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.paging.PagedList
import com.firebase.ui.firestore.paging.FirestorePagingOptions
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.firestore.FirebaseFirestore
i... |
uikit-kotlin/src/main/java/utils/PreferenceUtil.kt | unknown_repo | kotlin | package utils
import android.content.Context
import android.content.SharedPreferences
public class PreferenceUtil {
private var sharedPreference: SharedPreferences? = null
constructor(appContext: Context) {
context = appContext
}
companion object {
private val PREFERENCE_NAME = "UI KI... |
utilk_android/src/main/java/com/mozhimen/kotlin/lintk/optins/permission/OPermission_POST_NOTIFICATIONS.kt | unknown_repo | kotlin | package com.mozhimen.kotlin.lintk.optins.permission
import androidx.annotation.RequiresApi
import com.mozhimen.kotlin.elemk.android.os.cons.CVersCode
import com.mozhimen.kotlin.lintk.annors.AManifestRequire
import com.mozhimen.kotlin.elemk.android.cons.CPermission
/**
* @ClassName OPermission_REQUEST_INSTALL_PACKAGE... |
app/src/main/java/com/townwang/yaohuo/di/modules.kt | unknown_repo | kotlin | package com.townwang.yaohuo.di
import android.app.Application
import android.content.Context
import com.google.gson.GsonBuilder
import com.tencent.bugly.beta.Beta
import com.townwang.yaohuo.BuildConfig
import com.townwang.yaohuo.api.Api
import com.townwang.yaohuo.di.factory.DocumentConverterFactory
import com.townwang... |
app/src/main/java/com/endcodev/myinvoice/presentation/compose/components/DocSelection.kt | unknown_repo | kotlin | package com.endcodev.myinvoice.presentation.compose.components
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.found... |
koshian-core/src/main/java/koshian/_viewSwitchers.kt | unknown_repo | kotlin | /*
* Copyright 2020 wcaokaze
*
* 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 ... |
src/main/kotlin/entity/Content.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023. <NAME>
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package entity
import flow.AwaitableMutableStateFlow
/**
* A container of values.
*/
interface Content {
/**
* The f... |
app/src/main/java/com/wavesplatform/wallet/v2/ui/home/profile/settings/DevOptionsActivity.kt | unknown_repo | kotlin | package com.wavesplatform.wallet.v2.ui.home.profile.settings
import android.os.Bundle
import com.arellomobile.mvp.presenter.InjectPresenter
import com.arellomobile.mvp.presenter.ProvidePresenter
import com.wavesplatform.wallet.R
import com.wavesplatform.wallet.v1.util.PrefsUtil
import com.wavesplatform.wallet.v2.ui.ba... |
android/engine/src/androidTest/java/org/smartregister/fhircore/engine/ui/components/register/LoaderViewTest.kt | unknown_repo | kotlin | /*
* Copyright 2021 Ona Systems, 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 agr... |
app/src/main/java/fr/acinq/phoenix/lnurl/LNUrl.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... |
litho-zoomable/src/main/kotlin/com/facebook/litho/widget/zoomable/LithoZoomableController.kt | unknown_repo | kotlin | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... |
app/src/main/java/com/example/myapplication/ui/page/feedback/FeedbackFragment.kt | unknown_repo | kotlin | package com.example.myapplication.ui.page.feedback
import android.content.Intent
import android.os.Bundle
import android.provider.MediaStore
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import android.widget.... |
app/src/main/java/com/example/weatherprophet/WeatherProphetApplication.kt | unknown_repo | kotlin | package com.example.weatherprophet
import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
class WeatherProphetApplication : Application() {
companion object {
@SuppressLint("StaticFieldLeak")
lateinit var context: Context
const val TOKEN = "ijA... |
app/src/main/java/space/taran/arknavigator/utils/extensions/ViewExt.kt | unknown_repo | kotlin | package space.taran.arknavigator.utils.extensions
import android.view.View
import android.widget.TextView
import kotlin.coroutines.Continuation
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.CoroutineContext
import kotlinx.coroutines.CompletionHandler
import kotlinx.coroutines.CoroutineScope... |
app/src/main/java/org/p2p/wallet/intercom/IntercomService.kt | unknown_repo | kotlin | package org.p2p.wallet.intercom
import android.app.Application
import io.intercom.android.sdk.Intercom
import io.intercom.android.sdk.identity.Registration
object IntercomService {
fun setup(app: Application, apiKey: String, appId: String) {
Intercom.initialize(app, apiKey, appId)
// Hide in app ... |
app/src/main/java/com/greenart7c3/nostrsigner/service/IntentUtils.kt | unknown_repo | kotlin | package com.greenart7c3.nostrsigner.service
import android.content.Intent
import android.net.Uri
import android.provider.Browser
import android.util.Log
import androidx.compose.runtime.mutableStateOf
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.databind.ObjectMapper
import ... |
app/src/main/java/com/example/returnpals/mainMenu/NavHost.kt | unknown_repo | kotlin | package com.example.returnpals.mainMenu
import android.location.Address
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavBackStackEntry
import androidx.navigation.N... |
app/src/main/java/com/mobiquity/arnab/weather/database/entity/CityEntity.kt | unknown_repo | kotlin | package com.mobiquity.arnab.weather.database.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
/**
* This class is responsible for creating `accelerometer_log` table in database
*/
@Entity(tableName = "city", indices = [Index(value = ["name... |
feature-movie-detail/src/main/java/sanchez/sanchez/sergio/feature_movie_detail/di/module/movie/MovieDetailDatabaseModule.kt | unknown_repo | kotlin | package sanchez.sanchez.sergio.feature_movie_detail.di.module.movie
import android.content.Context
import dagger.Module
import dagger.Provides
import io.objectbox.Box
import io.objectbox.BoxStore
import sanchez.sanchez.sergio.feature_movie_detail.BuildConfig
import sanchez.sanchez.sergio.feature_movie_detail.domain.m... |
library/renetik-android-controller/src/main/java/renetik/android/controller/common/CSNavigationView.kt | unknown_repo | kotlin | package renetik.android.controller.navigation
import android.view.View
import android.view.ViewGroup
import android.view.animation.AnimationUtils.loadAnimation
import android.widget.FrameLayout
import renetik.android.controller.R
import renetik.android.controller.base.CSActivity
import renetik.android.controller.base.... |
Android/ghvzApp/app/src/main/java/com/app/playhvz/firebase/viewmodels/PlayerRewardViewModel.kt | unknown_repo | kotlin | /*
* Copyright 2020 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 in w... |
presentation/src/main/java/com/x/presentation/ui/composable/NavigationBar.kt | unknown_repo | kotlin | package com.x.presentation.ui.composable
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.navigation.NavController
import androidx.navigation.compose.currentBackStackEntryAsState
import com.x.presentation.navigation.NavigationBarIte... |
client/app/src/main/java/com/rh/heji/widget/DividerItemDecorator.kt | unknown_repo | kotlin | /*
* Copyright 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 applica... |
app/src/main/java/com/keke125/vaultguard/activity/AuthSettingActivity.kt | unknown_repo | kotlin | package com.keke125.vaultguard.activity
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import android.widget.Toast
import androidx.activity.compose.setContent
import andro... |
core/repository/src/main/java/city/zouitel/repository/model/Root.kt | unknown_repo | kotlin | package city.zouitel.repository.model
import androidx.annotation.Keep
@Keep
data class Root(val isDeviceRooted: Boolean)
|
app/src/main/java/com/comunidadedevspace/taskbeats/presentation/MainActivity.kt | unknown_repo | kotlin | package com.comunidadedevspace.taskbeats.presentation
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.commit
import com.comunidadedevspace.taskbeats.R
import com.google.android.material.bottomappbar.BottomAppBar
import com.goog... |
app/src/main/java/com/herdal/videogamehub/presentation/game_detail/adapter/screenshot/ScreenshotAdapter.kt | unknown_repo | kotlin | package com.herdal.videogamehub.presentation.game_detail.adapter.screenshot
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.herdal.videogamehub.common.base.BaseListAdapter
import com.herdal.videogamehub.databinding.ItemScreenshotBinding
impor... |
util/src/main/java/com/guerinet/suitcase/util/extensions/ContextExt.kt | unknown_repo | kotlin | /*
* Copyright 2016-2018 <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 ... |
library/src/main/java/com/schibsted/spain/barista/interaction/BaristaMenuClickInteractions.kt | unknown_repo | kotlin | package com.schibsted.spain.barista.interaction
import androidx.annotation.IdRes
import androidx.test.InstrumentationRegistry
import androidx.test.espresso.Espresso.onData
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu
import androidx.test.espres... |
app/src/test/java/com/coinninja/coinkeeper/util/crypto/BitcoinUriTest.kt | unknown_repo | kotlin | package com.coinninja.coinkeeper.util.crypto
import androidx.test.ext.junit.runners.AndroidJUnit4
import app.dropbit.commons.currency.BTCCurrency
import com.coinninja.coinkeeper.util.uri.parameter.BitcoinParameter
import com.coinninja.coinkeeper.util.uri.parameter.BitcoinParameter.AMOUNT
import com.google.common.truth... |
app/src/main/java/com/canopas/yourspace/ui/flow/home/space/join/JoinSpaceScreen.kt | unknown_repo | kotlin | package com.canopas.yourspace.ui.flow.home.space.join
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androi... |
processor/src/main/java/com/attafitamim/room/compound/processor/generator/CompoundGenerator.kt | unknown_repo | kotlin | package com.attafitamim.room.compound.processor.generator
import com.attafitamim.room.compound.processor.data.EntityData
import com.attafitamim.room.compound.processor.data.info.PropertyInfo
import com.attafitamim.room.compound.processor.data.utility.EntityJunction
import com.attafitamim.room.compound.processor.genera... |
processor/src/main/java/com/attafitamim/room/compound/processor/generator/CompoundGenerator.kt | unknown_repo | kotlin | package com.attafitamim.room.compound.processor.generator
import com.attafitamim.room.compound.processor.data.EntityData
import com.attafitamim.room.compound.processor.data.info.PropertyInfo
import com.attafitamim.room.compound.processor.data.utility.EntityJunction
import com.attafitamim.room.compound.processor.genera... |
app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt | unknown_repo | kotlin | package eu.kanade.presentation.more.settings.screen
import android.os.Build
import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import androidx.compose.ui.platform.LocalView
import eu.kanade.pres... |
nativeVer/src/main/java/com/proxy/shadowsocksrn/ProxyAppsActivity.kt | unknown_repo | kotlin | package com.proxy.shadowsocksr
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.Toolbar
import android.view.MenuItem
import android.v... |
vector/src/main/java/com/angcyo/VectorKtx.kt | unknown_repo | kotlin | package com.angcyo
import android.graphics.Paint
import android.graphics.Path
import com.angcyo.gcode.GCodeWriteHandler
import com.angcyo.library.annotation.Pixel
import com.angcyo.library.component.hawk.LibHawkKeys
import com.angcyo.library.ex.computePathBounds
import com.angcyo.library.ex.toListOf
import com.angcyo.... |
app/src/main/java/com/example/paging3sample/MainActivity.kt | unknown_repo | kotlin | package com.example.paging3sample
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isVisible
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.lifecycleScope
import androidx.paging.LoadState
import androidx.recyclerview.w... |
carbon/src/commonMain/kotlin/com/gabrieldrn/carbon/dropdown/base/DropdownPopupContent.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
app/src/main/java/com/suadahaji/notify/searchnote/SearchFragment.kt | unknown_repo | kotlin | package com.suadahaji.notify.searchnote
import android.app.Activity
import android.app.SearchManager
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.view.*
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.widget.SearchView
impo... |
app/src/main/java/com/quotes/ui/components/RefreshCta.kt | unknown_repo | kotlin | package com.quotes.ui.components
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.size
import androidx.compose.material.IconButto... |
practicas/app/src/main/java/com/adrianbalam/practicas/todoapp/TareasAdaptador.kt | unknown_repo | kotlin | package com.adrianbalam.practicas.todoapp
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import com.adrianbalam.practicas.R
class TareasAdaptador(
pri... |
platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeMenuBar.kt | unknown_repo | kotlin | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.wm.impl
import com.intellij.DynamicBundle
import com.intellij.ide.ui.UISettings
import com.intellij.openapi.actionSystem.ActionGroup
import com.intellij.openapi.actionSy... |
app/src/main/java/me/hufman/androidautoidrive/BackgroundInterruptionDetection.kt | unknown_repo | kotlin | package me.hufman.androidautoidrive
import android.content.Context
import android.content.Context.MODE_PRIVATE
import android.content.SharedPreferences
import android.os.Handler
import android.os.Looper
/**
* Utility class to determine whether the phone has ever suspended or killed the app in the background
*
* Th... |
app/src/main/java/mcorrea/firstapp/MainActivity.kt | unknown_repo | kotlin | package mcorrea.firstapp
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import mcorrea.firstapp.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity()... |
android/quest/src/main/java/org/smartregister/fhircore/quest/ui/patient/profile/components/PersonalData.kt | unknown_repo | kotlin | /*
* Copyright 2021 Ona Systems, 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 agr... |
app/src/main/java/com/etasdemir/ethinspector/ui/search/InvalidSearchScreen.kt | unknown_repo | kotlin | package com.etasdemir.ethinspector.ui.search
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Close
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androi... |
app/src/main/kotlin/ru/arsich/messenger/ui/views/DialogsLayout.kt | unknown_repo | kotlin | package ru.arsich.messenger.ui.views
import android.content.Context
import android.graphics.Paint
import android.util.AttributeSet
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import ru.arsich.messenger.R
class DialogsLayout : ViewGroup {
constructor(context: Contex... |
app/src/main/java/com/github/psm/moviedb/db/model/tv/popular/Tv.kt | unknown_repo | kotlin | package com.github.psm.moviedb.db.model.tv.popular
import android.os.Parcelable
import androidx.annotation.Keep
import com.github.psm.moviedb.db.model.BaseVoteObject
import com.github.psm.moviedb.db.model.VoteStar
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
import kotlinx.parcelize.Parceli... |
app/src/main/java/com/mobven/extensions/recyclerview/concatadapter/ConcatExampleActivity.kt | unknown_repo | kotlin | package com.mobven.extensions.recyclerview.concatadapter
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.ConcatAdapter
import com.mobven.extensions.MenuAdapter
import com.mobven.extensions.databinding.ActivityConcatExampleBinding
class ConcatExampleActivity... |
applications/mobile_app/src/main/kotlin/dev/marlonlom/apps/glucoreo/ui/theme/Theme.kt | unknown_repo | kotlin | /*
* Copyright 2022 Marlonlom
*
* 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/timilehinaregbesola/mathalarm/presentation/alarmsettings/components/TextWithIcon.kt | unknown_repo | kotlin | package com.timilehinaregbesola.mathalarm.presentation.alarmsettings.components
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.material3.Icon
impo... |
android/Rental/app/src/main/java/com/project/pradyotprakash/rental/app/composables/AnimatedProgressBar.kt | unknown_repo | kotlin | package com.project.pradyotprakash.rental.app.composables
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.LinearProgressIndicator
import androidx.compose.mater... |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ChatHelp.kt | unknown_repo | kotlin |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.ChatHelp: ImageVector
get() {
if (_chatHelp != null) {
... |
app/src/main/java/id/arvigo/arvigobasecore/ui/feature/deepAR/DeepArActivity.kt | unknown_repo | kotlin | package id.arvigo.arvigobasecore.ui.feature.deepAR
import ai.deepar.ar.ARErrorType
import ai.deepar.ar.AREventListener
import ai.deepar.ar.CameraResolutionPreset
import ai.deepar.ar.DeepAR
import ai.deepar.ar.DeepARImageFormat
import android.Manifest
import android.content.Context
import android.content.pm.ActivityInf... |
app/src/main/java/id/arvigo/arvigobasecore/ui/feature/deepAR/DeepArActivity.kt | unknown_repo | kotlin | package id.arvigo.arvigobasecore.ui.feature.deepAR
import ai.deepar.ar.ARErrorType
import ai.deepar.ar.AREventListener
import ai.deepar.ar.CameraResolutionPreset
import ai.deepar.ar.DeepAR
import ai.deepar.ar.DeepARImageFormat
import android.Manifest
import android.content.Context
import android.content.pm.ActivityInf... |
android/src/main/kotlin/me/yohom/amapbase/search/SearchModels.kt | unknown_repo | kotlin | package me.yohom.amapbase.search
import android.content.Context
import com.amap.api.services.core.PoiItem
import com.amap.api.services.core.SuggestionCity
import com.amap.api.services.geocoder.GeocodeAddress
import com.amap.api.services.geocoder.GeocodeQuery
import com.amap.api.services.geocoder.GeocodeResult
import c... |
app/src/main/java/com/bilal/finalproject/SplashScreenActivity.kt | unknown_repo | kotlin | package com.bilal.finalproject
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
class SplashScreenActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... |
app/src/main/java/com/marsapi/overview/OverviewFragment.kt | unknown_repo | kotlin | package com.example.android.marsphotos.overview
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 com.example.android.marsphotos.databinding.FragmentOverviewBinding
cl... |
app/src/main/java/info/dvkr/screenstream/ui/tabs/settings/app/settings/general/NightMode.kt | unknown_repo | kotlin | package info.dvkr.screenstream.ui.tabs.settings.app.settings.general
import android.content.res.Resources
import android.os.Build
import androidx.annotation.ArrayRes
import androidx.appcompat.app.AppCompatDelegate
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import andr... |
app/src/main/java/cc/colorcat/viewmodel/sample/AActivity.kt | unknown_repo | kotlin | package cc.colorcat.viewmodel.sample
import androidx.appcompat.app.AppCompatActivity
/**
* Author: ccolorcat
* Date: 2023-05-14
* GitHub: https://github.com/ccolorcat
*/
class AActivity : BaseActivity() {
override val nextActivity: Class<out AppCompatActivity>?
get() = BActivity::class.java
} |
app/src/main/java/me/banes/chris/tivi/ui/epoxymodels/HeaderModel.kt | unknown_repo | kotlin | /*
* Copyright 2017 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... |
Rejestrator/app/src/main/java/com/example/rejestrator/view/viewmodel/Admin/AdminLogsListViewModel.kt | unknown_repo | kotlin | package com.example.rejestrator.view.viewmodel.Admin
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.example.rejestrator.view.model.entities... |
app/src/sharedTest/java/org/oppia/app/story/StoryFragmentTest.kt | unknown_repo | kotlin | package org.oppia.app.story
import android.content.Context
import android.content.Intent
import android.content.res.Resources
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.test.core.app.ActivityScenario.launch
import androidx.test.core.app.ApplicationProvider
import an... |
app/src/main/java/net/yslibrary/monotweety/login/LoginController.kt | unknown_repo | kotlin | package net.yslibrary.monotweety.login
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bluelinelabs.conductor.ControllerChangeHandler
import com.bluelinelabs.conductor.ControllerChangeType
import com.bluelinela... |
common/src/main/java/cn/lvsong/lib/library/utils/ClickUtil.kt | unknown_repo | kotlin | package cn.lvsong.lib.library.utils
import android.view.View
/**
*
* @ProjectName: android
* @ClassName: Click
* @Description: 各种点击拓展
* @Author: Jooyer
* @CreateDate: 2020/6/2 13:52
* @UpdateUser:
* @UpdateDate:
* @UpdateRemark:
* @Version: 1.0
* https://www.jianshu.com/p/71182... |
app/src/main/java/com/bos/oculess/DevAdminReceiver.kt | unknown_repo | kotlin | package com.bos.oculess
import android.app.admin.DeviceAdminReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import android.widget.Toast
class DevAdminReceiver : DeviceAdminReceiver() {
private val TAG = "DeviceAdminReceiver"
override fun onEnabled(context: Context... |
app/src/main/java/org/fossasia/openevent/general/attendees/ListAttendeeIdConverter.kt | unknown_repo | kotlin | package org.fossasia.openevent.general.attendees
import androidx.room.TypeConverter
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
class ListAttendeeIdConverter {
@TypeConverter
fun fromListAttendeeId(attendeeIdList: List<AttendeeId>): String {
... |
Lab3/app/src/main/java/com/example/lab3/NoScrollExpandableListView.kt | unknown_repo | kotlin | package com.example.lab3
import android.content.Context
import android.util.AttributeSet
import android.widget.ExpandableListView
class NoScrollExpandableListView : ExpandableListView {
constructor(context: Context?) : super(context)
constructor(context: Context?, attrs: AttributeSet?) : super(context, attr... |
snowplow-tracker/src/androidTest/java/com/snowplowanalytics/snowplow/internal/utils/UtilTest.kt | unknown_repo | kotlin | /*
* Copyright (c) 2015-2023 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apach... |
app/src/main/java/com/hypertrack/android/api/ApiClient.kt | unknown_repo | kotlin | package com.hypertrack.android.api
import android.graphics.Bitmap
import android.util.Log
import com.google.android.gms.maps.model.LatLng
import com.hypertrack.android.api.models.RemoteError
import com.hypertrack.android.api.models.RemoteGeofence
import com.hypertrack.android.api.models.RemoteOrder
import com.hypertra... |
app/src/main/java/org/simple/clinic/overdue/Appointment.kt | unknown_repo | kotlin | package org.simple.clinic.overdue
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Entity
import android.arch.persistence.room.Insert
import android.arch.persistence.room.OnConflictStrategy
import android.arch.persistence.room.PrimaryKey
import android.arch.persistence.room.Query
import co... |
app/src/main/java/fr/coppernic/tools/transparent/terminal/TerminalFragment.kt | unknown_repo | kotlin | package fr.coppernic.tools.transparent.terminal
import android.annotation.SuppressLint
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView
import android.view.*
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.Line... |
core/data/src/main/java/com/t8rin/imagetoolboxlite/core/data/image/AndroidImageTransformer.kt | unknown_repo | kotlin | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under ... |
tasks/src/main/java/app/tivi/tasks/SyncAllFollowedShows.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
app/src/main/java/com/geekymusketeers/uncrack/presentation/auth/login/LoginScreens.kt | unknown_repo | kotlin | package com.geekymusketeers.uncrack.presentation.auth.login
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.SystemBarStyle
import androidx.activity.compose.setContent
import androidx.activ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.