file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
app/src/main/java/com/mapbox/search/sample/api/ReverseGeocodingKotlinExampleActivity.kt | unknown_repo | kotlin | package com.mapbox.search.sample.api
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.mapbox.geojson.Point
import com.mapbox.search.MapboxSearchSdk
import com.mapbox.search.ResponseInfo
import com.mapbox.search.ReverseGeoOptions
import com.mapbox.search.Revers... |
UIViews/src/main/java/com/programmersbox/uiviews/settings/ExtensionListScreen.kt | unknown_repo | kotlin | package com.programmersbox.uiviews.settings
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import androidx.activity.compose.BackHandler
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import... |
mentosweb/src/main/java/site/exciter/mentosweb/command/CommandDispatcher.kt | unknown_repo | kotlin | package site.exciter.mentosweb.command
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.IBinder
import android.util.Log
import site.exciter.mentosweb.ICallbackFromMainprocessToWebViewProcessInterface
import site... |
presentation/src/commonMain/kotlin/ireader/presentation/ui/home/library/ui/LibrarySelectionBar.kt | unknown_repo | kotlin | package ireader.presentation.ui.home.library.ui
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.expandVertically
import androidx.compose.animation.shrinkVertically
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.... |
erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/DirectionRight.kt | unknown_repo | kotlin | package compose.icons.weathericons
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
impo... |
app/src/main/java/com/kuss/tangerine/views/TaskItemDecoration.kt | unknown_repo | kotlin | package com.kuss.tangerine.views
import androidx.recyclerview.widget.RecyclerView
import android.content.Context
import android.graphics.Rect
import android.view.View
import com.kuss.tangerine.R
class TaskItemDecoration(context: Context) : RecyclerView.ItemDecoration() {
private var divider: Int? = null
ini... |
composeApp/src/commonMain/kotlin/dev/ishubhamsingh/splashy/features/settings/ui/SettingsScreen.kt | unknown_repo | kotlin | /*
* Copyright 2023 Shubham Singh
*
* 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 t... |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/healthandmedical/LungsFill.kt | unknown_repo | kotlin | package com.woowla.compose.icon.collections.remix.remix.healthandmedical
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.gr... |
app/src/main/java/com/peng/ui/fragment/CheckOutFragment.kt | unknown_repo | kotlin | package com.peng.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.*
import android.view.ViewGroup
import android.widget.Toast
import androidx.activity.OnBackPressedCallback
import androidx.core.view.isVisible
import androidx.fragment.app.Fragment... |
app/src/main/java/dev/seabat/android/shinobuetuner/compose/GoodBadImage.kt | unknown_repo | kotlin | package dev.seabat.android.shinobuetuner.compose
import android.util.Log
import androidx.compose.runtime.Composable
import dev.seabat.android.shinobuetuner.utils.MusicalScale.ShinobueScaleType
@Composable
fun GoodBadImage(scaleInfo: ScaleInfo, imageComposable: @Composable (GoodBadType)->Unit) {
if ((scaleInfo.di... |
feature/movie-details/src/main/java/br/com/moov/moviedetails/DefaultMovieDetailsNavigator.kt | unknown_repo | kotlin | /*
* Copyright 2020 Alex Almeida Tavella
*
* 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 a... |
share/src/main/java/com/kyawhut/atsycast/share/components/RowHeaderComponent.kt | unknown_repo | kotlin | package com.kyawhut.atsycast.share.components
import android.content.Context
import android.util.AttributeSet
import android.widget.LinearLayout
import androidx.leanback.widget.RowHeaderView
import com.kyawhut.atsycast.share.R
import com.kyawhut.atsycast.share.utils.binding.TextViewBinding.applyMMFont
/**
* @author ... |
library/verification-core/src/test/java/com/sinch/verificationcore/config/general/GlobalConfigBuilderTest.kt | unknown_repo | kotlin | package com.sinch.verificationcore.config.general
import android.os.Build
import androidx.test.core.app.ApplicationProvider
import com.sinch.verification.core.config.general.SinchGlobalConfig
import io.mockk.mockk
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.robol... |
app/src/main/java/net/vezk/dialogsystem/MainActivity.kt | unknown_repo | kotlin | package net.vezk.dialogsystem
import android.app.Dialog
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.LayoutInflater
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import net.vezk.dialogsystem.databinding.AceptDialogBinding
import net.vezk.dialogsy... |
app/src/main/java/dev/arkbuilders/rate/presentation/ui/AppDividers.kt | unknown_repo | kotlin | package dev.arkbuilders.rate.presentation.ui
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.HorizontalDivider
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import dev.arkbuilders.rate.presentation.theme.ArkColor
@... |
app/src/main/java/com/shevelev/my_footprints_remastered/ui/activity_first_loading/fragment_google_drive_sign_in/view/GoogleDriveSignInFragment.kt | unknown_repo | kotlin | package com.shevelev.my_footprints_remastered.ui.activity_first_loading.fragment_google_drive_sign_in.view
import android.content.Intent
import com.shevelev.my_footprints_remastered.R
import com.shevelev.my_footprints_remastered.application.App
import com.shevelev.my_footprints_remastered.databinding.FragmentGoogleDri... |
features/episodes/src/main/java/com/developersancho/episodes/detail/view/EpisodeDetailContent.kt | unknown_repo | kotlin | package com.developersancho.episodes.detail.view
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material.Ic... |
app/src/main/java/com/herry/test/app/resizing/ResizingUIFragment.kt | unknown_repo | kotlin | package com.herry.test.app.resizing
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
im... |
features/game-main/src/main/java/io/github/japskiddin/sudoku/game_main/GameMainFeatureUI.kt | unknown_repo | kotlin | package io.github.japskiddin.sudoku.game_main
import androidx.compose.runtime.Composable
@Composable
fun GameMain() {
} |
app/src/main/java/com/debanshu777/newsFlip/ui/fragments/BreakingNewsFragment.kt | unknown_repo | kotlin | package com.debanshu777.newsapp.ui.fragments
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.AbsListView
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.lifecycleScope
import androidx.navigati... |
kompat/src/main/kotlin/info/ericlin/kompat/text/ICUCompat.kt | unknown_repo | kotlin | package info.ericlin.kompat.text
import android.support.v4.text.ICUCompat
import java.util.*
/**
* Call through [ICUCompat.maximizeAndGetScript]
*/
fun Locale.maximizeAndGetScriptCompat() = ICUCompat.maximizeAndGetScript(this) |
app/src/main/java/com/github/pockethub/android/ui/gist/GistFragment.kt | unknown_repo | kotlin | /*
* Copyright (c) 2015 PocketHub
*
* 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 t... |
Yum-Client/app/src/main/java/com/anbui/yum/common/component/RatingBar.kt | unknown_repo | kotlin | package com.anbui.yum.common.component
import android.util.Log
import android.view.MotionEvent
import androidx.annotation.FloatRange
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.gestures.detectHorizontalDragGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.f... |
magellan-sample-migration/src/test/java/com/wealthfront/magellan/sample/migration/tide/DogDetailsScreenTest.kt | unknown_repo | kotlin | package com.wealthfront.magellan.sample.migration.tide
import android.app.Application
import android.content.Context
import android.os.Looper.getMainLooper
import androidx.activity.ComponentActivity
import androidx.test.core.app.ApplicationProvider
import com.wealthfront.magellan.lifecycle.LifecycleState
import com.we... |
src/com/android/launcher3/LauncherPrefs.kt | unknown_repo | kotlin | /*
* Copyright (C) 2023 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... |
projects/android/koin-android/src/test/java/org/koin/test/android/ext/koin/KoinExtTest.kt | unknown_repo | kotlin | package org.koin.test.android.ext.koin
import android.app.Application
import android.content.Context
import io.mockk.every
import io.mockk.mockk
import org.junit.Assert
import org.junit.Test
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidFileProperties
import org.koin.android.e... |
android_mobile/src/main/java/com/alexstyl/specialdates/ui/base/MementoActivity.kt | unknown_repo | kotlin | package com.alexstyl.specialdates.ui.base
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.NavUtils
import android.support.v4.app.TaskStackBuilder
import android.support.v7.app.AppCompatActivity
import android.view.KeyEvent
... |
firebase-appdistribution/test-app/src/main/kotlin/com/googletest/firebase/appdistribution/testapp/MainActivity.kt | unknown_repo | kotlin | // Copyright 2022 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 in ... |
Rotate3d.kt | unknown_repo | kotlin | package com.woman.beautylive.util
import android.graphics.Camera
import android.view.animation.Animation
import android.view.animation.Transformation
/**
* @author Heyi
* @since 1.0.0
*/
class Rotate3d:Animation() {
private var mFromDegrees: Float?=null
private var mToDegrees: Float?=null
private var m... |
lifecycle/lifecycle-viewmodel-savedstate/src/main/java/androidx/lifecycle/AbstractSavedStateViewModelFactory.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/example/marsphotos/presentation/main/MainScreenContent.kt | unknown_repo | kotlin | package com.example.marsphotos.presentation.main
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Scaffold
import an... |
app/src/main/java/com/sirionrazzer/diary/Diary.kt | unknown_repo | kotlin | package com.sirionrazzer.diary
import android.app.Application
import com.jakewharton.threetenabp.AndroidThreeTen
import com.sirionrazzer.diary.system.dagger.ApiModule
import com.sirionrazzer.diary.system.dagger.AppComponent
import com.sirionrazzer.diary.system.dagger.DaggerAppComponent
import com.sirionrazzer.diary.sy... |
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/MiuixSlider.kt | unknown_repo | kotlin | package top.yukonga.miuix.kmp.basic
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import android... |
app/src/main/java/com/gstormdev/urbandictionary/di/AppModule.kt | unknown_repo | kotlin | package com.gstormdev.urbandictionary.di
import android.app.Application
import com.gstormdev.urbandictionary.BuildConfig
import com.gstormdev.urbandictionary.UrbanDictApp
import com.gstormdev.urbandictionary.api.UrbanDictionaryRestClient
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import re... |
app/src/main/java/com/patrykkosieradzki/qrcodereader/ui/home/adapter/BarcodeListAdapter.kt | unknown_repo | kotlin | package com.patrykkosieradzki.qrcodereader.ui.home.adapter
import android.content.Context
import android.util.SparseBooleanArray
import android.view.View
import android.view.ViewGroup
import android.widget.RelativeLayout
import com.firebase.ui.database.FirebaseRecyclerAdapter
import com.firebase.ui.database.FirebaseR... |
app/src/main/java/com/github/cfogrady/vitalwear/adventure/ActiveAdventure.kt | unknown_repo | kotlin | package com.github.cfogrady.vitalwear.adventure
import android.content.Context
import android.graphics.Bitmap
import android.os.Handler
import android.os.Looper
import com.github.cfogrady.vitalwear.character.VBCharacter
import com.github.cfogrady.vitalwear.common.card.db.AdventureEntity
import kotlinx.coroutines.Corou... |
app/src/main/java/giuliolodi/gitnav/ui/events/EventActivity.kt | unknown_repo | kotlin | /*
* Copyright 2017 GLodi
*
* 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... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Scribble.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... |
app/src/main/java/wannabit/io/cosmostaion/ui/tx/step/kava/PoolActionFragment.kt | unknown_repo | kotlin | package wannabit.io.cosmostaion.ui.tx.step.kava
import android.app.Activity
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.Vie... |
app/src/main/java/com/iax3m/bluetoothtracker/android/MainActivity.kt | unknown_repo | kotlin | package com.iax3m.bluetoothtracker.android
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.google.android.gms.ads.*
import com.google.android.gms.ads.interstitial.InterstitialAd
import com.google.and... |
app/src/main/java/com/silverpants/instantaneous/ui/search/SearchItem.kt | unknown_repo | kotlin | package com.silverpants.instantaneous.ui.search
import android.view.View
import com.silverpants.instantaneous.R
import com.silverpants.instantaneous.data.user.models.AnotherUser
import com.silverpants.instantaneous.databinding.ItemSearchUserBinding
import com.silverpants.instantaneous.misc.loadImageOrDefault
import co... |
transition/transition/src/androidTest/java/androidx/transition/EpicenterTest.kt | unknown_repo | kotlin | /*
* Copyright 2019 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... |
solar/src/main/java/com/chiksmedina/solar/lineduotone/astronomy/StarFall.kt | unknown_repo | kotlin | package com.chiksmedina.solar.linear.astronomy
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.Companio... |
app/src/main/java/com/amit/img_picker/provider/CameraProvider.kt | unknown_repo | kotlin | package com.amit.img_picker.provider
import android.Manifest
import android.app.Activity
import android.content.Intent
import androidx.core.app.ActivityCompat
import com.amit.dbapilibrary.R
import com.amit.img_picker.ImagePickerActivity
import com.amit.img_picker.util.FileUtil
import com.amit.img_picker.util.IntentUti... |
app/src/main/java/com/akexorcist/glassmorphism/GlassContainerLayout.kt | unknown_repo | kotlin | package com.akexorcist.glassmorphism
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.PorterDuff
import android.graphics.PorterDuffXfermode
import android.renderscript.Allocation
import andro... |
library/src/main/java/com/santalu/maskara/widget/MaskTextView.kt | unknown_repo | kotlin | package com.santalu.maskara.widget
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
import com.santalu.maskara.Action
import com.santalu.maskara.Mask
import com.santalu.maskara.MaskResult
import com.santalu.maskara... |
app/src/main/java/com/mindorks/example/jetpack/compose/animation/CrossFadeAnimationActivity.kt | unknown_repo | kotlin | package com.mindorks.example.jetpack.compose.animation
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.c... |
app/src/main/kotlin/com/search/images/data/database/entity/ImageModelEntity.kt | unknown_repo | kotlin | /*
* Copyright (C) 2021 <NAME> 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 req... |
LudoCompose/app/src/main/java/hu/bme/aut/android/ludocompose/ui/theme/Type.kt | unknown_repo | kotlin | /*
* Copyright © 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 to in ... |
app/src/main/java/com/pt/pro/alarm/views/EditAlarmFragment.kt | unknown_repo | kotlin | package com.pt.pro.alarm.views
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.viewpager2.widget.ViewPager2
import com.pt.common.global.AlarmSack
import com.pt.common.global.findAttr
import com.pt.common.mutual.life.GlobalSimpleFragment
import com.pt.common... |
app/src/main/kotlin/com/mr3y/podcaster/ui/utils/DateTime.kt | unknown_repo | kotlin | package com.mr3y.podcaster.ui.utils
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import com.mr3y.podcaster.core.model.Episode
import com.mr3y.podcaster.core.model.dateTimePublished
import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
@... |
galileo/src/main/java/com/josedlpozo/galileo/floaticon/FloatIconPreferenceUtils.kt | unknown_repo | kotlin | /*
* Copyright (C) 2016 The CyanogenMod Project
*
* Modified Work: Copyright (c) 2018 fr4nk1
*
* Modified Work: Copyright (c) 2018 josedlpozo
*
* 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 Lic... |
libraries/card-input-view/src/main/java/com/trendyol/cardinputview/formatter/CardNumberFormatterTextWatcher.kt | unknown_repo | kotlin | package com.trendyol.cardinputview.formatter
import android.text.Editable
import android.text.TextWatcher
import com.trendyol.cardinputview.CreditCardType
import com.trendyol.cardinputview.updateText
import java.util.concurrent.atomic.AtomicBoolean
internal class CardNumberFormatterTextWatcher(
private val suppor... |
app/src/main/java/net/squanchy/venue/VenueInfoPageView.kt | unknown_repo | kotlin | package net.squanchy.venue
import android.annotation.TargetApi
import android.content.Context
import android.os.Build
import android.support.design.widget.CoordinatorLayout
import android.support.v7.widget.Toolbar
import android.text.Html
import android.text.Spanned
import android.util.AttributeSet
import android.widg... |
app/src/main/java/com/kylecorry/trail_sense/weather/infrastructure/temperatures/HistoricTemperatureRepo.kt | unknown_repo | kotlin | package com.kylecorry.trail_sense.weather.infrastructure.temperatures
import android.content.Context
import com.kylecorry.sol.math.Range
import com.kylecorry.sol.math.SolMath
import com.kylecorry.sol.science.geology.CoordinateBounds
import com.kylecorry.sol.units.Coordinate
import com.kylecorry.sol.units.Reading
impor... |
app/src/main/java/zx9/staris/sqlDeveloper/WebView.kt | unknown_repo | kotlin | package zx9.staris.infoengineer
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.webkit.WebChromeClient
import android.webkit.WebSettings
import android.webkit.WebViewClient
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import kotlin... |
smash-ranks-android/app/src/main/java/com/garpr/android/features/tournament/TournamentPlayerItemView.kt | unknown_repo | kotlin | package com.garpr.android.features.tournament
import android.content.Context
import android.graphics.Typeface
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import android.view.View
import android.widget.FrameLayout
import androidx.annotation.ColorInt
import androidx.core.content.ContextCom... |
app/src/main/java/ethiopia/covid/android/ui/adapter/ContactRecyclerAdapter.kt | unknown_repo | kotlin | package ethiopia.covid.android.ui.adapter
import android.text.Html
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import ethiopia.covid.android.R
import... |
kohii-exoplayer/src/main/java/kohii/v1/exoplayer/Kohii.kt | unknown_repo | kotlin | /*
* Copyright (c) 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... |
easyadapter-compiler/src/main/java/com/amrdeveloper/easyadapter/compiler/generator/RecyclerAdapterGenerator.kt | unknown_repo | kotlin | package com.amrdeveloper.easyadapter.compiler.generator
import com.amrdeveloper.easyadapter.compiler.data.adapter.RecyclerAdapterData
import com.amrdeveloper.easyadapter.compiler.utils.ViewTable
import com.squareup.kotlinpoet.*
import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy
class Recyc... |
Armadillo/src/main/java/com/scribd/armadillo/models/Models.kt | unknown_repo | kotlin | package com.scribd.armadillo.models
import android.os.Parcel
import android.os.Parcelable
import com.scribd.armadillo.Milliseconds
import com.scribd.armadillo.extensions.toPrint
import com.scribd.armadillo.time.milliseconds
import java.io.Serializable
data class AudioPlayable(val id: Int,
val... |
app/src/main/java/com/merttoptas/composebase/features/ui/theme/Type.kt | unknown_repo | kotlin | package ke.co.tulivuapps.hobbyhorsetours.features.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
i... |
app/src/main/java/com/jtkt/mvvm_skyeye/base/BaseActivity.kt | unknown_repo | kotlin | package com.jtkt.mvvm_skyeye.base
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import android.graphics.Color
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityCompat
import androidx.c... |
room/room-runtime/src/androidMain/kotlin/androidx/room/DelegatingOpenHelper.android.kt | unknown_repo | kotlin | /*
* Copyright 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 applica... |
app/src/main/java/hr/unipu/android/snapchat/ViewSnapActivity.kt | unknown_repo | kotlin | package hr.unipu.android.snapchat
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.AsyncTask
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView
import com.go... |
urbanairship-preference-center/src/test/java/com/urbanairship/preferencecenter/PreferenceCenterTest.kt | unknown_repo | kotlin | package com.urbanairship.preferencecenter
import android.content.Context
import android.net.Uri
import android.os.Looper
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.urbanairship.PreferenceDataStore
import com.urbanairship.PrivacyManager
import com.urbanairship.TestApplication
import com.urbanairshi... |
sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/feed/FeedSideEffect.kt | unknown_repo | kotlin | package chat.sphinx.dashboard.ui.feed
import android.content.Context
import io.matthewnelson.concept_views.sideeffect.SideEffect
sealed class FeedSideEffect: SideEffect<Context>() {
} |
app/src/main/java/com/cl/titlelayout/SingleLeftActivity.kt | unknown_repo | kotlin | package com.cl.titlelayout
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.cl.titlelayout.databinding.ActivitySingleLeftBinding
class SingleLeftActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCrea... |
app/src/main/kotlin/vitalii/pankiv/dev/android/features/timeline/presentation/TimelineViewModel.kt | unknown_repo | kotlin | package vitalii.pankiv.dev.android.features.timeline.presentation
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import vitalii.pankiv.dev.android.basedata.network.responses.ApiTimelineItemType
import vitalii.pankiv.dev.android.base... |
app/src/main/java/com/opoinf/laboratorio_opoinf/controlador/sesion/UserPreferences.kt | unknown_repo | kotlin | package com.opoinf.laboratorio_opoinf.controlador.sesion
import android.content.Context
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.core.stringPreferencesKey
import androidx.datastore.preferences.preferencesDataStore
impor... |
app/src/main/java/com/kartal/bookshop/MainActivity.kt | unknown_repo | kotlin | package com.kartal.bookshop
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.kartal.bookshop.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
//view binding
private lateinit var binding: ActivityMainBinding
overri... |
feature/home/src/main/kotlin/nl/q42/template/ui/home/HomeScreen.kt | unknown_repo | kotlin | package nl.q42.template.ui.home
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.comp... |
app/src/main/java/com/yoy/foodiemap/utils/Injector.kt | unknown_repo | kotlin | package com.yoy.foodiemap.utils
import android.content.Context
import com.yoy.foodiemap.data.AppDatabase
import com.yoy.foodiemap.data.PlaceRepository
import com.yoy.foodiemap.viewmodels.PlacesViewModelFactory
object Injector {
private fun getPlaceRepository(context: Context): PlaceRepository{
return Pla... |
GaiaXAnalyze/GXAnalyzeAndroid/src/androidTest/kotlin/com/alibaba/gaiax/analyze/GXAnalyzeTest.kt | unknown_repo | kotlin | package com.alibaba.gaiax.analyze
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.alibaba.fastjson.JSONArray
import com.alibaba.fastjson.JSONObject
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
/**
* Instrumented test, which will execute on an Android device.
*
* @se... |
app/src/main/java/com/obaied/mailme/ui/audioplayer_service/AudioPlayerManager.kt | unknown_repo | kotlin | package com.joseph.mailme.ui.audioplayer_service
import android.app.Activity
import android.content.Context
import android.content.Intent
import com.joseph.mailme.util.d
import com.joseph.mailme.util.i
import com.joseph.mailme.util.w
import org.greenrobot.eventbus.EventBus
/**
* Created by ab on 11.10.17.
*/
class ... |
core-ui/src/main/java/fr/nihilus/music/core/ui/base/MediaItemDiffer.kt | unknown_repo | kotlin | /*
* Copyright 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 in wr... |
binds/src/main/java/com/github/greennick/properties/android/DialogBindings.kt | unknown_repo | kotlin | package com.github.greennick.properties.android
import android.app.Dialog
import android.content.DialogInterface
import com.github.greennick.properties.generic.MutableProperty
import com.github.greennick.properties.generic.Property
import com.github.greennick.properties.subscriptions.ListenableSubscription
import com.... |
app/src/main/java/top/xjunz/tasker/task/event/MetaEventDispatcher.kt | unknown_repo | kotlin | /*
* Copyright (c) 2023 xjunz. All rights reserved.
*/
package top.xjunz.tasker.task.event
import android.util.ArrayMap
import top.xjunz.shared.ktx.casted
import top.xjunz.tasker.engine.task.EventDispatcher
/**
* @author xjunz 2023/03/12
*/
class MetaEventDispatcher : EventDispatcher() {
private val allDisp... |
app/src/main/java/org/simple/clinic/forgotpin/confirmpin/ForgotPinConfirmPinModel.kt | unknown_repo | kotlin | package org.simple.clinic.forgotpin.confirmpin
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import org.simple.clinic.facility.Facility
import org.simple.clinic.user.User
@Parcelize
data class ForgotPinConfirmPinModel(
val user: User?,
val facility: Facility?,
val previousPin: Strin... |
presentation/src/main/java/com/bikcodeh/melichallenge/presentation/ui/component/ModalQuantityTextField.kt | unknown_repo | kotlin | package com.bikcodeh.melichallenge.presentation.ui.component
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.co... |
app/src/main/java/com/example/careerboast/view/navigation/CareerBoastNavHost.kt | unknown_repo | kotlin | package com.example.careerboast.view.navigation
import androidx.compose.material3.DrawerState
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
@Composable
fun CareerBoastNavHost(
modifier : Modifi... |
app/src/main/java/com/example/androidsample/MainActivity.kt | unknown_repo | kotlin | package com.example.androidsample
import android.os.Bundle
import android.os.Handler
import android.view.Menu
import android.view.MenuItem
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.snackbar.Snackbar
import kotlinx.android.synthetic.main.activity_main.*
... |
src/main/kotlin/io/openfuture/api/entity/scaffold/EthereumShareHolder.kt | unknown_repo | kotlin | package io.openfuture.api.entity.scaffold
import io.openfuture.api.entity.base.BaseModel
import javax.persistence.*
@Entity
@Table(name = "ethereum_share_holders")
class EthereumShareHolder(
@ManyToOne
@JoinColumn(name = "summary_id", nullable = false)
val summary: EthereumScaffoldSummary,
... |
library/src/test/java/io/github/toyota32k/bindit/TestEnum.kt | unknown_repo | kotlin | package io.github.toyota32k.binder
import androidx.annotation.IdRes
enum class TestEnum(@IdRes val id:Int) {
E0(1000),
E1(1001),
E2(1002),
E3(1003);
companion object {
fun valueOf(@IdRes id: Int): TestEnum? {
return entries.find { it.id == id }
}
}
object IDRes... |
core/src/main/java/com/bruno13palhano/core/data/repository/DefaultExcelSheet.kt | unknown_repo | kotlin | package com.bruno13palhano.core.data.repository
import android.content.Context
import com.bruno13palhano.core.data.di.DefaultWorkbook
import dagger.hilt.android.qualifiers.ApplicationContext
import org.apache.poi.ss.usermodel.CellStyle
import org.apache.poi.ss.usermodel.FillPatternType
import org.apache.poi.ss.usermod... |
app/src/main/java/com/stu74532/finalproject_74532/CartScreen.kt | unknown_repo | kotlin | package com.stu74532.finalproject_74532
import android.widget.Toast
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.Arrangement
import androidx.compose... |
app/src/main/java/com/example/wanAndroid/widget/navigation/MyNavHostFragment.kt | unknown_repo | kotlin | package com.example.wanAndroid.widget.navigation
import android.view.View
import androidx.navigation.Navigator
import androidx.navigation.fragment.FragmentNavigator
import androidx.navigation.fragment.NavHostFragment
import com.example.wanAndroid.R
/**
* 作者:何高建
*
* 时间:2021/6/29
*
* 描述:Hide - Show 自定义NavHostFragm... |
android/app/src/main/java/com/algorand/android/models/ConfirmationBottomSheetParameters.kt | unknown_repo | kotlin | /*
* Copyright 2022 Pera Wallet, LDA
* 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 writing,... |
app/src/main/java/com/app/pagingexample/teams/TeamsDataSource.kt | unknown_repo | kotlin | package com.app.pagingexample.teams
import androidx.lifecycle.MutableLiveData
import androidx.paging.PageKeyedDataSource
import com.app.pagingexample.model.NetworkState
import com.app.pagingexample.model.Team
import com.app.pagingexample.service.WebService
import io.reactivex.disposables.CompositeDisposable
import io.... |
app/src/main/java/com/banuba/sdk/agorapluginexample/ext/ContextExt.kt | unknown_repo | kotlin | package com.banuba.sdk.agorapluginexample.ext
import android.content.Context
import androidx.annotation.DimenRes
fun Context.dimenPx(@DimenRes dimen: Int) = resources.getDimensionPixelSize(dimen)
|
PlayGround/src/main/java/com/dinesh/android/Main.kt | unknown_repo | kotlin | package com.dinesh.android
import android.content.res.Resources
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.EditText
import androidx.appcompat.app.AppCompatActivity
import com.dinesh.android.databinding.MainBinding
import com.dines... |
app/src/main/java/com/gappein/app/ui/chat/ChatActivity.kt | unknown_repo | kotlin | package com.gappein.app.ui.chat
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.gappein.app.R
import com.gappein.sdk.model.User
import com.gappein.sdk.ui.view.channelview.ChannelListFragment
import com.gappein.sdk.ui.view.... |
app/src/main/java/app/simone/multiplayer/controller/FirebaseListAdapterFactory.kt | unknown_repo | kotlin | package app.simone.multiplayer.controller
import android.view.View
import android.widget.TextView
import app.simone.R
import app.simone.multiplayer.model.FacebookUser
import app.simone.multiplayer.model.MatchUserInfo
import app.simone.multiplayer.view.FriendsCellFiller
import app.simone.multiplayer.view.nearby.Waiting... |
graphics/graphics-core/src/androidTest/java/androidx/graphics/lowlatency/LinesDrawable.kt | unknown_repo | kotlin | /*
* Copyright 2023 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/raghav/mynotes/utils/CoroutineUtils.kt | unknown_repo | kotlin | package com.raghav.mynotes.utils
import androidx.fragment.app.Fragment
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import kotlinx.coroutines.launch
object CoroutineUtils {
fun Fragment.executeInCoroutine(
lifecycleState: Lifecyc... |
projects/FoodRecipes/app/src/main/java/com/dev_vlad/foodrecipes/util/MyLogger.kt | unknown_repo | kotlin | package com.dev_vlad.foodrecipes.util
import android.util.Log
object MyLogger {
private const val DEBUG = true
private const val LOG_TAG_PREFIX = "MyLogger"
fun logThis(tag: String, location:String, msg:String, throwable: Throwable? = null) {
throwable?.printStackTrace()
if (DEBUG) {
... |
app/src/main/java/com/steleot/jetpackcompose/playground/compose/foundation/BackgroundScreen.kt | unknown_repo | kotlin | package com.steleot.jetpackcompose.playground.compose.foundation
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CutCornerShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.Composable
impor... |
shared/src/commonMain/kotlin/org/chiachat/app/ui/services/NavigationService.kt | unknown_repo | kotlin | package org.chiachat.app.ui.services
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import org.chiachat.app.ui.components.Component
import org.koin.core.component.KoinComponent
internal class ... |
app/src/main/java/com/example/mr_peanutbutter/whoami/MainActivity.kt | unknown_repo | kotlin | package com.example.mr_peanutbutter.whoami
import android.app.Activity
import android.content.Context
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.os.Bundle
import android.util.Log
import kotlinx.andr... |
create_pdf/src/main/java/tech/okcredit/create_pdf/custom/RecyclerPDFViewer.kt | unknown_repo | kotlin | package tech.okcredit.create_pdf.custom
import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.LinearSnapHelper
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.SnapHelper
import tec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.