file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
android/src/main/kotlin/io/vinicius/appodeal_flutter/AppodealFlutterPlugin.kt | unknown_repo | kotlin | package io.vinicius.appodeal_flutter
import android.app.Activity
import androidx.annotation.NonNull
import com.appodeal.ads.Appodeal
import com.appodeal.ads.BannerCallbacks
import com.appodeal.ads.InterstitialCallbacks
import com.appodeal.ads.NonSkippableVideoCallbacks
import com.appodeal.ads.RewardedVideoCallbacks
im... |
app/src/main/java/com/nima/guessthatpokemon/MainActivity.kt | unknown_repo | kotlin | package com.nima.guessthatpokemon
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.mater... |
ui/src/main/java/io/snabble/sdk/ui/payment/PaymentMethodMetaData.kt | unknown_repo | kotlin | package io.snabble.sdk.ui.payment
import android.content.Context
import androidx.annotation.DrawableRes
import io.snabble.sdk.PaymentMethod
import io.snabble.sdk.PaymentMethod.AMEX
import io.snabble.sdk.PaymentMethod.CUSTOMERCARD_POS
import io.snabble.sdk.PaymentMethod.DE_DIRECT_DEBIT
import io.snabble.sdk.PaymentMeth... |
snappicker-compose/src/main/kotlin/io/woong/snappicker/compose/SnapPickerState.kt | unknown_repo | kotlin | package io.woong.snappicker.compose
import androidx.compose.foundation.MutatePriority
import androidx.compose.foundation.gestures.ScrollScope
import androidx.compose.foundation.gestures.ScrollableState
import androidx.compose.foundation.lazy.LazyListItemInfo
import androidx.compose.foundation.lazy.LazyListState
import... |
app/src/main/java/com/github/rezita/homelearning/adapters/SentenceAdapter.kt | unknown_repo | kotlin | package com.github.rezita.homelearning.adapters
import android.annotation.SuppressLint
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
i... |
app/src/persistent_database/java/uk/ac/aber/dcs/cs31620/faa/datasource/FaaPersistentRoomDatabase.kt | unknown_repo | kotlin | package uk.ac.aber.dcs.cs31620.faa.datasource
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import androidx.sqlite.db.SupportSQLiteDatabase
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.D... |
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/externallibraries/LottieScreenTest.kt | unknown_repo | kotlin | package com.steleot.jetpackcompose.playground.compose.externallibraries
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import com.steleot.jetpackcompose.playground.MainActivity
import com.steleot.jetpackcompose.playground.compose.theme.TestTheme
import org.junit.Rule
import org.junit.Test
class Lotti... |
src/commonMain/kotlin/baaahs/mapper/Mapper.kt | unknown_repo | kotlin | package baaahs.mapper
import baaahs.Color
import baaahs.MediaDevices
import baaahs.SparkleMotion
import baaahs.geom.Vector2F
import baaahs.geom.Vector3F
import baaahs.imaging.Bitmap
import baaahs.imaging.Dimen
import baaahs.imaging.Image
import baaahs.imaging.createWritableBitmap
import baaahs.model.Model
import baaah... |
android/app/src/main/java/com/example/clockwork/ui/components/ShiftBreakTracker.kt | unknown_repo | kotlin | package com.example.clockwork.ui.components
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.layout.height
import androidx.compose.fou... |
app/src/main/java/com/frogobox/kickstart/util/Navigation.kt | unknown_repo | kotlin | package com.frogobox.kickstart.util
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import com.frogobox.kickstart.util.helper.ConstHelper.Extra.EXTRA_OPTION
import com.frogobox.kickstart.util.helper.Co... |
app/src/main/java/com/gms/app/data/storage/remote/model/auth/GenderModel.kt | unknown_repo | kotlin | package com.gms.app.data.storage.remote.model.auth
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "genders")
class GenderModel(
@PrimaryKey()
var id: Int,
var name: String
)
{
override fun toString(): String {
return name
}
}
|
modules/module-home/src/main/java/com/bbgo/module_home/bean/Tag.kt | unknown_repo | kotlin | package com.bytebitx.home.bean
import androidx.annotation.Keep
/**
* @Description:
* @Author: wangyuebin
* @Date: 2021/10/22 9:00 下午
*/
@Keep
data class Tag(
val name: String,
val url: String
) |
app/src/main/java/be/digitalia/fosdem/flow/FlowExt.kt | unknown_repo | kotlin | package be.digitalia.fosdem.flow
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.Sha... |
app/src/main/java/ca/uwindsor/calaj/tipster/MainActivity.kt | unknown_repo | kotlin | package ca.uwindsor.calaj.tipster
import android.animation.ArgbEvaluator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.EditText
import android.widget.SeekBar
import android.widget.TextV... |
example/src/main/java/com/paysafe/example/savedcard/FragmentSavedCardCvv.kt | unknown_repo | kotlin | /*
* Copyright (c) 2024 Paysafe Group
*/
package com.paysafe.example.savedcard
import android.app.Activity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import androidx.fra... |
app/src/main/java/com/nirbhay/flappymusketeer/components/Pipes.kt | unknown_repo | kotlin | package com.nirbhay.flappymusketeer.components
import android.util.Log
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.c... |
base/src/main/java/com/example/base/utils/TLog.kt | unknown_repo | kotlin | package com.example.base.utils
import android.util.Log
object TLog {
@JvmStatic
fun i(tag: String, msg: String) {
Log.i(tag, msg)
}
@JvmStatic
fun d(tag: String, msg: String) {
Log.d(tag, msg)
}
@JvmStatic
fun e(tag: String, msg: String) {
Log.e(tag, msg)
... |
authenticator/src/main/java/com/amplifyframework/ui/authenticator/AuthenticatorStepState.kt | unknown_repo | kotlin | /*
* Copyright 2023 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... |
app/src/main/java/com/fanjiaxing/android/photogallery/GalleryApplication.kt | unknown_repo | kotlin | package com.fanjiaxing.android.photogallery
import android.annotation.SuppressLint
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Build
class GalleryApplication : Application() ... |
shared/src/iosMain/kotlin/com/vasylt/composekmm/core/presentation/ImagePicker.kt | unknown_repo | kotlin | package com.osisupermoses.contactlistapp.core.presentation
import androidx.compose.runtime.Composable
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.refTo
import platform.UIKit.UIImage
import platform.UIKit.UIImageJPEGRepresentation
import platform.UIKit.UIImagePickerController
import platform.... |
app/src/main/java/com/playground/mynotes/feature_note/presentation/MainActivity.kt | unknown_repo | kotlin | package com.playground.mynotes.feature_note.presentation
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.navigation.NavController
import com.playground.mynotes.R
import com.playground.mynotes.feature_note.presentation.note.NotesScreen... |
app/src/main/java/com/example/clonethreads/Screens/AddThreads.kt | unknown_repo | kotlin | package com.example.clonethreads.Screens
import android.net.Uri
import android.widget.Toast
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.PickVisualMediaRequest
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.Image... |
omisego-client/src/test/kotlin/co/omisego/omisego/client/model/TransactionConsumptionTest.kt | unknown_repo | kotlin | package co.omisego.omisego.model.transaction.consumption
/*
* OmiseGO
*
* Created by Phuchit Sirimongkolsathien on 29/4/2018 AD.
* Copyright © 2017-2018 OmiseGO. All rights reserved.
*/
import android.support.test.runner.AndroidJUnit4
import co.omisego.omisego.OMGAPIClient
import co.omisego.omisego.extension.bd
... |
app/src/main/java/com/yougame/takayamaaren/yougame/ui/wallet/WalletActivity.kt | unknown_repo | kotlin | package com.yougame.takayamaaren.yougame.ui.wallet
import android.os.Bundle
import android.support.v7.app.AppCompatActivity;
import com.yougame.takayamaaren.yougame.R
import kotlinx.android.synthetic.main.activity_wallet.*
import kotlinx.android.synthetic.main.content_wallet.*
class WalletActivity : AppCompatActivit... |
core/src/test/java/org/nekobasu/core/test/ComponentTests.kt | unknown_repo | kotlin | package org.nekobasu.core.test
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import org.nekobasu.core... |
viewpager2-tablayout-ktx/src/main/java/com/recurve/tabPager/TabLayoutMediator.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... |
experimental/examples/chat-mpp/src/commonMain/kotlin/SendMessage.kt | unknown_repo | kotlin | package chat
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.material.Icon
import androidx.compose.ma... |
common/src/jsMain/kotlin/com/niji/claudio/common/ui/widget/ClaudioAlertDialog.kt | unknown_repo | kotlin | package com.niji.claudio.common.ui.widget
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
actual fun ClaudioAlertDialog(
modifier: Modifier,
onDismissRequest: () -> Unit,
confirmButton: @Composable () -> Unit,
title: @Composable (() -> Unit)?,
text: @Com... |
buildSrc/subprojects/license-texts/src/main/kotlin/com/github/vlsi/gradle/license/EnumGeneratorTask.kt | unknown_repo | kotlin | /*
* Copyright 2019 <NAME> <<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... |
bitcoin/src/main/java/com/brentpanther/bitcoinwidget/WidgetApplication.kt | unknown_repo | kotlin | package com.brentpanther.bitcoinwidget
import android.app.Application
import android.appwidget.AppWidgetManager
import android.content.ComponentName
import android.content.Intent
import android.content.IntentFilter
import android.content.res.Resources
import com.brentpanther.bitcoinwidget.db.WidgetDatabase
import com.... |
app/src/main/java/com/example/android/hilt/ui/LogsFragment.kt | unknown_repo | kotlin | /*
* Copyright (C) 2020 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/com/mrebollob/leitnerbox/presentation/views/CircleProgressView.kt | unknown_repo | kotlin | package com.mrebollob.leitnerbox.presentation.views
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.os.Bundle
import android.os.Parcelable
import android.util.AttributeSet
import android.util.TypedValue
import android.view.View
import timber.log.Timber
// Fr... |
app/src/main/java/com/mrebollob/leitnerbox/presentation/views/CircleProgressView.kt | unknown_repo | kotlin | package com.mrebollob.leitnerbox.presentation.views
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.os.Bundle
import android.os.Parcelable
import android.util.AttributeSet
import android.util.TypedValue
import android.view.View
import timber.log.Timber
// Fr... |
app/src/main/java/com/vitorpamplona/amethyst/model/Account.kt | unknown_repo | kotlin | package com.vitorpamplona.amethyst.model
import android.content.res.Resources
import androidx.core.os.ConfigurationCompat
import androidx.lifecycle.LiveData
import com.vitorpamplona.amethyst.service.model.BookmarkListEvent
import com.vitorpamplona.amethyst.service.model.ChannelCreateEvent
import com.vitorpamplona.amet... |
app/src/main/java/com/eatssu/android/ui/mypage/myreview/MyReviewAdapter.kt | unknown_repo | kotlin | package com.eatssu.android.ui.mypage.myreview
import android.content.Intent
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
impor... |
realm_app/app/src/main/java/com/loltilel/realmdatabase/ui/HomeActivity.kt | unknown_repo | kotlin | package com.loltilel.realmdatabase.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.loltilel.realmdatabase.R
class HomeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.lay... |
app/common/src/main/kotlin/tech/nagual/common/permissions/internal/Lifecycles.kt | unknown_repo | kotlin | @file:Suppress("unused")
package tech.nagual.common.permissions.internal
import androidx.lifecycle.Lifecycle.Event
import androidx.lifecycle.Lifecycle.Event.*
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.OnLifecycleEvent
internal fun Any?.maybeObserve... |
AndroidLib/src/main/kotlin/com/bloomberg/selekt/android/RandomCompat.kt | unknown_repo | kotlin | /*
* Copyright 2020 Bloomberg Finance L.P.
*
* 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... |
analytics/src/test/java/io/appmetrica/analytics/impl/clids/ClidsDataParserTest.kt | unknown_repo | kotlin | package io.appmetrica.analytics.impl.clids
import android.content.ContentValues
import io.appmetrica.analytics.impl.utils.StartupUtils
import io.appmetrica.analytics.testutils.CommonTest
import io.appmetrica.analytics.testutils.MockedStaticRule
import org.assertj.core.api.Assertions.assertThat
import org.json.JSONObje... |
app/src/main/java/com/skiff2011/fieldvalidator/sample/TextInputLayoutViewState.kt | unknown_repo | kotlin | package com.skiff2011.fieldvalidator.sample
import com.google.android.material.textfield.TextInputLayout
import com.skiff2011.fieldvalidator.view.ValidationViewState
class TextInputLayoutViewState : ValidationViewState<TextInputLayout> {
override fun showError(error: String, view: TextInputLayout) {
view.error ... |
app/src/main/java/com/luteapp/timerpx/NoAlarmAppFragment.kt | unknown_repo | kotlin | package com.luteapp.timerpx
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.luteapp.timerpx.databinding.NoAlarmAppBinding
class NoAlarmAppFragment : ... |
platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapabc/mapabcsdk/testapp/activity/fragment/ViewPagerActivity.kt | unknown_repo | kotlin | package com.mapabc.mapabcsdk.testapp.activity.fragment
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentStatePagerAdapter
import android.support.v7.app.AppCompatActivity
import com.mapabc.mapabcsdk.maps.MapabcMapOptions
... |
app/src/androidTest/java/com/example/android/architecture/blueprints/todoapp/test/chapter3/testsamples/DataInteractionKotlinDslTest.kt | unknown_repo | kotlin | package com.example.android.architecture.blueprints.todoapp.test.chapter3.testsamples
import android.R.id.*
import android.preference.PreferenceActivity
import com.google.android.material.R.id.design_menu_item_text
import androidx.test.espresso.Espresso.onData
import androidx.test.espresso.Espresso.onView
import andro... |
voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/VoucherViewProvider.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022 <NAME>
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by ozgur on 12/9/2022.
*/
package com.adyen.checkout.voucher.internal.ui
import android.content.Context
import android.util.AttributeSet
import com.adyen.checkout.ui.c... |
common/kotlinx-coroutines-core-common/test/DelayTest.kt | unknown_repo | kotlin |
/*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED", "DEPRECATION") // KT-21913
package kotlinx.coroutines
import kotlin.test.*
class DelayTest : TestBase() {
@Test
fun testCancellation() = runTest(expec... |
app/src/main/java/com/zeflux/template/base/ui/anim/TransitionAnimation.kt | unknown_repo | kotlin | package com.zeflux.template.base.ui.anim
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInHorizontally
/**
* Transition Animation constant... |
app/src/main/java/com/magenta/foodalrecipe/ui/fragment/BaseFragment.kt | unknown_repo | kotlin | package com.magenta.foodalrecipe.ui.fragment
import android.animation.AnimatorInflater
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.RecyclerView
import com.magenta.foodalrecip... |
vpn/src/main/java/com/duckduckgo/mobile/android/vpn/network/util/NetworkUtil.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022 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 ... |
android/android-playground/app/src/main/java/com/example/android_playground/viewmodel/MainViewModel.kt | unknown_repo | kotlin | package com.example.android_playground.viewmodel
import android.net.Uri
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.l... |
app/src/main/java/com/yassin/wallpaper/feature/home/viewholder/HorizontalCarouselVH.kt | unknown_repo | kotlin | package com.yassin.wallpaper.feature.home.viewholder
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.sfaxdroid.data.mappers.BaseWallpaperView
import com.yassin.wallpaper.databinding.ItemHorizontalScrollBinding
import com.yassi... |
app/src/main/java/org/simple/clinic/deniedaccess/AccessDeniedScreenKey.kt | unknown_repo | kotlin | package org.simple.clinic.deniedaccess
import android.os.Parcelable
import kotlinx.android.parcel.IgnoredOnParcel
import kotlinx.android.parcel.Parcelize
import org.simple.clinic.R
import org.simple.clinic.router.screen.FullScreenKey
@Parcelize
data class AccessDeniedScreenKey(val fullName: String) : FullScreenKey, P... |
app/src/main/java/com/example/android/danmack/ui/exploredetail/ExploreDetailViewModel.kt | unknown_repo | kotlin | package com.example.android.danmack.ui.exploredetail
import android.util.Log
import androidx.lifecycle.*
import com.example.android.danmack.local.localmodel.LocalTrackEntity
import com.example.android.danmack.model.searchmodel.HitsData
import com.example.android.danmack.model.songmodel.Track
import com.example.android... |
app/src/main/java/com/summerland/android/game/Animation.kt | unknown_repo | kotlin | package com.summerland.android.game
import android.graphics.Bitmap
/**
* Animation class, Created by steve on 01/10/16.
*/
class Animation {
private var frames: Array<Bitmap?> = arrayOfNulls(0)
private var currentFrame: Int = 0
private var startTime: Long = 0
private var delay: Long = 0
internal... |
app/src/main/java/com/stew/kotlinbox/hooktest/HookClassLoader.kt | unknown_repo | kotlin | package com.stew.kotlinbox.hooktest
import android.app.Application
import dalvik.system.BaseDexClassLoader
/**
* Created by stew on 2023/7/20.
* mail: stewforani@gmail.com
*/
object HookClassLoader {
fun hook(app: Application) {
val cl = app.classLoader
val pcl = ProxyClassLoader("", cl.paren... |
jarvis-pi/app/src/main/java/com/skydoves/jarvis_pi/MainActivity.kt | unknown_repo | kotlin | /*
* Designed and developed by 2020 rurimo
*
* 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/ubuntuyouiwe/nexus/presentation/ui/theme/Theme.kt | unknown_repo | kotlin | package com.ubuntuyouiwe.nexus.presentation.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
impo... |
app/src/main/java/br/com/jwar/sharedbill/navigation/NavGraph.kt | unknown_repo | kotlin | package br.com.jwar.sharedbill.navigation
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.comp... |
app/src/main/java/com/mapswithme/maps/bookmarks/CatalogListenerDecorator.kt | unknown_repo | kotlin | package com.mapswithme.maps.bookmarks
import androidx.fragment.app.Fragment
import com.mapswithme.maps.R
import com.mapswithme.maps.bookmarks.data.BookmarkManager
import com.mapswithme.maps.bookmarks.data.BookmarkManager.BookmarksCatalogListener
import com.mapswithme.maps.bookmarks.data.BookmarkManager.DefaultBookmark... |
app/src/main/java/knf/kuma/news/NewsCreator.kt | unknown_repo | kotlin | package knf.kuma.news
import android.content.ActivityNotFoundException
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.text.Html
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import knf.kuma.ads.A... |
app/src/main/kotlin/io/sweers/catchup/ui/activity/MainActivity.kt | unknown_repo | kotlin | /*
* Copyright (C) 2019. <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 ... |
common/compose/src/main/kotlin/app/surgo/common/compose/theme/Appearance.kt | unknown_repo | kotlin | package app.surgo.common.compose.theme
import androidx.compose.ui.unit.dp
val BodySpacing = 16.dp
val PaddingBetweenElements = 8.dp
|
app/src/main/java/com/example/recipeapp/RecipeDetailActivity.kt | unknown_repo | kotlin | package com.example.recipeapp
import android.content.Intent
import android.os.Bundle
import android.widget.ImageButton
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widg... |
composeApp/src/commonMain/kotlin/com.sjaindl/s11/auth/SignUpWithMailScreen.kt | unknown_repo | kotlin | package com.sjaindl.s11.auth
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material3.ButtonDefaults
import androidx.compose.material... |
app/src/main/java/com/example/passwordmanager/MainActivity.kt | unknown_repo | kotlin | package com.example.passwordmanager
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import androidx.navigation.NavController
class MainActivity : AppCompatActivity() {
private lateinit var navController: NavController
override fun onCreate(savedInstanceState... |
app/yds-ui-tester/src/main/java/com/yourssu/yds_ui_tester/MainActivity.kt | unknown_repo | kotlin | package com.yourssu.yds_ui_tester
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.Gravity
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ObservableBoolean
import com.yourssu.design.system.compone... |
app/src/main/java/com/github/adamr22/weatherapp/presentation/WeatherAppViewModel.kt | unknown_repo | kotlin | package com.github.adamr22.weatherapp.presentation
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.github.adamr22.weatherapp.domain.Resource
import co... |
JetReward/app/src/main/java/com/mhendrif/jetreward/JetRewardApp.kt | unknown_repo | kotlin | package com.mhendrif.jetreward
import android.content.Context
import android.content.Intent
import androidx.compose.foundation.layout.padding
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.AccountCircle
import androidx.compose.material.icons.filled.Home
import androidx.compo... |
composeApp/src/commonMain/kotlin/navigation/NavGraph.kt | unknown_repo | kotlin | package navigation
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import moe.tlaster.precompose.navigation.NavHost
import moe.tlaster.precompose.navigation.Navigator
import moe.tlaster.precompose.navigation.path
imp... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Blueprint.kt | unknown_repo | kotlin | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... |
core/src/main/java/top/xuqingquan/http/log/DefaultFormatPrinter.kt | unknown_repo | kotlin | package top.xuqingquan.http.log
import android.text.TextUtils
import okhttp3.MediaType
import okhttp3.Request
import top.xuqingquan.utils.CharacterUtils
import top.xuqingquan.utils.Timber
/**
* ================================================
* 对 OkHttp 的请求和响应信息进行更规范和清晰的打印, 此类为框架默认实现, 以默认格式打印信息, 若觉得默认打印格式
* 并不能满足自... |
libs/utils/src/main/java/me/pxq/utils/ui/decoration/MarginDecoration.kt | unknown_repo | kotlin | package me.pxq.utils.ui.decoration
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView
/**
* Description: 上下左右边距Decoration
* Author : pxq
* Date : 2020/7/31 8:02 PM
*/
class MarginDecoration(val left : Int= 0, val top : Int = 0, val right : Int = 0, val bottom :... |
model/src/main/java/com/infinitepower/newquiz/model/multi_choice_quiz/flag_quiz/CountryQuizItem.kt | unknown_repo | kotlin | package com.infinitepower.newquiz.model.multi_choice_quiz.flag_quiz
import androidx.annotation.Keep
import com.infinitepower.newquiz.model.question.QuestionDifficulty
import kotlinx.serialization.Serializable
@Keep
@Serializable
data class CountryQuizItem(
val countryCode: String,
val countryName: String,
... |
app/src/main/java/com/devs/imgur/ImgurActivity.kt | unknown_repo | kotlin | package com.devs.imgur
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.devs.imgur.ui.search.SearchFragment
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class ImgurActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
s... |
app/src/main/java/com/example/android/architecture/blueprints/beetv/widgets/CenterSmoothScroller.kt | unknown_repo | kotlin | package com.example.android.architecture.blueprints.beetv.widgets
import android.content.Context
import androidx.recyclerview.widget.LinearSmoothScroller
class CenterSmoothScroller(context: Context): LinearSmoothScroller(context) {
override fun calculateDtToFit(viewStart: Int, viewEnd: Int, boxStart: Int, boxEnd:... |
app/src/main/java/app/envelop/data/BlockstackModule.kt | unknown_repo | kotlin | package app.envelop.data
import android.content.Context
import android.content.res.Resources
import android.os.Handler
import android.os.HandlerThread
import android.preference.PreferenceManager
import app.envelop.R
import dagger.Module
import dagger.Provides
import io.reactivex.Scheduler
import io.reactivex.scheduler... |
shared/src/main/java/xyz/klinker/messenger/shared/util/PermissionsUtils.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 in wr... |
app/src/main/java/com/example/food09/ArticleItemDecorator.kt | unknown_repo | kotlin | package com.example.food09
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView
class ArticleItemDecorator (private val divHeight : Int) : RecyclerView.ItemDecoration() {
override fun getItemOffsets(
outRect: Rect,
view: View,
parent: Recyc... |
android/src/main/kotlin/com/sayx/hm_cloud/callback/TextWatcherImp.kt | unknown_repo | kotlin | package com.sayx.hm_cloud.callback
import android.text.Editable
import android.text.TextWatcher
abstract class TextWatcherImp : TextWatcher {
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
}
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, coun... |
Rejestrator/app/src/main/java/com/example/rejestrator/view/viewmodel/Admin/AdminEmployeeListViewModel.kt | unknown_repo | kotlin | package com.example.rejestrator.view.viewmodel.Admin
import android.app.Application
import android.util.Log
import android.widget.ArrayAdapter
import androidx.core.content.ContentProviderCompat.requireContext
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.Mutabl... |
app/src/main/java/com/liuxing/daily/view/CustomYearMonthSwitchPreference.kt | unknown_repo | kotlin | package com.liuxing.daily.view
import android.content.Context
import android.util.AttributeSet
import androidx.preference.Preference
import androidx.preference.PreferenceManager
import androidx.preference.PreferenceViewHolder
import com.google.android.material.materialswitch.MaterialSwitch
import com.liuxing.daily.R
i... |
app/src/main/java/eu/kanade/tachiyomi/source/online/all/NHentai.kt | unknown_repo | kotlin | package eu.kanade.tachiyomi.source.online.all
import android.content.Context
import android.net.Uri
import com.github.salomonbrys.kotson.get
import com.github.salomonbrys.kotson.nullArray
import com.github.salomonbrys.kotson.nullLong
import com.github.salomonbrys.kotson.nullObj
import com.github.salomonbrys.kotson.nul... |
android/clientlib-ktx/src/main/java/com/solana/mobilewalletadapter/clientlib/MobileWalletAdapter.kt | unknown_repo | kotlin | package com.solana.mobilewalletadapter.clientlib
import android.app.Activity.RESULT_CANCELED
import android.content.ActivityNotFoundException
import com.solana.mobilewalletadapter.clientlib.protocol.JsonRpc20Client
import com.solana.mobilewalletadapter.clientlib.protocol.MobileWalletAdapterClient
import com.solana.mob... |
Final/presentation/src/main/java/ubb/thesis/david/monumental/common/FlatButton.kt | unknown_repo | kotlin | package ubb.thesis.david.monumental.common
import android.content.Context
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.graphics.drawable.GradientDrawable
import android.util.AttributeSet
import android.widget.FrameLayout
import android.widget.TextView
import a... |
compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyCustomKeysTest.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
app/src/main/java/com/biotel/iot/util/BluetoothLeScanner.kt | unknown_repo | kotlin | package com.biotel.iot.util
import android.bluetooth.BluetoothAdapter.LeScanCallback
import android.os.Handler
import android.util.Log
@Suppress("MemberVisibilityCanBePrivate")
class BluetoothLeScanner(private val bluetoothAdapterWrapper: BluetoothAdapterWrapper) {
private val mHandler: Handler = Handler()
p... |
analytics/src/test/java/io/appmetrica/analytics/impl/startup/uuid/UuidValidatorTest.kt | unknown_repo | kotlin | package io.appmetrica.analytics.impl.startup.uuid
import android.os.Build
import io.appmetrica.analytics.testutils.CommonTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.ParameterizedRobolectricTestRunner
import org.robolectric.annotati... |
app/src/main/java/cn/iimedia/jb/ContactUsActivity.kt | unknown_repo | kotlin | package cn.iimedia.jb
import android.os.Bundle
import android.text.TextUtils
import android.view.MotionEvent
import android.view.View
import cn.iimedia.jb.common.Config
import cn.iimedia.jb.http.APIConstants
import cn.iimedia.jb.http.bean.ContactUsBean
import com.xiong.appbase.base.BaseActivity
import com.xiong.appbas... |
app/src/main/java/de/dhelleberg/spotifykidsplayer/ui/artists/ArtistFragment.kt | unknown_repo | kotlin | package de.dhelleberg.spotifykidsplayer.ui.artists
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.navigation.fragment.NavHostFragment
impo... |
library/src/main/java/com/goyourfly/tabviewpager/BaseTabViewPagerFragment.kt | unknown_repo | kotlin | package com.goyourfly.tabviewpager
import android.content.Context
import android.graphics.Canvas
import android.graphics.Rect
import android.os.Bundle
import android.os.Handler
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
impo... |
mercury/src/main/java/com/yupaopao/mercury/library/tunnel/MessageController.kt | unknown_repo | kotlin | package com.yupaopao.mercury.library.tunnel
import android.os.Handler
import android.os.Looper
import com.yupaopao.mercury.library.common.AccessMessage
import com.yupaopao.mercury.library.common.Header
import com.yupaopao.mercury.library.tunnel.model.MercuryMessage
import java.util.HashMap
abstract class MessageCont... |
src/main/kotlin/indi/midreamsheep/app/tre/shared/frame/engine/parser/paragraph/head/HeadParser.kt | unknown_repo | kotlin | package indi.midreamsheep.app.tre.shared.frame.engine.parser.paragraph.head
import androidx.compose.material3.Divider
import indi.midreamsheep.app.tre.api.annotation.render.line.LineParserMap
import indi.midreamsheep.app.tre.service.ioc.di.inject.mapdi.annotation.MapKey
import indi.midreamsheep.app.tre.shared.api.disp... |
app/src/main/java/com/inspiredandroid/braincup/composables/AnomalyPuzzleScreen.kt | unknown_repo | kotlin | package com.inspiredandroid.braincup.composables
import androidx.compose.Composable
import androidx.ui.core.dp
import androidx.ui.layout.Gravity
import androidx.ui.layout.Row
import androidx.ui.layout.Spacing
import com.inspiredandroid.braincup.DelayedTask
import com.inspiredandroid.braincup.games.AnomalyPuzzleGame
@... |
ime/android/src/main/kotlin/studio/lunabee/onesafe/ime/OneSafeKeyboardHelper.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023-2023 Lunabee Studio
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
app/src/main/java/ca/bc/gov/bchealth/ui/home/immunizationschedules/ImmunizationSchedulesScreen.kt | unknown_repo | kotlin | package ca.bc.gov.bchealth.ui.home.immunizationschedules
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.PaddingValues
import androidx... |
app/src/main/java/com/vpr/places_together/data/local/entity/GroupEntity.kt | unknown_repo | kotlin | package com.vpr.places_together.data.local.entity
import androidx.room.Entity
import androidx.room.Junction
import androidx.room.PrimaryKey
import androidx.room.Relation
@Entity(tableName = "groups")
data class GroupEntity(
@PrimaryKey(autoGenerate = true) val groupId: Long = 0,
val name: String,
val grou... |
app/src/main/java/com/frogobox/consumableapps/consumable/themealdbapi/MealActivity.kt | unknown_repo | kotlin | package com.frogobox.consumableapps.consumable.themealdbapi
import android.os.Bundle
import android.view.View
import com.bumptech.glide.Glide
import com.frogobox.consumableapps.R
import com.frogobox.consumableapps.base.BaseActivity
import com.frogobox.frogothemealdbapi.callback.MealResultCallback
import com.frogobox.f... |
FoodDelivery_Frontend/app/src/main/java/com/example/fooddelivery/Activity/MainActivity.kt | unknown_repo | kotlin | package com.example.fooddelivery.Activity
import android.os.Bundle
import android.provider.Settings
import android.widget.LinearLayout
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.Recycl... |
payments-core/src/main/java/com/stripe/android/view/CardWidgetProgressView.kt | unknown_repo | kotlin | package com.stripe.android.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.widget.FrameLayout
import androidx.core.view.isInvisible
import... |
mobile/src/main/java/technology/mainthread/apps/gatekeeper/GatekeeperApp.kt | unknown_repo | kotlin | package technology.mainthread.apps.gatekeeper
import androidx.collection.ArrayMap
import com.google.android.gms.common.ConnectionResult
import com.google.android.gms.common.GoogleApiAvailability
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.database.Logger
import com.google.firebase.... |
app/src/main/java/jp/ddo/hotmist/unicodepad/UnicodeAdapter.kt | unknown_repo | kotlin | /*
Copyright 2018 Ryosuke839
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 writ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.