file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/GroovyAnnotatorPre30.kt | unknown_repo | kotlin | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiErrorElement
imp... |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/GroovyAnnotatorPre30.kt | unknown_repo | kotlin | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiErrorElement
imp... |
conductor-dagger-sample-moshi/src/main/java/com/jshvarts/mosbymvp/di/AppComponent.kt | unknown_repo | kotlin | package com.jshvarts.mosbymvp.di
import android.app.Application
import com.jshvarts.mosbymvp.data.RetrofitGithubDataStore
import dagger.BindsInstance
import dagger.Component
import javax.inject.Singleton
@Singleton
@Component(modules = arrayOf(GithubModule::class))
interface AppComponent {
@Component.Builder
... |
floid/src/main/java/com/jeremyfox/floid/ui/view_model/StatefulViewModel.kt | unknown_repo | kotlin | package com.jeremyfox.floid.ui.view_model
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.jeremyfox.floid.delegate.StatefulViewModelDelegate
import com.jeremyfox.floid.delegate.StatefulViewModelImpl
import com.jeremyfox.floid.reducer.Reducer... |
dvbViewerController/src/main/java/org/dvbviewer/controller/ui/fragments/ChannelEpg.kt | unknown_repo | kotlin | /*
* Copyright © 2013 dvbviewer-controller 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 applicable... |
app/src/main/java/com/dinaraparanid/prima/fragments/FavouriteArtistListFragment.kt | unknown_repo | kotlin | package com.dinaraparanid.prima.fragments
import com.dinaraparanid.prima.databases.repositories.FavouriteRepository
import com.dinaraparanid.prima.utils.polymorphism.AbstractArtistListFragment
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.coroutineScope
import kotlinx.co... |
app/src/main/java/com/battlelancer/seriesguide/SgApp.kt | unknown_repo | kotlin | package com.battlelancer.seriesguide
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.StrictMode
import android.os.StrictMode.ThreadPolicy
import android.os... |
lib/src/main/kotlin/it/scoppelletti/spaceship/app/AppExt.kt | unknown_repo | kotlin | /*
* Copyright (C) 2013-2021 <NAME>, <http://www.scoppelletti.it/>.
*
* 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 requ... |
src/main/java/com/maddin/echtzeyt/fragments/echtzeyt/RealtimeFragment.kt | unknown_repo | kotlin | package com.maddin.echtzeyt.fragments.echtzeyt
import android.annotation.SuppressLint
import android.content.ActivityNotFoundException
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.MeasureSpec
import android.view.animation.In... |
app/src/main/java/in/technowolf/ipscanner/ui/customViews/LabelValueView.kt | unknown_repo | kotlin | package `in`.technowolf.ipscanner.ui.customViews
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import androidx.annotation.DrawableRes
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat
import ... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/PlaneSlash.kt | unknown_repo | kotlin | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... |
app/src/main/java/io/github/emusute1212/makasetechoice/data/db/dao/MembersDao.kt | unknown_repo | kotlin | package io.github.emusute1212.makasetechoice.data.db.dao
import androidx.annotation.WorkerThread
import androidx.room.*
import io.github.emusute1212.makasetechoice.data.entity.Member
import kotlinx.coroutines.flow.Flow
@Dao
interface MembersDao {
@WorkerThread
@Query("SELECT * FROM members")
fun loadMembe... |
ground/src/main/java/com/google/android/ground/ui/map/gms/FeatureClusterManager.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
app/src/main/java/com/ahrenswett/pillminder/util/Navigation.kt | unknown_repo | kotlin | package com.ahrenswett.pillminder
import android.util.Log
import androidx.compose.runtime.Composable
import androidx.navigation.NavArgument
import androidx.navigation.NavType
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavControlle... |
utilities/src/main/java/fr/jhelp/utilities/extensions/Binaries.kt | unknown_repo | kotlin | /*
* <h1>License :</h1> <br/>
* The following code is deliver as is. <br/>
* You can use, modify, the code as your need for any usage.<br/>
* But you can't do any action that avoid me or other person use, modify this code.<br/>
* The code is free for usage and modification, you can't change that fact.
*/
pac... |
utilities/src/main/java/fr/jhelp/utilities/extensions/Binaries.kt | unknown_repo | kotlin | /*
* <h1>License :</h1> <br/>
* The following code is deliver as is. <br/>
* You can use, modify, the code as your need for any usage.<br/>
* But you can't do any action that avoid me or other person use, modify this code.<br/>
* The code is free for usage and modification, you can't change that fact.
*/
pac... |
android/app/src/main/kotlin/com/v2ray/ang/service/V2RayProxyOnlyService.kt | unknown_repo | kotlin | package com.v2ray.ang.service
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.IBinder
import androidx.annotation.RequiresApi
import com.v2ray.ang.util.MyContextWrapper
import com.v2ray.ang.util.Utils
import java.lang.ref.SoftReference
c... |
app/src/main/java/org/hsbp/androsphinx/SphinxApplication.kt | unknown_repo | kotlin | // SPDX-FileCopyrightText: 2019, <NAME> <<EMAIL>>
// SPDX-License-Identifier: MIT
package org.hsbp.androsphinx
import android.app.Application
@Suppress("UNUSED")
class SphinxApplication : Application() {
init {
System.loadLibrary("sphinx") // and transitively, (lib)sodium
}
}
|
app/src/main/java/com/dreamsoftware/fitflextv/ui/screens/app/AppScreenContent.kt | unknown_repo | kotlin | package com.dreamsoftware.saborytv.ui.screens.app
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.navigation.NavHostController
import com.drea... |
app/src/main/java/com/celzero/bravedns/ui/OrbotBottomSheetFragment.kt | unknown_repo | kotlin | /*
* Copyright 2020 RethinkDNS and its authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/main/LangHolder.kt | unknown_repo | kotlin | package eu.kanade.tachiyomi.ui.catalogue.main
import android.view.View
import eu.davidea.flexibleadapter.FlexibleAdapter
import eu.davidea.viewholders.FlexibleViewHolder
import eu.kanade.tachiyomi.R
import kotlinx.android.synthetic.main.catalogue_main_controller_card.view.*
import java.util.*
class LangHolder(view: V... |
app/src/main/java/com/byd/firstcode/kotlin/eight/ServiceActivity.kt | unknown_repo | kotlin | package com.byd.firstcode.kotlin.eight
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.IBinder
import android.util.Log
import com.byd.fir... |
shared/lib/res/src/jvmMain/kotlin/org/mobilenativefoundation/store/news/shared/lib/res/drawable/showIcon.jvm.kt | unknown_repo | kotlin | package org.mobilenativefoundation.store.news.shared.lib.res.drawable
import androidx.compose.ui.graphics.painter.Painter
actual val facebookLogo: Painter
get() = TODO("Not yet implemented") |
shared/lib/res/src/jvmMain/kotlin/org/mobilenativefoundation/store/news/shared/lib/res/drawable/showIcon.jvm.kt | unknown_repo | kotlin | package org.mobilenativefoundation.store.news.shared.lib.res.drawable
import androidx.compose.ui.graphics.painter.Painter
actual val facebookLogo: Painter
get() = TODO("Not yet implemented") |
reftagger/src/main/java/dev/mattrob/reftagger/repo/ScriptureRepo.kt | unknown_repo | kotlin | package dev.mattrob.reftagger.repo
import android.content.Context
import dev.mattrob.reftagger.cache.ScriptureDiskCache
import dev.mattrob.reftagger.cache.ScriptureMemCache
import dev.mattrob.reftagger.data.Response
import dev.mattrob.reftagger.remote.ScriptureRemote
import dev.mattrob.reftagger.usecases.GetBibleGatew... |
sample/src/main/java/com/stfalcon/stfalconfixturer/sample/InfoActivity.kt | unknown_repo | kotlin | package com.stfalcon.stfalconfixturer.sample
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.stfalcon.stfalconfixturer.extensions.setFixtureTag
import kotlinx.android.synthetic.main.activity_info.*
class InfoActivity : AppCompatActivity() {
override fun onCreate(savedInstanceS... |
bubblepicker/src/main/java/com/igalata/bubblepicker/extensions.kt | unknown_repo | kotlin | package com.igalata.bubblepicker
import android.graphics.Bitmap
import android.opengl.GLES20.*
import android.opengl.GLUtils
import com.igalata.bubblepicker.Constant.FLOAT_SIZE
import com.igalata.bubblepicker.Constant.TEXTURE_VERTICES
import java.nio.ByteBuffer
import java.nio.ByteOrder
import java.nio.FloatBuffer
/*... |
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/large/TwoSpeechBubblesLarge.kt | unknown_repo | kotlin | package ch.sbb.compose_mds.sbbicons.large
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mit... |
app/src/main/java/com/honey96dev/homemadeproduct/p4customer/CustomerCartFragment.kt | unknown_repo | kotlin | package com.honey96dev.homemadeproduct.p4customer
import android.os.AsyncTask
import android.os.Bundle
import android.os.Handler
import android.os.Message
import android.support.v4.app.Fragment
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import andr... |
android-uitests/testData/CatchUp/app/src/main/kotlin/io/sweers/catchup/ui/activity/MainActivity.kt | unknown_repo | kotlin | /*
* Copyright (c) 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 ... |
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/AngleUp.kt | unknown_repo | kotlin | package compose.icons.fontawesomeicons.solid
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.... |
src/main/kotlin/me/bscal/runecraft/gui/runeboard/slots/GemSlot.kt | unknown_repo | kotlin | package me.bscal.runecraft.gui.runeboard.slots
import me.bscal.runecraft.items.runeitems.BreakLevel
import me.bscal.runecraft.stats.StatInstance
import me.bscal.runecraft.stats.StatRegistry
import net.axay.kspigot.chat.KColors
import net.axay.kspigot.items.addLore
import net.axay.kspigot.items.itemStack
import net.axa... |
app/src/main/java/de/oljg/glac/feature_alarm/ui/components/AlarmListItem.kt | unknown_repo | kotlin | package de.oljg.glac.feature_alarm.ui.components
import android.net.Uri
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.horizontalScroll
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
impor... |
app/src/main/kotlin/me/sweetll/tucao/business/download/fragment/DownloadingFragment.kt | unknown_repo | kotlin | package me.sweetll.tucao.business.download.fragment
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.chad.library.adapter.base.BaseQuickAdapter
im... |
java/com/mu/jan/problems/architecture/Paging.kt | unknown_repo | kotlin | package com.mu.jan.problems.architecture
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.utils.widget.MockView
import androidx.lifecycle.Liv... |
app/src/main/java/com/ivansison/kairos/views/adapters/WeatherTypeAdapter.kt | unknown_repo | kotlin | package com.ivansison.kairos.views.adapters
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptec... |
app/src/main/java/pl/elpassion/elabyrinth/MainActivity.kt | unknown_repo | kotlin | package pl.elpassion.elabyrinth
import android.os.Bundle
import android.support.annotation.LayoutRes
import android.support.v7.app.AppCompatActivity
import android.view.*
import android.widget.ImageView
import pl.elpassion.elabyrinth.core.Direction
import pl.elpassion.elabyrinth.core.Game
import pl.elpassion.elabyrint... |
core/database/src/main/java/com/niyaj/database/model/ProductWiseOrderDto.kt | unknown_repo | kotlin | package com.niyaj.database.model
import androidx.room.Embedded
import androidx.room.Relation
import com.niyaj.model.ProductAndQuantity
data class ProductWiseOrderDto(
@Embedded
val cartOrderEntity: CartOrderEntity,
@Relation(
parentColumn = "orderId",
entityColumn = "orderId",
ent... |
presentation/src/main/java/com/fredprojects/helloworld/presentation/features/jumps/JDCustomViews.kt | unknown_repo | kotlin | package com.fredprojects.helloworld.presentation.features.jumps
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.co... |
app/src/main/java/jp/kuluna/eventgridview/sample/MainActivity.kt | unknown_repo | kotlin | package jp.kuluna.eventgridview.sample
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import android.widget.Toast
import jp.kuluna.eventgridview.Eve... |
app/src/main/java/eu/ottop/yamlauncher/AppActionMenu.kt | unknown_repo | kotlin | package eu.ottop.yamlauncher
import android.content.Context
import android.content.Intent
import android.content.pm.ApplicationInfo
import android.content.pm.LauncherActivityInfo
import android.content.pm.LauncherApps
import android.net.Uri
import android.os.Handler
import android.os.Looper
import android.os.UserHandl... |
repository/SoundRepository.kt | unknown_repo | kotlin | package com.example.soundmixer.repository
import androidx.lifecycle.LiveData
import com.example.soundmixer.data_base.Recording
import com.example.soundmixer.data_base.RecordingDao
import com.example.soundmixer.features.search.data_models.FileDetailsResponse
import com.example.soundmixer.features.search.data_models.Sea... |
NavigationAdvancedSample/app/src/main/java/com/example/android/navigationadvancedsample/login/LoginFragment.kt | unknown_repo | kotlin | package com.example.android.navigationadvancedsample.login
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.example.android.navigationadvancedsample.R... |
app/src/main/kotlin/tech/hombre/bluetoothchatter/data/database/ChatDatabase.kt | unknown_repo | kotlin | package tech.hombre.bluetoothchatter.data.database
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import tech.hombre.bluetoothchatter.data.entity.ChatMessage
import tech.hombre.bluetoothchatter.data.entity.Conversation
@Database(entities = [(ChatMessage::class), (C... |
app/src/main/java/du/ducs/thoughtboard/MessageViewModel.kt | unknown_repo | kotlin | package du.ducs.messageboard
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.auth.ktx.auth
import com.google.firebase.firestore.DocumentChange
import com.goog... |
app/src/main/java/com/jamesjmtaylor/blecompose/Scanning/PermissionView.kt | unknown_repo | kotlin | package com.jamesjmtaylor.blecompose.Scanning
import android.content.Context
import android.content.pm.PackageManager
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.runtime.*
import androidx.core.content.Contex... |
app/src/main/java/cn/tanghz17/bilidata/ui/upData/VolleySingleton.kt | unknown_repo | kotlin | package cn.tanghz17.bilidata.ui.home
import android.content.Context
import com.android.volley.RequestQueue
import com.android.volley.toolbox.Volley
class VolleySingleton private constructor(context: Context){
companion object {
private var INSTANCE : VolleySingleton?=null
fun getInstance(context: ... |
app/src/main/java/com/kekulta/events/presentation/ui/theme/Theme.kt | unknown_repo | kotlin | package com.kekulta.events.ui.theme
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
const val scaleFactor = 1.25
@Composable
fun EventsTheme(
content: @Composable () -> Unit
) {
CompositionLocalProvider(
... |
app/src/main/java/com/example/c323p6notes/ConfirmDeleteDialogFragment.kt | unknown_repo | kotlin | package com.example.notesapp
import android.app.AlertDialog
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.DialogFragment
class ConfirmDeleteDialogFragment(val noteId:String, val clickListener: (noteId:String)-> Unit):DialogFragme... |
app/src/main/java/com/noomit/radioalarm02/ui/radio_browser/home/RadioBrowserFragment.kt | unknown_repo | kotlin | package com.noomit.radioalarm02.ui.radio_browser.home
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.widget.ScrollView
import androidx.navigation.fragment.findNavController
import androidx.navigation.navGraphViewModels
import com.noomit.domain.server_manager.ServerState
... |
app/src/main/java/io/github/gusriil/moviemagnet/widget/MarginDecoration.kt | unknown_repo | kotlin | package io.github.gusriil.moviemagnet.widget
import android.content.Context
import android.graphics.Rect
import androidx.recyclerview.widget.RecyclerView
import android.view.View
import io.github.gusriil.moviemagnet.R
class MarginDecoration(context: Context) : RecyclerView.ItemDecoration() {
private val margin: I... |
domain/src/main/java/com/telen/easylineup/domain/model/TeamType.kt | unknown_repo | kotlin | /*
Copyright (c) <NAME>. 2010-2024
*/
package com.telen.easylineup.domain.model
import android.content.Context
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.telen.easylineup.domain.R
/**
* @property id
* @property position
* @property title
* @property sportResId
* @... |
vito/core-impl/src/main/java/com/facebook/fresco/vito/core/impl/ProgressLayerHandler.kt | unknown_repo | kotlin | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.fresco.vito.core.impl
import android.content.res.Resources
import android.graphics.drawable.Drawable
import... |
ui/src/commonMain/kotlin/kosh/ui/transaction/NetworkFeesCard.kt | unknown_repo | kotlin | package kosh.ui.transaction
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.material3.Out... |
app/src/main/java/com/example/counts/EditFragment.kt | unknown_repo | kotlin | package com.example.counts
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import android.widget.TextView
import androidx.databinding.DataBindingUtil
import androidx.navigation.findNavController
import com.example.counts.databinding.EditFragmentBinding
/**
* A simple [Fragment] ... |
app/src/main/java/com/example/counts/EditFragment.kt | unknown_repo | kotlin | package com.example.counts
import android.os.Bundle
import android.view.*
import androidx.fragment.app.Fragment
import android.widget.TextView
import androidx.databinding.DataBindingUtil
import androidx.navigation.findNavController
import com.example.counts.databinding.EditFragmentBinding
/**
* A simple [Fragment] ... |
app/src/main/java/dev/alibagherifam/mentha/theme/Typography.kt | unknown_repo | kotlin | package com.alibagherifam.mentha.theme
import androidx.compose.material3.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
import com.alibagher... |
stripe/src/main/java/com/stripe/android/view/DateUtils.kt | unknown_repo | kotlin | package com.seamlesspay.ui.utils
import androidx.annotation.IntRange
import androidx.annotation.Size
import androidx.annotation.VisibleForTesting
import java.util.Calendar
internal object DateUtils {
private const val MAX_VALID_YEAR = 9980
/**
* Checks to see if the string input represents a valid mont... |
basick/src/main/java/com/mozhimen/basick/utilk/app/UtilKAppInstall.kt | unknown_repo | kotlin | package com.mozhimen.basick.utilk.android.content
import android.app.Activity
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.pm.PackageInstaller
import android.util.Log
import androidx.annotation.RequiresApi
import androidx.annotation.RequiresPermis... |
pagingk_paging3_data/src/main/java/com/mozhimen/pagingk/paging3/data/widgets/PagingKDataMultiAdapter.kt | unknown_repo | kotlin | package com.mozhimen.pagingk.data.widgets
import android.annotation.SuppressLint
import android.content.Context
import com.mozhimen.basick.utilk.android.util.UtilKLogWrapper
import android.util.SparseArray
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil.ItemCallback
import androidx.recyclerv... |
app/src/main/java/com/sik/sikcomposehub/ui/main/ProgressIndicatorLayout.kt | unknown_repo | kotlin | package com.sik.sikcomposehub.ui.main
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.keyframes
import androidx.compose.animation.core.tween
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.founda... |
feature/ui/edit-note/core/src/main/kotlin/ru/maksonic/beresta/feature/ui/edit_note/core/screen/ContentExpanded.kt | unknown_repo | kotlin | package ru.maksonic.beresta.feature.ui.edit_note.core.screen
import androidx.activity.SystemBarStyle
import androidx.activity.enableEdgeToEdge
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androi... |
lite/examples/hand_tracking/android/app/src/main/java/org/tensorflow/lite/examples/handtracking/MainActivity.kt | unknown_repo | kotlin | package org.tensorflow.lite.examples.handtracking
import android.app.Activity
import android.content.Intent
import android.graphics.*
import android.net.Uri
import android.os.Bundle
import android.os.Environment
import android.provider.MediaStore
import android.util.Log
import android.widget.Button
import android.widg... |
modules/library-logging-api/src/main/kotlin/com/leinardi/forlago/library/logging/api/CrashlyticsTree.kt | unknown_repo | kotlin | /*
* Copyright 2021 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
app/src/main/java/com/ryunen344/twikot/mediaViewer/MediaViewerActivity.kt | unknown_repo | kotlin | package com.ryunen344.twikot.mediaViewer
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.ryunen344.twikot.R.layout.activity_media_viewer
import com.ryunen344.twikot.util.LogUtil
import com.ryunen344.twikot.util.replace... |
app/src/main/java/org/obd/graphs/ui/metrics/MetricsFragment.kt | unknown_repo | kotlin | package org.obd.graphs.ui.metrics
import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.Vie... |
coworker-core/src/test/kotlin/org/camunda/community/extension/coworker/zeebe/worker/JobCoworkerTest.kt | unknown_repo | kotlin | package org.camunda.community.extension.coworker.zeebe.worker
import io.camunda.zeebe.client.api.response.ActivatedJob
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.cor... |
app/src/main/java/com/plcoding/stockmarketapp/data/local/StockDao.kt | unknown_repo | kotlin | package com.plcoding.stockmarketapp.data.local
import androidx.room.*
@Dao
interface StockDao {
@Query(
"""
SELECT *
FROM companylistingentity
WHERE LOWER(name) LIKE '%' || LOWER(:query) || '%' OR
UPPER(:query) == symbol
"""
)
suspend fun se... |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/BusSolid.kt | unknown_repo | kotlin | package compose.icons.lineawesomeicons
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/com/simbiri/equityjamii/ui/main_activity/people_page/PersonInfoFragment.kt | unknown_repo | kotlin | package com.simbiri.equityjamii.ui.main_activity.people_page
import android.app.Dialog
import android.content.Context
import android.net.Uri
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.LayoutInflater
import android.view.View
import android... |
app/src/main/java/com/babylon/wallet/android/presentation/settings/linkedconnectors/LinkedConnectorsScreen.kt | unknown_repo | kotlin | package com.babylon.wallet.android.presentation.settings.linkedconnectors
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
impo... |
app/src/main/java/dev/kingbond/notify/ui/event/AlarmReceiver.kt | unknown_repo | kotlin | package dev.kingbond.notify.ui.event
import android.app.NotificationChannel
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.media.MediaPlayer
import android.os.Build
import androidx.annotation.RequiresApi
import andro... |
app/src/main/java/com/pt/mysociety/login/view/LoginViewModel.kt | unknown_repo | kotlin | package com.pt.mysociety.login.view
import android.app.Activity
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import android.util.Patterns
import com.google.firebase.auth.ktx.auth
import com.google.firebase.ktx.Firebase
import com.pt.mysociety.R
impor... |
app/src/main/java/com/kshitijpatil/tazabazar/util/EditTextUtils.kt | unknown_repo | kotlin | package com.kshitijpatil.tazabazar.util
import android.text.Editable
import android.text.TextWatcher
import android.util.Patterns
import android.widget.EditText
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.callbackFlow
import kotlinx.coroutines.flow.o... |
apps/student/src/androidTest/java/com/instructure/student/ui/pages/SubmissionDetailsPage.kt | unknown_repo | kotlin | /*
* Copyright (C) 2019 - present Instructure, 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 requ... |
android/src/main/java/dev/sergiobelda/todometer/ui/components/ToDometerTopAppBar.kt | unknown_repo | kotlin | /*
* Copyright 2021 <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... |
libraries/property-delegates/src/main/java/com/app/propertydelegates/bundle/Utils.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... |
app/src/main/java/com/example/tupicionario/PovosNativosActivity.kt | unknown_repo | kotlin | package com.example.tupicionario
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import kotlinx.android.synthetic.main.activity_povos_nativos.*
class PovosNativosActivity : AppCompatActivity(), OnItemClickList... |
app/src/main/java/com/jonnyhsia/storybook/page/main/timeline/TimelineContract.kt | unknown_repo | kotlin | package com.jonnyhsia.storybook.page.main.timeline
import android.support.annotation.StringRes
import com.jonnyhsia.storybook.biz.entity.Story
import com.jonnyhsia.storybook.page.base.BasePresenter
import com.jonnyhsia.storybook.page.base.BaseView
import me.drakeet.multitype.Items
/**
* Created by JonnyHsia on 17/10... |
infobip-rtc-ui/src/main/java/com/infobip/webrtc/ui/InfobipRtcUiImpl.kt | unknown_repo | kotlin | package com.infobip.webrtc.ui
import android.content.Context
import android.util.Log
import com.infobip.webrtc.Cache
import com.infobip.webrtc.Injector
import com.infobip.webrtc.TAG
import com.infobip.webrtc.TokenProvider
import com.infobip.webrtc.sdk.api.InfobipRTC
import com.infobip.webrtc.sdk.api.model.push.Status
... |
azure-communication-ui/calling/src/main/java/com/azure/android/communication/ui/calling/presentation/fragment/calling/support/SupportViewModel.kt | unknown_repo | kotlin | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.calling.presentation.fragment.calling.support
import com.azure.android.communication.ui.calling.redux.Dispatch
import com.azure.android.communication.ui.calling.redux.action.Navig... |
ui/homepage/src/main/java/org/kafka/homepage/components/Carousels.kt | unknown_repo | kotlin | package org.kafka.homepage.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider
import androidx.compose.foundation.gestures.snapping.rememberSnapFlingBehavior
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.f... |
app/src/main/java/com/git/gitapp/VideoListActivity.kt | unknown_repo | kotlin | package com.git.gitapp
import android.app.Activity
import android.content.Intent
import android.databinding.DataBindingUtil
import android.databinding.ObservableArrayList
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.Me... |
app/src/main/java/com/rosen/timecraft/ui/components/BottomNavigationBar.kt | unknown_repo | kotlin | package com.rosen.timecraft.ui.components
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarItem
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
imp... |
android-core/src/main/kotlin/dev/jonpoulton/alakazam/core/INotifier.kt | unknown_repo | kotlin | package dev.jonpoulton.alakazam.core
import android.view.View
import androidx.annotation.StringRes
interface INotifier {
data class Action(
@StringRes val actionText: Int,
val onClick: View.OnClickListener,
)
fun success(root: View, @StringRes message: Int, action: Action = EMPTY_ACTION)
fun caution(... |
nftkit/src/main/java/io/horizontalsystems/nftkit/models/Eip721Event.kt | unknown_repo | kotlin | package io.horizontalsystems.nftkit.models
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import io.horizontalsystems.ethereumkit.core.toHexString
import io.horizontalsystems.ethereumkit.models.Address
import java.math.BigInteger
@Entity
data class Eip1155Event(
val hash: ... |
app/src/main/java/com/harshalv/jetpackcompose/ui/screen/DetailScreen.kt | unknown_repo | kotlin | package com.harshalv.jetpackcompose.ui.screen
import android.annotation.SuppressLint
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.lay... |
app/src/main/java/com/harshalv/jetpackcompose/ui/screen/DetailScreen.kt | unknown_repo | kotlin | package com.harshalv.jetpackcompose.ui.screen
import android.annotation.SuppressLint
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.lay... |
src/net/sheltem/aoc/y2015/Day13.kt | unknown_repo | kotlin | package net.sheltem.aoc.y2015
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.coroutineScope
import net.sheltem.common.SearchGraph
import net.sheltem.common.SearchGraph.Edge
import net.sheltem.common.SearchGraph.Node
import net.sheltem.common.regexNumbers
import net.sheltem... |
app/src/main/java/cu/suitetecsa/sdkandroid/MainActivity.kt | unknown_repo | kotlin | package cu.suitetecsa.sdkandroid
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
impo... |
app/src/main/java/cu/suitetecsa/sdkandroid/MainActivity.kt | unknown_repo | kotlin | package cu.suitetecsa.sdkandroid
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
impo... |
app/src/main/java/org/imaginativeworld/simplemvvm/ui/screens/awesometodos/splash/TodoSplashViewModel.kt | unknown_repo | kotlin | /*
* Copyright 2023 Md. <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
tourtip/src/main/java/com/fappslab/tourtip/compose/TourtipLayout.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/hu/mostoha/mobile/android/huki/extensions/PermissionExtensions.kt | unknown_repo | kotlin | package hu.mostoha.mobile.android.huki.extensions
import android.Manifest
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
val locationPermissions = arrayOf(Manifest.permission.ACCESS_... |
WeChat/src/main/java/io/github/devzwy/socialhelper/wechat/WeChatSocialEntryActivity.kt | unknown_repo | kotlin | package io.github.devzwy.socialhelper.wechat
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.tencent.mm.opensdk.modelbase.BaseReq
import com.tencent.mm.opensdk.modelbase.BaseResp
import com.tencent.mm.opensdk.modelmsg.SendAuth
import com.tencent.mm.opensdk.openapi.IWXAPIEv... |
frontend/shared/ui/src/commonMain/kotlin/com/ams/groundwater/main/MainScreenArrangementColumn.kt | unknown_repo | kotlin | package com.ams.groundwater.main
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVer... |
fluentui_calendar/src/main/java/com/microsoft/fluentui/view/Scroller.kt | unknown_repo | kotlin | /*
* Copyright (C) 2006 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/edricchan/studybuddy/providers/fcm/StudyBuddyMessagingService.kt | unknown_repo | kotlin | package com.edricchan.studybuddy.providers.fcm
import android.app.PendingIntent
import android.content.Intent
import android.content.res.Resources
import android.graphics.Color
import android.graphics.drawable.BitmapDrawable
import android.os.Build
import android.util.Log
import androidx.core.app.NotificationCompat
im... |
app/src/main/java/gr/pchasapis/moviedb/mvvm/interactor/home/HomeInteractorImpl.kt | unknown_repo | kotlin | package br.ifsp.moviedb.mvvm.interactor.home
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import br.ifsp.moviedb.common.Definitions
import br.ifsp.moviedb.database.MovieDbDatabase
import br.ifsp.moviedb.model.common.DataResult
import br.ifsp.moviedb.model.data.Home... |
fountain-testutils/src/main/java/com/xmartlabs/fountain/testutils/IntCacheDataSourceFactory.kt | unknown_repo | kotlin | package com.xmartlabs.fountain.testutils
import android.arch.paging.DataSource
import android.arch.paging.ItemKeyedDataSource
internal class IntCacheDataSourceFactory : DataSource.Factory<Int, Int>() {
private val items: MutableList<Int> = ArrayList()
private lateinit var dataSource: MockIntDataSource
private ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.