path
stringlengths 4
280
| owner
stringlengths 2
39
| repo_id
int64 21.1k
879M
| is_fork
bool 2
classes | languages_distribution
stringlengths 13
1.95k
⌀ | content
stringlengths 7
482k
| issues
int64 0
13.9k
| main_language
stringclasses 121
values | forks
stringlengths 1
5
| stars
int64 0
111k
| commit_sha
stringlengths 40
40
| size
int64 7
482k
| name
stringlengths 1
100
| license
stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vim-engine/src/main/kotlin/com/maddyhome/idea/vim/action/CommandProvider.kt
|
JetBrains
| 1,459,486
| false
|
{"Kotlin": 4924858, "Java": 414995, "ANTLR": 37092, "HTML": 2184}
|
/*
* Copyright 2003-2023 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
package com.maddyhome.idea.vim.action
import com.intellij.vim.processors.CommandBean
import com.maddyhome.idea.vim.action.change.LazyVimCommand
import com.maddyhome.idea.vim.api.injector
import com.maddyhome.idea.vim.command.MappingMode
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import java.io.InputStream
public interface CommandProvider {
public val commandListFileName: String
@OptIn(ExperimentalSerializationApi::class)
public fun getCommands(): Collection<LazyVimCommand> {
val classLoader = this.javaClass.classLoader
val commands: List<CommandBean> = Json.decodeFromStream(getFile())
return commands
.groupBy { it.`class` }
.map {
val keys = it.value.map { bean -> injector.parser.parseKeys(bean.keys) }.toSet()
val modes = it.value.first().modes.map { mode -> MappingMode.parseModeChar(mode) }.toSet()
LazyVimCommand(
keys,
modes,
it.key,
classLoader
)
}
}
private fun getFile(): InputStream {
return object {}.javaClass.classLoader.getResourceAsStream("ksp-generated/$commandListFileName")
?: throw RuntimeException("Failed to fetch ex commands from ${javaClass.name}")
}
}
| 1
|
Kotlin
|
716
| 8,198
|
b3ad222cdcbe2bc4abf292f71fbb12de870bc277
| 1,523
|
ideavim
|
MIT License
|
app/src/main/java/com/febers/uestc_bbs/home/HomeActivity.kt
|
liuwenhaha
| 194,283,053
| true
|
{"Kotlin": 572054, "Java": 205268, "HTML": 3749, "IDL": 746}
|
package com.febers.uestc_bbs.home
import android.annotation.SuppressLint
import android.content.Intent
import androidx.core.app.ActivityCompat
import android.view.View
import com.aurelhubert.ahbottomnavigation.AHBottomNavigation
import com.aurelhubert.ahbottomnavigation.AHBottomNavigationItem
import com.febers.uestc_bbs.MyApp
import com.febers.uestc_bbs.R
import com.febers.uestc_bbs.base.*
import com.febers.uestc_bbs.entity.GithubReleaseBean
import com.febers.uestc_bbs.module.service.HeartMsgService
import com.febers.uestc_bbs.module.theme.ThemeHelper
import com.febers.uestc_bbs.module.context.ClickContext
import com.febers.uestc_bbs.module.update.UpdateDialogHelper
import com.febers.uestc_bbs.utils.PreferenceUtils
import com.febers.uestc_bbs.utils.log
import kotlinx.android.synthetic.main.activity_home.*
import me.yokeyword.fragmentation.ISupportFragment
import org.greenrobot.eventbus.EventBus
import org.greenrobot.eventbus.Subscribe
import org.greenrobot.eventbus.ThreadMode
const val PAGE_POSITION_HOME = 0
const val PAGE_POSITION_BLOCK = 1
const val PAGE_POSITION_MESSAGE = 2
const val PAGE_POSITION_MORE = 3
class HomeActivity: BaseActivity() {
private var mFragments : MutableList<ISupportFragment> = ArrayList()
override fun registerEventBus(): Boolean = true
override fun setView(): Int = R.layout.activity_home
@SuppressLint("RestrictedApi")
override fun initView() {
val firstFragment: ISupportFragment? = findFragment(HomeFirstContainer::class.java)
if (firstFragment == null) {
with(mFragments) {
add(PAGE_POSITION_HOME, HomeFirstContainer())
add(PAGE_POSITION_BLOCK, HomeSecondContainer())
add(PAGE_POSITION_MESSAGE, HomeThirdContainer())
add(PAGE_POSITION_MORE, HomeFourthContainer())
}
loadMultipleRootFragment(R.id.activity_home_container, 0,
mFragments[0], mFragments[1], mFragments[2], mFragments[3])
} else {
with(mFragments) {
add(PAGE_POSITION_HOME,firstFragment)
add(PAGE_POSITION_BLOCK, findFragment(HomeSecondContainer::class.java))
add(PAGE_POSITION_MESSAGE, findFragment(HomeThirdContainer::class.java))
add(PAGE_POSITION_MORE, findFragment(HomeFourthContainer::class.java))
}
}
bottom_navigation_home.apply {
addItem(AHBottomNavigationItem(getString(R.string.home_page), R.drawable.xic_find_small))
addItem(AHBottomNavigationItem(getString(R.string.forum_list_page), R.drawable.xic_location_small))
addItem(AHBottomNavigationItem(getString(R.string.message_page), R.drawable.xic_message_small))
addItem(AHBottomNavigationItem(getString(R.string.more_page), R.drawable.xic_user_small))
titleState = AHBottomNavigation.TitleState.ALWAYS_HIDE
accentColor = ThemeHelper.getBottomNavigationColorAccent()
defaultBackgroundColor = ThemeHelper.getColorBackground()
manageFloatingActionButtonBehavior(fab_home)
setOnTabSelectedListener { position, wasSelected -> onTabSelected(position, wasSelected) }
ThemeHelper.subscribeOnThemeChange(bottom_navigation_home)
}
fab_home.setOnClickListener {
ClickContext.clickToPostEdit(this@HomeActivity, fid = 0, title = "") }
fab_home.visibility = View.GONE
startService()
}
@SuppressLint("RestrictedApi")
private fun onTabSelected(position: Int, wasSelected: Boolean): Boolean {
if (position == PAGE_POSITION_MESSAGE) {
bottom_navigation_home.setNotification("", PAGE_POSITION_MESSAGE)
MyApp.msgCount = 0
}
if(wasSelected) {
onTabReselected(position)
return true
}
showHideFragment(mFragments[position])
if (position == PAGE_POSITION_HOME) {
fab_home.visibility = View.VISIBLE
} else {
fab_home.visibility = View.GONE
}
return true
}
override fun onBackPressedSupport() {
if(supportFragmentManager.backStackEntryCount > 0) {
pop()
} else {
ActivityCompat.finishAfterTransition(this)
}
}
private fun onTabReselected(position: Int) {
EventBus.getDefault().post(TabReselectedEvent(BaseCode.SUCCESS, position))
}
/**
* 当后台Service接收到新消息时,此方法会接受到相应的消息
* 接收到一个msgCount的参数,代表未读消息的数目
*/
@Subscribe(threadMode = ThreadMode.MAIN)
fun onReceiveNewMsg(event: MsgEvent) {
if (bottom_navigation_home.currentItem != PAGE_POSITION_MESSAGE) {
MyApp.msgCount = event.count
bottom_navigation_home.setNotification(MyApp.msgCount, PAGE_POSITION_MESSAGE)
}
}
/**
* Activity通过Intent的FLAG_ACTIVITY_SINGLE_TOP启动时,即通过通知打开应用时
* 生命周期为 onNewIntent -> onResume()
* 在其中接收Service传过来的数据
*/
override fun onNewIntent(intent: Intent?) {
super.onNewIntent(intent)
log("onNew2")
if (intent?.getIntExtra(MSG_COUNT, 0) == 0) return
bottom_navigation_home.currentItem = PAGE_POSITION_MESSAGE
showHideFragment(mFragments[PAGE_POSITION_MESSAGE])
}
@SuppressLint("RestrictedApi")
override fun onResume() {
super.onResume()
if (bottom_navigation_home.currentItem == 0) {
fab_home.visibility = View.VISIBLE
}
}
override fun onDestroy() {
super.onDestroy()
stopService(Intent(this, HeartMsgService::class.java))
}
private fun startService() {
val loopReceiveMsg by PreferenceUtils(MyApp.context(), LOOP_RECEIVE_MSG, true)
if (loopReceiveMsg) {
val intent = Intent(this, HeartMsgService::class.java)
startService(intent)
}
}
@Subscribe(threadMode = ThreadMode.MAIN)
fun onCheckUpdateResult(event: BaseEvent<GithubReleaseBean?>) {
if (event.code == BaseCode.SUCCESS) {
showUpdateDialog(event.data!!)
}
}
private fun showUpdateDialog(githubReleaseBean: GithubReleaseBean) {
val dialogHelper = UpdateDialogHelper(mContext)
dialogHelper.showGithubUpdateDialog(githubReleaseBean)
}
}
| 0
|
Kotlin
|
0
| 0
|
875ff6a729ff2e14a62f2dad58eb898d4eae29d9
| 6,321
|
UESTC_BBS
|
Apache License 2.0
|
forger-workflow/src/main/kotlin/com/github/wenslo/forger/workflow/MainController.kt
|
wenslo
| 547,177,354
| false
| null |
package com.github.wenslo.forger.workflow
import com.github.wenslo.forger.core.domain.Response
import com.github.wenslo.forger.core.inline.getLogger
import com.github.wenslo.forger.workflow.controller.ResourceController
import org.springframework.web.bind.annotation.ControllerAdvice
import org.springframework.web.bind.annotation.ExceptionHandler
import org.springframework.web.bind.annotation.RestController
import javax.servlet.http.HttpServletRequest
/**
* @author wenhailin
* @date 2023/2/26 17:22
*/
@ControllerAdvice
@RestController
class MainController {
companion object {
private val logger = getLogger<ResourceController>()
}
@ExceptionHandler(Throwable::class)
fun exceptionHandler(ex: Throwable, request: HttpServletRequest): Response? {
logger.error("Request path is {}", request.requestURL)
logger.error("Has wrong ...", ex)
return Response.SERVER_ERROR
}
}
| 0
|
Kotlin
|
0
| 1
|
dc3be4d08e7fe945bbdbaa3008ccdc267438cb0b
| 930
|
forger
|
Apache License 2.0
|
solar/src/main/java/com/chiksmedina/solar/outline/homefurniture/Closet2.kt
|
CMFerrer
| 689,442,321
| false
|
{"Kotlin": 36591890}
|
package com.chiksmedina.solar.outline.homefurniture
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.Miter
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import com.chiksmedina.solar.outline.HomeFurnitureGroup
val HomeFurnitureGroup.Closet2: ImageVector
get() {
if (_closet2 != null) {
return _closet2!!
}
_closet2 = Builder(
name = "Closet2", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp,
viewportWidth = 24.0f, viewportHeight = 24.0f
).apply {
path(
fill = SolidColor(Color(0xFF000000)), stroke = null, strokeLineWidth = 0.0f,
strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f,
pathFillType = EvenOdd
) {
moveTo(9.9436f, 1.25f)
horizontalLineTo(14.0564f)
curveTo(15.8942f, 1.25f, 17.3498f, 1.25f, 18.489f, 1.4031f)
curveTo(19.6614f, 1.5608f, 20.6104f, 1.8929f, 21.3588f, 2.6412f)
curveTo(22.1071f, 3.3896f, 22.4392f, 4.3386f, 22.5969f, 5.511f)
curveTo(22.75f, 6.6502f, 22.75f, 8.1058f, 22.75f, 9.9436f)
verticalLineTo(12.0564f)
curveTo(22.75f, 13.8942f, 22.75f, 15.3498f, 22.5969f, 16.489f)
curveTo(22.4392f, 17.6614f, 22.1071f, 18.6104f, 21.3588f, 19.3588f)
curveTo(20.8948f, 19.8227f, 20.3538f, 20.1267f, 19.7302f, 20.3282f)
curveTo(19.7432f, 20.3834f, 19.75f, 20.4409f, 19.75f, 20.5f)
verticalLineTo(22.0f)
curveTo(19.75f, 22.4142f, 19.4142f, 22.75f, 19.0f, 22.75f)
curveTo(18.5858f, 22.75f, 18.25f, 22.4142f, 18.25f, 22.0f)
verticalLineTo(20.6263f)
curveTo(17.1482f, 20.75f, 15.7681f, 20.75f, 14.0564f, 20.75f)
horizontalLineTo(9.9436f)
curveTo(8.2319f, 20.75f, 6.8518f, 20.75f, 5.75f, 20.6263f)
verticalLineTo(22.0f)
curveTo(5.75f, 22.4142f, 5.4142f, 22.75f, 5.0f, 22.75f)
curveTo(4.5858f, 22.75f, 4.25f, 22.4142f, 4.25f, 22.0f)
verticalLineTo(20.5f)
curveTo(4.25f, 20.4409f, 4.2568f, 20.3834f, 4.2698f, 20.3282f)
curveTo(3.6462f, 20.1267f, 3.1052f, 19.8227f, 2.6412f, 19.3588f)
curveTo(1.8929f, 18.6104f, 1.5608f, 17.6614f, 1.4031f, 16.489f)
curveTo(1.25f, 15.3498f, 1.25f, 13.8942f, 1.25f, 12.0564f)
verticalLineTo(9.9436f)
curveTo(1.25f, 8.1058f, 1.25f, 6.6502f, 1.4031f, 5.511f)
curveTo(1.5608f, 4.3386f, 1.8929f, 3.3896f, 2.6412f, 2.6412f)
curveTo(3.3896f, 1.8929f, 4.3386f, 1.5608f, 5.511f, 1.4031f)
curveTo(6.6502f, 1.25f, 8.1058f, 1.25f, 9.9436f, 1.25f)
close()
moveTo(12.75f, 19.25f)
horizontalLineTo(14.0f)
curveTo(15.9068f, 19.25f, 17.2615f, 19.2484f, 18.2892f, 19.1102f)
curveTo(19.2952f, 18.975f, 19.8749f, 18.7213f, 20.2981f, 18.2981f)
curveTo(20.7213f, 17.8749f, 20.975f, 17.2952f, 21.1102f, 16.2892f)
curveTo(21.2484f, 15.2615f, 21.25f, 13.9068f, 21.25f, 12.0f)
verticalLineTo(10.0f)
curveTo(21.25f, 8.0932f, 21.2484f, 6.7385f, 21.1102f, 5.7108f)
curveTo(20.975f, 4.7048f, 20.7213f, 4.1251f, 20.2981f, 3.7019f)
curveTo(19.8749f, 3.2787f, 19.2952f, 3.025f, 18.2892f, 2.8898f)
curveTo(17.2615f, 2.7516f, 15.9068f, 2.75f, 14.0f, 2.75f)
horizontalLineTo(12.75f)
verticalLineTo(19.25f)
close()
moveTo(11.25f, 2.75f)
verticalLineTo(19.25f)
horizontalLineTo(10.0f)
curveTo(8.0932f, 19.25f, 6.7385f, 19.2484f, 5.7108f, 19.1102f)
curveTo(4.7048f, 18.975f, 4.1251f, 18.7213f, 3.7019f, 18.2981f)
curveTo(3.2787f, 17.8749f, 3.025f, 17.2952f, 2.8898f, 16.2892f)
curveTo(2.7516f, 15.2615f, 2.75f, 13.9068f, 2.75f, 12.0f)
verticalLineTo(10.0f)
curveTo(2.75f, 8.0932f, 2.7516f, 6.7385f, 2.8898f, 5.7108f)
curveTo(3.025f, 4.7048f, 3.2787f, 4.1251f, 3.7019f, 3.7019f)
curveTo(4.1251f, 3.2787f, 4.7048f, 3.025f, 5.7108f, 2.8898f)
curveTo(6.7385f, 2.7516f, 8.0932f, 2.75f, 10.0f, 2.75f)
horizontalLineTo(11.25f)
close()
moveTo(9.0f, 8.25f)
curveTo(9.4142f, 8.25f, 9.75f, 8.5858f, 9.75f, 9.0f)
verticalLineTo(13.0f)
curveTo(9.75f, 13.4142f, 9.4142f, 13.75f, 9.0f, 13.75f)
curveTo(8.5858f, 13.75f, 8.25f, 13.4142f, 8.25f, 13.0f)
verticalLineTo(9.0f)
curveTo(8.25f, 8.5858f, 8.5858f, 8.25f, 9.0f, 8.25f)
close()
moveTo(15.0f, 8.25f)
curveTo(15.4142f, 8.25f, 15.75f, 8.5858f, 15.75f, 9.0f)
verticalLineTo(13.0f)
curveTo(15.75f, 13.4142f, 15.4142f, 13.75f, 15.0f, 13.75f)
curveTo(14.5858f, 13.75f, 14.25f, 13.4142f, 14.25f, 13.0f)
verticalLineTo(9.0f)
curveTo(14.25f, 8.5858f, 14.5858f, 8.25f, 15.0f, 8.25f)
close()
}
}
.build()
return _closet2!!
}
private var _closet2: ImageVector? = null
| 0
|
Kotlin
|
0
| 0
|
3414a20650d644afac2581ad87a8525971222678
| 5,897
|
SolarIconSetAndroid
|
MIT License
|
geary-core/src/main/kotlin/com/mineinabyss/geary/ecs/api/autoscan/AutoscanAnnotations.kt
|
MineInAbyss
| 306,093,350
| false
| null |
package com.mineinabyss.geary.ecs.api.autoscan
import com.mineinabyss.geary.ecs.accessors.EventScope
import com.mineinabyss.geary.ecs.accessors.SourceScope
import com.mineinabyss.geary.ecs.accessors.TargetScope
import com.mineinabyss.geary.ecs.api.systems.GearyListener
import com.mineinabyss.geary.ecs.api.systems.GearySystem
import com.mineinabyss.geary.ecs.api.systems.TickingSystem
import com.mineinabyss.geary.ecs.events.handlers.GearyHandler
import com.mineinabyss.geary.ecs.query.Query
/**
* Excludes this class from having its serializer automatically registered for component serialization
* with the AutoScanner.
*/
public annotation class ExcludeAutoScan
/**
* Indicates this [GearySystem], such as [TickingSystem], [GearyListener], or [Query] be registered automatically
* on startup by the AutoScanner.
*/
public annotation class AutoScan
/**
* Indicates a function within a [GearyListener] should be registered as a [GearyHandler]
*
* The function can read from different accessors by adding arguments [SourceScope], [TargetScope], [EventScope].
* They may appear in any order, be omitted, or used as a receiver.
*
* If [SourceScope] is nullable or omitted, the handler will not be called when there is no source present on the event.
*
* Example:
*
* ```kotlin
* @Handler
* fun TargetScope.doSomething(source: SourceScope, event: EventScope) {
* // Within here, you may use accessors defined for all three.
* }
* ```
*/
@Target(AnnotationTarget.FUNCTION)
public annotation class Handler
| 20
|
Kotlin
|
9
| 16
|
8e84554a09d936feb18468e8bd8b0ad24d986805
| 1,532
|
Geary
|
MIT License
|
app/src/main/java/br/com/wellingtoncosta/databinding/playground/data/room/ContactDao.kt
|
wellingtoncosta
| 141,439,617
| false
| null |
package br.com.wellingtoncosta.databinding.playground.data.room
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.Query
import br.com.wellingtoncosta.databinding.playground.domain.Contact
import io.reactivex.Maybe
/**
* @author WellingtonCosta on 18/07/18
*/
@Dao
interface ContactDao {
@Insert
fun insert(contact: Contact)
@Query("SELECT * FROM contact")
fun listAll(): Maybe<List<Contact>>
}
| 0
|
Kotlin
|
3
| 8
|
2f73ccb58abf1b242f8672b9be43af81f3f22155
| 488
|
android-databinding-playground
|
MIT License
|
app/src/main/java/br/com/example/pedro/alarmtest/MainActivity.kt
|
pvmm
| 142,940,098
| false
| null |
package br.com.example.pedro.alarmtest
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import kotlinx.android.synthetic.main.activity_main.*
import java.util.*
class MainActivity : AppCompatActivity() {
private lateinit var alarmManager: AlarmManager
private fun loadRequestCode(): Int {
val requestCode = editText1.text.toString().toInt()
warn("from editText value is $requestCode")
return requestCode
}
private fun loadServiceType(): Int {
val serviceType = if (switch1.isChecked) 1 else 0
warn("from switch1 value is $serviceType")
return serviceType
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
Log.d(MainActivity::javaClass.name, "onCreate()")
alarmManager = AlarmManager(MyApplication.context.get()!!)
addButton.setOnClickListener {
val calendar = Calendar.getInstance().apply { add(Calendar.MINUTE, 2) }
val serviceType = loadServiceType()
val requestCode = loadRequestCode()
alarmManager.scheduleAlarm(serviceType, requestCode, calendar.time)
warn("Creating alarm $requestCode")
editText1.text.clear()
}
removeButton.setOnClickListener {
val serviceType = loadServiceType()
val requestCode = loadRequestCode()
if (!alarmManager.cancelAlarm(serviceType, requestCode)) {
warn("Alarm $requestCode not found.")
} else {
warn("Canceling alarm $requestCode successful.")
}
editText1.text.clear()
}
}
}
| 0
|
Kotlin
|
0
| 0
|
bd4456ba5a4206f0e0c0278c4ffe1f1dd7b1c346
| 1,768
|
alarm-tests
|
Apache License 2.0
|
backend/src/main/kotlin/org/gridiron/backend/model/TeamRepository.kt
|
domnikl
| 282,521,529
| false
| null |
package org.gridiron.backend.model
import org.gridiron.backend.persistence.Teams
import org.gridiron.backend.persistence.Teams.logo
import org.gridiron.backend.persistence.Teams.name
import org.gridiron.backend.persistence.Teams.uuid
import org.jetbrains.exposed.sql.Database
import org.jetbrains.exposed.sql.ResultRow
import org.jetbrains.exposed.sql.SortOrder
import org.jetbrains.exposed.sql.and
import org.jetbrains.exposed.sql.not
import org.jetbrains.exposed.sql.replace
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.selectAll
import org.jetbrains.exposed.sql.statements.api.ExposedBlob
import org.jetbrains.exposed.sql.transactions.transaction
import java.util.UUID
class TeamRepository(private val db: Database) {
fun generateId(): UUID {
lateinit var uuid: UUID
do {
uuid = UUID.randomUUID()
} while (exists(uuid))
return uuid
}
private fun exists(uuid: UUID): Boolean {
return transaction { byUuid(uuid).count() > 0 }
}
private fun exists(team: Team): Boolean {
return transaction {
Teams.select { name.eq(team.name) and not(uuid.eq(team.uuid)) }.count() > 0
}
}
fun all() = transaction(db) {
Teams.selectAll().orderBy(name to SortOrder.ASC).map { it.map() }
}
fun save(team: Team) {
if (exists(team)) {
throw TeamAlreadyExistsException(team)
}
return transaction(db) {
Teams.replace {
it[uuid] = team.uuid
it[name] = team.name
if (team.logo != null) { // don't overwrite if not given
it[logo] = ExposedBlob(team.logo)
}
}
}
}
fun find(id: UUID): Team {
return transaction {
byUuid(id).singleOrNull()
}?.map() ?: throw TeamNotFoundException.fromUuid(id)
}
fun findByName(name: String): Team {
return transaction {
Teams.select { Teams.name.eq(name) }.singleOrNull()
}?.map() ?: throw TeamNotFoundException.fromName(name)
}
private fun byUuid(uuid: UUID) = Teams.select { Teams.uuid.eq(uuid) }
private fun ResultRow.map(): Team {
return Team(this[uuid], this[name], this[logo]?.bytes)
}
}
| 15
|
Kotlin
|
0
| 2
|
baae7a92fe6610139e2473276ad1ac599f041165
| 2,311
|
gridiron
|
Apache License 2.0
|
kt-cdk/src/main/kotlin/core/encoding.module_@aws-cdk_core.kt
|
kartoffelsup
| 252,152,703
| false
| null |
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION")
@file:JsModule("@aws-cdk/core")
package core
import kotlin.js.*
external var BEGIN_STRING_TOKEN_MARKER: Any
external var BEGIN_LIST_TOKEN_MARKER: Any
external var END_TOKEN_MARKER: Any
external var VALID_KEY_CHARS: Any
external open class TokenString(str: String, re: RegExp) {
open var str: Any
open var re: Any
open fun split(lookup: (id: String) -> IResolvable): TokenizedStringFragments
open fun test(): Boolean
companion object {
fun forString(s: String): TokenString
fun forListToken(s: String): TokenString
}
}
external fun regexQuote(s: String): String
external open class NullConcat : IFragmentConcatenator {
override fun join(_left: Any?, _right: Any?): Any
}
external fun containsListTokenElement(xs: Array<Any>): Boolean
external fun unresolved(obj: Any): Boolean
external fun createTokenDouble(x: Number): Number
external fun extractTokenDouble(encoded: Number): Number?
| 0
|
Kotlin
|
0
| 0
|
6c20e6277ea66e531b4b46017faa10270b25b8bc
| 1,096
|
kt-js-lambda-cdk-test
|
Apache License 2.0
|
plugins/variable/src/main/kotlin/com/redmadrobot/debug/plugin/variable/ui/widgets/numbers/FloatVariableWidget.kt
|
RedMadRobot
| 516,407,635
| false
|
{"Kotlin": 199119, "Shell": 621}
|
package com.redmadrobot.debug.plugin.variable.ui.widgets.numbers
internal class FloatVariableWidget : NumberVariableWidget<Float>(Float::class)
| 4
|
Kotlin
|
4
| 6
|
1d631f9d7669eb1b39c8b3b9b7d4e68a58de2cb4
| 145
|
debug-panel-android
|
MIT License
|
app/src/main/java/com/mazaira/searchtv/util/extensions/DrawableExtension.kt
|
yiras46
| 414,885,300
| false
|
{"Kotlin": 47160}
|
package com.mazaira.searchtv.util.extensions
import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
import androidx.core.graphics.drawable.DrawableCompat
fun Drawable.changeTint(@ColorInt color:Int):Drawable{
val wrappedDrawable = DrawableCompat.wrap(this)
DrawableCompat.setTint(wrappedDrawable, color)
return wrappedDrawable
}
| 0
|
Kotlin
|
0
| 0
|
aebcbe384da5fa6c29ee8b1820b6733cefbe8ec3
| 365
|
searchTV
|
Apache License 2.0
|
app/src/main/java/com/ooos/sunshine/BaseActivity.kt
|
marzooos
| 377,030,916
| false
| null |
package com.ooos.sunshine
import android.app.Activity
import android.os.Build
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.ooos.sunshine.ui.place.PlaceActivity
open class BaseActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val activity: Activity = this
if (activity !is PlaceActivity && Build.VERSION.SDK_INT >= 21) {
val decorView = window.decorView
val option = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_STABLE
decorView.systemUiVisibility = option
}
}
}
| 0
|
Kotlin
|
0
| 1
|
b6ac8a145ce1589ed3699c81237dbccd8b1dc46a
| 698
|
Sunshine
|
Apache License 2.0
|
app/src/main/java/com/akexorcist/concatadapter/TwoColumnAdapter.kt
|
akexorcist
| 360,942,961
| false
| null |
package com.akexorcist.concatadapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.akexorcist.concatadapter.databinding.ViewTwoColumnBinding
class TwoColumnAdapter(private val onClick: (String) -> Unit) : RecyclerView.Adapter<TwoColumnViewHolder>() {
private var data: List<String> = emptyList()
companion object {
const val VIEW_TYPE = 2222
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): TwoColumnViewHolder {
return TwoColumnViewHolder(
ViewTwoColumnBinding.inflate(LayoutInflater.from(parent.context), parent, false)
)
}
override fun getItemViewType(position: Int): Int {
return VIEW_TYPE
}
override fun onBindViewHolder(holder: TwoColumnViewHolder, position: Int) {
holder.bind(data[position], onClick)
}
override fun getItemCount(): Int = data.size
fun updateData(data: List<String>) {
this.data = data
notifyDataSetChanged()
}
}
| 0
|
Kotlin
|
7
| 34
|
3bbcac679d3df7dd61d1c56c9b810fc0c62f3085
| 1,060
|
ConcatAdapterMultipleLayoutManager
|
Apache License 2.0
|
builders-marketplace-backend-common/src/main/kotlin/builders/marketplace/models/advert/UnitType.kt
|
otuskotlin
| 330,110,908
| false
| null |
package builders.marketplace.models.advert
data class UnitType(
val id: UnitTypeId = UnitTypeId.NONE,
val name: String = "",
val description: String = "",
val symbol: String = "",
val symbols: Set<String> = mutableSetOf(),
val isBase: Boolean = false
) {
companion object {
val NONE = UnitType(
id = UnitTypeId.NONE,
name = "",
description = "",
symbol = "",
symbols = mutableSetOf(),
isBase = false
)
}
}
| 1
|
Kotlin
|
0
| 0
|
634d29aa6673f8fedbe25a6ee75598e631cded14
| 527
|
otuskotlin-202012-bauserviceads-bd
|
MIT License
|
multiplatform-paging/src/androidMain/kotlin/kr/sparkweb/multiplatform/paging/PagingData.kt
|
Xharpen
| 323,832,671
| false
|
{"Kotlin": 66081}
|
package kr.sparkweb.multiplatform.paging
import androidx.paging.PagingData
import androidx.paging.filter
import androidx.paging.flatMap
import androidx.paging.map
actual typealias PagingData<T> = PagingData<T>
actual suspend fun <T : Any, R : Any> PagingData<T>.map(transform: suspend (T) -> R): PagingData<R> {
return map(transform)
}
actual suspend fun <T : Any, R : Any> PagingData<T>.flatMap(transform: suspend (T) -> Iterable<R>): PagingData<R> {
return flatMap(transform)
}
actual suspend fun <T : Any> PagingData<T>.filter(predicate: suspend (T) -> Boolean): PagingData<T> {
return filter(predicate)
}
| 0
|
Kotlin
|
0
| 0
|
f9373670d4aafb3dec156905b25c22da8a08b32c
| 627
|
mobile-infrastructure
|
Apache License 2.0
|
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/Umbrella.kt
|
karakum-team
| 387,062,541
| false
|
{"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86}
|
// Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Umbrella")
package mui.icons.material
@JsName("default")
external val Umbrella: SvgIconComponent
| 0
|
Kotlin
|
5
| 35
|
d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d
| 180
|
mui-kotlin
|
Apache License 2.0
|
app/src/main/java/science/credo/mobiledetector2/analytics/DetectorStateEvent.kt
|
Liam30acre
| 370,784,891
| true
|
{"Kotlin": 229133, "C": 4441, "CMake": 212}
|
package science.credo.mobiledetector2.analytics
import android.content.Context
import android.os.Bundle
import com.google.firebase.crashlytics.FirebaseCrashlytics
import science.credo.mobiledetector2.detector.BaseCalibrationResult
import science.credo.mobiledetector2.detector.camera2.RawFormatCalibrationResult
import science.credo.mobiledetector2.detector.old.OldCalibrationResult
import science.credo.mobiledetector2.settings.BaseSettings
import science.credo.mobiledetector2.settings.Camera2ApiSettings
import science.credo.mobiledetector2.settings.OldCameraSettings
import science.credo.mobiledetector2.utils.BatteryStateReceiver
import science.credo.mobiledetector2.utils.SensorHelper
const val KEY_RUNNING_TIME = "running_time"
const val KEY_DETECTION_COUNT = "detection_count"
const val KEY_DETECTIONS_PER_H = "detections_per_h"
const val KEY_AVG = "cluster_height_factor"
const val KEY_BLACK = "calibration_noise"
const val KEY_CLUSTER_FACTOR_WIDTH = "cluster_width_factor"
const val KEY_CLUSTER_FACTOR_HEIGHT = "cluster_height_factor"
const val KEY_CALIBRATION_NOISE = "calibration_noise"
const val KEY_AMBIENT_TEMPERATURE = "detections_per_h"
const val KEY_BATTERY_TEMPERATURE = "detections_per_h"
abstract class DetectorStateEvent(
context: Context,
val settings: BaseSettings,
val calibrationResult: BaseCalibrationResult?
) : FirebaseEvent(context){
init {
FirebaseCrashlytics.getInstance().setCustomKey(KEY_HEIGHT, settings.height)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_WIDTH, settings.width)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_IMAGE_FORMAT, settings.imageFormat)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_AMBIENT_TEMPERATURE,SensorHelper.temperature)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_BATTERY_TEMPERATURE,BatteryStateReceiver.lastKnownTemperature?:0)
when (settings) {
is OldCameraSettings -> {
FirebaseCrashlytics.getInstance().setCustomKey(KEY_FPS_RANGE_LOW, settings.fpsRange[0])
FirebaseCrashlytics.getInstance().setCustomKey(KEY_FPS_RANGE_HIGH, settings.fpsRange[1])
}
is Camera2ApiSettings -> {
FirebaseCrashlytics.getInstance().setCustomKey(KEY_ISO, settings.lowerIsoValue)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_PROCESSING_METHOD, settings.processingMethod.name)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_EXPOSURE, settings.exposureInMillis)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_CAMERA_ID, settings.cameraId)
}
}
when (calibrationResult) {
is OldCalibrationResult -> {
FirebaseCrashlytics.getInstance().setCustomKey(KEY_DETECTION_THRESHOLD, calibrationResult.max)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_BLACK, calibrationResult.blackThreshold)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_AVG, calibrationResult.avg)
}
is RawFormatCalibrationResult -> {
FirebaseCrashlytics.getInstance().setCustomKey(KEY_CLUSTER_FACTOR_HEIGHT, calibrationResult.clusterFactorHeight)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_CLUSTER_FACTOR_WIDTH, calibrationResult.clusterFactorWidth)
FirebaseCrashlytics.getInstance().setCustomKey(KEY_CALIBRATION_NOISE, calibrationResult.calibrationNoise)
FirebaseCrashlytics.getInstance().setCustomKey(
KEY_DETECTION_THRESHOLD,
calibrationResult.detectionThreshold
)
FirebaseCrashlytics.getInstance().setCustomKey(
KEY_DETECTION_INITIAL_THRESHOLD,
calibrationResult.initialDetectionThreshold
)
}
}
}
override suspend fun createBundle(): Bundle {
val bundle = Bundle()
bundle.putInt(KEY_HEIGHT, settings.height)
bundle.putInt(KEY_WIDTH, settings.width)
bundle.putInt(KEY_IMAGE_FORMAT, settings.imageFormat)
bundle.putInt(KEY_AMBIENT_TEMPERATURE,SensorHelper.temperature)
bundle.putInt(KEY_BATTERY_TEMPERATURE,BatteryStateReceiver.lastKnownTemperature?:0)
when (settings) {
is OldCameraSettings -> {
bundle.putInt(KEY_FPS_RANGE_LOW, settings.fpsRange[0])
bundle.putInt(KEY_FPS_RANGE_HIGH, settings.fpsRange[1])
}
is Camera2ApiSettings -> {
bundle.putInt(KEY_ISO, settings.lowerIsoValue)
bundle.putString(KEY_PROCESSING_METHOD, settings.processingMethod.name)
bundle.putInt(KEY_EXPOSURE, settings.exposureInMillis)
bundle.putString(KEY_CAMERA_ID, settings.cameraId)
}
}
when (calibrationResult) {
is OldCalibrationResult -> {
bundle.putInt(KEY_DETECTION_THRESHOLD, calibrationResult.max)
bundle.putInt(KEY_BLACK, calibrationResult.blackThreshold)
bundle.putInt(KEY_AVG, calibrationResult.avg)
}
is RawFormatCalibrationResult -> {
bundle.putInt(KEY_CLUSTER_FACTOR_HEIGHT, calibrationResult.clusterFactorHeight)
bundle.putInt(KEY_CLUSTER_FACTOR_WIDTH, calibrationResult.clusterFactorWidth)
bundle.putInt(KEY_CALIBRATION_NOISE, calibrationResult.calibrationNoise)
bundle.putInt(
KEY_DETECTION_THRESHOLD,
calibrationResult.detectionThreshold
)
bundle.putInt(
KEY_DETECTION_INITIAL_THRESHOLD,
calibrationResult.initialDetectionThreshold
)
}
}
return bundle
}
}
| 0
| null |
0
| 0
|
b033dc19731de656ee0f2b9455360b266d6f7a71
| 5,874
|
credo-detector-android
|
MIT License
|
collect_app/src/androidTest/java/org/odk/collect/android/feature/settings/ResetProjectTest.kt
|
getodk
| 40,213,809
| false
|
{"Java": 3378614, "Kotlin": 2749754, "JavaScript": 2830, "Shell": 2689}
|
package org.odk.collect.android.feature.settings
import org.junit.Rule
import org.junit.Test
import org.junit.rules.RuleChain
import org.odk.collect.android.support.StubOpenRosaServer.EntityListItem
import org.odk.collect.android.support.TestDependencies
import org.odk.collect.android.support.pages.AccessControlPage
import org.odk.collect.android.support.pages.FormEntryPage
import org.odk.collect.android.support.pages.MainMenuPage
import org.odk.collect.android.support.pages.ProjectSettingsPage
import org.odk.collect.android.support.pages.ResetApplicationDialog
import org.odk.collect.android.support.rules.CollectTestRule
import org.odk.collect.android.support.rules.TestRuleChain.chain
import org.odk.collect.strings.R
class ResetProjectTest {
private val rule = CollectTestRule(useDemoProject = false)
private val testDependencies = TestDependencies()
@get:Rule
val ruleChain: RuleChain = chain(testDependencies)
.around(rule)
@Test
fun canResetBlankForms() {
rule.startAtFirstLaunch()
.clickTryCollect()
.copyForm("all-widgets.xml")
.openProjectSettingsDialog()
.clickSettings()
.clickProjectManagement()
.clickOnResetProject()
.assertDisabled(R.string.reset_settings_button_reset)
.clickOnString(R.string.reset_blank_forms)
.clickOnString(R.string.reset_settings_button_reset)
.clickOKOnDialog(MainMenuPage())
.clickFillBlankForm()
.assertTextDoesNotExist("All widgets")
}
@Test
fun canResetSavedFormsAndEntities() {
testDependencies.server.addForm("one-question-entity-registration.xml")
testDependencies.server.addForm(
"one-question-entity-update.xml",
listOf(EntityListItem("people.csv"))
)
rule.withMatchExactlyProject(testDependencies.server.url)
.startBlankForm("One Question Entity Registration")
.fillOutAndFinalize(FormEntryPage.QuestionAndAnswer("Name", "<NAME>"))
.openProjectSettingsDialog()
.clickSettings()
.clickProjectManagement()
.clickOnResetProject()
.assertDisabled(R.string.reset_settings_button_reset)
.clickOnString(R.string.reset_saved_forms)
.clickOnString(R.string.reset_settings_button_reset)
.clickOKOnDialog(MainMenuPage())
.clickDrafts()
.assertTextDoesNotExist("One Question Entity Registration")
.pressBack(MainMenuPage())
.startBlankForm("One Question Entity Update")
.assertTextDoesNotExist("<NAME>")
}
@Test
fun canResetProtectedSettings() {
rule.startAtFirstLaunch()
.clickTryCollect()
.openProjectSettingsDialog()
.clickSettings()
.clickAccessControl()
.openUserSettings()
.uncheckServerOption()
.pressBack(AccessControlPage())
.pressBack(ProjectSettingsPage())
.pressBack(MainMenuPage())
.openProjectSettingsDialog()
.clickSettings()
.checkIfServerOptionIsNotDisplayed()
.pressBack(MainMenuPage())
.openProjectSettingsDialog()
.clickSettings()
.clickProjectManagement()
.clickOnResetProject()
.clickOnString(R.string.reset_settings)
.clickOnString(R.string.reset_settings_button_reset)
.clickOKOnDialog(MainMenuPage())
.openProjectSettingsDialog()
.clickSettings()
.checkIfServerOptionIsDisplayed()
}
@Test
fun canResetUserInterfaceSettings() {
rule.startAtFirstLaunch()
.clickTryCollect()
.openProjectSettingsDialog()
.clickSettings()
.clickOnUserInterface()
.assertText(R.string.theme_system)
.clickOnTheme()
.clickOnString(R.string.theme_dark)
MainMenuPage()
.assertOnPage()
.openProjectSettingsDialog()
.clickSettings()
.clickOnUserInterface()
.assertText(R.string.theme_dark)
.clickOnLanguage()
.clickOnSelectedLanguage("español")
.openProjectSettingsDialog()
.clickSettings()
.clickOnUserInterface()
.assertText("español")
.pressBack(ProjectSettingsPage())
.pressBack(MainMenuPage())
.openProjectSettingsDialog()
.clickSettings()
.clickProjectManagement()
.clickOnResetProject()
.clickOnString(R.string.reset_settings)
.clickOnString(R.string.reset_settings_button_reset)
.clickOKOnDialog(MainMenuPage())
.openProjectSettingsDialog()
.clickSettings()
.clickOnUserInterface()
.assertText(R.string.theme_system)
.assertTextDoesNotExist(R.string.theme_dark)
.assertText(R.string.use_device_language)
.assertTextDoesNotExist("español")
}
@Test
fun when_rotateScreen_should_resetDialogNotDisappear() {
rule.startAtFirstLaunch()
.clickTryCollect()
.openProjectSettingsDialog()
.clickSettings()
.clickProjectManagement()
.clickOnResetProject()
.assertText(R.string.reset_settings_dialog_title)
.rotateToLandscape(ResetApplicationDialog())
.assertText(R.string.reset_settings_dialog_title)
}
}
| 283
|
Java
|
1372
| 717
|
63050fdd265c42f3c340f0ada5cdff3c52a883bc
| 5,640
|
collect
|
Apache License 2.0
|
browser-kotlin/src/main/kotlin/js/intl/ListFormatType.kt
|
karakum-team
| 393,199,102
| false
| null |
// Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
)
package js.intl
// language=JavaScript
@JsName("""(/*union*/{conjunction: 'conjunction', disjunction: 'disjunction', unit: 'unit'}/*union*/)""")
external enum class ListFormatType {
conjunction,
disjunction,
unit,
;
}
| 0
|
Kotlin
|
5
| 18
|
e71c43c0b93113ea0394025c3f40268cb7c66ca9
| 335
|
types-kotlin
|
Apache License 2.0
|
app/src/main/java/com/angelica/myfavs/viewmodel/HomeViewModel.kt
|
angelcomp
| 373,599,368
| false
|
{"Kotlin": 38275}
|
package com.angelica.myfavs.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.angelica.myfavs.models.Favorite
import com.angelica.myfavs.services.FavoritesRepository
import kotlinx.coroutines.launch
class HomeViewModel(val favoritesRepository: FavoritesRepository) : ViewModel() {
val listFavorites = MutableLiveData<List<Favorite>?>()
fun deleteAll() {
viewModelScope.launch {
favoritesRepository.deleteAllFavorites()
}
}
fun getAll() {
viewModelScope.launch {
favoritesRepository.getAll().let {
listFavorites.postValue(it)
}
}
}
}
| 0
|
Kotlin
|
0
| 1
|
06f4d6a6e1ffeeeac320820aee9073b7a2afcd88
| 732
|
android-movie-app
|
MIT License
|
exercises/src/test/kotlin/de/iteratec/kotlin/basic/solutions/T12LambdasWithReceiversTasks.kt
|
iteratec
| 190,216,048
| false
|
{"Gradle": 1, "Batchfile": 3, "Shell": 3, "Maven POM": 2, "Gradle Kotlin DSL": 3, "Text": 1, "Ignore List": 1, "Markdown": 17, "INI": 4, "Java": 5, "HTML": 1, "Kotlin": 60}
|
package de.iteratec.kotlin.basic.solutions
import org.junit.Assert.assertEquals
import org.junit.Test
class T15LambdasWithReceiversTasks {
class LetterBuilder(
val author: String,
var content: String = "",
private var greeting: String = "Hello,",
) {
fun greeting(name: String) {
greeting = "Hello, $name"
}
fun build(): String {
return """
$greeting
$content
Regards, $author
""".trimIndent()
}
}
fun letter(author: String, block: LetterBuilder.() -> Unit): String {
val letterBuilder = LetterBuilder(author)
letterBuilder.block()
return letterBuilder.build()
}
/**
* ## Basic DSL
* Lambdas with receivers allow you to easily write DSL-like constructs. In this task, we want to write a DSL, that
* allows us to compose a simple letter. A letter consists for a header with a greeting, content and a footer containing
* author's name.
* Create a LetterBuilder class, that will hold all required letter data. Then, create a letter function, that
* accepts an author and lambda with receiver. The function should apply the author and customizations provided
* in the lambda to a LetterBuilder instance. Finally, you can use a build() method from LetterBuilder to assemble
* the letter content and return it from the letter() function.
*/
@Test
fun lambdaWithReceiverBasics() {
val letterText: String = letter(author = "Bob") {
greeting("Hi, Alice")
content = "Please call me ASAP."
}
assertEquals("""
Hello, Hi, Alice
Please call me ASAP.
Regards, Bob
""".trimIndent(), letterText)
}
/**
* ## 'apply' scope function
* The scope function apply() can be used on any object. It allows you to easily call methods of the receiver
* object as you were inside a regular method of the receiver. apply() will always return the original object
* it was called on.
* Use apply() function on the string builder to simplify the appending.
*/
@Test
fun applyScopeFunctionUsage() {
val builder = StringBuilder().apply {
append("Hello,")
append(" this is a task")
append(" that uses Kotlin's apply scope function.")
}
println(builder.toString())
}
/**
* ## 'with' scope function
* The scope function 'with' allows you to execute arbitrary code as if you were inside a regular method of the
* passed receiver. 'with' function can return an arbitrary value.
* Refactor the following code using the 'with' scope function, so it mentions the long variable name only once.
*/
@Test
fun withScopeFunctionUsage() {
class IteratecMitarbeiter(val name: String, val isMarried: Boolean, val favouriteTechnology: String)
val thisIsAVariableWithAVeryLongNameThatIDontWantToTypeTooOften = IteratecMitarbeiter(
name = "Heiko",
isMarried = true,
favouriteTechnology = "MS Word"
)
with(thisIsAVariableWithAVeryLongNameThatIDontWantToTypeTooOften) {
println(name)
println(isMarried)
println(favouriteTechnology)
}
}
}
| 1
|
Kotlin
|
1
| 6
|
388f833f0c7c3693eb65708e6e5f77e032ac156b
| 3,413
|
kotlin-training-playground
|
Apache License 2.0
|
0104.kt
|
IESSanVicente
| 849,291,905
| false
|
{"Kotlin": 5634}
|
/**
* 0104 – Tabla de multiplicar
* Escribe la tabla de multiplicar de un número introducido por el usuario, utiliza el bucle for.
*/
fun main() {
print("Dime el número que quieres multiplicar: ")
val n1 = readLine()!!.toInt()
for (n2 in 1..10) {
println("$n1 * $n2 = ${n1 * n2}")
}
}
| 0
|
Kotlin
|
0
| 0
|
70db6817701cd1c5cd3a9611714a94942a56c952
| 313
|
Soluciones-Unidad-1
|
MIT License
|
sdks/kotlin/wallet_api/v1/AddCredentialRequestKt.kt
|
knox-networks
| 595,429,463
| false
|
{"Rust": 17246636, "C++": 6138133, "C#": 3083132, "JavaScript": 2183132, "TypeScript": 1665259, "Kotlin": 1249671}
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: wallet_api/v1/wallet.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package wallet_api.v1;
@kotlin.jvm.JvmName("-initializeaddCredentialRequest")
public inline fun addCredentialRequest(block: wallet_api.v1.AddCredentialRequestKt.Dsl.() -> kotlin.Unit): wallet_api.v1.WalletOuterClass.AddCredentialRequest =
wallet_api.v1.AddCredentialRequestKt.Dsl._create(wallet_api.v1.WalletOuterClass.AddCredentialRequest.newBuilder()).apply { block() }._build()
/**
* ```
* [Example]
* {
* "credential_type":"CREDENTIAL_TYPE",
* "wallet_id": "zWalletIDMultibase58Encoded",
* "api_key": "API_KEY"
* }
* ```
*
* Protobuf type `wallet_api.v1.AddCredentialRequest`
*/
public object AddCredentialRequestKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
public class Dsl private constructor(
private val _builder: wallet_api.v1.WalletOuterClass.AddCredentialRequest.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: wallet_api.v1.WalletOuterClass.AddCredentialRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): wallet_api.v1.WalletOuterClass.AddCredentialRequest = _builder.build()
/**
* ```
* Type of Verifiable Credential- Ex "BankAccount", "PermanentResidentCard".
* ```
*
* `string credential_type = 1;`
*/
public var credentialType: kotlin.String
@JvmName("getCredentialType")
get() = _builder.getCredentialType()
@JvmName("setCredentialType")
set(value) {
_builder.setCredentialType(value)
}
/**
* ```
* Type of Verifiable Credential- Ex "BankAccount", "PermanentResidentCard".
* ```
*
* `string credential_type = 1;`
*/
public fun clearCredentialType() {
_builder.clearCredentialType()
}
/**
* ```
* UUID of the wallet.
* ```
*
* `string wallet_id = 2;`
*/
public var walletId: kotlin.String
@JvmName("getWalletId")
get() = _builder.getWalletId()
@JvmName("setWalletId")
set(value) {
_builder.setWalletId(value)
}
/**
* ```
* UUID of the wallet.
* ```
*
* `string wallet_id = 2;`
*/
public fun clearWalletId() {
_builder.clearWalletId()
}
/**
* ```
* API key given to the wallet owner at the time of owner creation.
* ```
*
* `string api_key = 3;`
*/
public var apiKey: kotlin.String
@JvmName("getApiKey")
get() = _builder.getApiKey()
@JvmName("setApiKey")
set(value) {
_builder.setApiKey(value)
}
/**
* ```
* API key given to the wallet owner at the time of owner creation.
* ```
*
* `string api_key = 3;`
*/
public fun clearApiKey() {
_builder.clearApiKey()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun wallet_api.v1.WalletOuterClass.AddCredentialRequest.copy(block: `wallet_api.v1`.AddCredentialRequestKt.Dsl.() -> kotlin.Unit): wallet_api.v1.WalletOuterClass.AddCredentialRequest =
`wallet_api.v1`.AddCredentialRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()
| 0
|
Rust
|
1
| 0
|
16af58a5dc1e9e51859be4a6e0f6791b7adcb2f2
| 3,466
|
grpc-sdks
|
Apache License 2.0
|
android/app/src/main/kotlin/com/example/contactcard/MainActivity.kt
|
Ai-Albert
| 324,422,727
| false
|
{"Dart": 4376, "HTML": 1132, "Swift": 404, "Kotlin": 128, "Objective-C": 38}
|
package com.example.contactcard
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0
|
Dart
|
0
| 0
|
301e48bd441d74da66a444ee1efa1736e6e3648b
| 128
|
personal-contact-card
|
Apache License 2.0
|
app/src/main/java/gyg/reviews/domain/usecase/GetReviewsUseCase.kt
|
HonestTaxPayer
| 242,131,375
| false
| null |
package gyg.reviews.domain.usecase
import androidx.paging.DataSource
import gyg.reviews.domain.model.ReviewEntity
import gyg.reviews.domain.model.ReviewsParams
import gyg.reviews.domain.repository.ReviewsRepository
import gyg.reviews.domain.usecase.base.UseCase
class GetReviewsUseCase(private val repository: ReviewsRepository) :
UseCase<ReviewsParams, DataSource.Factory<Int, ReviewEntity>> {
override fun execute(params: ReviewsParams): DataSource.Factory<Int, ReviewEntity> {
return repository.getReviews(params)
}
}
| 0
|
Kotlin
|
0
| 0
|
e2c124b564a6d40a8f29885a8965d9821265a013
| 543
|
GYG
|
Apache License 2.0
|
aacmvi/src/main/java/com/rohitss/aacmvi/AacMviCustomView.kt
|
ZASHMCD
| 256,659,311
| true
|
{"Kotlin": 26866}
|
/*
* Copyright 2020 Rohit Surwase
*
* 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, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.rohitss.aacmvi
import android.util.Log
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.Observer
/**
* Create Custom Views by Extending this class.
* Do not forget to call [startObserving] function inside constructor or similar method.
* Otherwise, it throws [NoObserverAttachedException].
*
* Also @see [AacMviViewModel] for [STATE], [EFFECT] and [EVENT] explanation.
* @param ViewModel Respective ViewModel class for this activity which extends [AacMviViewModel]
*
* @author Rohit Surwase
* @author https://github.com/RohitSurwase
* @version 1.0
* @since 1.0
*/
abstract class AacMviCustomView<STATE, EFFECT, EVENT, ViewModel : AacMviViewModel<STATE, EFFECT, EVENT>> {
abstract val viewModel: ViewModel
private val viewStateObserver = Observer<STATE> {
Log.d(TAG, "observed viewState : $it")
renderViewState(it)
}
private val viewEffectObserver = Observer<EFFECT> {
Log.d(TAG, "observed viewEffect : $it")
renderViewEffect(it)
}
fun startObserving(lifecycleOwner: LifecycleOwner) {
//Registering observers
viewModel.viewStates().observe(lifecycleOwner, viewStateObserver)
viewModel.viewEffects().observe(lifecycleOwner, viewEffectObserver)
}
abstract fun renderViewState(viewState: STATE)
abstract fun renderViewEffect(viewEffect: EFFECT)
}
| 0
| null |
0
| 0
|
661d5a5bd5687b0c0e6365a8ddeaddb0afd7d35e
| 1,984
|
AAC-MVI-Architecture
|
Apache License 2.0
|
src/main/kotlin/com/github/rochedo/planetsandstars/registry/materials/armor/SpaceSuitMaterial.kt
|
Rochedo098
| 372,644,126
| false
| null |
package com.github.rochedo.planetsandstars.registry.materials.armor
import net.minecraft.entity.EquipmentSlot
import net.minecraft.item.ArmorMaterial
import net.minecraft.recipe.Ingredient
import net.minecraft.sound.SoundEvent
import net.minecraft.sound.SoundEvents
class SpaceSuitMaterial : ArmorMaterial {
val durability: IntArray = intArrayOf(13, 15, 12, 11)
val protection: IntArray = intArrayOf(1, 2, 3, 4)
override fun getDurability(slot: EquipmentSlot?): Int {
return durability[slot!!.entitySlotId] * 2
}
override fun getProtectionAmount(slot: EquipmentSlot?): Int {
return protection[slot!!.entitySlotId];
}
override fun getEnchantability(): Int {
return 0
}
override fun getEquipSound(): SoundEvent {
return SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND
}
override fun getRepairIngredient(): Ingredient {
return Ingredient.EMPTY
}
override fun getName(): String {
return "space"
}
override fun getToughness(): Float {
return 0f
}
override fun getKnockbackResistance(): Float {
return 0f
}
}
| 0
|
Kotlin
|
0
| 0
|
480ad335852a10a4f87f2e0e59c3d7e02337a931
| 1,142
|
Planets-and-Stars
|
Apache License 2.0
|
app/src/main/java/com/you/android/ui/roomlist/RoomListAdapter.kt
|
buggyminer
| 388,372,603
| true
|
{"Kotlin": 52884}
|
package com.you.android.ui.roomlist
import android.content.Intent
import android.graphics.drawable.Drawable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.viewpager.widget.ViewPager
import com.you.android.R
import com.you.android.logic.model.RoomListResponse
import com.you.android.ui.chatroom.ChatroomActivity
import eightbitlab.com.blurview.BlurView
import eightbitlab.com.blurview.RenderScriptBlur
class RoomListAdapter(val decorView: View) : RecyclerView.Adapter<RoomListAdapter.ViewHolder>() {
var room_list = ArrayList<RoomListResponse.Room>()
class ViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val room_name = itemView.findViewById<TextView>(R.id.room_name)
val population = itemView.findViewById<TextView>(R.id.population)
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
val view = LayoutInflater.from(parent.context)
.inflate(R.layout.room_list_item, parent, false)
val viewHolder = ViewHolder(view)
val radius = 20f
val rootView: ViewGroup = decorView.findViewById(android.R.id.content)
val windowBackground: Drawable = decorView.getBackground()
view.findViewById<BlurView>(R.id.blur_view)
.setupWith(decorView.findViewById(android.R.id.content))
.setFrameClearDrawable(windowBackground)
.setBlurAlgorithm(RenderScriptBlur(parent.context))
.setBlurRadius(radius)
.setBlurAutoUpdate(true)
.setHasFixedTransformationMatrix(true) // Or false if it's in a scrolling container or might be animated
viewHolder.itemView.setOnClickListener {
val intent = Intent(view.context, ChatroomActivity::class.java)
intent.putExtra("roomName", viewHolder.room_name.text)
view.context.startActivity(intent)
}
return viewHolder
}
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
holder.room_name.text = room_list[position].name
holder.population.text = "${room_list[position].population}"
}
override fun getItemCount(): Int {
return room_list.size
}
}
| 0
| null |
0
| 0
|
a142b801ba17b79f3fddfcb7a51f72e08a92589f
| 2,330
|
You
|
MIT License
|
app/src/main/java/org/wikipedia/talk/UserTalkPopupHelper.kt
|
wikimedia
| 13,862,999
| false
| null |
package org.wikipedia.talk
import android.annotation.SuppressLint
import android.app.Activity
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.view.menu.MenuBuilder
import androidx.appcompat.view.menu.MenuPopupHelper
import org.wikipedia.Constants
import org.wikipedia.R
import org.wikipedia.history.HistoryEntry
import org.wikipedia.page.ExclusiveBottomSheetPresenter
import org.wikipedia.page.Namespace
import org.wikipedia.page.PageActivity
import org.wikipedia.page.PageTitle
import org.wikipedia.page.linkpreview.LinkPreviewDialog
import org.wikipedia.staticdata.UserTalkAliasData
import org.wikipedia.util.FeedbackUtil
@SuppressLint("RestrictedApi")
object UserTalkPopupHelper {
fun show(activity: AppCompatActivity, bottomSheetPresenter: ExclusiveBottomSheetPresenter,
title: PageTitle, anon: Boolean, anchorView: View,
invokeSource: Constants.InvokeSource, historySource: Int) {
val pos = IntArray(2)
anchorView.getLocationInWindow(pos)
show(activity, bottomSheetPresenter, title, anon, pos[0], pos[1], invokeSource, historySource)
}
fun show(activity: AppCompatActivity, bottomSheetPresenter: ExclusiveBottomSheetPresenter,
title: PageTitle, anon: Boolean, x: Int, y: Int, invokeSource: Constants.InvokeSource,
historySource: Int) {
if (title.namespace() == Namespace.USER_TALK || title.namespace() == Namespace.TALK) {
activity.startActivity(TalkTopicsActivity.newIntent(activity, title, invokeSource))
} else if (title.namespace() == Namespace.USER) {
val rootView = activity.window.decorView
val anchorView = View(activity)
anchorView.x = (x - rootView.left).toFloat()
anchorView.y = (y - rootView.top).toFloat()
(rootView as ViewGroup).addView(anchorView)
val helper = getPopupHelper(activity, title, anon, anchorView, invokeSource, historySource)
helper.setOnDismissListener {
rootView.removeView(anchorView)
}
helper.show()
} else {
bottomSheetPresenter.show(activity.supportFragmentManager,
LinkPreviewDialog.newInstance(HistoryEntry(title, historySource), null))
}
}
private fun getPopupHelper(activity: Activity, title: PageTitle, anon: Boolean,
anchorView: View, invokeSource: Constants.InvokeSource,
historySource: Int): MenuPopupHelper {
val builder = MenuBuilder(activity)
activity.menuInflater.inflate(R.menu.menu_user_talk_popup, builder)
builder.setCallback(object : MenuBuilder.Callback {
override fun onMenuItemSelected(menu: MenuBuilder, item: MenuItem): Boolean {
when (item.itemId) {
R.id.menu_user_profile_page -> {
val entry = HistoryEntry(title, historySource)
activity.startActivity(PageActivity.newIntentForNewTab(activity, entry, title))
}
R.id.menu_user_talk_page -> {
val newTitle = PageTitle(UserTalkAliasData.valueFor(title.wikiSite.languageCode), title.text, title.wikiSite)
activity.startActivity(TalkTopicsActivity.newIntent(activity, newTitle, invokeSource))
}
R.id.menu_user_contributions_page -> {
FeedbackUtil.showUserContributionsPage(activity, title.text, title.wikiSite.languageCode)
}
}
return true
}
override fun onMenuModeChange(menu: MenuBuilder) { }
})
builder.findItem(R.id.menu_user_profile_page).isVisible = !anon
val helper = MenuPopupHelper(activity, builder, anchorView)
helper.setForceShowIcon(true)
return helper
}
}
| 19
|
Kotlin
|
500
| 1,722
|
69d2f8d04765e2817bda474a72637ea32716e9a6
| 4,048
|
apps-android-wikipedia
|
Apache License 2.0
|
app/src/main/java/com/veyndan/paper/reddit/TimePeriodFilterFragment.kt
|
veyndan
| 62,396,630
| false
|
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Proguard": 1, "Kotlin": 91, "XML": 46, "Java": 4}
|
package com.veyndan.paper.reddit
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.veyndan.paper.reddit.api.reddit.Reddit
import com.veyndan.paper.reddit.api.reddit.network.TimePeriod
import com.veyndan.paper.reddit.databinding.FragmentTimePeriodFilterBinding
class TimePeriodFilterFragment : Fragment(), Filter {
private lateinit var binding: FragmentTimePeriodFilterBinding
companion object {
@JvmStatic
fun newInstance(): TimePeriodFilterFragment = TimePeriodFilterFragment()
}
override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?): View? {
binding = FragmentTimePeriodFilterBinding.inflate(inflater, container, false)
return binding.root
}
override fun requestFilter(): Reddit.Filter = Reddit.Filter(
nodeDepth = 0,
timePeriod = TimePeriod.values()[binding.filterFormTimePeriod.selectedItemPosition])
}
| 0
|
Kotlin
|
1
| 0
|
26f49906a1f2fe1273e2d8637a212afd28199fbd
| 1,061
|
paper-for-reddit
|
MIT License
|
common/data/src/main/java/app/common/data/model/ContactItem.kt
|
ShabanKamell
| 377,910,641
| false
| null |
package app.common.data.model
data class ContactItem(
var id: Long,
var name: String?,
var phone: String?
) {
constructor() : this(0L, "", "")
}
| 0
|
Kotlin
|
0
| 1
|
86af3d676d887ba4b5953289e3dca9c947551513
| 162
|
Contacts
|
Apache License 2.0
|
Example/component_login/src/main/java/love/nuoyan/android/component_login/ComponentLogin.kt
|
WenjieGithub
| 629,371,100
| false
| null |
package love.nuoyan.android.component_login
import love.nuoyan.component_bus.annotation.Action
import love.nuoyan.component_bus.annotation.Component
@Component(componentName = "Login")
object ComponentLogin {
@Action(actionName = "isLogin")
fun isLogin(): Boolean {
return false
}
@Action(actionName = "showLoginPage")
fun showLoginPage() {
}
// 使用 LoginInterceptor 拦截器, 调用时, 如果未登陆, 会被拦截进入登陆页
@Action(actionName = "showUserInfoPage", interceptorName = ["LoginInterceptor"])
fun showUserInfoPage() {
}
}
| 0
|
Kotlin
|
0
| 0
|
90332c6ef3033bafe742939b935b11763670f8eb
| 556
|
ComponentBus
|
Apache License 2.0
|
utbot-framework/src/main/kotlin/org/utbot/analytics/FeatureProcessor.kt
|
UnitTestBot
| 480,810,501
| false
| null |
package org.utbot.analytics
import org.utbot.engine.InterProceduralUnitGraph
import org.utbot.engine.selectors.strategies.TraverseGraphStatistics
/**
* Interface that encapsulates work with FeatureProcessor and can only dumpFeatures at the end of symbolic execution
*/
abstract class FeatureProcessor(graph: InterProceduralUnitGraph) : TraverseGraphStatistics(graph) {
/**
* Dump features and rewards of all states in collected test cases.
*/
abstract fun dumpFeatures()
}
| 398
|
Kotlin
|
32
| 91
|
abb62682c70d7d2ecc4ad610851d304f7ad716e4
| 495
|
UTBotJava
|
Apache License 2.0
|
urbanairship-layout/src/main/java/com/urbanairship/android/layout/property/StoryIndicatorStyle.kt
|
urbanairship
| 58,972,818
| false
|
{"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589}
|
package com.urbanairship.android.layout.property
import androidx.annotation.Dimension
import com.urbanairship.android.layout.property.StoryIndicatorStyleType.LINEAR_PROGRESS
import com.urbanairship.json.JsonMap
import com.urbanairship.json.optionalField
import com.urbanairship.json.requireField
internal sealed class StoryIndicatorStyle(val type: StoryIndicatorStyleType) {
class LinearProgress(
json: JsonMap
) : StoryIndicatorStyle(LINEAR_PROGRESS) {
val direction: Direction = Direction.from(json.requireField("direction"))
val sizing: SizingType? = json.optionalField<String>("sizing")?.let {
SizingType.from(it)
}
@get:Dimension(unit = Dimension.DP)
val spacing: Int = json.optionalField<Int>("spacing") ?: 4
val trackColor = Color.fromJson(json.requireField("track_color"))
val progressColor = Color.fromJson(json.requireField("progress_color"))
internal enum class SizingType(private val value: String) {
EQUAL("equal"),
PAGE_DURATION("page_duration");
companion object {
@Throws(IllegalArgumentException::class)
fun from(value: String): SizingType {
for (type in values()) {
if (type.value == value.lowercase()) {
return type
}
}
throw IllegalArgumentException("Unknown StoryIndicator sizing value: $value")
}
}
}
}
companion object {
fun from(json: JsonMap): StoryIndicatorStyle {
return when (StoryIndicatorStyleType.from(json.requireField("type"))) {
LINEAR_PROGRESS -> LinearProgress(json)
}
}
}
}
| 2
|
Kotlin
|
122
| 111
|
21d49c3ffd373e3ba6b51a706a4839ab3713db11
| 1,816
|
android-library
|
Apache License 2.0
|
src/main/kotlin/com/cubett/view/TimerView.kt
|
autoreleasefool
| 108,188,355
| false
| null |
/**
* Timer-based view for rendering the cube timer, recent solves, and basic statistics.
*
* Created by Joseph Roque on 2017-10-24.
*/
package com.cubett.view
import kotlinx.coroutines.experimental.*
import com.cubett.Cubett
import com.cubett.util.Logger
/**
* Render a timer, some recent solves, and basic statistics. Handle input for the timer.
*/
class TimerView : View {
/** Total amount of inspection time. */
private var totalInspectionTime: Int = 15000
/** Start time of the inspection. */
private var inspectionStartTime: Long = -1
/** Start time of the current solve. */
private var solveStartTime: Long = -1
/** True if the user is inspecting, false otherwise. */
private var isInspecting: Boolean = false
/** True if the solve has begun, false otherwise. */
private var solveStarted: Boolean = false
/** Time taken for the most recent solve. */
private var lastSolveTime: Int = -1
/** Render loop for timer. */
private var renderLoop: Job? = null
override fun makeActive() {
}
override fun makeInactive() {
}
override fun render() {
renderTimer()
if (lastSolveTime > 0) {
println("Last solve: $lastSolveTime")
}
}
private fun renderTimer() {
var timer: Array<String> = arrayOf("","","","","","","","","")
var displayTime: Int = 0
if (solveStarted) {
if (isInspecting) {
displayTime = (System.currentTimeMillis() - inspectionStartTime).toInt()
} else {
displayTime = (System.currentTimeMillis() - solveStartTime).toInt()
}
}
val initialTimeLength = java.lang.Math.log10(displayTime.toDouble()).toInt()
var timeLength = initialTimeLength
while (displayTime > 10) {
val digit = (displayTime / java.lang.Math.pow(10.0, timeLength.toDouble()).toInt())
appendDigitToTimer(timer, getTimerDigit(digit), timeLength == 2)
displayTime = displayTime.rem(java.lang.Math.pow(10.0, timeLength.toDouble()).toInt())
timeLength = java.lang.Math.log10(displayTime.toDouble()).toInt()
}
while (timer[0].length / 10 < initialTimeLength || timer[0].length / 10 < 3) {
appendDigitToTimer(
timer,
getTimerDigit(0),
timer[0].length / 10 == 1 || initialTimeLength - timer[0].length / 10 == 2)
}
for (line in timer) {
println(line)
}
}
override fun handleInput(input: String?): Boolean {
when (input) {
null, "" -> updateSolveState()
else -> {
Logger.debug("`$input` not handled in TimerView")
return false
}
}
return true
}
private fun updateSolveState() {
val toggleTime = System.currentTimeMillis()
if (solveStarted) {
if (isInspecting) {
solveStartTime = toggleTime
isInspecting = false
} else {
lastSolveTime = (toggleTime - solveStartTime).toInt()
stopRenderLoop()
}
} else {
if (totalInspectionTime > 0) {
inspectionStartTime = toggleTime
isInspecting = true
}
solveStarted = true
startRenderLoop()
}
}
private fun startRenderLoop() {
renderLoop = launch (CommonPool) {
while (true) {
Cubett.rerender()
delay(2)
}
}
}
private fun stopRenderLoop() {
val activeRenderLoop = renderLoop
activeRenderLoop?.cancel()
}
private fun appendDigitToTimer(timer: Array<String>, digit: Array<String>, prependDecimal: Boolean) {
if (prependDecimal) {
for (i in 0..timer.size - 2) {
timer[i] += " "
}
timer[timer.size - 1] += "* "
}
for (i in digit.indices) {
timer[i] += digit[i]
}
}
private fun getTimerDigit(digit: Int): Array<String> {
when (digit) {
0 -> return arrayOf("********* ",
"** * ",
"* * * ",
"* * * ",
"* * * ",
"* * * ",
"* * * ",
"* ** ",
"********* ")
1 -> return arrayOf(" *** ",
" * ",
" * ",
" * ",
" * ",
" * ",
" * ",
" * ",
"********* ")
2 -> return arrayOf("********* ",
" * ",
" * ",
" * ",
"********* ",
"* ",
"* ",
"* ",
"********* ")
3 -> return arrayOf("********* ",
" * ",
" * ",
" * ",
"********* ",
" * ",
" * ",
" * ",
"********* ")
4 -> return arrayOf("* * ",
"* * ",
"* * ",
"* * ",
"********* ",
" * ",
" * ",
" * ",
" * ")
5 -> return arrayOf("********* ",
"* ",
"* ",
"* ",
"********* ",
" * ",
" * ",
" * ",
"********* ")
6 -> return arrayOf("********* ",
"* ",
"* ",
"* ",
"********* ",
"* * ",
"* * ",
"* * ",
"********* ")
7 -> return arrayOf("********* ",
" * ",
" * ",
" * ",
" * ",
" * ",
" * ",
" * ",
" * ")
8 -> return arrayOf("********* ",
"* * ",
"* * ",
"* * ",
"********* ",
"* * ",
"* * ",
"* * ",
"********* ")
9 -> return arrayOf("********* ",
"* * ",
"* * ",
"* * ",
"********* ",
" * ",
" * ",
" * ",
"********* ")
else -> throw IllegalArgumentException("$digit must be single digit and >= 0")
}
}
}
| 0
|
Kotlin
|
0
| 0
|
0381f3e6626ed84e9162ff32e3fe39e57253df95
| 8,467
|
cubett
|
Apache License 2.0
|
shared/src/commonMain/kotlin/me/gulya/bitwarden/enums/EncryptionType.kt
|
IlyaGulya
| 306,867,791
| false
| null |
package me.gulya.bitwarden.enums
import kotlinx.serialization.Serializable
import me.gulya.bitwarden.utilities.serialization.ByteEnumTypeSerializer
@Serializable(with = EncryptionTypeSerializer::class)
enum class EncryptionType(
override val value: Byte,
): Valued<Byte> {
AES_CBC256_B64(0),
AES_CBC128_HMAC_SHA256_BASE64(1),
AES_CBC256_HMAC_SHA256_BASE64(2),
RSA2048_OAEP_SHA256_BASE64(3),
RSA2048_OAEP_SHA1_BASE64(4),
RSA2048_OAEP_SHA256_HMAC_SHA256_BASE64(5),
RSA2048_OAEP_SHA1_HMAC_SHA256_BASE64(6);
companion object {
fun forValue(value: Byte) = values().findValue(value)
}
}
class EncryptionTypeSerializer : ByteEnumTypeSerializer<EncryptionType>(
valueFactory = EncryptionType.Companion::forValue
)
| 0
|
Kotlin
|
1
| 3
|
9177134c7940d143f1f3da14e6dd56f3102c367d
| 761
|
bitwarden-client-mpp
|
MIT License
|
gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/Drawable29.kt
|
JetBrains
| 293,498,508
| false
|
{"Kotlin": 19912259, "Shell": 12167, "JavaScript": 4973, "Dockerfile": 4774, "Swift": 2823, "Java": 1964, "PowerShell": 1708, "Groovy": 1415, "HTML": 1219, "Ruby": 404}
|
@file:OptIn(org.jetbrains.compose.resources.InternalResourceApi::class)
package app.group.huge.generated.resources
import kotlin.OptIn
import org.jetbrains.compose.resources.DrawableResource
import org.jetbrains.compose.resources.ExperimentalResourceApi
@ExperimentalResourceApi
private object Drawable29 {
public val icon_23047: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23047",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23047.xml"),
)
)
public val icon_23048: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23048",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23048.xml"),
)
)
public val icon_23049: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23049",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23049.xml"),
)
)
public val icon_2305: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2305",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2305.xml"),
)
)
public val icon_23050: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23050",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23050.xml"),
)
)
public val icon_23051: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23051",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23051.xml"),
)
)
public val icon_23052: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23052",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23052.xml"),
)
)
public val icon_23053: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23053",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23053.xml"),
)
)
public val icon_23054: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23054",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23054.xml"),
)
)
public val icon_23055: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23055",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23055.xml"),
)
)
public val icon_23056: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23056",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23056.xml"),
)
)
public val icon_23057: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23057",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23057.xml"),
)
)
public val icon_23058: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23058",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23058.xml"),
)
)
public val icon_23059: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23059",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23059.xml"),
)
)
public val icon_2306: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2306",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2306.xml"),
)
)
public val icon_23060: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23060",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23060.xml"),
)
)
public val icon_23061: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23061",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23061.xml"),
)
)
public val icon_23062: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23062",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23062.xml"),
)
)
public val icon_23063: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23063",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23063.xml"),
)
)
public val icon_23064: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23064",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23064.xml"),
)
)
public val icon_23065: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23065",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23065.xml"),
)
)
public val icon_23066: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23066",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23066.xml"),
)
)
public val icon_23067: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23067",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23067.xml"),
)
)
public val icon_23068: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23068",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23068.xml"),
)
)
public val icon_23069: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23069",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23069.xml"),
)
)
public val icon_2307: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2307",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2307.xml"),
)
)
public val icon_23070: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23070",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23070.xml"),
)
)
public val icon_23071: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23071",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23071.xml"),
)
)
public val icon_23072: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23072",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23072.xml"),
)
)
public val icon_23073: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23073",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23073.xml"),
)
)
public val icon_23074: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23074",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23074.xml"),
)
)
public val icon_23075: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23075",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23075.xml"),
)
)
public val icon_23076: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23076",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23076.xml"),
)
)
public val icon_23077: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23077",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23077.xml"),
)
)
public val icon_23078: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23078",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23078.xml"),
)
)
public val icon_23079: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23079",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23079.xml"),
)
)
public val icon_2308: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2308",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2308.xml"),
)
)
public val icon_23080: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23080",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23080.xml"),
)
)
public val icon_23081: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23081",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23081.xml"),
)
)
public val icon_23082: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23082",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23082.xml"),
)
)
public val icon_23083: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23083",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23083.xml"),
)
)
public val icon_23084: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23084",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23084.xml"),
)
)
public val icon_23085: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23085",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23085.xml"),
)
)
public val icon_23086: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23086",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23086.xml"),
)
)
public val icon_23087: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23087",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23087.xml"),
)
)
public val icon_23088: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23088",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23088.xml"),
)
)
public val icon_23089: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23089",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23089.xml"),
)
)
public val icon_2309: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2309",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2309.xml"),
)
)
public val icon_23090: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23090",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23090.xml"),
)
)
public val icon_23091: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23091",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23091.xml"),
)
)
public val icon_23092: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23092",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23092.xml"),
)
)
public val icon_23093: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23093",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23093.xml"),
)
)
public val icon_23094: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23094",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23094.xml"),
)
)
public val icon_23095: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23095",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23095.xml"),
)
)
public val icon_23096: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23096",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23096.xml"),
)
)
public val icon_23097: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23097",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23097.xml"),
)
)
public val icon_23098: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23098",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23098.xml"),
)
)
public val icon_23099: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23099",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23099.xml"),
)
)
public val icon_231: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_231",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_231.xml"),
)
)
public val icon_2310: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2310",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2310.xml"),
)
)
public val icon_23100: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23100",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23100.xml"),
)
)
public val icon_23101: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23101",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23101.xml"),
)
)
public val icon_23102: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23102",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23102.xml"),
)
)
public val icon_23103: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23103",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23103.xml"),
)
)
public val icon_23104: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23104",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23104.xml"),
)
)
public val icon_23105: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23105",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23105.xml"),
)
)
public val icon_23106: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23106",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23106.xml"),
)
)
public val icon_23107: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23107",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23107.xml"),
)
)
public val icon_23108: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23108",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23108.xml"),
)
)
public val icon_23109: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23109",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23109.xml"),
)
)
public val icon_2311: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2311",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2311.xml"),
)
)
public val icon_23110: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23110",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23110.xml"),
)
)
public val icon_23111: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23111",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23111.xml"),
)
)
public val icon_23112: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23112",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23112.xml"),
)
)
public val icon_23113: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23113",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23113.xml"),
)
)
public val icon_23114: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23114",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23114.xml"),
)
)
public val icon_23115: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23115",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23115.xml"),
)
)
public val icon_23116: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23116",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23116.xml"),
)
)
public val icon_23117: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23117",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23117.xml"),
)
)
public val icon_23118: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23118",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23118.xml"),
)
)
public val icon_23119: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23119",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23119.xml"),
)
)
public val icon_2312: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2312",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2312.xml"),
)
)
public val icon_23120: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23120",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23120.xml"),
)
)
public val icon_23121: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23121",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23121.xml"),
)
)
public val icon_23122: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23122",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23122.xml"),
)
)
public val icon_23123: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23123",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23123.xml"),
)
)
public val icon_23124: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23124",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23124.xml"),
)
)
public val icon_23125: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23125",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23125.xml"),
)
)
public val icon_23126: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23126",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23126.xml"),
)
)
public val icon_23127: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23127",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23127.xml"),
)
)
public val icon_23128: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23128",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23128.xml"),
)
)
public val icon_23129: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23129",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23129.xml"),
)
)
public val icon_2313: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2313",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2313.xml"),
)
)
public val icon_23130: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23130",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23130.xml"),
)
)
public val icon_23131: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23131",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23131.xml"),
)
)
public val icon_23132: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23132",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23132.xml"),
)
)
public val icon_23133: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23133",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23133.xml"),
)
)
public val icon_23134: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23134",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23134.xml"),
)
)
public val icon_23135: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23135",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23135.xml"),
)
)
public val icon_23136: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23136",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23136.xml"),
)
)
public val icon_23137: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23137",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23137.xml"),
)
)
public val icon_23138: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23138",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23138.xml"),
)
)
public val icon_23139: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23139",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23139.xml"),
)
)
public val icon_2314: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2314",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2314.xml"),
)
)
public val icon_23140: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23140",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23140.xml"),
)
)
public val icon_23141: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23141",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23141.xml"),
)
)
public val icon_23142: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23142",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23142.xml"),
)
)
public val icon_23143: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23143",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23143.xml"),
)
)
public val icon_23144: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23144",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23144.xml"),
)
)
public val icon_23145: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23145",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23145.xml"),
)
)
public val icon_23146: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23146",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23146.xml"),
)
)
public val icon_23147: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23147",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23147.xml"),
)
)
public val icon_23148: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23148",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23148.xml"),
)
)
public val icon_23149: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23149",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23149.xml"),
)
)
public val icon_2315: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2315",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2315.xml"),
)
)
public val icon_23150: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23150",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23150.xml"),
)
)
public val icon_23151: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23151",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23151.xml"),
)
)
public val icon_23152: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23152",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23152.xml"),
)
)
public val icon_23153: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23153",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23153.xml"),
)
)
public val icon_23154: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23154",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23154.xml"),
)
)
public val icon_23155: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23155",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23155.xml"),
)
)
public val icon_23156: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23156",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23156.xml"),
)
)
public val icon_23157: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23157",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23157.xml"),
)
)
public val icon_23158: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23158",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23158.xml"),
)
)
public val icon_23159: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23159",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23159.xml"),
)
)
public val icon_2316: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2316",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2316.xml"),
)
)
public val icon_23160: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23160",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23160.xml"),
)
)
public val icon_23161: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23161",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23161.xml"),
)
)
public val icon_23162: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23162",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23162.xml"),
)
)
public val icon_23163: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23163",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23163.xml"),
)
)
public val icon_23164: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23164",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23164.xml"),
)
)
public val icon_23165: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23165",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23165.xml"),
)
)
public val icon_23166: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23166",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23166.xml"),
)
)
public val icon_23167: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23167",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23167.xml"),
)
)
public val icon_23168: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23168",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23168.xml"),
)
)
public val icon_23169: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23169",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23169.xml"),
)
)
public val icon_2317: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2317",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2317.xml"),
)
)
public val icon_23170: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23170",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23170.xml"),
)
)
public val icon_23171: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23171",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23171.xml"),
)
)
public val icon_23172: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23172",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23172.xml"),
)
)
public val icon_23173: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23173",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23173.xml"),
)
)
public val icon_23174: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23174",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23174.xml"),
)
)
public val icon_23175: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23175",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23175.xml"),
)
)
public val icon_23176: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23176",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23176.xml"),
)
)
public val icon_23177: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23177",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23177.xml"),
)
)
public val icon_23178: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23178",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23178.xml"),
)
)
public val icon_23179: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23179",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23179.xml"),
)
)
public val icon_2318: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2318",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2318.xml"),
)
)
public val icon_23180: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23180",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23180.xml"),
)
)
public val icon_23181: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23181",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23181.xml"),
)
)
public val icon_23182: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23182",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23182.xml"),
)
)
public val icon_23183: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23183",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23183.xml"),
)
)
public val icon_23184: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23184",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23184.xml"),
)
)
public val icon_23185: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23185",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23185.xml"),
)
)
public val icon_23186: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23186",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23186.xml"),
)
)
public val icon_23187: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23187",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23187.xml"),
)
)
public val icon_23188: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23188",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23188.xml"),
)
)
public val icon_23189: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23189",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23189.xml"),
)
)
public val icon_2319: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2319",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2319.xml"),
)
)
public val icon_23190: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23190",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23190.xml"),
)
)
public val icon_23191: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23191",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23191.xml"),
)
)
public val icon_23192: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23192",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23192.xml"),
)
)
public val icon_23193: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23193",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23193.xml"),
)
)
public val icon_23194: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23194",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23194.xml"),
)
)
public val icon_23195: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23195",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23195.xml"),
)
)
public val icon_23196: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23196",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23196.xml"),
)
)
public val icon_23197: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23197",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23197.xml"),
)
)
public val icon_23198: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23198",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23198.xml"),
)
)
public val icon_23199: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23199",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23199.xml"),
)
)
public val icon_232: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_232",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_232.xml"),
)
)
public val icon_2320: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2320",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2320.xml"),
)
)
public val icon_23200: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23200",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23200.xml"),
)
)
public val icon_23201: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23201",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23201.xml"),
)
)
public val icon_23202: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23202",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23202.xml"),
)
)
public val icon_23203: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23203",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23203.xml"),
)
)
public val icon_23204: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23204",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23204.xml"),
)
)
public val icon_23205: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23205",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23205.xml"),
)
)
public val icon_23206: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23206",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23206.xml"),
)
)
public val icon_23207: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23207",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23207.xml"),
)
)
public val icon_23208: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23208",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23208.xml"),
)
)
public val icon_23209: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23209",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23209.xml"),
)
)
public val icon_2321: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2321",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2321.xml"),
)
)
public val icon_23210: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23210",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23210.xml"),
)
)
public val icon_23211: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23211",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23211.xml"),
)
)
public val icon_23212: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23212",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23212.xml"),
)
)
public val icon_23213: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23213",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23213.xml"),
)
)
public val icon_23214: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23214",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23214.xml"),
)
)
public val icon_23215: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23215",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23215.xml"),
)
)
public val icon_23216: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23216",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23216.xml"),
)
)
public val icon_23217: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23217",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23217.xml"),
)
)
public val icon_23218: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23218",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23218.xml"),
)
)
public val icon_23219: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23219",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23219.xml"),
)
)
public val icon_2322: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2322",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2322.xml"),
)
)
public val icon_23220: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23220",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23220.xml"),
)
)
public val icon_23221: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23221",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23221.xml"),
)
)
public val icon_23222: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23222",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23222.xml"),
)
)
public val icon_23223: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23223",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23223.xml"),
)
)
public val icon_23224: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23224",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23224.xml"),
)
)
public val icon_23225: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23225",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23225.xml"),
)
)
public val icon_23226: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23226",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23226.xml"),
)
)
public val icon_23227: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23227",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23227.xml"),
)
)
public val icon_23228: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23228",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23228.xml"),
)
)
public val icon_23229: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23229",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23229.xml"),
)
)
public val icon_2323: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2323",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2323.xml"),
)
)
public val icon_23230: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23230",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23230.xml"),
)
)
public val icon_23231: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23231",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23231.xml"),
)
)
public val icon_23232: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23232",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23232.xml"),
)
)
public val icon_23233: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23233",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23233.xml"),
)
)
public val icon_23234: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23234",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23234.xml"),
)
)
public val icon_23235: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23235",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23235.xml"),
)
)
public val icon_23236: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23236",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23236.xml"),
)
)
public val icon_23237: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23237",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23237.xml"),
)
)
public val icon_23238: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23238",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23238.xml"),
)
)
public val icon_23239: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23239",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23239.xml"),
)
)
public val icon_2324: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2324",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2324.xml"),
)
)
public val icon_23240: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23240",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23240.xml"),
)
)
public val icon_23241: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23241",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23241.xml"),
)
)
public val icon_23242: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23242",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23242.xml"),
)
)
public val icon_23243: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23243",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23243.xml"),
)
)
public val icon_23244: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23244",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23244.xml"),
)
)
public val icon_23245: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23245",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23245.xml"),
)
)
public val icon_23246: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23246",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23246.xml"),
)
)
public val icon_23247: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23247",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23247.xml"),
)
)
public val icon_23248: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23248",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23248.xml"),
)
)
public val icon_23249: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23249",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23249.xml"),
)
)
public val icon_2325: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2325",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2325.xml"),
)
)
public val icon_23250: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23250",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23250.xml"),
)
)
public val icon_23251: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23251",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23251.xml"),
)
)
public val icon_23252: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23252",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23252.xml"),
)
)
public val icon_23253: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23253",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23253.xml"),
)
)
public val icon_23254: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23254",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23254.xml"),
)
)
public val icon_23255: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23255",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23255.xml"),
)
)
public val icon_23256: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23256",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23256.xml"),
)
)
public val icon_23257: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23257",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23257.xml"),
)
)
public val icon_23258: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23258",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23258.xml"),
)
)
public val icon_23259: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23259",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23259.xml"),
)
)
public val icon_2326: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2326",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2326.xml"),
)
)
public val icon_23260: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23260",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23260.xml"),
)
)
public val icon_23261: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23261",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23261.xml"),
)
)
public val icon_23262: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23262",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23262.xml"),
)
)
public val icon_23263: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23263",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23263.xml"),
)
)
public val icon_23264: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23264",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23264.xml"),
)
)
public val icon_23265: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23265",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23265.xml"),
)
)
public val icon_23266: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23266",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23266.xml"),
)
)
public val icon_23267: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23267",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23267.xml"),
)
)
public val icon_23268: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23268",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23268.xml"),
)
)
public val icon_23269: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23269",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23269.xml"),
)
)
public val icon_2327: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2327",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2327.xml"),
)
)
public val icon_23270: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23270",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23270.xml"),
)
)
public val icon_23271: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23271",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23271.xml"),
)
)
public val icon_23272: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23272",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23272.xml"),
)
)
public val icon_23273: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23273",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23273.xml"),
)
)
public val icon_23274: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23274",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23274.xml"),
)
)
public val icon_23275: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23275",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23275.xml"),
)
)
public val icon_23276: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23276",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23276.xml"),
)
)
public val icon_23277: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23277",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23277.xml"),
)
)
public val icon_23278: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23278",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23278.xml"),
)
)
public val icon_23279: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23279",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23279.xml"),
)
)
public val icon_2328: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2328",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2328.xml"),
)
)
public val icon_23280: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23280",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23280.xml"),
)
)
public val icon_23281: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23281",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23281.xml"),
)
)
public val icon_23282: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23282",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23282.xml"),
)
)
public val icon_23283: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23283",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23283.xml"),
)
)
public val icon_23284: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23284",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23284.xml"),
)
)
public val icon_23285: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23285",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23285.xml"),
)
)
public val icon_23286: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23286",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23286.xml"),
)
)
public val icon_23287: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23287",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23287.xml"),
)
)
public val icon_23288: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23288",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23288.xml"),
)
)
public val icon_23289: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23289",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23289.xml"),
)
)
public val icon_2329: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2329",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2329.xml"),
)
)
public val icon_23290: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23290",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23290.xml"),
)
)
public val icon_23291: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23291",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23291.xml"),
)
)
public val icon_23292: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23292",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23292.xml"),
)
)
public val icon_23293: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23293",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23293.xml"),
)
)
public val icon_23294: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23294",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23294.xml"),
)
)
public val icon_23295: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23295",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23295.xml"),
)
)
public val icon_23296: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23296",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23296.xml"),
)
)
public val icon_23297: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23297",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23297.xml"),
)
)
public val icon_23298: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23298",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23298.xml"),
)
)
public val icon_23299: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23299",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23299.xml"),
)
)
public val icon_233: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_233",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_233.xml"),
)
)
public val icon_2330: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2330",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2330.xml"),
)
)
public val icon_23300: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23300",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23300.xml"),
)
)
public val icon_23301: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23301",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23301.xml"),
)
)
public val icon_23302: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23302",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23302.xml"),
)
)
public val icon_23303: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23303",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23303.xml"),
)
)
public val icon_23304: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23304",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23304.xml"),
)
)
public val icon_23305: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23305",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23305.xml"),
)
)
public val icon_23306: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23306",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23306.xml"),
)
)
public val icon_23307: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23307",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23307.xml"),
)
)
public val icon_23308: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23308",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23308.xml"),
)
)
public val icon_23309: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23309",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23309.xml"),
)
)
public val icon_2331: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2331",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2331.xml"),
)
)
public val icon_23310: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23310",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23310.xml"),
)
)
public val icon_23311: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23311",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23311.xml"),
)
)
public val icon_23312: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23312",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23312.xml"),
)
)
public val icon_23313: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23313",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23313.xml"),
)
)
public val icon_23314: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23314",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23314.xml"),
)
)
public val icon_23315: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23315",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23315.xml"),
)
)
public val icon_23316: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23316",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23316.xml"),
)
)
public val icon_23317: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23317",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23317.xml"),
)
)
public val icon_23318: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23318",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23318.xml"),
)
)
public val icon_23319: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23319",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23319.xml"),
)
)
public val icon_2332: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2332",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2332.xml"),
)
)
public val icon_23320: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23320",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23320.xml"),
)
)
public val icon_23321: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23321",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23321.xml"),
)
)
public val icon_23322: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23322",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23322.xml"),
)
)
public val icon_23323: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23323",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23323.xml"),
)
)
public val icon_23324: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23324",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23324.xml"),
)
)
public val icon_23325: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23325",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23325.xml"),
)
)
public val icon_23326: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23326",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23326.xml"),
)
)
public val icon_23327: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23327",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23327.xml"),
)
)
public val icon_23328: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23328",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23328.xml"),
)
)
public val icon_23329: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23329",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23329.xml"),
)
)
public val icon_2333: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2333",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2333.xml"),
)
)
public val icon_23330: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23330",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23330.xml"),
)
)
public val icon_23331: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23331",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23331.xml"),
)
)
public val icon_23332: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23332",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23332.xml"),
)
)
public val icon_23333: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23333",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23333.xml"),
)
)
public val icon_23334: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23334",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23334.xml"),
)
)
public val icon_23335: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23335",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23335.xml"),
)
)
public val icon_23336: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23336",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23336.xml"),
)
)
public val icon_23337: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23337",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23337.xml"),
)
)
public val icon_23338: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23338",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23338.xml"),
)
)
public val icon_23339: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23339",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23339.xml"),
)
)
public val icon_2334: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2334",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2334.xml"),
)
)
public val icon_23340: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23340",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23340.xml"),
)
)
public val icon_23341: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23341",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23341.xml"),
)
)
public val icon_23342: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23342",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23342.xml"),
)
)
public val icon_23343: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23343",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23343.xml"),
)
)
public val icon_23344: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23344",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23344.xml"),
)
)
public val icon_23345: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23345",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23345.xml"),
)
)
public val icon_23346: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23346",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23346.xml"),
)
)
public val icon_23347: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23347",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23347.xml"),
)
)
public val icon_23348: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23348",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23348.xml"),
)
)
public val icon_23349: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23349",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23349.xml"),
)
)
public val icon_2335: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2335",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2335.xml"),
)
)
public val icon_23350: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23350",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23350.xml"),
)
)
public val icon_23351: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23351",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23351.xml"),
)
)
public val icon_23352: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23352",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23352.xml"),
)
)
public val icon_23353: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23353",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23353.xml"),
)
)
public val icon_23354: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23354",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23354.xml"),
)
)
public val icon_23355: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23355",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23355.xml"),
)
)
public val icon_23356: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23356",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23356.xml"),
)
)
public val icon_23357: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23357",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23357.xml"),
)
)
public val icon_23358: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23358",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23358.xml"),
)
)
public val icon_23359: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23359",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23359.xml"),
)
)
public val icon_2336: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2336",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2336.xml"),
)
)
public val icon_23360: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23360",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23360.xml"),
)
)
public val icon_23361: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23361",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23361.xml"),
)
)
public val icon_23362: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23362",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23362.xml"),
)
)
public val icon_23363: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23363",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23363.xml"),
)
)
public val icon_23364: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23364",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23364.xml"),
)
)
public val icon_23365: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23365",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23365.xml"),
)
)
public val icon_23366: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23366",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23366.xml"),
)
)
public val icon_23367: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23367",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23367.xml"),
)
)
public val icon_23368: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23368",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23368.xml"),
)
)
public val icon_23369: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23369",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23369.xml"),
)
)
public val icon_2337: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2337",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2337.xml"),
)
)
public val icon_23370: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23370",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23370.xml"),
)
)
public val icon_23371: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23371",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23371.xml"),
)
)
public val icon_23372: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23372",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23372.xml"),
)
)
public val icon_23373: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23373",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23373.xml"),
)
)
public val icon_23374: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23374",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23374.xml"),
)
)
public val icon_23375: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23375",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23375.xml"),
)
)
public val icon_23376: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23376",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23376.xml"),
)
)
public val icon_23377: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23377",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23377.xml"),
)
)
public val icon_23378: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23378",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23378.xml"),
)
)
public val icon_23379: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23379",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23379.xml"),
)
)
public val icon_2338: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2338",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2338.xml"),
)
)
public val icon_23380: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23380",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23380.xml"),
)
)
public val icon_23381: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23381",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23381.xml"),
)
)
public val icon_23382: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23382",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23382.xml"),
)
)
public val icon_23383: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23383",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23383.xml"),
)
)
public val icon_23384: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23384",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23384.xml"),
)
)
public val icon_23385: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23385",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23385.xml"),
)
)
public val icon_23386: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23386",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23386.xml"),
)
)
public val icon_23387: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23387",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23387.xml"),
)
)
public val icon_23388: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23388",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23388.xml"),
)
)
public val icon_23389: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23389",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23389.xml"),
)
)
public val icon_2339: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2339",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2339.xml"),
)
)
public val icon_23390: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23390",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23390.xml"),
)
)
public val icon_23391: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23391",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23391.xml"),
)
)
public val icon_23392: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23392",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23392.xml"),
)
)
public val icon_23393: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23393",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23393.xml"),
)
)
public val icon_23394: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23394",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23394.xml"),
)
)
public val icon_23395: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23395",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23395.xml"),
)
)
public val icon_23396: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23396",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23396.xml"),
)
)
public val icon_23397: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23397",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23397.xml"),
)
)
public val icon_23398: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23398",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23398.xml"),
)
)
public val icon_23399: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23399",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23399.xml"),
)
)
public val icon_234: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_234",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_234.xml"),
)
)
public val icon_2340: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2340",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2340.xml"),
)
)
public val icon_23400: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23400",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23400.xml"),
)
)
public val icon_23401: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23401",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23401.xml"),
)
)
public val icon_23402: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23402",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23402.xml"),
)
)
public val icon_23403: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23403",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23403.xml"),
)
)
public val icon_23404: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23404",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23404.xml"),
)
)
public val icon_23405: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23405",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23405.xml"),
)
)
public val icon_23406: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23406",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23406.xml"),
)
)
public val icon_23407: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23407",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23407.xml"),
)
)
public val icon_23408: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23408",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23408.xml"),
)
)
public val icon_23409: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23409",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23409.xml"),
)
)
public val icon_2341: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2341",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2341.xml"),
)
)
public val icon_23410: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23410",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23410.xml"),
)
)
public val icon_23411: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23411",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23411.xml"),
)
)
public val icon_23412: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23412",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23412.xml"),
)
)
public val icon_23413: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23413",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23413.xml"),
)
)
public val icon_23414: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23414",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23414.xml"),
)
)
public val icon_23415: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23415",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23415.xml"),
)
)
public val icon_23416: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23416",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23416.xml"),
)
)
public val icon_23417: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23417",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23417.xml"),
)
)
public val icon_23418: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23418",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23418.xml"),
)
)
public val icon_23419: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23419",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23419.xml"),
)
)
public val icon_2342: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2342",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2342.xml"),
)
)
public val icon_23420: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23420",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23420.xml"),
)
)
public val icon_23421: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23421",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23421.xml"),
)
)
public val icon_23422: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23422",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23422.xml"),
)
)
public val icon_23423: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23423",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23423.xml"),
)
)
public val icon_23424: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23424",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23424.xml"),
)
)
public val icon_23425: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23425",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23425.xml"),
)
)
public val icon_23426: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23426",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23426.xml"),
)
)
public val icon_23427: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23427",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23427.xml"),
)
)
public val icon_23428: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23428",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23428.xml"),
)
)
public val icon_23429: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23429",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23429.xml"),
)
)
public val icon_2343: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2343",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2343.xml"),
)
)
public val icon_23430: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23430",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23430.xml"),
)
)
public val icon_23431: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23431",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23431.xml"),
)
)
public val icon_23432: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23432",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23432.xml"),
)
)
public val icon_23433: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23433",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23433.xml"),
)
)
public val icon_23434: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23434",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23434.xml"),
)
)
public val icon_23435: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23435",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23435.xml"),
)
)
public val icon_23436: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23436",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23436.xml"),
)
)
public val icon_23437: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23437",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23437.xml"),
)
)
public val icon_23438: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23438",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23438.xml"),
)
)
public val icon_23439: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23439",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23439.xml"),
)
)
public val icon_2344: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2344",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2344.xml"),
)
)
public val icon_23440: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23440",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23440.xml"),
)
)
public val icon_23441: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23441",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23441.xml"),
)
)
public val icon_23442: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23442",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23442.xml"),
)
)
public val icon_23443: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23443",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23443.xml"),
)
)
public val icon_23444: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23444",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23444.xml"),
)
)
public val icon_23445: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23445",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23445.xml"),
)
)
public val icon_23446: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23446",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23446.xml"),
)
)
public val icon_23447: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23447",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23447.xml"),
)
)
public val icon_23448: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23448",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23448.xml"),
)
)
public val icon_23449: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23449",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23449.xml"),
)
)
public val icon_2345: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2345",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2345.xml"),
)
)
public val icon_23450: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23450",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23450.xml"),
)
)
public val icon_23451: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23451",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23451.xml"),
)
)
public val icon_23452: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23452",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23452.xml"),
)
)
public val icon_23453: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23453",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23453.xml"),
)
)
public val icon_23454: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23454",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23454.xml"),
)
)
public val icon_23455: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23455",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23455.xml"),
)
)
public val icon_23456: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23456",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23456.xml"),
)
)
public val icon_23457: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23457",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23457.xml"),
)
)
public val icon_23458: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23458",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23458.xml"),
)
)
public val icon_23459: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23459",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23459.xml"),
)
)
public val icon_2346: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2346",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2346.xml"),
)
)
public val icon_23460: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23460",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23460.xml"),
)
)
public val icon_23461: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23461",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23461.xml"),
)
)
public val icon_23462: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23462",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23462.xml"),
)
)
public val icon_23463: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23463",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23463.xml"),
)
)
public val icon_23464: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23464",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23464.xml"),
)
)
public val icon_23465: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23465",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23465.xml"),
)
)
public val icon_23466: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23466",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23466.xml"),
)
)
public val icon_23467: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23467",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23467.xml"),
)
)
public val icon_23468: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23468",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23468.xml"),
)
)
public val icon_23469: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23469",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23469.xml"),
)
)
public val icon_2347: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2347",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2347.xml"),
)
)
public val icon_23470: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23470",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23470.xml"),
)
)
public val icon_23471: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23471",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23471.xml"),
)
)
public val icon_23472: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23472",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23472.xml"),
)
)
public val icon_23473: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23473",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23473.xml"),
)
)
public val icon_23474: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23474",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23474.xml"),
)
)
public val icon_23475: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23475",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23475.xml"),
)
)
public val icon_23476: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23476",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23476.xml"),
)
)
public val icon_23477: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23477",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23477.xml"),
)
)
public val icon_23478: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23478",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23478.xml"),
)
)
public val icon_23479: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23479",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23479.xml"),
)
)
public val icon_2348: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2348",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2348.xml"),
)
)
public val icon_23480: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23480",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23480.xml"),
)
)
public val icon_23481: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23481",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23481.xml"),
)
)
public val icon_23482: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23482",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23482.xml"),
)
)
public val icon_23483: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23483",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23483.xml"),
)
)
public val icon_23484: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23484",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23484.xml"),
)
)
public val icon_23485: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23485",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23485.xml"),
)
)
public val icon_23486: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23486",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23486.xml"),
)
)
public val icon_23487: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23487",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23487.xml"),
)
)
public val icon_23488: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23488",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23488.xml"),
)
)
public val icon_23489: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23489",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23489.xml"),
)
)
public val icon_2349: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_2349",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_2349.xml"),
)
)
public val icon_23490: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23490",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23490.xml"),
)
)
public val icon_23491: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23491",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23491.xml"),
)
)
public val icon_23492: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23492",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23492.xml"),
)
)
public val icon_23493: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23493",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23493.xml"),
)
)
public val icon_23494: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23494",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23494.xml"),
)
)
public val icon_23495: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23495",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23495.xml"),
)
)
public val icon_23496: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23496",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23496.xml"),
)
)
public val icon_23497: DrawableResource = org.jetbrains.compose.resources.DrawableResource(
"drawable:icon_23497",
setOf(
org.jetbrains.compose.resources.ResourceItem(setOf(), "drawable/icon_23497.xml"),
)
)
}
@ExperimentalResourceApi
internal val Res.drawable.icon_23047: DrawableResource
get() = Drawable29.icon_23047
@ExperimentalResourceApi
internal val Res.drawable.icon_23048: DrawableResource
get() = Drawable29.icon_23048
@ExperimentalResourceApi
internal val Res.drawable.icon_23049: DrawableResource
get() = Drawable29.icon_23049
@ExperimentalResourceApi
internal val Res.drawable.icon_2305: DrawableResource
get() = Drawable29.icon_2305
@ExperimentalResourceApi
internal val Res.drawable.icon_23050: DrawableResource
get() = Drawable29.icon_23050
@ExperimentalResourceApi
internal val Res.drawable.icon_23051: DrawableResource
get() = Drawable29.icon_23051
@ExperimentalResourceApi
internal val Res.drawable.icon_23052: DrawableResource
get() = Drawable29.icon_23052
@ExperimentalResourceApi
internal val Res.drawable.icon_23053: DrawableResource
get() = Drawable29.icon_23053
@ExperimentalResourceApi
internal val Res.drawable.icon_23054: DrawableResource
get() = Drawable29.icon_23054
@ExperimentalResourceApi
internal val Res.drawable.icon_23055: DrawableResource
get() = Drawable29.icon_23055
@ExperimentalResourceApi
internal val Res.drawable.icon_23056: DrawableResource
get() = Drawable29.icon_23056
@ExperimentalResourceApi
internal val Res.drawable.icon_23057: DrawableResource
get() = Drawable29.icon_23057
@ExperimentalResourceApi
internal val Res.drawable.icon_23058: DrawableResource
get() = Drawable29.icon_23058
@ExperimentalResourceApi
internal val Res.drawable.icon_23059: DrawableResource
get() = Drawable29.icon_23059
@ExperimentalResourceApi
internal val Res.drawable.icon_2306: DrawableResource
get() = Drawable29.icon_2306
@ExperimentalResourceApi
internal val Res.drawable.icon_23060: DrawableResource
get() = Drawable29.icon_23060
@ExperimentalResourceApi
internal val Res.drawable.icon_23061: DrawableResource
get() = Drawable29.icon_23061
@ExperimentalResourceApi
internal val Res.drawable.icon_23062: DrawableResource
get() = Drawable29.icon_23062
@ExperimentalResourceApi
internal val Res.drawable.icon_23063: DrawableResource
get() = Drawable29.icon_23063
@ExperimentalResourceApi
internal val Res.drawable.icon_23064: DrawableResource
get() = Drawable29.icon_23064
@ExperimentalResourceApi
internal val Res.drawable.icon_23065: DrawableResource
get() = Drawable29.icon_23065
@ExperimentalResourceApi
internal val Res.drawable.icon_23066: DrawableResource
get() = Drawable29.icon_23066
@ExperimentalResourceApi
internal val Res.drawable.icon_23067: DrawableResource
get() = Drawable29.icon_23067
@ExperimentalResourceApi
internal val Res.drawable.icon_23068: DrawableResource
get() = Drawable29.icon_23068
@ExperimentalResourceApi
internal val Res.drawable.icon_23069: DrawableResource
get() = Drawable29.icon_23069
@ExperimentalResourceApi
internal val Res.drawable.icon_2307: DrawableResource
get() = Drawable29.icon_2307
@ExperimentalResourceApi
internal val Res.drawable.icon_23070: DrawableResource
get() = Drawable29.icon_23070
@ExperimentalResourceApi
internal val Res.drawable.icon_23071: DrawableResource
get() = Drawable29.icon_23071
@ExperimentalResourceApi
internal val Res.drawable.icon_23072: DrawableResource
get() = Drawable29.icon_23072
@ExperimentalResourceApi
internal val Res.drawable.icon_23073: DrawableResource
get() = Drawable29.icon_23073
@ExperimentalResourceApi
internal val Res.drawable.icon_23074: DrawableResource
get() = Drawable29.icon_23074
@ExperimentalResourceApi
internal val Res.drawable.icon_23075: DrawableResource
get() = Drawable29.icon_23075
@ExperimentalResourceApi
internal val Res.drawable.icon_23076: DrawableResource
get() = Drawable29.icon_23076
@ExperimentalResourceApi
internal val Res.drawable.icon_23077: DrawableResource
get() = Drawable29.icon_23077
@ExperimentalResourceApi
internal val Res.drawable.icon_23078: DrawableResource
get() = Drawable29.icon_23078
@ExperimentalResourceApi
internal val Res.drawable.icon_23079: DrawableResource
get() = Drawable29.icon_23079
@ExperimentalResourceApi
internal val Res.drawable.icon_2308: DrawableResource
get() = Drawable29.icon_2308
@ExperimentalResourceApi
internal val Res.drawable.icon_23080: DrawableResource
get() = Drawable29.icon_23080
@ExperimentalResourceApi
internal val Res.drawable.icon_23081: DrawableResource
get() = Drawable29.icon_23081
@ExperimentalResourceApi
internal val Res.drawable.icon_23082: DrawableResource
get() = Drawable29.icon_23082
@ExperimentalResourceApi
internal val Res.drawable.icon_23083: DrawableResource
get() = Drawable29.icon_23083
@ExperimentalResourceApi
internal val Res.drawable.icon_23084: DrawableResource
get() = Drawable29.icon_23084
@ExperimentalResourceApi
internal val Res.drawable.icon_23085: DrawableResource
get() = Drawable29.icon_23085
@ExperimentalResourceApi
internal val Res.drawable.icon_23086: DrawableResource
get() = Drawable29.icon_23086
@ExperimentalResourceApi
internal val Res.drawable.icon_23087: DrawableResource
get() = Drawable29.icon_23087
@ExperimentalResourceApi
internal val Res.drawable.icon_23088: DrawableResource
get() = Drawable29.icon_23088
@ExperimentalResourceApi
internal val Res.drawable.icon_23089: DrawableResource
get() = Drawable29.icon_23089
@ExperimentalResourceApi
internal val Res.drawable.icon_2309: DrawableResource
get() = Drawable29.icon_2309
@ExperimentalResourceApi
internal val Res.drawable.icon_23090: DrawableResource
get() = Drawable29.icon_23090
@ExperimentalResourceApi
internal val Res.drawable.icon_23091: DrawableResource
get() = Drawable29.icon_23091
@ExperimentalResourceApi
internal val Res.drawable.icon_23092: DrawableResource
get() = Drawable29.icon_23092
@ExperimentalResourceApi
internal val Res.drawable.icon_23093: DrawableResource
get() = Drawable29.icon_23093
@ExperimentalResourceApi
internal val Res.drawable.icon_23094: DrawableResource
get() = Drawable29.icon_23094
@ExperimentalResourceApi
internal val Res.drawable.icon_23095: DrawableResource
get() = Drawable29.icon_23095
@ExperimentalResourceApi
internal val Res.drawable.icon_23096: DrawableResource
get() = Drawable29.icon_23096
@ExperimentalResourceApi
internal val Res.drawable.icon_23097: DrawableResource
get() = Drawable29.icon_23097
@ExperimentalResourceApi
internal val Res.drawable.icon_23098: DrawableResource
get() = Drawable29.icon_23098
@ExperimentalResourceApi
internal val Res.drawable.icon_23099: DrawableResource
get() = Drawable29.icon_23099
@ExperimentalResourceApi
internal val Res.drawable.icon_231: DrawableResource
get() = Drawable29.icon_231
@ExperimentalResourceApi
internal val Res.drawable.icon_2310: DrawableResource
get() = Drawable29.icon_2310
@ExperimentalResourceApi
internal val Res.drawable.icon_23100: DrawableResource
get() = Drawable29.icon_23100
@ExperimentalResourceApi
internal val Res.drawable.icon_23101: DrawableResource
get() = Drawable29.icon_23101
@ExperimentalResourceApi
internal val Res.drawable.icon_23102: DrawableResource
get() = Drawable29.icon_23102
@ExperimentalResourceApi
internal val Res.drawable.icon_23103: DrawableResource
get() = Drawable29.icon_23103
@ExperimentalResourceApi
internal val Res.drawable.icon_23104: DrawableResource
get() = Drawable29.icon_23104
@ExperimentalResourceApi
internal val Res.drawable.icon_23105: DrawableResource
get() = Drawable29.icon_23105
@ExperimentalResourceApi
internal val Res.drawable.icon_23106: DrawableResource
get() = Drawable29.icon_23106
@ExperimentalResourceApi
internal val Res.drawable.icon_23107: DrawableResource
get() = Drawable29.icon_23107
@ExperimentalResourceApi
internal val Res.drawable.icon_23108: DrawableResource
get() = Drawable29.icon_23108
@ExperimentalResourceApi
internal val Res.drawable.icon_23109: DrawableResource
get() = Drawable29.icon_23109
@ExperimentalResourceApi
internal val Res.drawable.icon_2311: DrawableResource
get() = Drawable29.icon_2311
@ExperimentalResourceApi
internal val Res.drawable.icon_23110: DrawableResource
get() = Drawable29.icon_23110
@ExperimentalResourceApi
internal val Res.drawable.icon_23111: DrawableResource
get() = Drawable29.icon_23111
@ExperimentalResourceApi
internal val Res.drawable.icon_23112: DrawableResource
get() = Drawable29.icon_23112
@ExperimentalResourceApi
internal val Res.drawable.icon_23113: DrawableResource
get() = Drawable29.icon_23113
@ExperimentalResourceApi
internal val Res.drawable.icon_23114: DrawableResource
get() = Drawable29.icon_23114
@ExperimentalResourceApi
internal val Res.drawable.icon_23115: DrawableResource
get() = Drawable29.icon_23115
@ExperimentalResourceApi
internal val Res.drawable.icon_23116: DrawableResource
get() = Drawable29.icon_23116
@ExperimentalResourceApi
internal val Res.drawable.icon_23117: DrawableResource
get() = Drawable29.icon_23117
@ExperimentalResourceApi
internal val Res.drawable.icon_23118: DrawableResource
get() = Drawable29.icon_23118
@ExperimentalResourceApi
internal val Res.drawable.icon_23119: DrawableResource
get() = Drawable29.icon_23119
@ExperimentalResourceApi
internal val Res.drawable.icon_2312: DrawableResource
get() = Drawable29.icon_2312
@ExperimentalResourceApi
internal val Res.drawable.icon_23120: DrawableResource
get() = Drawable29.icon_23120
@ExperimentalResourceApi
internal val Res.drawable.icon_23121: DrawableResource
get() = Drawable29.icon_23121
@ExperimentalResourceApi
internal val Res.drawable.icon_23122: DrawableResource
get() = Drawable29.icon_23122
@ExperimentalResourceApi
internal val Res.drawable.icon_23123: DrawableResource
get() = Drawable29.icon_23123
@ExperimentalResourceApi
internal val Res.drawable.icon_23124: DrawableResource
get() = Drawable29.icon_23124
@ExperimentalResourceApi
internal val Res.drawable.icon_23125: DrawableResource
get() = Drawable29.icon_23125
@ExperimentalResourceApi
internal val Res.drawable.icon_23126: DrawableResource
get() = Drawable29.icon_23126
@ExperimentalResourceApi
internal val Res.drawable.icon_23127: DrawableResource
get() = Drawable29.icon_23127
@ExperimentalResourceApi
internal val Res.drawable.icon_23128: DrawableResource
get() = Drawable29.icon_23128
@ExperimentalResourceApi
internal val Res.drawable.icon_23129: DrawableResource
get() = Drawable29.icon_23129
@ExperimentalResourceApi
internal val Res.drawable.icon_2313: DrawableResource
get() = Drawable29.icon_2313
@ExperimentalResourceApi
internal val Res.drawable.icon_23130: DrawableResource
get() = Drawable29.icon_23130
@ExperimentalResourceApi
internal val Res.drawable.icon_23131: DrawableResource
get() = Drawable29.icon_23131
@ExperimentalResourceApi
internal val Res.drawable.icon_23132: DrawableResource
get() = Drawable29.icon_23132
@ExperimentalResourceApi
internal val Res.drawable.icon_23133: DrawableResource
get() = Drawable29.icon_23133
@ExperimentalResourceApi
internal val Res.drawable.icon_23134: DrawableResource
get() = Drawable29.icon_23134
@ExperimentalResourceApi
internal val Res.drawable.icon_23135: DrawableResource
get() = Drawable29.icon_23135
@ExperimentalResourceApi
internal val Res.drawable.icon_23136: DrawableResource
get() = Drawable29.icon_23136
@ExperimentalResourceApi
internal val Res.drawable.icon_23137: DrawableResource
get() = Drawable29.icon_23137
@ExperimentalResourceApi
internal val Res.drawable.icon_23138: DrawableResource
get() = Drawable29.icon_23138
@ExperimentalResourceApi
internal val Res.drawable.icon_23139: DrawableResource
get() = Drawable29.icon_23139
@ExperimentalResourceApi
internal val Res.drawable.icon_2314: DrawableResource
get() = Drawable29.icon_2314
@ExperimentalResourceApi
internal val Res.drawable.icon_23140: DrawableResource
get() = Drawable29.icon_23140
@ExperimentalResourceApi
internal val Res.drawable.icon_23141: DrawableResource
get() = Drawable29.icon_23141
@ExperimentalResourceApi
internal val Res.drawable.icon_23142: DrawableResource
get() = Drawable29.icon_23142
@ExperimentalResourceApi
internal val Res.drawable.icon_23143: DrawableResource
get() = Drawable29.icon_23143
@ExperimentalResourceApi
internal val Res.drawable.icon_23144: DrawableResource
get() = Drawable29.icon_23144
@ExperimentalResourceApi
internal val Res.drawable.icon_23145: DrawableResource
get() = Drawable29.icon_23145
@ExperimentalResourceApi
internal val Res.drawable.icon_23146: DrawableResource
get() = Drawable29.icon_23146
@ExperimentalResourceApi
internal val Res.drawable.icon_23147: DrawableResource
get() = Drawable29.icon_23147
@ExperimentalResourceApi
internal val Res.drawable.icon_23148: DrawableResource
get() = Drawable29.icon_23148
@ExperimentalResourceApi
internal val Res.drawable.icon_23149: DrawableResource
get() = Drawable29.icon_23149
@ExperimentalResourceApi
internal val Res.drawable.icon_2315: DrawableResource
get() = Drawable29.icon_2315
@ExperimentalResourceApi
internal val Res.drawable.icon_23150: DrawableResource
get() = Drawable29.icon_23150
@ExperimentalResourceApi
internal val Res.drawable.icon_23151: DrawableResource
get() = Drawable29.icon_23151
@ExperimentalResourceApi
internal val Res.drawable.icon_23152: DrawableResource
get() = Drawable29.icon_23152
@ExperimentalResourceApi
internal val Res.drawable.icon_23153: DrawableResource
get() = Drawable29.icon_23153
@ExperimentalResourceApi
internal val Res.drawable.icon_23154: DrawableResource
get() = Drawable29.icon_23154
@ExperimentalResourceApi
internal val Res.drawable.icon_23155: DrawableResource
get() = Drawable29.icon_23155
@ExperimentalResourceApi
internal val Res.drawable.icon_23156: DrawableResource
get() = Drawable29.icon_23156
@ExperimentalResourceApi
internal val Res.drawable.icon_23157: DrawableResource
get() = Drawable29.icon_23157
@ExperimentalResourceApi
internal val Res.drawable.icon_23158: DrawableResource
get() = Drawable29.icon_23158
@ExperimentalResourceApi
internal val Res.drawable.icon_23159: DrawableResource
get() = Drawable29.icon_23159
@ExperimentalResourceApi
internal val Res.drawable.icon_2316: DrawableResource
get() = Drawable29.icon_2316
@ExperimentalResourceApi
internal val Res.drawable.icon_23160: DrawableResource
get() = Drawable29.icon_23160
@ExperimentalResourceApi
internal val Res.drawable.icon_23161: DrawableResource
get() = Drawable29.icon_23161
@ExperimentalResourceApi
internal val Res.drawable.icon_23162: DrawableResource
get() = Drawable29.icon_23162
@ExperimentalResourceApi
internal val Res.drawable.icon_23163: DrawableResource
get() = Drawable29.icon_23163
@ExperimentalResourceApi
internal val Res.drawable.icon_23164: DrawableResource
get() = Drawable29.icon_23164
@ExperimentalResourceApi
internal val Res.drawable.icon_23165: DrawableResource
get() = Drawable29.icon_23165
@ExperimentalResourceApi
internal val Res.drawable.icon_23166: DrawableResource
get() = Drawable29.icon_23166
@ExperimentalResourceApi
internal val Res.drawable.icon_23167: DrawableResource
get() = Drawable29.icon_23167
@ExperimentalResourceApi
internal val Res.drawable.icon_23168: DrawableResource
get() = Drawable29.icon_23168
@ExperimentalResourceApi
internal val Res.drawable.icon_23169: DrawableResource
get() = Drawable29.icon_23169
@ExperimentalResourceApi
internal val Res.drawable.icon_2317: DrawableResource
get() = Drawable29.icon_2317
@ExperimentalResourceApi
internal val Res.drawable.icon_23170: DrawableResource
get() = Drawable29.icon_23170
@ExperimentalResourceApi
internal val Res.drawable.icon_23171: DrawableResource
get() = Drawable29.icon_23171
@ExperimentalResourceApi
internal val Res.drawable.icon_23172: DrawableResource
get() = Drawable29.icon_23172
@ExperimentalResourceApi
internal val Res.drawable.icon_23173: DrawableResource
get() = Drawable29.icon_23173
@ExperimentalResourceApi
internal val Res.drawable.icon_23174: DrawableResource
get() = Drawable29.icon_23174
@ExperimentalResourceApi
internal val Res.drawable.icon_23175: DrawableResource
get() = Drawable29.icon_23175
@ExperimentalResourceApi
internal val Res.drawable.icon_23176: DrawableResource
get() = Drawable29.icon_23176
@ExperimentalResourceApi
internal val Res.drawable.icon_23177: DrawableResource
get() = Drawable29.icon_23177
@ExperimentalResourceApi
internal val Res.drawable.icon_23178: DrawableResource
get() = Drawable29.icon_23178
@ExperimentalResourceApi
internal val Res.drawable.icon_23179: DrawableResource
get() = Drawable29.icon_23179
@ExperimentalResourceApi
internal val Res.drawable.icon_2318: DrawableResource
get() = Drawable29.icon_2318
@ExperimentalResourceApi
internal val Res.drawable.icon_23180: DrawableResource
get() = Drawable29.icon_23180
@ExperimentalResourceApi
internal val Res.drawable.icon_23181: DrawableResource
get() = Drawable29.icon_23181
@ExperimentalResourceApi
internal val Res.drawable.icon_23182: DrawableResource
get() = Drawable29.icon_23182
@ExperimentalResourceApi
internal val Res.drawable.icon_23183: DrawableResource
get() = Drawable29.icon_23183
@ExperimentalResourceApi
internal val Res.drawable.icon_23184: DrawableResource
get() = Drawable29.icon_23184
@ExperimentalResourceApi
internal val Res.drawable.icon_23185: DrawableResource
get() = Drawable29.icon_23185
@ExperimentalResourceApi
internal val Res.drawable.icon_23186: DrawableResource
get() = Drawable29.icon_23186
@ExperimentalResourceApi
internal val Res.drawable.icon_23187: DrawableResource
get() = Drawable29.icon_23187
@ExperimentalResourceApi
internal val Res.drawable.icon_23188: DrawableResource
get() = Drawable29.icon_23188
@ExperimentalResourceApi
internal val Res.drawable.icon_23189: DrawableResource
get() = Drawable29.icon_23189
@ExperimentalResourceApi
internal val Res.drawable.icon_2319: DrawableResource
get() = Drawable29.icon_2319
@ExperimentalResourceApi
internal val Res.drawable.icon_23190: DrawableResource
get() = Drawable29.icon_23190
@ExperimentalResourceApi
internal val Res.drawable.icon_23191: DrawableResource
get() = Drawable29.icon_23191
@ExperimentalResourceApi
internal val Res.drawable.icon_23192: DrawableResource
get() = Drawable29.icon_23192
@ExperimentalResourceApi
internal val Res.drawable.icon_23193: DrawableResource
get() = Drawable29.icon_23193
@ExperimentalResourceApi
internal val Res.drawable.icon_23194: DrawableResource
get() = Drawable29.icon_23194
@ExperimentalResourceApi
internal val Res.drawable.icon_23195: DrawableResource
get() = Drawable29.icon_23195
@ExperimentalResourceApi
internal val Res.drawable.icon_23196: DrawableResource
get() = Drawable29.icon_23196
@ExperimentalResourceApi
internal val Res.drawable.icon_23197: DrawableResource
get() = Drawable29.icon_23197
@ExperimentalResourceApi
internal val Res.drawable.icon_23198: DrawableResource
get() = Drawable29.icon_23198
@ExperimentalResourceApi
internal val Res.drawable.icon_23199: DrawableResource
get() = Drawable29.icon_23199
@ExperimentalResourceApi
internal val Res.drawable.icon_232: DrawableResource
get() = Drawable29.icon_232
@ExperimentalResourceApi
internal val Res.drawable.icon_2320: DrawableResource
get() = Drawable29.icon_2320
@ExperimentalResourceApi
internal val Res.drawable.icon_23200: DrawableResource
get() = Drawable29.icon_23200
@ExperimentalResourceApi
internal val Res.drawable.icon_23201: DrawableResource
get() = Drawable29.icon_23201
@ExperimentalResourceApi
internal val Res.drawable.icon_23202: DrawableResource
get() = Drawable29.icon_23202
@ExperimentalResourceApi
internal val Res.drawable.icon_23203: DrawableResource
get() = Drawable29.icon_23203
@ExperimentalResourceApi
internal val Res.drawable.icon_23204: DrawableResource
get() = Drawable29.icon_23204
@ExperimentalResourceApi
internal val Res.drawable.icon_23205: DrawableResource
get() = Drawable29.icon_23205
@ExperimentalResourceApi
internal val Res.drawable.icon_23206: DrawableResource
get() = Drawable29.icon_23206
@ExperimentalResourceApi
internal val Res.drawable.icon_23207: DrawableResource
get() = Drawable29.icon_23207
@ExperimentalResourceApi
internal val Res.drawable.icon_23208: DrawableResource
get() = Drawable29.icon_23208
@ExperimentalResourceApi
internal val Res.drawable.icon_23209: DrawableResource
get() = Drawable29.icon_23209
@ExperimentalResourceApi
internal val Res.drawable.icon_2321: DrawableResource
get() = Drawable29.icon_2321
@ExperimentalResourceApi
internal val Res.drawable.icon_23210: DrawableResource
get() = Drawable29.icon_23210
@ExperimentalResourceApi
internal val Res.drawable.icon_23211: DrawableResource
get() = Drawable29.icon_23211
@ExperimentalResourceApi
internal val Res.drawable.icon_23212: DrawableResource
get() = Drawable29.icon_23212
@ExperimentalResourceApi
internal val Res.drawable.icon_23213: DrawableResource
get() = Drawable29.icon_23213
@ExperimentalResourceApi
internal val Res.drawable.icon_23214: DrawableResource
get() = Drawable29.icon_23214
@ExperimentalResourceApi
internal val Res.drawable.icon_23215: DrawableResource
get() = Drawable29.icon_23215
@ExperimentalResourceApi
internal val Res.drawable.icon_23216: DrawableResource
get() = Drawable29.icon_23216
@ExperimentalResourceApi
internal val Res.drawable.icon_23217: DrawableResource
get() = Drawable29.icon_23217
@ExperimentalResourceApi
internal val Res.drawable.icon_23218: DrawableResource
get() = Drawable29.icon_23218
@ExperimentalResourceApi
internal val Res.drawable.icon_23219: DrawableResource
get() = Drawable29.icon_23219
@ExperimentalResourceApi
internal val Res.drawable.icon_2322: DrawableResource
get() = Drawable29.icon_2322
@ExperimentalResourceApi
internal val Res.drawable.icon_23220: DrawableResource
get() = Drawable29.icon_23220
@ExperimentalResourceApi
internal val Res.drawable.icon_23221: DrawableResource
get() = Drawable29.icon_23221
@ExperimentalResourceApi
internal val Res.drawable.icon_23222: DrawableResource
get() = Drawable29.icon_23222
@ExperimentalResourceApi
internal val Res.drawable.icon_23223: DrawableResource
get() = Drawable29.icon_23223
@ExperimentalResourceApi
internal val Res.drawable.icon_23224: DrawableResource
get() = Drawable29.icon_23224
@ExperimentalResourceApi
internal val Res.drawable.icon_23225: DrawableResource
get() = Drawable29.icon_23225
@ExperimentalResourceApi
internal val Res.drawable.icon_23226: DrawableResource
get() = Drawable29.icon_23226
@ExperimentalResourceApi
internal val Res.drawable.icon_23227: DrawableResource
get() = Drawable29.icon_23227
@ExperimentalResourceApi
internal val Res.drawable.icon_23228: DrawableResource
get() = Drawable29.icon_23228
@ExperimentalResourceApi
internal val Res.drawable.icon_23229: DrawableResource
get() = Drawable29.icon_23229
@ExperimentalResourceApi
internal val Res.drawable.icon_2323: DrawableResource
get() = Drawable29.icon_2323
@ExperimentalResourceApi
internal val Res.drawable.icon_23230: DrawableResource
get() = Drawable29.icon_23230
@ExperimentalResourceApi
internal val Res.drawable.icon_23231: DrawableResource
get() = Drawable29.icon_23231
@ExperimentalResourceApi
internal val Res.drawable.icon_23232: DrawableResource
get() = Drawable29.icon_23232
@ExperimentalResourceApi
internal val Res.drawable.icon_23233: DrawableResource
get() = Drawable29.icon_23233
@ExperimentalResourceApi
internal val Res.drawable.icon_23234: DrawableResource
get() = Drawable29.icon_23234
@ExperimentalResourceApi
internal val Res.drawable.icon_23235: DrawableResource
get() = Drawable29.icon_23235
@ExperimentalResourceApi
internal val Res.drawable.icon_23236: DrawableResource
get() = Drawable29.icon_23236
@ExperimentalResourceApi
internal val Res.drawable.icon_23237: DrawableResource
get() = Drawable29.icon_23237
@ExperimentalResourceApi
internal val Res.drawable.icon_23238: DrawableResource
get() = Drawable29.icon_23238
@ExperimentalResourceApi
internal val Res.drawable.icon_23239: DrawableResource
get() = Drawable29.icon_23239
@ExperimentalResourceApi
internal val Res.drawable.icon_2324: DrawableResource
get() = Drawable29.icon_2324
@ExperimentalResourceApi
internal val Res.drawable.icon_23240: DrawableResource
get() = Drawable29.icon_23240
@ExperimentalResourceApi
internal val Res.drawable.icon_23241: DrawableResource
get() = Drawable29.icon_23241
@ExperimentalResourceApi
internal val Res.drawable.icon_23242: DrawableResource
get() = Drawable29.icon_23242
@ExperimentalResourceApi
internal val Res.drawable.icon_23243: DrawableResource
get() = Drawable29.icon_23243
@ExperimentalResourceApi
internal val Res.drawable.icon_23244: DrawableResource
get() = Drawable29.icon_23244
@ExperimentalResourceApi
internal val Res.drawable.icon_23245: DrawableResource
get() = Drawable29.icon_23245
@ExperimentalResourceApi
internal val Res.drawable.icon_23246: DrawableResource
get() = Drawable29.icon_23246
@ExperimentalResourceApi
internal val Res.drawable.icon_23247: DrawableResource
get() = Drawable29.icon_23247
@ExperimentalResourceApi
internal val Res.drawable.icon_23248: DrawableResource
get() = Drawable29.icon_23248
@ExperimentalResourceApi
internal val Res.drawable.icon_23249: DrawableResource
get() = Drawable29.icon_23249
@ExperimentalResourceApi
internal val Res.drawable.icon_2325: DrawableResource
get() = Drawable29.icon_2325
@ExperimentalResourceApi
internal val Res.drawable.icon_23250: DrawableResource
get() = Drawable29.icon_23250
@ExperimentalResourceApi
internal val Res.drawable.icon_23251: DrawableResource
get() = Drawable29.icon_23251
@ExperimentalResourceApi
internal val Res.drawable.icon_23252: DrawableResource
get() = Drawable29.icon_23252
@ExperimentalResourceApi
internal val Res.drawable.icon_23253: DrawableResource
get() = Drawable29.icon_23253
@ExperimentalResourceApi
internal val Res.drawable.icon_23254: DrawableResource
get() = Drawable29.icon_23254
@ExperimentalResourceApi
internal val Res.drawable.icon_23255: DrawableResource
get() = Drawable29.icon_23255
@ExperimentalResourceApi
internal val Res.drawable.icon_23256: DrawableResource
get() = Drawable29.icon_23256
@ExperimentalResourceApi
internal val Res.drawable.icon_23257: DrawableResource
get() = Drawable29.icon_23257
@ExperimentalResourceApi
internal val Res.drawable.icon_23258: DrawableResource
get() = Drawable29.icon_23258
@ExperimentalResourceApi
internal val Res.drawable.icon_23259: DrawableResource
get() = Drawable29.icon_23259
@ExperimentalResourceApi
internal val Res.drawable.icon_2326: DrawableResource
get() = Drawable29.icon_2326
@ExperimentalResourceApi
internal val Res.drawable.icon_23260: DrawableResource
get() = Drawable29.icon_23260
@ExperimentalResourceApi
internal val Res.drawable.icon_23261: DrawableResource
get() = Drawable29.icon_23261
@ExperimentalResourceApi
internal val Res.drawable.icon_23262: DrawableResource
get() = Drawable29.icon_23262
@ExperimentalResourceApi
internal val Res.drawable.icon_23263: DrawableResource
get() = Drawable29.icon_23263
@ExperimentalResourceApi
internal val Res.drawable.icon_23264: DrawableResource
get() = Drawable29.icon_23264
@ExperimentalResourceApi
internal val Res.drawable.icon_23265: DrawableResource
get() = Drawable29.icon_23265
@ExperimentalResourceApi
internal val Res.drawable.icon_23266: DrawableResource
get() = Drawable29.icon_23266
@ExperimentalResourceApi
internal val Res.drawable.icon_23267: DrawableResource
get() = Drawable29.icon_23267
@ExperimentalResourceApi
internal val Res.drawable.icon_23268: DrawableResource
get() = Drawable29.icon_23268
@ExperimentalResourceApi
internal val Res.drawable.icon_23269: DrawableResource
get() = Drawable29.icon_23269
@ExperimentalResourceApi
internal val Res.drawable.icon_2327: DrawableResource
get() = Drawable29.icon_2327
@ExperimentalResourceApi
internal val Res.drawable.icon_23270: DrawableResource
get() = Drawable29.icon_23270
@ExperimentalResourceApi
internal val Res.drawable.icon_23271: DrawableResource
get() = Drawable29.icon_23271
@ExperimentalResourceApi
internal val Res.drawable.icon_23272: DrawableResource
get() = Drawable29.icon_23272
@ExperimentalResourceApi
internal val Res.drawable.icon_23273: DrawableResource
get() = Drawable29.icon_23273
@ExperimentalResourceApi
internal val Res.drawable.icon_23274: DrawableResource
get() = Drawable29.icon_23274
@ExperimentalResourceApi
internal val Res.drawable.icon_23275: DrawableResource
get() = Drawable29.icon_23275
@ExperimentalResourceApi
internal val Res.drawable.icon_23276: DrawableResource
get() = Drawable29.icon_23276
@ExperimentalResourceApi
internal val Res.drawable.icon_23277: DrawableResource
get() = Drawable29.icon_23277
@ExperimentalResourceApi
internal val Res.drawable.icon_23278: DrawableResource
get() = Drawable29.icon_23278
@ExperimentalResourceApi
internal val Res.drawable.icon_23279: DrawableResource
get() = Drawable29.icon_23279
@ExperimentalResourceApi
internal val Res.drawable.icon_2328: DrawableResource
get() = Drawable29.icon_2328
@ExperimentalResourceApi
internal val Res.drawable.icon_23280: DrawableResource
get() = Drawable29.icon_23280
@ExperimentalResourceApi
internal val Res.drawable.icon_23281: DrawableResource
get() = Drawable29.icon_23281
@ExperimentalResourceApi
internal val Res.drawable.icon_23282: DrawableResource
get() = Drawable29.icon_23282
@ExperimentalResourceApi
internal val Res.drawable.icon_23283: DrawableResource
get() = Drawable29.icon_23283
@ExperimentalResourceApi
internal val Res.drawable.icon_23284: DrawableResource
get() = Drawable29.icon_23284
@ExperimentalResourceApi
internal val Res.drawable.icon_23285: DrawableResource
get() = Drawable29.icon_23285
@ExperimentalResourceApi
internal val Res.drawable.icon_23286: DrawableResource
get() = Drawable29.icon_23286
@ExperimentalResourceApi
internal val Res.drawable.icon_23287: DrawableResource
get() = Drawable29.icon_23287
@ExperimentalResourceApi
internal val Res.drawable.icon_23288: DrawableResource
get() = Drawable29.icon_23288
@ExperimentalResourceApi
internal val Res.drawable.icon_23289: DrawableResource
get() = Drawable29.icon_23289
@ExperimentalResourceApi
internal val Res.drawable.icon_2329: DrawableResource
get() = Drawable29.icon_2329
@ExperimentalResourceApi
internal val Res.drawable.icon_23290: DrawableResource
get() = Drawable29.icon_23290
@ExperimentalResourceApi
internal val Res.drawable.icon_23291: DrawableResource
get() = Drawable29.icon_23291
@ExperimentalResourceApi
internal val Res.drawable.icon_23292: DrawableResource
get() = Drawable29.icon_23292
@ExperimentalResourceApi
internal val Res.drawable.icon_23293: DrawableResource
get() = Drawable29.icon_23293
@ExperimentalResourceApi
internal val Res.drawable.icon_23294: DrawableResource
get() = Drawable29.icon_23294
@ExperimentalResourceApi
internal val Res.drawable.icon_23295: DrawableResource
get() = Drawable29.icon_23295
@ExperimentalResourceApi
internal val Res.drawable.icon_23296: DrawableResource
get() = Drawable29.icon_23296
@ExperimentalResourceApi
internal val Res.drawable.icon_23297: DrawableResource
get() = Drawable29.icon_23297
@ExperimentalResourceApi
internal val Res.drawable.icon_23298: DrawableResource
get() = Drawable29.icon_23298
@ExperimentalResourceApi
internal val Res.drawable.icon_23299: DrawableResource
get() = Drawable29.icon_23299
@ExperimentalResourceApi
internal val Res.drawable.icon_233: DrawableResource
get() = Drawable29.icon_233
@ExperimentalResourceApi
internal val Res.drawable.icon_2330: DrawableResource
get() = Drawable29.icon_2330
@ExperimentalResourceApi
internal val Res.drawable.icon_23300: DrawableResource
get() = Drawable29.icon_23300
@ExperimentalResourceApi
internal val Res.drawable.icon_23301: DrawableResource
get() = Drawable29.icon_23301
@ExperimentalResourceApi
internal val Res.drawable.icon_23302: DrawableResource
get() = Drawable29.icon_23302
@ExperimentalResourceApi
internal val Res.drawable.icon_23303: DrawableResource
get() = Drawable29.icon_23303
@ExperimentalResourceApi
internal val Res.drawable.icon_23304: DrawableResource
get() = Drawable29.icon_23304
@ExperimentalResourceApi
internal val Res.drawable.icon_23305: DrawableResource
get() = Drawable29.icon_23305
@ExperimentalResourceApi
internal val Res.drawable.icon_23306: DrawableResource
get() = Drawable29.icon_23306
@ExperimentalResourceApi
internal val Res.drawable.icon_23307: DrawableResource
get() = Drawable29.icon_23307
@ExperimentalResourceApi
internal val Res.drawable.icon_23308: DrawableResource
get() = Drawable29.icon_23308
@ExperimentalResourceApi
internal val Res.drawable.icon_23309: DrawableResource
get() = Drawable29.icon_23309
@ExperimentalResourceApi
internal val Res.drawable.icon_2331: DrawableResource
get() = Drawable29.icon_2331
@ExperimentalResourceApi
internal val Res.drawable.icon_23310: DrawableResource
get() = Drawable29.icon_23310
@ExperimentalResourceApi
internal val Res.drawable.icon_23311: DrawableResource
get() = Drawable29.icon_23311
@ExperimentalResourceApi
internal val Res.drawable.icon_23312: DrawableResource
get() = Drawable29.icon_23312
@ExperimentalResourceApi
internal val Res.drawable.icon_23313: DrawableResource
get() = Drawable29.icon_23313
@ExperimentalResourceApi
internal val Res.drawable.icon_23314: DrawableResource
get() = Drawable29.icon_23314
@ExperimentalResourceApi
internal val Res.drawable.icon_23315: DrawableResource
get() = Drawable29.icon_23315
@ExperimentalResourceApi
internal val Res.drawable.icon_23316: DrawableResource
get() = Drawable29.icon_23316
@ExperimentalResourceApi
internal val Res.drawable.icon_23317: DrawableResource
get() = Drawable29.icon_23317
@ExperimentalResourceApi
internal val Res.drawable.icon_23318: DrawableResource
get() = Drawable29.icon_23318
@ExperimentalResourceApi
internal val Res.drawable.icon_23319: DrawableResource
get() = Drawable29.icon_23319
@ExperimentalResourceApi
internal val Res.drawable.icon_2332: DrawableResource
get() = Drawable29.icon_2332
@ExperimentalResourceApi
internal val Res.drawable.icon_23320: DrawableResource
get() = Drawable29.icon_23320
@ExperimentalResourceApi
internal val Res.drawable.icon_23321: DrawableResource
get() = Drawable29.icon_23321
@ExperimentalResourceApi
internal val Res.drawable.icon_23322: DrawableResource
get() = Drawable29.icon_23322
@ExperimentalResourceApi
internal val Res.drawable.icon_23323: DrawableResource
get() = Drawable29.icon_23323
@ExperimentalResourceApi
internal val Res.drawable.icon_23324: DrawableResource
get() = Drawable29.icon_23324
@ExperimentalResourceApi
internal val Res.drawable.icon_23325: DrawableResource
get() = Drawable29.icon_23325
@ExperimentalResourceApi
internal val Res.drawable.icon_23326: DrawableResource
get() = Drawable29.icon_23326
@ExperimentalResourceApi
internal val Res.drawable.icon_23327: DrawableResource
get() = Drawable29.icon_23327
@ExperimentalResourceApi
internal val Res.drawable.icon_23328: DrawableResource
get() = Drawable29.icon_23328
@ExperimentalResourceApi
internal val Res.drawable.icon_23329: DrawableResource
get() = Drawable29.icon_23329
@ExperimentalResourceApi
internal val Res.drawable.icon_2333: DrawableResource
get() = Drawable29.icon_2333
@ExperimentalResourceApi
internal val Res.drawable.icon_23330: DrawableResource
get() = Drawable29.icon_23330
@ExperimentalResourceApi
internal val Res.drawable.icon_23331: DrawableResource
get() = Drawable29.icon_23331
@ExperimentalResourceApi
internal val Res.drawable.icon_23332: DrawableResource
get() = Drawable29.icon_23332
@ExperimentalResourceApi
internal val Res.drawable.icon_23333: DrawableResource
get() = Drawable29.icon_23333
@ExperimentalResourceApi
internal val Res.drawable.icon_23334: DrawableResource
get() = Drawable29.icon_23334
@ExperimentalResourceApi
internal val Res.drawable.icon_23335: DrawableResource
get() = Drawable29.icon_23335
@ExperimentalResourceApi
internal val Res.drawable.icon_23336: DrawableResource
get() = Drawable29.icon_23336
@ExperimentalResourceApi
internal val Res.drawable.icon_23337: DrawableResource
get() = Drawable29.icon_23337
@ExperimentalResourceApi
internal val Res.drawable.icon_23338: DrawableResource
get() = Drawable29.icon_23338
@ExperimentalResourceApi
internal val Res.drawable.icon_23339: DrawableResource
get() = Drawable29.icon_23339
@ExperimentalResourceApi
internal val Res.drawable.icon_2334: DrawableResource
get() = Drawable29.icon_2334
@ExperimentalResourceApi
internal val Res.drawable.icon_23340: DrawableResource
get() = Drawable29.icon_23340
@ExperimentalResourceApi
internal val Res.drawable.icon_23341: DrawableResource
get() = Drawable29.icon_23341
@ExperimentalResourceApi
internal val Res.drawable.icon_23342: DrawableResource
get() = Drawable29.icon_23342
@ExperimentalResourceApi
internal val Res.drawable.icon_23343: DrawableResource
get() = Drawable29.icon_23343
@ExperimentalResourceApi
internal val Res.drawable.icon_23344: DrawableResource
get() = Drawable29.icon_23344
@ExperimentalResourceApi
internal val Res.drawable.icon_23345: DrawableResource
get() = Drawable29.icon_23345
@ExperimentalResourceApi
internal val Res.drawable.icon_23346: DrawableResource
get() = Drawable29.icon_23346
@ExperimentalResourceApi
internal val Res.drawable.icon_23347: DrawableResource
get() = Drawable29.icon_23347
@ExperimentalResourceApi
internal val Res.drawable.icon_23348: DrawableResource
get() = Drawable29.icon_23348
@ExperimentalResourceApi
internal val Res.drawable.icon_23349: DrawableResource
get() = Drawable29.icon_23349
@ExperimentalResourceApi
internal val Res.drawable.icon_2335: DrawableResource
get() = Drawable29.icon_2335
@ExperimentalResourceApi
internal val Res.drawable.icon_23350: DrawableResource
get() = Drawable29.icon_23350
@ExperimentalResourceApi
internal val Res.drawable.icon_23351: DrawableResource
get() = Drawable29.icon_23351
@ExperimentalResourceApi
internal val Res.drawable.icon_23352: DrawableResource
get() = Drawable29.icon_23352
@ExperimentalResourceApi
internal val Res.drawable.icon_23353: DrawableResource
get() = Drawable29.icon_23353
@ExperimentalResourceApi
internal val Res.drawable.icon_23354: DrawableResource
get() = Drawable29.icon_23354
@ExperimentalResourceApi
internal val Res.drawable.icon_23355: DrawableResource
get() = Drawable29.icon_23355
@ExperimentalResourceApi
internal val Res.drawable.icon_23356: DrawableResource
get() = Drawable29.icon_23356
@ExperimentalResourceApi
internal val Res.drawable.icon_23357: DrawableResource
get() = Drawable29.icon_23357
@ExperimentalResourceApi
internal val Res.drawable.icon_23358: DrawableResource
get() = Drawable29.icon_23358
@ExperimentalResourceApi
internal val Res.drawable.icon_23359: DrawableResource
get() = Drawable29.icon_23359
@ExperimentalResourceApi
internal val Res.drawable.icon_2336: DrawableResource
get() = Drawable29.icon_2336
@ExperimentalResourceApi
internal val Res.drawable.icon_23360: DrawableResource
get() = Drawable29.icon_23360
@ExperimentalResourceApi
internal val Res.drawable.icon_23361: DrawableResource
get() = Drawable29.icon_23361
@ExperimentalResourceApi
internal val Res.drawable.icon_23362: DrawableResource
get() = Drawable29.icon_23362
@ExperimentalResourceApi
internal val Res.drawable.icon_23363: DrawableResource
get() = Drawable29.icon_23363
@ExperimentalResourceApi
internal val Res.drawable.icon_23364: DrawableResource
get() = Drawable29.icon_23364
@ExperimentalResourceApi
internal val Res.drawable.icon_23365: DrawableResource
get() = Drawable29.icon_23365
@ExperimentalResourceApi
internal val Res.drawable.icon_23366: DrawableResource
get() = Drawable29.icon_23366
@ExperimentalResourceApi
internal val Res.drawable.icon_23367: DrawableResource
get() = Drawable29.icon_23367
@ExperimentalResourceApi
internal val Res.drawable.icon_23368: DrawableResource
get() = Drawable29.icon_23368
@ExperimentalResourceApi
internal val Res.drawable.icon_23369: DrawableResource
get() = Drawable29.icon_23369
@ExperimentalResourceApi
internal val Res.drawable.icon_2337: DrawableResource
get() = Drawable29.icon_2337
@ExperimentalResourceApi
internal val Res.drawable.icon_23370: DrawableResource
get() = Drawable29.icon_23370
@ExperimentalResourceApi
internal val Res.drawable.icon_23371: DrawableResource
get() = Drawable29.icon_23371
@ExperimentalResourceApi
internal val Res.drawable.icon_23372: DrawableResource
get() = Drawable29.icon_23372
@ExperimentalResourceApi
internal val Res.drawable.icon_23373: DrawableResource
get() = Drawable29.icon_23373
@ExperimentalResourceApi
internal val Res.drawable.icon_23374: DrawableResource
get() = Drawable29.icon_23374
@ExperimentalResourceApi
internal val Res.drawable.icon_23375: DrawableResource
get() = Drawable29.icon_23375
@ExperimentalResourceApi
internal val Res.drawable.icon_23376: DrawableResource
get() = Drawable29.icon_23376
@ExperimentalResourceApi
internal val Res.drawable.icon_23377: DrawableResource
get() = Drawable29.icon_23377
@ExperimentalResourceApi
internal val Res.drawable.icon_23378: DrawableResource
get() = Drawable29.icon_23378
@ExperimentalResourceApi
internal val Res.drawable.icon_23379: DrawableResource
get() = Drawable29.icon_23379
@ExperimentalResourceApi
internal val Res.drawable.icon_2338: DrawableResource
get() = Drawable29.icon_2338
@ExperimentalResourceApi
internal val Res.drawable.icon_23380: DrawableResource
get() = Drawable29.icon_23380
@ExperimentalResourceApi
internal val Res.drawable.icon_23381: DrawableResource
get() = Drawable29.icon_23381
@ExperimentalResourceApi
internal val Res.drawable.icon_23382: DrawableResource
get() = Drawable29.icon_23382
@ExperimentalResourceApi
internal val Res.drawable.icon_23383: DrawableResource
get() = Drawable29.icon_23383
@ExperimentalResourceApi
internal val Res.drawable.icon_23384: DrawableResource
get() = Drawable29.icon_23384
@ExperimentalResourceApi
internal val Res.drawable.icon_23385: DrawableResource
get() = Drawable29.icon_23385
@ExperimentalResourceApi
internal val Res.drawable.icon_23386: DrawableResource
get() = Drawable29.icon_23386
@ExperimentalResourceApi
internal val Res.drawable.icon_23387: DrawableResource
get() = Drawable29.icon_23387
@ExperimentalResourceApi
internal val Res.drawable.icon_23388: DrawableResource
get() = Drawable29.icon_23388
@ExperimentalResourceApi
internal val Res.drawable.icon_23389: DrawableResource
get() = Drawable29.icon_23389
@ExperimentalResourceApi
internal val Res.drawable.icon_2339: DrawableResource
get() = Drawable29.icon_2339
@ExperimentalResourceApi
internal val Res.drawable.icon_23390: DrawableResource
get() = Drawable29.icon_23390
@ExperimentalResourceApi
internal val Res.drawable.icon_23391: DrawableResource
get() = Drawable29.icon_23391
@ExperimentalResourceApi
internal val Res.drawable.icon_23392: DrawableResource
get() = Drawable29.icon_23392
@ExperimentalResourceApi
internal val Res.drawable.icon_23393: DrawableResource
get() = Drawable29.icon_23393
@ExperimentalResourceApi
internal val Res.drawable.icon_23394: DrawableResource
get() = Drawable29.icon_23394
@ExperimentalResourceApi
internal val Res.drawable.icon_23395: DrawableResource
get() = Drawable29.icon_23395
@ExperimentalResourceApi
internal val Res.drawable.icon_23396: DrawableResource
get() = Drawable29.icon_23396
@ExperimentalResourceApi
internal val Res.drawable.icon_23397: DrawableResource
get() = Drawable29.icon_23397
@ExperimentalResourceApi
internal val Res.drawable.icon_23398: DrawableResource
get() = Drawable29.icon_23398
@ExperimentalResourceApi
internal val Res.drawable.icon_23399: DrawableResource
get() = Drawable29.icon_23399
@ExperimentalResourceApi
internal val Res.drawable.icon_234: DrawableResource
get() = Drawable29.icon_234
@ExperimentalResourceApi
internal val Res.drawable.icon_2340: DrawableResource
get() = Drawable29.icon_2340
@ExperimentalResourceApi
internal val Res.drawable.icon_23400: DrawableResource
get() = Drawable29.icon_23400
@ExperimentalResourceApi
internal val Res.drawable.icon_23401: DrawableResource
get() = Drawable29.icon_23401
@ExperimentalResourceApi
internal val Res.drawable.icon_23402: DrawableResource
get() = Drawable29.icon_23402
@ExperimentalResourceApi
internal val Res.drawable.icon_23403: DrawableResource
get() = Drawable29.icon_23403
@ExperimentalResourceApi
internal val Res.drawable.icon_23404: DrawableResource
get() = Drawable29.icon_23404
@ExperimentalResourceApi
internal val Res.drawable.icon_23405: DrawableResource
get() = Drawable29.icon_23405
@ExperimentalResourceApi
internal val Res.drawable.icon_23406: DrawableResource
get() = Drawable29.icon_23406
@ExperimentalResourceApi
internal val Res.drawable.icon_23407: DrawableResource
get() = Drawable29.icon_23407
@ExperimentalResourceApi
internal val Res.drawable.icon_23408: DrawableResource
get() = Drawable29.icon_23408
@ExperimentalResourceApi
internal val Res.drawable.icon_23409: DrawableResource
get() = Drawable29.icon_23409
@ExperimentalResourceApi
internal val Res.drawable.icon_2341: DrawableResource
get() = Drawable29.icon_2341
@ExperimentalResourceApi
internal val Res.drawable.icon_23410: DrawableResource
get() = Drawable29.icon_23410
@ExperimentalResourceApi
internal val Res.drawable.icon_23411: DrawableResource
get() = Drawable29.icon_23411
@ExperimentalResourceApi
internal val Res.drawable.icon_23412: DrawableResource
get() = Drawable29.icon_23412
@ExperimentalResourceApi
internal val Res.drawable.icon_23413: DrawableResource
get() = Drawable29.icon_23413
@ExperimentalResourceApi
internal val Res.drawable.icon_23414: DrawableResource
get() = Drawable29.icon_23414
@ExperimentalResourceApi
internal val Res.drawable.icon_23415: DrawableResource
get() = Drawable29.icon_23415
@ExperimentalResourceApi
internal val Res.drawable.icon_23416: DrawableResource
get() = Drawable29.icon_23416
@ExperimentalResourceApi
internal val Res.drawable.icon_23417: DrawableResource
get() = Drawable29.icon_23417
@ExperimentalResourceApi
internal val Res.drawable.icon_23418: DrawableResource
get() = Drawable29.icon_23418
@ExperimentalResourceApi
internal val Res.drawable.icon_23419: DrawableResource
get() = Drawable29.icon_23419
@ExperimentalResourceApi
internal val Res.drawable.icon_2342: DrawableResource
get() = Drawable29.icon_2342
@ExperimentalResourceApi
internal val Res.drawable.icon_23420: DrawableResource
get() = Drawable29.icon_23420
@ExperimentalResourceApi
internal val Res.drawable.icon_23421: DrawableResource
get() = Drawable29.icon_23421
@ExperimentalResourceApi
internal val Res.drawable.icon_23422: DrawableResource
get() = Drawable29.icon_23422
@ExperimentalResourceApi
internal val Res.drawable.icon_23423: DrawableResource
get() = Drawable29.icon_23423
@ExperimentalResourceApi
internal val Res.drawable.icon_23424: DrawableResource
get() = Drawable29.icon_23424
@ExperimentalResourceApi
internal val Res.drawable.icon_23425: DrawableResource
get() = Drawable29.icon_23425
@ExperimentalResourceApi
internal val Res.drawable.icon_23426: DrawableResource
get() = Drawable29.icon_23426
@ExperimentalResourceApi
internal val Res.drawable.icon_23427: DrawableResource
get() = Drawable29.icon_23427
@ExperimentalResourceApi
internal val Res.drawable.icon_23428: DrawableResource
get() = Drawable29.icon_23428
@ExperimentalResourceApi
internal val Res.drawable.icon_23429: DrawableResource
get() = Drawable29.icon_23429
@ExperimentalResourceApi
internal val Res.drawable.icon_2343: DrawableResource
get() = Drawable29.icon_2343
@ExperimentalResourceApi
internal val Res.drawable.icon_23430: DrawableResource
get() = Drawable29.icon_23430
@ExperimentalResourceApi
internal val Res.drawable.icon_23431: DrawableResource
get() = Drawable29.icon_23431
@ExperimentalResourceApi
internal val Res.drawable.icon_23432: DrawableResource
get() = Drawable29.icon_23432
@ExperimentalResourceApi
internal val Res.drawable.icon_23433: DrawableResource
get() = Drawable29.icon_23433
@ExperimentalResourceApi
internal val Res.drawable.icon_23434: DrawableResource
get() = Drawable29.icon_23434
@ExperimentalResourceApi
internal val Res.drawable.icon_23435: DrawableResource
get() = Drawable29.icon_23435
@ExperimentalResourceApi
internal val Res.drawable.icon_23436: DrawableResource
get() = Drawable29.icon_23436
@ExperimentalResourceApi
internal val Res.drawable.icon_23437: DrawableResource
get() = Drawable29.icon_23437
@ExperimentalResourceApi
internal val Res.drawable.icon_23438: DrawableResource
get() = Drawable29.icon_23438
@ExperimentalResourceApi
internal val Res.drawable.icon_23439: DrawableResource
get() = Drawable29.icon_23439
@ExperimentalResourceApi
internal val Res.drawable.icon_2344: DrawableResource
get() = Drawable29.icon_2344
@ExperimentalResourceApi
internal val Res.drawable.icon_23440: DrawableResource
get() = Drawable29.icon_23440
@ExperimentalResourceApi
internal val Res.drawable.icon_23441: DrawableResource
get() = Drawable29.icon_23441
@ExperimentalResourceApi
internal val Res.drawable.icon_23442: DrawableResource
get() = Drawable29.icon_23442
@ExperimentalResourceApi
internal val Res.drawable.icon_23443: DrawableResource
get() = Drawable29.icon_23443
@ExperimentalResourceApi
internal val Res.drawable.icon_23444: DrawableResource
get() = Drawable29.icon_23444
@ExperimentalResourceApi
internal val Res.drawable.icon_23445: DrawableResource
get() = Drawable29.icon_23445
@ExperimentalResourceApi
internal val Res.drawable.icon_23446: DrawableResource
get() = Drawable29.icon_23446
@ExperimentalResourceApi
internal val Res.drawable.icon_23447: DrawableResource
get() = Drawable29.icon_23447
@ExperimentalResourceApi
internal val Res.drawable.icon_23448: DrawableResource
get() = Drawable29.icon_23448
@ExperimentalResourceApi
internal val Res.drawable.icon_23449: DrawableResource
get() = Drawable29.icon_23449
@ExperimentalResourceApi
internal val Res.drawable.icon_2345: DrawableResource
get() = Drawable29.icon_2345
@ExperimentalResourceApi
internal val Res.drawable.icon_23450: DrawableResource
get() = Drawable29.icon_23450
@ExperimentalResourceApi
internal val Res.drawable.icon_23451: DrawableResource
get() = Drawable29.icon_23451
@ExperimentalResourceApi
internal val Res.drawable.icon_23452: DrawableResource
get() = Drawable29.icon_23452
@ExperimentalResourceApi
internal val Res.drawable.icon_23453: DrawableResource
get() = Drawable29.icon_23453
@ExperimentalResourceApi
internal val Res.drawable.icon_23454: DrawableResource
get() = Drawable29.icon_23454
@ExperimentalResourceApi
internal val Res.drawable.icon_23455: DrawableResource
get() = Drawable29.icon_23455
@ExperimentalResourceApi
internal val Res.drawable.icon_23456: DrawableResource
get() = Drawable29.icon_23456
@ExperimentalResourceApi
internal val Res.drawable.icon_23457: DrawableResource
get() = Drawable29.icon_23457
@ExperimentalResourceApi
internal val Res.drawable.icon_23458: DrawableResource
get() = Drawable29.icon_23458
@ExperimentalResourceApi
internal val Res.drawable.icon_23459: DrawableResource
get() = Drawable29.icon_23459
@ExperimentalResourceApi
internal val Res.drawable.icon_2346: DrawableResource
get() = Drawable29.icon_2346
@ExperimentalResourceApi
internal val Res.drawable.icon_23460: DrawableResource
get() = Drawable29.icon_23460
@ExperimentalResourceApi
internal val Res.drawable.icon_23461: DrawableResource
get() = Drawable29.icon_23461
@ExperimentalResourceApi
internal val Res.drawable.icon_23462: DrawableResource
get() = Drawable29.icon_23462
@ExperimentalResourceApi
internal val Res.drawable.icon_23463: DrawableResource
get() = Drawable29.icon_23463
@ExperimentalResourceApi
internal val Res.drawable.icon_23464: DrawableResource
get() = Drawable29.icon_23464
@ExperimentalResourceApi
internal val Res.drawable.icon_23465: DrawableResource
get() = Drawable29.icon_23465
@ExperimentalResourceApi
internal val Res.drawable.icon_23466: DrawableResource
get() = Drawable29.icon_23466
@ExperimentalResourceApi
internal val Res.drawable.icon_23467: DrawableResource
get() = Drawable29.icon_23467
@ExperimentalResourceApi
internal val Res.drawable.icon_23468: DrawableResource
get() = Drawable29.icon_23468
@ExperimentalResourceApi
internal val Res.drawable.icon_23469: DrawableResource
get() = Drawable29.icon_23469
@ExperimentalResourceApi
internal val Res.drawable.icon_2347: DrawableResource
get() = Drawable29.icon_2347
@ExperimentalResourceApi
internal val Res.drawable.icon_23470: DrawableResource
get() = Drawable29.icon_23470
@ExperimentalResourceApi
internal val Res.drawable.icon_23471: DrawableResource
get() = Drawable29.icon_23471
@ExperimentalResourceApi
internal val Res.drawable.icon_23472: DrawableResource
get() = Drawable29.icon_23472
@ExperimentalResourceApi
internal val Res.drawable.icon_23473: DrawableResource
get() = Drawable29.icon_23473
@ExperimentalResourceApi
internal val Res.drawable.icon_23474: DrawableResource
get() = Drawable29.icon_23474
@ExperimentalResourceApi
internal val Res.drawable.icon_23475: DrawableResource
get() = Drawable29.icon_23475
@ExperimentalResourceApi
internal val Res.drawable.icon_23476: DrawableResource
get() = Drawable29.icon_23476
@ExperimentalResourceApi
internal val Res.drawable.icon_23477: DrawableResource
get() = Drawable29.icon_23477
@ExperimentalResourceApi
internal val Res.drawable.icon_23478: DrawableResource
get() = Drawable29.icon_23478
@ExperimentalResourceApi
internal val Res.drawable.icon_23479: DrawableResource
get() = Drawable29.icon_23479
@ExperimentalResourceApi
internal val Res.drawable.icon_2348: DrawableResource
get() = Drawable29.icon_2348
@ExperimentalResourceApi
internal val Res.drawable.icon_23480: DrawableResource
get() = Drawable29.icon_23480
@ExperimentalResourceApi
internal val Res.drawable.icon_23481: DrawableResource
get() = Drawable29.icon_23481
@ExperimentalResourceApi
internal val Res.drawable.icon_23482: DrawableResource
get() = Drawable29.icon_23482
@ExperimentalResourceApi
internal val Res.drawable.icon_23483: DrawableResource
get() = Drawable29.icon_23483
@ExperimentalResourceApi
internal val Res.drawable.icon_23484: DrawableResource
get() = Drawable29.icon_23484
@ExperimentalResourceApi
internal val Res.drawable.icon_23485: DrawableResource
get() = Drawable29.icon_23485
@ExperimentalResourceApi
internal val Res.drawable.icon_23486: DrawableResource
get() = Drawable29.icon_23486
@ExperimentalResourceApi
internal val Res.drawable.icon_23487: DrawableResource
get() = Drawable29.icon_23487
@ExperimentalResourceApi
internal val Res.drawable.icon_23488: DrawableResource
get() = Drawable29.icon_23488
@ExperimentalResourceApi
internal val Res.drawable.icon_23489: DrawableResource
get() = Drawable29.icon_23489
@ExperimentalResourceApi
internal val Res.drawable.icon_2349: DrawableResource
get() = Drawable29.icon_2349
@ExperimentalResourceApi
internal val Res.drawable.icon_23490: DrawableResource
get() = Drawable29.icon_23490
@ExperimentalResourceApi
internal val Res.drawable.icon_23491: DrawableResource
get() = Drawable29.icon_23491
@ExperimentalResourceApi
internal val Res.drawable.icon_23492: DrawableResource
get() = Drawable29.icon_23492
@ExperimentalResourceApi
internal val Res.drawable.icon_23493: DrawableResource
get() = Drawable29.icon_23493
@ExperimentalResourceApi
internal val Res.drawable.icon_23494: DrawableResource
get() = Drawable29.icon_23494
@ExperimentalResourceApi
internal val Res.drawable.icon_23495: DrawableResource
get() = Drawable29.icon_23495
@ExperimentalResourceApi
internal val Res.drawable.icon_23496: DrawableResource
get() = Drawable29.icon_23496
@ExperimentalResourceApi
internal val Res.drawable.icon_23497: DrawableResource
get() = Drawable29.icon_23497
| 1,251
|
Kotlin
|
1038
| 14,419
|
f833fa9945f0420fd9c0c0a5a03d45f196d231ec
| 185,046
|
compose-multiplatform
|
Apache License 2.0
|
godot-kotlin/src/nativeGen/kotlin/godot/Skeleton.kt
|
raniejade
| 166,207,411
| false
| null |
// DO NOT EDIT, THIS FILE IS GENERATED FROM api.json
package godot
import gdnative.godot_method_bind
import gdnative.godot_string
import godot.core.Allocator
import godot.core.Godot
import godot.core.RID
import godot.core.Transform
import godot.core.Variant
import godot.core.VariantArray
import kotlin.Boolean
import kotlin.Float
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.reflect.KCallable
import kotlinx.cinterop.BooleanVar
import kotlinx.cinterop.CFunction
import kotlinx.cinterop.COpaquePointer
import kotlinx.cinterop.COpaquePointerVar
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.DoubleVar
import kotlinx.cinterop.IntVar
import kotlinx.cinterop.alloc
import kotlinx.cinterop.cstr
import kotlinx.cinterop.invoke
import kotlinx.cinterop.pointed
import kotlinx.cinterop.ptr
import kotlinx.cinterop.readValue
import kotlinx.cinterop.reinterpret
import kotlinx.cinterop.value
open class Skeleton(
@Suppress("UNUSED_PARAMETER")
__ignore: String?
) : Spatial(null) {
constructor() : this(null) {
if (Godot.shouldInitHandle()) {
_handle = __new()
}
}
fun addBone(name: String) {
val self = this
return Allocator.allocationScope {
__method_bind.addBone.call(self._handle, listOf(name), null)
}
}
fun bindChildNodeToBone(boneIdx: Int, node: Node) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(node)
__method_bind.bindChildNodeToBone.call(self._handle, _args, null)
}
}
fun clearBones() {
val self = this
return Allocator.allocationScope {
__method_bind.clearBones.call(self._handle, emptyList(), null)
}
}
fun findBone(name: String): Int {
val self = this
return Allocator.allocationScope {
val _ret = alloc<IntVar>()
val _retPtr = _ret.ptr
__method_bind.findBone.call(self._handle, listOf(name), _retPtr)
_ret.value
}
}
fun getBoneCount(): Int {
val self = this
return Allocator.allocationScope {
val _ret = alloc<IntVar>()
val _retPtr = _ret.ptr
__method_bind.getBoneCount.call(self._handle, emptyList(), _retPtr)
_ret.value
}
}
fun getBoneCustomPose(boneIdx: Int): Transform {
val self = this
return Allocator.allocationScope {
val _ret = Transform()
val _retPtr = _ret._value.ptr
__method_bind.getBoneCustomPose.call(self._handle, listOf(boneIdx), _retPtr)
_ret._value = _retPtr.pointed.readValue()
_ret
}
}
fun getBoneGlobalPose(boneIdx: Int): Transform {
val self = this
return Allocator.allocationScope {
val _ret = Transform()
val _retPtr = _ret._value.ptr
__method_bind.getBoneGlobalPose.call(self._handle, listOf(boneIdx), _retPtr)
_ret._value = _retPtr.pointed.readValue()
_ret
}
}
fun getBoneName(boneIdx: Int): String {
val self = this
return Allocator.allocationScope {
val _ret = alloc<godot_string>()
val _retPtr = _ret.ptr
checkNotNull(Godot.gdnative.godot_string_new)(_retPtr)
__method_bind.getBoneName.call(self._handle, listOf(boneIdx), _retPtr)
_ret.toKStringAndDestroy()
}
}
fun getBoneParent(boneIdx: Int): Int {
val self = this
return Allocator.allocationScope {
val _ret = alloc<IntVar>()
val _retPtr = _ret.ptr
__method_bind.getBoneParent.call(self._handle, listOf(boneIdx), _retPtr)
_ret.value
}
}
fun getBonePose(boneIdx: Int): Transform {
val self = this
return Allocator.allocationScope {
val _ret = Transform()
val _retPtr = _ret._value.ptr
__method_bind.getBonePose.call(self._handle, listOf(boneIdx), _retPtr)
_ret._value = _retPtr.pointed.readValue()
_ret
}
}
fun getBoneRest(boneIdx: Int): Transform {
val self = this
return Allocator.allocationScope {
val _ret = Transform()
val _retPtr = _ret._value.ptr
__method_bind.getBoneRest.call(self._handle, listOf(boneIdx), _retPtr)
_ret._value = _retPtr.pointed.readValue()
_ret
}
}
fun getBoundChildNodesToBone(boneIdx: Int): VariantArray {
val self = this
return Allocator.allocationScope {
val _ret = VariantArray()
val _retPtr = _ret._value.ptr
__method_bind.getBoundChildNodesToBone.call(self._handle, listOf(boneIdx), _retPtr)
_ret._value = _retPtr.pointed.readValue()
_ret
}
}
fun isBoneRestDisabled(boneIdx: Int): Boolean {
val self = this
return Allocator.allocationScope {
val _ret = alloc<BooleanVar>()
val _retPtr = _ret.ptr
__method_bind.isBoneRestDisabled.call(self._handle, listOf(boneIdx), _retPtr)
_ret.value
}
}
fun localizeRests() {
val self = this
return Allocator.allocationScope {
__method_bind.localizeRests.call(self._handle, emptyList(), null)
}
}
fun physicalBonesAddCollisionException(exception: RID) {
val self = this
return Allocator.allocationScope {
__method_bind.physicalBonesAddCollisionException.call(self._handle, listOf(exception), null)
}
}
fun physicalBonesRemoveCollisionException(exception: RID) {
val self = this
return Allocator.allocationScope {
__method_bind.physicalBonesRemoveCollisionException.call(self._handle, listOf(exception),
null)
}
}
fun physicalBonesStartSimulation(bones: VariantArray) {
val self = this
return Allocator.allocationScope {
__method_bind.physicalBonesStartSimulation.call(self._handle, listOf(bones), null)
}
}
fun physicalBonesStopSimulation() {
val self = this
return Allocator.allocationScope {
__method_bind.physicalBonesStopSimulation.call(self._handle, emptyList(), null)
}
}
fun registerSkin(skin: Skin): SkinReference {
val self = this
return Allocator.allocationScope {
lateinit var _ret: SkinReference
val _tmp = alloc<COpaquePointerVar>()
val _retPtr = _tmp.ptr
__method_bind.registerSkin.call(self._handle, listOf(skin), _retPtr)
_ret = objectToType<SkinReference>(_tmp.value!!)
_ret
}
}
fun setBoneCustomPose(boneIdx: Int, customPose: Transform) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(customPose)
__method_bind.setBoneCustomPose.call(self._handle, _args, null)
}
}
fun setBoneDisableRest(boneIdx: Int, disable: Boolean) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(disable)
__method_bind.setBoneDisableRest.call(self._handle, _args, null)
}
}
fun setBoneGlobalPoseOverride(
boneIdx: Int,
pose: Transform,
amount: Float,
persistent: Boolean = false
) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(pose)
_args.add(amount)
_args.add(persistent)
__method_bind.setBoneGlobalPoseOverride.call(self._handle, _args, null)
}
}
fun setBoneParent(boneIdx: Int, parentIdx: Int) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(parentIdx)
__method_bind.setBoneParent.call(self._handle, _args, null)
}
}
fun setBonePose(boneIdx: Int, pose: Transform) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(pose)
__method_bind.setBonePose.call(self._handle, _args, null)
}
}
fun setBoneRest(boneIdx: Int, rest: Transform) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(rest)
__method_bind.setBoneRest.call(self._handle, _args, null)
}
}
fun unbindChildNodeFromBone(boneIdx: Int, node: Node) {
val self = this
return Allocator.allocationScope {
val _args = mutableListOf<Any?>()
_args.add(boneIdx)
_args.add(node)
__method_bind.unbindChildNodeFromBone.call(self._handle, _args, null)
}
}
fun unparentBoneAndRest(boneIdx: Int) {
val self = this
return Allocator.allocationScope {
__method_bind.unparentBoneAndRest.call(self._handle, listOf(boneIdx), null)
}
}
companion object {
val NOTIFICATION_UPDATE_SKELETON: Int = 50
internal fun __new(): COpaquePointer = Allocator.allocationScope {
val fnPtr = checkNotNull(Godot.gdnative.godot_get_class_constructor)("Skeleton".cstr.ptr)
requireNotNull(fnPtr) { "No instance found for Skeleton" }
val fn = fnPtr.reinterpret<CFunction<() -> COpaquePointer>>()
fn()
}
/**
* Container for method_bind pointers for Skeleton
*/
private object __method_bind {
val addBone: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"add_bone".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method add_bone" }
}
val bindChildNodeToBone: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"bind_child_node_to_bone".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method bind_child_node_to_bone" }
}
val clearBones: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"clear_bones".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method clear_bones" }
}
val findBone: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"find_bone".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method find_bone" }
}
val getBoneCount: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_count".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_count" }
}
val getBoneCustomPose: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_custom_pose".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_custom_pose" }
}
val getBoneGlobalPose: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_global_pose".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_global_pose" }
}
val getBoneName: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_name".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_name" }
}
val getBoneParent: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_parent".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_parent" }
}
val getBonePose: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_pose".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_pose" }
}
val getBoneRest: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bone_rest".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bone_rest" }
}
val getBoundChildNodesToBone: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"get_bound_child_nodes_to_bone".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method get_bound_child_nodes_to_bone" }
}
val isBoneRestDisabled: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"is_bone_rest_disabled".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method is_bone_rest_disabled" }
}
val localizeRests: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"localize_rests".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method localize_rests" }
}
val physicalBonesAddCollisionException: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"physical_bones_add_collision_exception".cstr.ptr)
requireNotNull(ptr) {
"No method_bind found for method physical_bones_add_collision_exception" }
}
val physicalBonesRemoveCollisionException: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"physical_bones_remove_collision_exception".cstr.ptr)
requireNotNull(ptr) {
"No method_bind found for method physical_bones_remove_collision_exception" }
}
val physicalBonesStartSimulation: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"physical_bones_start_simulation".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method physical_bones_start_simulation" }
}
val physicalBonesStopSimulation: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"physical_bones_stop_simulation".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method physical_bones_stop_simulation" }
}
val registerSkin: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"register_skin".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method register_skin" }
}
val setBoneCustomPose: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_custom_pose".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_custom_pose" }
}
val setBoneDisableRest: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_disable_rest".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_disable_rest" }
}
val setBoneGlobalPoseOverride: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_global_pose_override".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_global_pose_override" }
}
val setBoneParent: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_parent".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_parent" }
}
val setBonePose: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_pose".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_pose" }
}
val setBoneRest: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"set_bone_rest".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method set_bone_rest" }
}
val unbindChildNodeFromBone: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"unbind_child_node_from_bone".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method unbind_child_node_from_bone" }
}
val unparentBoneAndRest: CPointer<godot_method_bind>
get() = Allocator.allocationScope {
val ptr = checkNotNull(Godot.gdnative.godot_method_bind_get_method)("Skeleton".cstr.ptr,
"unparent_bone_and_rest".cstr.ptr)
requireNotNull(ptr) { "No method_bind found for method unparent_bone_and_rest" }
}}
}
}
| 12
|
Kotlin
|
4
| 51
|
5c1bb2a1f1d2187375bf50c0445b42c88f37989f
| 18,321
|
godot-kotlin
|
MIT License
|
src/main/kotlin/com/github/mallowigi/scrollfix/services/MyApplicationService.kt
|
mallowigi
| 549,560,990
| false
| null |
package com.github.mallowigi.anchovy.services
import com.github.mallowigi.anchovy.MyBundle
class MyApplicationService {
init {
println(MyBundle.message("applicationService"))
System.getenv("CI")
?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.")
}
}
| 0
|
Kotlin
|
0
| 1
|
bf8bd31f1966408176064be601c2102a1228bdc5
| 369
|
anchovy
|
Apache License 2.0
|
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/adsweb/objects/GetStatisticsResponseItemsItem.kt
|
Anton3
| 159,801,334
| true
|
{"Kotlin": 1382186}
|
@file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.adsweb.objects
/**
* No description
*
* @property siteId No description
* @property adUnitId No description
* @property overallCount No description
* @property monthsCount No description
* @property monthMin No description
* @property monthMax No description
* @property daysCount No description
* @property dayMin No description
* @property dayMax No description
* @property hoursCount No description
* @property hourMin No description
* @property hourMax No description
*/
data class GetStatisticsResponseItemsItem(
val siteId: Long? = null,
val adUnitId: Long? = null,
val overallCount: Long? = null,
val monthsCount: Long? = null,
val monthMin: String? = null,
val monthMax: String? = null,
val daysCount: Long? = null,
val dayMin: String? = null,
val dayMax: String? = null,
val hoursCount: Long? = null,
val hourMin: String? = null,
val hourMax: String? = null
)
| 2
|
Kotlin
|
0
| 8
|
773c89751c4382a42f556b6d3c247f83aabec625
| 1,022
|
kotlin-vk-api
|
MIT License
|
native/native.tests/testData/klibContents/builtinsSerializer/propertyAccessorAnnotations.kt
|
JetBrains
| 3,432,266
| false
| null |
// KT-56190 K2 does not emit const initializers
// MUTED_WHEN: K2
package test
annotation class Anno(val value: String)
@Anno("property") val v1 = ""
var v2: String
@Anno("getter") get() = ""
@Anno("setter") set(@Anno("setparam") value) {
}
| 151
|
Kotlin
|
5478
| 44,267
|
7545472dd3b67d2ac5eb8024054e3e6ff7795bf6
| 256
|
kotlin
|
Apache License 2.0
|
components/src/main/java/com/numero/material_gallery/components/image/ShapeableImageViewFragment.kt
|
NUmeroAndDev
| 136,438,997
| false
|
{"Kotlin": 136558, "Ruby": 961}
|
package com.numero.material_gallery.components.image
import android.os.Bundle
import android.view.View
import com.numero.material_gallery.components.ComponentFragment
import com.numero.material_gallery.components.R
import com.numero.material_gallery.components.databinding.FragmentShapeableImageViewBinding
import com.numero.material_gallery.core.delegate.viewBinding
import dev.chrisbanes.insetter.applyInsetter
class ShapeableImageViewFragment : ComponentFragment(R.layout.fragment_shapeable_image_view) {
private val binding by viewBinding { FragmentShapeableImageViewBinding.bind(it) }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
binding.scrollView.applyInsetter {
type(navigationBars = true) {
padding()
}
}
}
}
| 13
|
Kotlin
|
25
| 139
|
b7781416c0f389153c25cb4b7e07ab933dec89ee
| 869
|
MaterialGallery-android
|
MIT License
|
src/main/kotlin/no/nav/familie/ef/sak/journalføring/dto/JournalføringKlageRequest.kt
|
navikt
| 206,805,010
| false
| null |
package no.nav.familie.ef.sak.journalføring.dto
import java.time.LocalDate
import java.util.UUID
data class JournalføringKlageRequest(
val dokumentTitler: Map<String, String>? = null,
val fagsakId: UUID,
val oppgaveId: String,
val behandling: JournalføringKlageBehandling,
val journalførendeEnhet: String
)
data class JournalføringKlageBehandling(
val behandlingId: UUID? = null,
val mottattDato: LocalDate? = null
)
fun JournalføringKlageRequest.skalJournalførePåEksisterendeBehandling(): Boolean = this.behandling.behandlingId != null
| 7
|
Kotlin
|
2
| 0
|
d1d8385ead500c4d24739b970940af854fa5fe2c
| 569
|
familie-ef-sak
|
MIT License
|
src/main/java/al132/alchemistry/compat/jei/liquifier/LiquifierRecipeCategory.kt
|
liquidblur
| 228,232,024
| true
|
{"Java": 209331}
|
package al132.alchemistry.compat.jei.liquifier
import al132.alchemistry.client.GuiLiquifier
import al132.alchemistry.compat.jei.AlchemistryRecipeCategory
import al132.alchemistry.compat.jei.AlchemistryRecipeUID
import al132.alib.utils.Translator
import mezz.jei.api.IGuiHelper
import mezz.jei.api.gui.IRecipeLayout
import mezz.jei.api.ingredients.IIngredients
import mezz.jei.api.ingredients.VanillaTypes
class LiquifierRecipeCategory(guiHelper: IGuiHelper)
: AlchemistryRecipeCategory<LiquifierRecipeWrapper>(guiHelper.createDrawable(guiTexture, u, v, 100, 125),
"jei.liquifier.name") {
override fun getTitle(): String = Translator.translateToLocal("jei.liquifier.name")
override fun getUid(): String = AlchemistryRecipeUID.LIQUIFIER
override fun setRecipe(recipeLayout: IRecipeLayout, recipeWrapper: LiquifierRecipeWrapper, ingredients: IIngredients) {
val guiItemStacks = recipeLayout.itemStacks
val guiFluidStacks = recipeLayout.fluidStacks
var x = 48 - u
var y = 57 - v
guiItemStacks.init(INPUT_ONE, true, x, y)
guiItemStacks.set(INPUT_ONE, ingredients.getInputs(VanillaTypes.ITEM)[0])
x = 122 - u
y = 40 - v
val outputFluidStack = ingredients.getOutputs(VanillaTypes.FLUID)[0][0]
guiFluidStacks.init(FLUID_ONE, true, x, y, 16, 60, outputFluidStack.amount, false, null)
guiFluidStacks.set(FLUID_ONE, outputFluidStack)
}
companion object {
private val INPUT_ONE = 0
private val FLUID_ONE = 1
private val u = 40
private val v = 11
private val guiTexture = GuiLiquifier.textureLocation
}
}
| 0
| null |
0
| 0
|
1996213c0c4b9c2e826ddd1c02319aa41a6b3c7e
| 1,667
|
alchemistry
|
MIT License
|
app/src/main/java/com/ojhdtapp/parabox/core/util/ImageUtil.kt
|
Parabox-App
| 482,740,446
| false
|
{"Kotlin": 1319625}
|
package com.ojhdtapp.parabox.core.util
import android.graphics.Bitmap
object ImageUtil {
fun checkBitmapLight(bitmap: Bitmap, skipStep: Int = 2): Boolean {
val width = bitmap.width
val height = bitmap.height
val pixels = IntArray(width * height)
bitmap.getPixels(pixels, 0, width, 0, 0, width, height)
var lightPixelCount = 0
var darkPixelCount = 0
for (i in pixels.indices step skipStep) {
val pixel = pixels[i]
val red = pixel shr 16 and 0xFF
val green = pixel shr 8 and 0xFF
val blue = pixel and 0xFF
val luminance = 0.299 * red + 0.587 * green + 0.114 * blue
if (luminance > 192) {
lightPixelCount++
} else {
darkPixelCount++
}
}
val lightRatio = lightPixelCount.toFloat() / pixels.size
val darkRatio = darkPixelCount.toFloat() / pixels.size
val isLight = lightRatio > darkRatio
return isLight
}
}
| 0
|
Kotlin
|
6
| 120
|
d29650d65e9bde00a6409f3901581795f3aa0113
| 1,035
|
Parabox
|
MIT License
|
src/main/kotlin/com/chris/bullseye/system/controller/DepartmentController.kt
|
zhouhongxing16
| 399,052,088
| false
| null |
package com.chris.bullseye.system.controller
import com.chris.bullseye.system.pojo.Department
import com.chris.bullseye.system.dto.JsonResult
import com.chris.bullseye.system.dto.OperationLog
import com.chris.bullseye.common.utils.AuthUtil
import com.chris.bullseye.system.service.DepartmentService
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import org.springframework.web.bind.annotation.*
/**
* @Author: Chris E-mail:<EMAIL>
* @Date: 2021-01-05 11:24
*/
@Api(value = "部门科室",tags = ["部门科室"])
@OperationLog("部门/科室")
@RestController
@RequestMapping("/department")
class DepartmentController(
val departmentService: DepartmentService,
val jsonResult: JsonResult<Department>
){
/*//增加
@ApiOperation(value = "创建方法", notes = "创建")
@OperationLog("创建方法")
@PostMapping("/create")
fun create(@RequestBody obj: Department): JsonResult<Department> {
var user = AuthUtil.getCurrentUser()
obj.creatorId = user!!.id
obj.creatorName = user!!.name
return departmentService.add(obj)
}
@OperationLog("(web)获取科室/部门")
@PostMapping("/getWebDepartmentList")
@ApiOperation(value = "(web)获取科室/部门", notes = "(web)获取科室/部门")
fun getWebDepartmentList(@RequestBody params: MutableMap<String, String?>): JsonResult<Department> {
params["status"] = "1"
var list = departmentService.getListByParams(params)
return jsonResult.success(list,"查询成功!")
}*/
}
| 0
|
Kotlin
|
0
| 0
|
4e778e61507df96d9e07319c7381bdc616ad325d
| 1,481
|
bullseye-admin-kotlin
|
Apache License 2.0
|
kord-extensions/src/main/kotlin/com/kotlindiscord/kord/extensions/extensions/HelpExtension.kt
|
Tom-The-Geek
| 375,451,054
| true
|
{"Kotlin": 459547, "Python": 1793, "Groovy": 777}
|
package com.kotlindiscord.kord.extensions.extensions
import com.kotlindiscord.kord.extensions.ExtensibleBot
import com.kotlindiscord.kord.extensions.commands.GroupCommand
import com.kotlindiscord.kord.extensions.commands.MessageCommand
import com.kotlindiscord.kord.extensions.commands.MessageSubCommand
import com.kotlindiscord.kord.extensions.commands.converters.stringList
import com.kotlindiscord.kord.extensions.commands.parser.Arguments
import com.kotlindiscord.kord.extensions.pagination.Paginator
import com.kotlindiscord.kord.extensions.pagination.pages.Page
import com.kotlindiscord.kord.extensions.pagination.pages.Pages
import dev.kord.core.behavior.channel.createEmbed
import dev.kord.core.event.message.MessageCreateEvent
import mu.KotlinLogging
private val logger = KotlinLogging.logger {}
/** Number of help per page, when it is invoked without any parameter. */
public const val HELP_PER_PAGE: Int = 4
private const val PAGE_TIMEOUT = 60_000L // 60 seconds
private const val COMMANDS_GROUP = ""
private const val ARGUMENTS_GROUP = "Arguments"
/**
* Help command extension.
*
* This extension provides a `!help` command listing the available commands,
* along with a `!help <command>` to get more info about a specific command.
*/
public class HelpExtension(bot: ExtensibleBot) : Extension(bot) {
override val name: String = "help"
override suspend fun setup() {
command(::HelpArguments) {
name = "help"
aliases = arrayOf("h")
description = "Get command help.\n" +
"\n" +
"Specify the name of a command to get help for that specific command."
action {
val prefix = bot.messageCommands.getPrefix(event)
if (arguments.command.isEmpty()) {
Paginator(
bot,
targetMessage = message,
pages = formatMainHelp(gatherCommands(event), event, prefix),
owner = message.author,
timeout = PAGE_TIMEOUT,
keepEmbed = true
).send()
} else {
message.channel.createEmbed {
val command = getCommand(arguments.command)
title = "Command Help"
description = if (command == null) {
"Unknown command."
} else {
formatLongHelp(command, prefix)
}
}
}
}
}
}
/**
* Gather all available commands from the bot, and return them as an array of [MessageCommand].
*/
public suspend fun gatherCommands(event: MessageCreateEvent): List<MessageCommand<out Arguments>> =
bot.messageCommands.commands.filter { !it.hidden && it.enabled && it.runChecks(event) }
/**
* Generate help message by formatting a [List] of [MessageCommand] objects.
*/
public suspend fun formatMainHelp(
commands: List<MessageCommand<out Arguments>>,
event: MessageCreateEvent,
prefix: String
): Pages {
val pages = Pages(COMMANDS_GROUP)
var totalCommands = 0
val descriptionPages = commands
.filter { it.runChecks(event) }
.sortedBy { it.name }
.chunked(HELP_PER_PAGE)
.map { list ->
list.joinToString(separator = "\n\n") { command ->
totalCommands += 1
with(command) {
var desc = "**${prefix}$name $signature**\n${description.takeWhile { it != '\n' }}\n"
if (aliases.isNotEmpty()) {
desc += "\n**Aliases: **" + aliases.joinToString(", ") { "`$it`" }
}
if (this is GroupCommand) {
desc += "\n**Subcommands:** " + this.commands.joinToString(", ") { "`${it.name}`" }
}
desc
}
}
}
val argumentPages = commands
.filter { it.runChecks(event) }
.sortedBy { it.name }.chunked(HELP_PER_PAGE)
.map { list ->
list.joinToString(separator = "\n\n") { command ->
totalCommands += 1
with(command) {
if (arguments == null) {
"**${prefix}$name $signature**\n\nNo arguments."
} else {
@Suppress("TooGenericExceptionCaught") // Hard to say really
try {
val argsObj = arguments!!.invoke()
"**${prefix}$name $signature**\n\n" +
argsObj.args.joinToString("\n") {
var desc = "**»** `${it.displayName}"
if (it.converter.showTypeInSignature) {
desc += " (${it.converter.signatureTypeString})"
}
desc += "`: ${it.description}"
desc
}
} catch (t: Throwable) {
logger.error(t) { "Failed to retrieve argument list for command: $name" }
"**${prefix}$name $signature**\n\n" +
"Failed to retrieve argument list due to an error."
}
}
}
}
}
descriptionPages.forEach {
pages.addPage(
COMMANDS_GROUP,
Page(
description = it,
title = "Command Descriptions",
footer = "$totalCommands commands available"
)
)
}
argumentPages.forEach {
pages.addPage(
ARGUMENTS_GROUP,
Page(
description = it,
title = "Command Arguments",
footer = "$totalCommands commands available"
)
)
}
return pages
}
/**
* Return the [MessageCommand] specified in the arguments, or null if it can't be found.
*/
public fun getCommand(args: List<String>): MessageCommand<out Arguments>? {
val firstArg = args.first()
var command: MessageCommand<out Arguments>? = bot.messageCommands.commands.firstOrNull {
it.name == firstArg || it.aliases.contains(firstArg)
}
args.drop(1).forEach {
if (command != null && command is GroupCommand<out Arguments>) {
command = (command as GroupCommand<out Arguments>).getCommand(it)
}
}
return command
}
/**
* Format the given command's description into a long help string.
*
* @param command The command to format the description of.
*/
public fun formatLongHelp(command: MessageCommand<out Arguments>, prefix: String): String {
val name = when (command) {
is MessageSubCommand -> command.getFullName()
is GroupCommand -> command.getFullName()
else -> command.name
}
var desc = "**${prefix}$name ${command.signature}**\n\n${command.description}\n"
if (command.arguments != null) {
val argsObj = command.arguments!!.invoke()
desc += "\n**Arguments:**\n\n"
@Suppress("TooGenericExceptionCaught") // Hard to say really
desc += try {
argsObj.args.joinToString("\n") {
var desc = "**»** `${it.displayName}"
if (it.converter.showTypeInSignature) {
desc += " (${it.converter.signatureTypeString})"
}
desc += "`: ${it.description}"
desc
}
} catch (t: Throwable) {
logger.error(t) { "Failed to retrieve argument list for command: $name" }
"Failed to retrieve argument list due to an error."
}
desc += "\n"
}
if (command.aliases.isNotEmpty()) {
desc += "\n**Aliases: **" + command.aliases.joinToString(", ") { "`$it`" }
}
if (command is GroupCommand) {
desc += "\n**Subcommands: ** " + command.commands.joinToString(", ") { "`${it.name}`" }
}
return desc
}
/** Help command arguments class. **/
public class HelpArguments : Arguments() {
/** Command to get help for. **/
public val command: List<String> by stringList(
"command",
"Command to get help for",
false
)
}
}
| 0
| null |
0
| 0
|
c3c7dcfa33c688058c72076ef383c6f40791b795
| 9,147
|
kord-extensions
|
MIT License
|
src/main/kotlin/br/com/zup/chaves/lista/ListaPixService.kt
|
DigoB
| 346,384,198
| true
|
{"Kotlin": 31918}
|
package br.com.zup.chaves.lista
import br.com.zup.chaves.ChavePix
import br.com.zup.chaves.ChavePixRepository
import io.micronaut.validation.Validated
import javax.inject.Singleton
import javax.validation.Valid
@Validated
@Singleton
class ListaPixService(val chavePixRepository: ChavePixRepository) {
fun lista(@Valid dados: ListaPix?) : List<ChavePix> {
return chavePixRepository.findByTitularId(dados?.clienteId!!)
}
}
| 0
|
Kotlin
|
0
| 0
|
d2bed312f4d718db9ea0d586ffbc26005d14cdcd
| 441
|
orange-talents-01-template-pix-keymanager-grpc
|
Apache License 2.0
|
src/main/kotlin/org/grandtestauto/maths/monoid/SetUtils.kt
|
TimLavers
| 67,501,240
| false
|
{"Kotlin": 139607}
|
package org.grandtestauto.maths.monoid
fun <T> Set<T>.powerSet(): Set<Set<T>> = subsetsSatisfying { true }
fun <T> Set<T>.subsetsSatisfying(predicate: (Set<T>) -> Boolean): Set<Set<T>> {
val elementList = this.toList()
val intSetsSatisfying = intsFrom1To(elementList.size)
.allSubsets {
intSet -> predicate(intSet.map { elementList[it - 1] }.toSet())
}
return intSetsSatisfying.map {
intSet -> intSet.map { elementList[it - 1] }.toSet()
}.toSet()
}
infix fun <T> Set<T>.isASubsetOf(other: Set<T>) = other.containsAll(this)
| 0
|
Kotlin
|
0
| 0
|
16ac8997ce52e48dcc4513d38d95d55841a0b40f
| 577
|
semigroups_kotlin
|
MIT License
|
app/src/main/java/com/example/personinformationsystem/SalaryAccount.kt
|
berkecand1
| 315,395,284
| false
| null |
package com.example.personinformationsystem
const val INVALID_ARG = -1
class SalaryAccount {
val hood : Array<String> = arrayOf("Cook", "Engineer", "Teacher", "Doctor")
val times : Array<Int> = arrayOf(8,9,10,11)
val salaryMatrix = arrayListOf(
arrayOf( 3000 , 4000 , 3000 , 7000),
arrayOf( 3250 , 4500 , 3500 , 8000),
arrayOf( 3750 , 5055 , 4500 , 8800),
arrayOf( 4750 , 7500 , 5000 , 9500)
)
fun getSalary(job: String, workHour: Int): Int{
return if (workHour in times && job in hood )
salaryMatrix[times.indexOf(workHour)][hood.indexOf(job)]
else
INVALID_ARG
}
}
| 0
|
Kotlin
|
0
| 0
|
08136f7e1e0db9844cd9b13c4945e35a438ea689
| 692
|
HomeWork2
|
MIT License
|
common/src/main/java/com/allsoftdroid/common/base/fragment/BaseContainerFragment.kt
|
pravinyo
| 209,936,085
| false
| null |
package com.allsoftdroid.common.base.fragment
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
abstract class BaseContainerFragment : Fragment(){
fun<T :ViewDataBinding> inflateLayout(inflater:LayoutInflater,layout:Int,parentView:ViewGroup?,attachToParent:Boolean = false):T = DataBindingUtil.inflate(
inflater,
layout,
parentView,
attachToParent
)
}
| 3
|
Kotlin
|
4
| 12
|
8358f69c0cf8dbde18904b0c3a304ec89b518c9b
| 535
|
AudioBook
|
MIT License
|
app/src/main/java/com/example/tbilisi_parking_final_exm/domain/model/log_in/GetUser.kt
|
Lasha-Ilashvili
| 749,926,592
| false
|
{"Kotlin": 373909}
|
package com.example.tbilisi_parking_final_exm.domain.model.log_in
data class GetUser(
val email: String,
val password: String
)
| 0
|
Kotlin
|
1
| 0
|
20653c5077a4fa61e2c9616ddd986a82faf040dd
| 136
|
Tbilisi_Parking_FINAL_EXM
|
Apache License 2.0
|
src/main/kotlin/no/nav/kanal/camel/BackoutReason.kt
|
navikt
| 157,670,548
| false
| null |
package no.nav.kanal.camel
import org.apache.camel.Exchange
import org.apache.camel.Processor
import org.slf4j.LoggerFactory
const val CAMEL_HEADER_BOQ_MESSAGE = "_exceptionMessage"
const val CAMEL_PROPERTY_ERROR_TO_PROPAGATE = "FEILMELDING"
class BackoutReason : Processor {
private val log = LoggerFactory.getLogger(BackoutReason::class.java)
override fun process(exchange: Exchange) {
val e = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception::class.java)
log.error("Sending message to backout, exception caught was ${exchange.loggingKeys()}",
*exchange.loggingValues(),
e)
// set original message as In
exchange.setIn(exchange.unitOfWork.originalInMessage)
if (exchange.getProperty(CAMEL_PROPERTY_ERROR_TO_PROPAGATE) != null) {
// set header that will propagate to message on BOQ
exchange.getIn().setHeader(CAMEL_HEADER_BOQ_MESSAGE, exchange.getProperty(CAMEL_PROPERTY_ERROR_TO_PROPAGATE))
}
}
}
| 0
|
Kotlin
|
0
| 0
|
36ebe75eaacb787a7de6a1d2b7f60ca0cb63b970
| 1,029
|
sdpkanal
|
MIT License
|
core/src/main/kotlin/com/github/prologdb/execplan/FactDeleteFunctor.kt
|
prologdb
| 113,687,585
| false
|
{"Kotlin": 475193, "Prolog": 1405, "Shell": 390}
|
package com.github.prologdb.execplan
import com.github.prologdb.async.LazySequence
import com.github.prologdb.async.flatMapRemaining
import com.github.prologdb.dbms.PhysicalDatabaseProofSearchContext
import com.github.prologdb.dbms.SystemCatalog
import com.github.prologdb.runtime.term.CompoundTerm
import com.github.prologdb.runtime.unification.VariableBucket
import com.github.prologdb.storage.fact.FactStore
import com.github.prologdb.storage.fact.PersistenceID
import java.util.concurrent.Future
/**
* Implements `+ -> fact_delete(indicator) -> void`
*/
class FactDeleteFunctor(
val predicate: SystemCatalog.Predicate
) : PlanFunctor<PersistenceID, Unit> {
override fun invoke(ctxt: PhysicalDatabaseProofSearchContext, inputs: LazySequence<Pair<VariableBucket, PersistenceID>>): LazySequence<Pair<VariableBucket, Unit>> {
val factStore = ctxt.getFactStore(predicate)
return inputs.flatMapRemaining { (variableCarry, persistenceID) ->
val present = await(delete(ctxt, predicate, persistenceID, factStore))
if (present) Pair(variableCarry, Unit) else null
}
}
override val explanation: CompoundTerm
get() = CompoundTerm("fact_delete", arrayOf(predicate.indicator.toIdiomatic()))
}
/**
* Implements `[+, fact] -> fact_delete_0(indicator) -> void`
*/
class FactDeleteFunctorOverload0(
private val predicate: SystemCatalog.Predicate
) : PlanFunctor<Pair<PersistenceID, CompoundTerm>, Unit> {
override fun invoke(ctxt: PhysicalDatabaseProofSearchContext, inputs: LazySequence<Pair<VariableBucket, Pair<PersistenceID, CompoundTerm>>>): LazySequence<Pair<VariableBucket, Unit>> {
val factStore = ctxt.getFactStore(predicate)
return inputs.flatMapRemaining { (variableCarry, pidAndFact) ->
val present = await(delete(ctxt, predicate, pidAndFact.first, factStore))
if (present) Pair(variableCarry, Unit) else null
}
}
override val explanation: CompoundTerm
get() = CompoundTerm("fact_delete_0", arrayOf(predicate.indicator.toIdiomatic()))
}
/**
* Deletes the fact associated with `persistenceID` from the given `factStore` and all applying indices in `ctxt`.
*/
private fun delete(ctxt: PhysicalDatabaseProofSearchContext, predicate: SystemCatalog.Predicate, persistenceID: PersistenceID, factStore: FactStore): Future<Boolean> {
return factStore.delete(ctxt.principal, persistenceID)
// TODO: indices
}
| 8
|
Kotlin
|
0
| 2
|
69e4a63e92cefe49407054437d390f4477881fce
| 2,485
|
prologdb
|
MIT License
|
src/main/kotlin/com/dirtybiologistan/iceberg/discord/Command.kt
|
Alexiscomete
| 628,361,277
| false
| null |
package com.dirtybiologistan.iceberg.discord
import com.dirtybiologistan.iceberg.api
import org.javacord.api.entity.permission.PermissionType
import org.javacord.api.interaction.SlashCommand
import org.javacord.api.interaction.SlashCommandOption
import java.util.*
open class Command(
val name: String,
val description: String,
discordPerms: EnumSet<PermissionType>? = null, // les permissions de discord sont automatiques, différentes de celles du bot
inDms: Boolean = true, // discord permet d´interdire les dm
arguments: ArrayList<SlashCommandOption> = arrayListOf()
) {
init {
if (this is ExecutableWithArguments) {
commands[fullName] = this
}
if (discordPerms == null) {
SlashCommand.with(name, description)
.setEnabledInDms(inDms)
.createGlobal(api)
.join()
} else {
SlashCommand.with(name, description)
.setEnabledInDms(inDms)
.setDefaultEnabledForPermissions(discordPerms)
.createGlobal(api)
.join()
}
}
}
| 1
|
Kotlin
|
0
| 1
|
4099dc99768b02d53af84d2963d1a0c3b9fb9b74
| 1,132
|
iceberg_dibistan
|
MIT License
|
alertaperu/app/src/main/java/com/example/alertaperu/fragments/AlertaPeruFragment.kt
|
igmeMarcial
| 674,887,965
| false
| null |
package com.example.alertaperu.fragments
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import com.example.alertaperu.R
import com.example.alertaperu.views.CreatedenunciaActivity
import com.example.alertaperu.views.ListaDenunciaActivity
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"
/**
* A simple [Fragment] subclass.
* Use the [AlertaPeruFragment.newInstance] factory method to
* create an instance of this fragment.
*/
class AlertaPeruFragment : Fragment() {
@SuppressLint("MissingInflatedId")
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
val view = inflater.inflate(R.layout.fragment_alerta_peru, container, false)
val BtnRealizarDenuncia = view.findViewById<Button>(R.id.btnRealizarDenuncia)
val BtnVermisDenuncias = view.findViewById<Button>(R.id.btnVermisDenuncias)
BtnRealizarDenuncia.setOnClickListener {
val intent = Intent(activity, CreatedenunciaActivity::class.java)
startActivity(intent)
}
BtnVermisDenuncias.setOnClickListener{
val intent = Intent(activity,ListaDenunciaActivity::class.java)
startActivity(intent)
}
return view
}
}
| 0
|
Kotlin
|
0
| 0
|
459acbc86d59d7028d4efb27c86a358289a8a56a
| 1,685
|
AlertasPeruApp
|
MIT License
|
src/main/kotlin/com/letit0or1/kawa/plugin/threads/ui/ThreadsDialogView.kt
|
akimaleo
| 766,232,979
| false
|
{"Kotlin": 5266}
|
package com.letit0or1.kawa.plugin.threads.ui
import com.letit0or1.kawa.plugin.threads.CommentDto
import java.awt.*
import javax.swing.*
class ThreadsDialogView : JDialog() {
private val contentPane = JPanel(BorderLayout())
private val sendButton = JButton("Send")
private val inputField = JTextField()
private val listModel = DefaultListModel<CommentDto>()
private val commentList = JList(listModel)
init {
title = "Comments"
setContentPane(contentPane)
isModal = true
commentList.cellRenderer = CommentListCellRenderer()
contentPane.add(JScrollPane(commentList), BorderLayout.CENTER)
val bottomPanel = JPanel(BorderLayout())
bottomPanel.add(inputField, BorderLayout.CENTER)
bottomPanel.add(sendButton, BorderLayout.EAST)
contentPane.add(bottomPanel, BorderLayout.SOUTH)
sendButton.addActionListener {
// Logic to handle send action
dispose()
}
defaultCloseOperation = DISPOSE_ON_CLOSE
setSize(400, 400)
}
private class CommentListCellRenderer : JPanel(BorderLayout()), ListCellRenderer<CommentDto> {
private val nameIconLabel = JLabel()
private val nameLabel = JLabel()
private val commentLabel = JLabel()
init {
val iconPanel = CirclePanel()
iconPanel.add(nameIconLabel)
this.add(iconPanel, BorderLayout.WEST)
val namePanel = JPanel(BorderLayout())
namePanel.add(nameLabel, BorderLayout.CENTER)
this.add(namePanel, BorderLayout.WEST)
val commentPanel = JPanel(BorderLayout())
commentPanel.add(commentLabel, BorderLayout.CENTER)
this.add(commentPanel, BorderLayout.CENTER)
}
override fun getListCellRendererComponent(
list: JList<out CommentDto>?,
value: CommentDto?,
index: Int,
isSelected: Boolean,
cellHasFocus: Boolean
): Component {
value?.let {
nameIconLabel.text = value.name.first().uppercase()
nameLabel.text = value.name
commentLabel.text = value.comment
}
if (isSelected) {
background = list?.selectionBackground
foreground = list?.selectionForeground
} else {
background = list?.background
foreground = list?.foreground
}
return this
}
}
companion object {
fun showDialog(lineOfCode: String, comments: List<CommentDto>) {
val dialog = ThreadsDialogView()
comments.forEach { dialog.listModel.addElement(it) }
dialog.isVisible = true
}
}
}
// For testing
fun main() {
val comments = listOf(
CommentDto("Alice", "This is a sample comment."),
CommentDto("Bob", "Another example comment."),
)
SwingUtilities.invokeLater { ThreadsDialogView.showDialog(comments) }
}
| 0
|
Kotlin
|
0
| 0
|
2d1a435fc9ec4a82166bb18087b1d0800133fff9
| 3,087
|
Intellij-IDEA-plugin-threads
|
MIT License
|
Shredsheets 3/Kommon/src/main/java/com/bm/maths/ConstrainedFloat.kt
|
Adam-Carstensen
| 170,176,021
| false
| null |
package com.bm.maths
import com.badlogic.gdx.math.Interpolation
import com.bm.maths.operations.Operation
class ConstrainedFloat : ConstrainedValue<Float?> {
private var interpolation: Interpolation? = null
@JvmOverloads
constructor(minimum: Float?, maximum: Float?, interpolation: Interpolation = Interpolation.linear) : super(minimum, maximum) {
this.interpolation = interpolation
}
@JvmOverloads
constructor(minimum: Float?, maximum: Float?, value: Float?, interpolation: Interpolation = Interpolation.linear) : super(minimum, maximum, value) {
this.interpolation = interpolation
}
fun setRandom(): Float? {
this.value = Maths.randomFloat(minimum!!, maximum!!, interpolation!!)
return this.value!!
}
override fun clone(operation: Operation<Float?>): Constraint<Float?> {
return ConstrainedFloat(minimum, maximum, value)
}
}
| 0
|
Kotlin
|
0
| 9
|
81690a2332b9c7488d2a61aaeb499dfe54190a60
| 917
|
Shredsheets
|
MIT License
|
src/test/kotlin/de/codecentric/totiblogpost/extensions/WebTestClientExtention.kt
|
codecentric
| 471,350,927
| false
| null |
package de.codecentric.totiblogpost.extensions
import org.junit.jupiter.api.extension.BeforeAllCallback
import org.junit.jupiter.api.extension.ExtensionContext
import org.springframework.test.context.junit.jupiter.SpringExtension
import org.springframework.test.web.reactive.server.WebTestClient
import java.time.Duration
class WebTestClientExtention : BeforeAllCallback {
lateinit var webTestClient: WebTestClient
override fun beforeAll(context: ExtensionContext) {
val port = SpringExtension.getApplicationContext(context).environment.getProperty("local.server.port", Int::class.java)
webTestClient = WebTestClient
.bindToServer()
.baseUrl("http://localhost:${port}")
.responseTimeout(Duration.ofMillis(30000))
.build()
}
}
| 0
|
Kotlin
|
0
| 0
|
943168175dc08396484893f25a57c2296bfefc0a
| 807
|
toti-example-service
|
MIT License
|
codebase/android/core/ui/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/ui/component/view_transaction_section_header/ViewTransactionSectionHeaderData.kt
|
Abhimanyu14
| 429,663,688
| false
|
{"Kotlin": 1876553}
|
package com.makeappssimple.abhimanyu.financemanager.android.core.ui.component.view_transaction_section_header
import androidx.annotation.StringRes
import androidx.compose.runtime.Immutable
@Immutable
public data class ViewTransactionSectionHeaderData(
@StringRes val textStringResourceId: Int,
)
| 11
|
Kotlin
|
0
| 3
|
7e080a68bc038bd64d2d406b75a49e8f1ea2a791
| 302
|
finance-manager
|
Apache License 2.0
|
idea/testData/quickfix/initializeWithConstructorParameter/memberPropertyNoAccessorsInClassPrimaryAndSecondaryConstructors.kt
|
JakeWharton
| 99,388,807
| false
| null |
// "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter" "false"
// ERROR: Property must be initialized or be abstract
open class A(s: String) {
<caret>val n: Int
constructor(): this("")
constructor(a: Int): this("" + a)
}
class B : A("")
fun test() {
val a = A("")
}
| 0
| null |
28
| 83
|
4383335168338df9bbbe2a63cb213a68d0858104
| 344
|
kotlin
|
Apache License 2.0
|
analysis/analysis-api/testData/components/resolver/singleByPsi/danglingAnnotations/DanglingAnnotationsResolvedPackageFile.kt
|
JetBrains
| 3,432,266
| false
| null |
// WITH_STDLIB
// COMPILATION_ERRORS
@kotlin.j<caret>vm.JvmName("")
| 181
| null |
5748
| 49,172
|
33eb9cef3d146062c103f9853d772f0a1da0450e
| 68
|
kotlin
|
Apache License 2.0
|
src/main/kotlin/dev/emortal/marathon/db/MongoStorage.kt
|
emortalmc
| 408,226,948
| false
| null |
package dev.emortal.marathon.db
import com.mongodb.client.model.ReplaceOptions
import dev.emortal.marathon.MarathonMain
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.count
import kotlinx.coroutines.launch
import net.minestom.server.MinecraftServer
import net.minestom.server.entity.metadata.minecart.MinecartMeta
import net.minestom.server.timer.TaskSchedule
import org.litote.kmongo.coroutine.CoroutineClient
import org.litote.kmongo.coroutine.CoroutineCollection
import org.litote.kmongo.coroutine.CoroutineDatabase
import org.litote.kmongo.coroutine.coroutine
import org.litote.kmongo.eq
import org.litote.kmongo.gt
import org.litote.kmongo.reactivestreams.KMongo
import org.slf4j.LoggerFactory
import java.time.DayOfWeek
import java.time.Duration
import java.time.LocalDateTime
import java.time.ZoneOffset
import java.time.temporal.ChronoUnit
import java.time.temporal.TemporalAdjusters
import java.util.*
import java.util.function.Supplier
private val LOGGER = LoggerFactory.getLogger(MongoStorage::class.java)
class MongoStorage {
companion object {
//172.17.0.1 <- docker
var client: CoroutineClient? = null
var database: CoroutineDatabase? = null
var leaderboard: CoroutineCollection<Highscore>? = null
var weekly: CoroutineCollection<Highscore>? = null
var monthly: CoroutineCollection<Highscore>? = null
var playerSettings: CoroutineCollection<PlayerSettings>? = null
var resetCollection: CoroutineCollection<ResetTimes>? = null
}
val mongoScope = CoroutineScope(Dispatchers.IO)
fun init() {
client = KMongo.createClient(MarathonMain.databaseConfig.connectionString).coroutine
database = client!!.getDatabase("Marathon")
leaderboard = database!!.getCollection("leaderboard")
weekly = database!!.getCollection("weeklylb")
monthly = database!!.getCollection("monthlylb")
resetCollection = database!!.getCollection("resetTimes")
// Reset logic
mongoScope.launch {
val now = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)
val nextWeek = LocalDateTime.now().with(TemporalAdjusters.next(DayOfWeek.MONDAY)).truncatedTo(ChronoUnit.DAYS).toEpochSecond(ZoneOffset.UTC)
val nextMonth = LocalDateTime.now().with(TemporalAdjusters.firstDayOfNextMonth()).truncatedTo(ChronoUnit.DAYS).toEpochSecond(ZoneOffset.UTC)
if (resetCollection?.findOne() == null) {
// First time DB init
resetCollection?.insertOne(ResetTimes(nextWeek, nextMonth))
} else {
// Checks if leaderboards should have been reset, but the server was offline
var resetTimes = resetCollection?.findOne()!!
val nowSeconds = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)
if (resetTimes.weeklyResetTimestamp < nowSeconds) {
weekly?.drop() // Clear weekly
val newResetTimes = resetTimes.copy(weeklyResetTimestamp = nextWeek)
resetCollection?.replaceOne("{}", newResetTimes)
resetTimes = newResetTimes
}
if (resetTimes.monthlyResetTimestamp < nowSeconds) {
monthly?.drop() // Clear monthly
val newResetTimes = resetTimes.copy(monthlyResetTimestamp = nextMonth)
resetCollection?.replaceOne("{}", newResetTimes)
resetTimes = newResetTimes
}
}
val durationUntilNextWeek = Duration.ofSeconds(nextWeek - now)
val durationUntilNextMonth = Duration.ofSeconds(nextMonth - now)
LOGGER.info("Weekly will reset in ${nextWeek - now}s")
LOGGER.info("Monthly will reset in ${nextMonth - now}s")
var resetTimes = resetCollection?.findOne()!!
val scheduler = MinecraftServer.getSchedulerManager()
scheduler.submitTask(object : Supplier<TaskSchedule> {
var first = true;
override fun get(): TaskSchedule {
if (first) {
first = false
return TaskSchedule.duration(durationUntilNextWeek)
}
val now = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)
val nextWeek = LocalDateTime.now().with(TemporalAdjusters.next(DayOfWeek.MONDAY)).truncatedTo(ChronoUnit.DAYS).toEpochSecond(ZoneOffset.UTC)
mongoScope.launch {
LOGGER.info("Cleared weekly leaderboard!")
weekly?.drop()
val newResetTimes = resetTimes.copy(weeklyResetTimestamp = nextWeek)
resetCollection?.replaceOne("{}", resetTimes.copy(weeklyResetTimestamp = nextWeek))
resetTimes = newResetTimes
}
return TaskSchedule.seconds(nextWeek - now)
}
})
scheduler.submitTask(object : Supplier<TaskSchedule> {
var first = true
override fun get(): TaskSchedule {
if (first) {
first = false
return TaskSchedule.duration(durationUntilNextMonth)
}
val now = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)
val nextMonth = LocalDateTime.now().with(TemporalAdjusters.firstDayOfNextMonth()).truncatedTo(ChronoUnit.DAYS).toEpochSecond(ZoneOffset.UTC)
mongoScope.launch {
LOGGER.info("Cleared monthly leaderboard!")
monthly?.drop()
val newResetTimes = resetTimes.copy(monthlyResetTimestamp = nextMonth)
resetCollection?.replaceOne("{}", resetTimes.copy(monthlyResetTimestamp = nextMonth))
resetTimes = newResetTimes
}
return TaskSchedule.seconds(nextMonth - now)
}
})
}
}
suspend fun setHighscore(highscore: Highscore, collection: CoroutineCollection<Highscore>?) =
collection?.replaceOne(Highscore::uuid eq highscore.uuid, highscore, ReplaceOptions().upsert(true))
suspend fun getHighscore(uuid: UUID, collection: CoroutineCollection<Highscore>?): Highscore? =
collection?.findOne(Highscore::uuid eq uuid.toString())
suspend fun getTopHighscores(amount: Int = 10, collection: CoroutineCollection<Highscore>?) =
collection?.find()
?.ascendingSort(Highscore::timeTaken) // but with lowest time
?.descendingSort(Highscore::score) // Find highest score
?.limit(amount)
?.toList()
suspend fun getPlacementByScore(score: Int, collection: CoroutineCollection<Highscore>?): Int =
// Count scores that are greater than (gt) score
(collection?.find(Highscore::score gt score)?.toFlow()?.count() ?: 0) + 1
suspend fun getPlacement(uuid: UUID, collection: CoroutineCollection<Highscore>?): Int? {
val highscore = getHighscore(uuid, collection) ?: return null
return getPlacementByScore(highscore.score, collection)
}
suspend fun getSettings(uuid: UUID): PlayerSettings =
playerSettings?.findOne(PlayerSettings::uuid eq uuid.toString())
?: PlayerSettings(uuid = uuid.toString())
suspend fun saveSettings(settings: PlayerSettings) =
playerSettings?.replaceOne(PlayerSettings::uuid eq settings.uuid, settings, ReplaceOptions().upsert(true))
}
| 7
| null |
2
| 8
|
6a3870a756b9c717916eea1451cd5d92b4b1539a
| 7,741
|
MarathonOld
|
MIT License
|
plugin/src/main/java/com/cat/plugin/HookTransform.kt
|
syy555
| 130,661,292
| false
|
{"Kotlin": 25623, "Java": 4421}
|
package com.cat.plugin
import com.android.build.api.transform.*
import com.google.gson.Gson
import org.objectweb.asm.ClassReader
import org.objectweb.asm.ClassVisitor
import org.objectweb.asm.ClassWriter
import java.io.File
import java.io.FileOutputStream
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.ThreadPoolExecutor
import java.util.concurrent.TimeUnit
import java.util.zip.CRC32
import java.util.zip.ZipEntry
import java.util.zip.ZipFile
import java.util.zip.ZipOutputStream
class HookTransform : Transform() {
override fun getName(): String = "PreHook"
var isAnnotationParamsModified = false
override fun getInputTypes(): Set<QualifiedContent.ContentType> = setOf(QualifiedContent.DefaultContentType.CLASSES)
override fun getReferencedScopes(): MutableSet<in QualifiedContent.Scope>? = hashSetOf(QualifiedContent.Scope.PROJECT,
QualifiedContent.Scope.SUB_PROJECTS,
QualifiedContent.Scope.EXTERNAL_LIBRARIES
)
override fun getScopes(): MutableSet<in QualifiedContent.Scope>? = mutableSetOf(QualifiedContent.Scope.PROJECT,
QualifiedContent.Scope.SUB_PROJECTS,
QualifiedContent.Scope.EXTERNAL_LIBRARIES
)
override fun isIncremental(): Boolean = false
override fun transform(ti: TransformInvocation) {
println("start pre hook")
val startTime = System.currentTimeMillis()
hookItems.clear()
val executor = ThreadPoolExecutor(8, 10, 1, TimeUnit.SECONDS,
LinkedBlockingQueue<Runnable>())
ti.referencedInputs.forEach {
it.jarInputs.forEach { jarInput ->
val jarFile = jarInput.file
var status = jarInput.status
if (!ti.isIncremental) {
status = null
}
executor.execute {
processPreHookJarFile(jarFile, status)
}
}
it.directoryInputs.forEach { directoryInput ->
val pathBitLen = directoryInput.file.toString().length + 1
if (ti.isIncremental) {
val changedFiles = directoryInput.changedFiles
for ((file, status) in changedFiles.entries) {
if (!file.isDirectory) {
val classPath = file.toString().substring(pathBitLen)
executor.execute {
doPreHookTransfer(classPath, file.readBytes(), status)
}
}
}
} else {
directoryInput.file.walk().forEach { file ->
if (!file.isDirectory) {
val classPath = file.toString().substring(pathBitLen)
executor.execute {
doPreHookTransfer(classPath, file.readBytes(), null)
}
}
}
}
}
}
executor.shutdown()
executor.awaitTermination(Int.MAX_VALUE.toLong(), TimeUnit.SECONDS)
println("hookItems: ${Gson().toJson(hookItems)}")
val outputProvider = ti.outputProvider
val outDir = outputProvider.getContentLocation("hooks", outputTypes, hashSetOf(QualifiedContent.Scope.PROJECT), Format.DIRECTORY)
val executor1 = ThreadPoolExecutor(8, 10, 1, TimeUnit.SECONDS,
LinkedBlockingQueue<Runnable>())
if (ti.isIncremental && !isAnnotationParamsModified) {
println("doing increase Hook job ")
ti.inputs.forEach {
for (jarInput in it.jarInputs) {
val jarFile = jarInput.file
val status = jarInput.status
if (status == Status.NOTCHANGED) {
continue
}
val uniqueName = jarFile.name + "_" + jarFile.absolutePath.hashCode()
val jarOutFile = outputProvider.getContentLocation(uniqueName, outputTypes, jarInput.scopes, Format.JAR)
if (status == Status.REMOVED) {
jarOutFile.delete()
continue
}
executor1.execute {
processJarFile(jarFile, jarOutFile)
}
}
it.directoryInputs.forEach { directoryInput ->
val pathBitLen = directoryInput.file.toString().length + 1
val changedFiles = directoryInput.changedFiles
for ((file, status) in changedFiles.entries) {
val classPath = file.toString().substring(pathBitLen)
if (status == Status.NOTCHANGED) {
continue
}
val outputFile = File(outDir, classPath)
if (status == Status.REMOVED) {
outputFile.delete()
continue
}
executor1.execute {
processClassFile(classPath, file, outputFile)
}
}
}
}
} else {
println("doing normal Hook job ")
outputProvider.deleteAll()
outDir.mkdirs()
ti.inputs.forEach {
it.jarInputs.forEach { jarInput ->
val jarFile = jarInput.file
val uniqueName = "${jarFile.name}_${jarFile.absolutePath.hashCode()}"
val jarOutDir = outputProvider.getContentLocation(uniqueName, outputTypes, jarInput.scopes, Format.JAR)
executor1.execute {
processJarFile(jarFile, jarOutDir)
}
}
it.directoryInputs.forEach { directoryInput ->
val pathBitLen = directoryInput.file.toString().length + 1
directoryInput.file.walk().forEach { file ->
if (!file.isDirectory) {
val classPath = file.toString().substring(pathBitLen)
val outputFile = File(outDir, classPath)
executor1.execute {
processClassFile(classPath, file, outputFile)
}
}
}
}
}
}
executor1.shutdown()
executor1.awaitTermination(Int.MAX_VALUE.toLong(), TimeUnit.SECONDS)
println("hook done, cost ${System.currentTimeMillis() - startTime}ms")
}
private fun processPreHookJarFile(file: File, status: Status?) {
val zipFile = ZipFile(file)
zipFile.entries().toList().forEach {
val name = it.name
var bytes = zipFile.getInputStream(it).readBytes()
if (name.endsWith(".class")) {
doPreHookTransfer(name, bytes, status)
}
}
}
private fun doPreHookTransfer(classPath: String, input: ByteArray, status: Status?) {
val s = String(input)
if (s.contains("Lfm/qingting/router/annotations/HookParams;")) {
if(status != Status.NOTCHANGED){
isAnnotationParamsModified = true
}
val reader = ClassReader(input)
val cv = PreHookVisitor()
reader.accept(cv, ClassReader.SKIP_FRAMES)
}
}
private fun processJarFile(file: File, outFile: File) {
val crc32 = CRC32()
outFile.delete()
outFile.parentFile.mkdirs()
ZipOutputStream(FileOutputStream(outFile)).use { zos ->
val zipFile = ZipFile(file)
zipFile.entries().toList().forEach {
val name = it.name
var bytes = zipFile.getInputStream(it).readBytes()
if (name.endsWith(".class")) {
bytes = doTransfer(name, bytes)
}
crc32.reset()
crc32.update(bytes)
val zipEntry = ZipEntry(name).apply {
method = ZipEntry.STORED
size = bytes.size.toLong()
compressedSize = bytes.size.toLong()
crc = crc32.value
}
zos.putNextEntry(zipEntry)
zos.write(bytes)
zos.closeEntry()
}
zos.flush()
}
}
private fun processClassFile(classPath: String, file: File, outputFile: File) {
if (file.isDirectory) {
println("file is directory")
return
}
outputFile.parentFile.mkdirs()
val classFileBuffer = file.readBytes()
outputFile.writeBytes(doTransfer(classPath, classFileBuffer))
}
private fun doTransfer(classPath: String, input: ByteArray): ByteArray {
val className = classPath.substring(0, classPath.lastIndexOf('.'))
val s = String(input)
val filtered = hookItems.filter { it.checkInjection(className, s) }
if (!filtered.isEmpty()) {
val reader = ClassReader(input)
val writer = ClassWriter(reader, ClassWriter.COMPUTE_MAXS)
var cv: ClassVisitor = writer
filtered.forEach {
cv = HookVisitor(cv, it)
}
reader.accept(cv, aj.org.objectweb.asm.ClassReader.EXPAND_FRAMES)
return writer.toByteArray()
}
return input
}
companion object {
var hookItems = mutableListOf<HookItem>()
}
}
| 0
|
Kotlin
|
2
| 6
|
ccdcda75a19f9588d64e5746f8e3cc36ed0469a0
| 9,783
|
SteakKnife
|
MIT License
|
core/src/main/kotlin/havefun/chatter/core/ChatClientImpl.kt
|
have-fun
| 48,941,028
| false
| null |
package havefun.chatter.core
import havefun.chatter.core.domain.Message
import havefun.chatter.core.network.ChatWebService
import havefun.chatter.core.network.mapper.Mappers
import rx.Observable
class ChatClientImpl(private val chatWebClient: ChatWebService, private val mappers: Mappers): ChatClient {
override fun send(message: String): Observable<Message> {
val request = mappers.messageMapper.toRequest(Message(message))
return chatWebClient.send(request).map {
mappers.messageMapper.fromResponse(it)
}
}
}
| 0
|
Kotlin
|
0
| 1
|
eba3c0b36f1550c499bece6deb69dd9cb8d34289
| 557
|
TumChatter
|
Apache License 2.0
|
src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt
|
nrfconnect
| 319,609,059
| false
|
{"C++": 23522189, "Java": 4933921, "Python": 3707868, "C": 2258497, "Kotlin": 1567297, "Objective-C": 1368441, "ZAP": 814351, "Objective-C++": 756316, "Shell": 291692, "CMake": 176244, "Jinja": 103624, "Dockerfile": 70720, "Swift": 30181, "JavaScript": 2379, "Emacs Lisp": 1042, "Tcl": 311}
|
/*
*
* Copyright (c) 2023 Project CHIP 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package matter.devicecontroller.cluster.clusters
import java.util.ArrayList
class BinaryInputBasicCluster(private val endpointId: UShort) {
companion object {
const val CLUSTER_ID: UInt = 15u
}
interface GeneratedCommandListAttributeCallback {
fun onSuccess(value: ArrayList<Long>)
fun onError(ex: Exception)
fun onSubscriptionEstablished(subscriptionId: Long)
}
interface AcceptedCommandListAttributeCallback {
fun onSuccess(value: ArrayList<Long>)
fun onError(ex: Exception)
fun onSubscriptionEstablished(subscriptionId: Long)
}
interface EventListAttributeCallback {
fun onSuccess(value: ArrayList<Long>)
fun onError(ex: Exception)
fun onSubscriptionEstablished(subscriptionId: Long)
}
interface AttributeListAttributeCallback {
fun onSuccess(value: ArrayList<Long>)
fun onError(ex: Exception)
fun onSubscriptionEstablished(subscriptionId: Long)
}
fun readActiveTextAttribute(callback: CharStringAttributeCallback) {
// Implementation needs to be added here
}
fun writeActiveTextAttribute(callback: DefaultClusterCallback, value: String) {
// Implementation needs to be added here
}
fun writeActiveTextAttribute(
callback: DefaultClusterCallback,
value: String,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribeActiveTextAttribute(
callback: CharStringAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readDescriptionAttribute(callback: CharStringAttributeCallback) {
// Implementation needs to be added here
}
fun writeDescriptionAttribute(callback: DefaultClusterCallback, value: String) {
// Implementation needs to be added here
}
fun writeDescriptionAttribute(
callback: DefaultClusterCallback,
value: String,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribeDescriptionAttribute(
callback: CharStringAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readInactiveTextAttribute(callback: CharStringAttributeCallback) {
// Implementation needs to be added here
}
fun writeInactiveTextAttribute(callback: DefaultClusterCallback, value: String) {
// Implementation needs to be added here
}
fun writeInactiveTextAttribute(
callback: DefaultClusterCallback,
value: String,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribeInactiveTextAttribute(
callback: CharStringAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readOutOfServiceAttribute(callback: BooleanAttributeCallback) {
// Implementation needs to be added here
}
fun writeOutOfServiceAttribute(callback: DefaultClusterCallback, value: Boolean) {
// Implementation needs to be added here
}
fun writeOutOfServiceAttribute(
callback: DefaultClusterCallback,
value: Boolean,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribeOutOfServiceAttribute(
callback: BooleanAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readPolarityAttribute(callback: IntegerAttributeCallback) {
// Implementation needs to be added here
}
fun subscribePolarityAttribute(
callback: IntegerAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readPresentValueAttribute(callback: BooleanAttributeCallback) {
// Implementation needs to be added here
}
fun writePresentValueAttribute(callback: DefaultClusterCallback, value: Boolean) {
// Implementation needs to be added here
}
fun writePresentValueAttribute(
callback: DefaultClusterCallback,
value: Boolean,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribePresentValueAttribute(
callback: BooleanAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readReliabilityAttribute(callback: IntegerAttributeCallback) {
// Implementation needs to be added here
}
fun writeReliabilityAttribute(callback: DefaultClusterCallback, value: Integer) {
// Implementation needs to be added here
}
fun writeReliabilityAttribute(
callback: DefaultClusterCallback,
value: Integer,
timedWriteTimeoutMs: Int
) {
// Implementation needs to be added here
}
fun subscribeReliabilityAttribute(
callback: IntegerAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readStatusFlagsAttribute(callback: IntegerAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeStatusFlagsAttribute(
callback: IntegerAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readApplicationTypeAttribute(callback: LongAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeApplicationTypeAttribute(
callback: LongAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readGeneratedCommandListAttribute(callback: GeneratedCommandListAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeGeneratedCommandListAttribute(
callback: GeneratedCommandListAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readAcceptedCommandListAttribute(callback: AcceptedCommandListAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeAcceptedCommandListAttribute(
callback: AcceptedCommandListAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readEventListAttribute(callback: EventListAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeEventListAttribute(
callback: EventListAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readAttributeListAttribute(callback: AttributeListAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeAttributeListAttribute(
callback: AttributeListAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readFeatureMapAttribute(callback: LongAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeFeatureMapAttribute(
callback: LongAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
fun readClusterRevisionAttribute(callback: IntegerAttributeCallback) {
// Implementation needs to be added here
}
fun subscribeClusterRevisionAttribute(
callback: IntegerAttributeCallback,
minInterval: Int,
maxInterval: Int
) {
// Implementation needs to be added here
}
}
| 7
|
C++
|
53
| 44
|
e734b7924bf2b6bdc78e20d8416267f42ba95675
| 7,982
|
sdk-connectedhomeip
|
Apache License 2.0
|
src/responses/exceptions/transaction/AccountTransactionsNotFoundException.kt
|
Penguin-Dream-Team
| 312,890,302
| false
|
{"Kotlin": 68374, "Dockerfile": 1208}
|
package responses.exceptions.transaction
import responses.exceptions.NotFoundException
data class AccountTransactionsNotFoundException(val id: Int) : NotFoundException("Transactions for account with id '$id' not found")
| 0
|
Kotlin
|
0
| 0
|
e6303704451ed5467dfa5c71ad95bc412ff2d00f
| 222
|
PenguBank-Server
|
MIT License
|
src/responses/exceptions/transaction/AccountTransactionsNotFoundException.kt
|
Penguin-Dream-Team
| 312,890,302
| false
|
{"Kotlin": 68374, "Dockerfile": 1208}
|
package responses.exceptions.transaction
import responses.exceptions.NotFoundException
data class AccountTransactionsNotFoundException(val id: Int) : NotFoundException("Transactions for account with id '$id' not found")
| 0
|
Kotlin
|
0
| 0
|
e6303704451ed5467dfa5c71ad95bc412ff2d00f
| 222
|
PenguBank-Server
|
MIT License
|
Desvios Condicionais/DesviosCondicionaisDesafio13/src/Main.kt
|
caiquefirmino7
| 737,752,340
| false
|
{"Kotlin": 7896}
|
fun main() {
val grade = readLine()?.toIntOrNull()?:0
println(
when (grade){
in 1..35 -> "D"
in 36..60 -> "C"
in 61..85 -> "B"
in 86..100 -> "A"
else -> "E"
}
)
}
| 0
|
Kotlin
|
0
| 0
|
269b8f9e1071501ab33e4fec6ceb1ed62b76e59b
| 252
|
DesafiosEmKotlin
|
MIT License
|
src/main/java/com/alcosi/lib/executors/SemaphoreExtension.kt
|
alcosi
| 698,911,809
| false
|
{"Kotlin": 405550, "Java": 82765, "HTML": 3451, "JavaScript": 509, "CSS": 203}
|
/*
*
* * Copyright (c) 2024 Alcosi Group Ltd. and affiliates.
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * Unless required by applicable law or agreed to in writing, software
* * distributed under the License is distributed on an "AS IS" BASIS,
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* * See the License for the specific language governing permissions and
* * limitations under the License.
* *
*
*/
package com.alcosi.lib.executors
import java.util.concurrent.Callable
import java.util.concurrent.Semaphore
/**
* Executes the given [runnable] while acquiring the semaphore lock.
*
* @param runnable the task to execute while holding the semaphore lock.
* @return the result of the [runnable] execution.
*/
fun <T> Semaphore.sync(runnable: Callable<T>): T {
try {
this.acquire()
return runnable.call()
} finally {
this.release()
}
}
| 0
|
Kotlin
|
0
| 0
|
0b37666cf8151503a11542e48824ad424563b455
| 1,149
|
alcosi_commons_library
|
Apache License 2.0
|
app/src/main/java/com/expensivebelly/dagger2retaingraph/core/di/ActivityScope.kt
|
ExpensiveBelly
| 74,518,019
| false
|
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "Java": 1, "XML": 15, "Kotlin": 9}
|
package com.expensivebelly.dagger2retaingraph.core.di
import javax.inject.Scope
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ActivityScope
| 1
| null |
1
| 1
|
b251d893068ba8ea82d4192a29f912585a90d3f3
| 159
|
Dagger2RetainGraph
|
Apache License 2.0
|
vector/src/main/java/vmodev/clearkeep/repositories/interfaces/IRepository.kt
|
telred-llc
| 194,596,139
| false
| null |
package vmodev.clearkeep.repositories.interfaces
interface IRepository {
}
| 5
| null |
1
| 3
|
2d20e94e9711b51aee89fa569efd61449cc7e9c3
| 75
|
clearkeep-android
|
Apache License 2.0
|
app/src/main/java/com/mhv/livedatawithroomsample/MainActivity.kt
|
mhv1
| 136,921,235
| false
|
{"Kotlin": 23429}
|
/*
* Copyright (C) 2018 Milan Herrera
*
* 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, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.mhv.livedatawithroomsample
import android.arch.lifecycle.Observer
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import android.arch.lifecycle.ViewModelProviders
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.text.TextUtils
import com.mhv.livedatawithroomsample.data.MessageRepository
import com.mhv.livedatawithroomsample.data.MessagingDatabase
import com.mhv.livedatawithroomsample.models.Message
import com.mhv.livedatawithroomsample.utils.MessageSpaceDecoration
import com.mhv.livedatawithroomsample.viewmodels.MessageListViewModel
import com.mhv.livedatawithroomsample.viewmodels.MessageListViewModelFactory
import kotlinx.android.synthetic.main.activity_main.*
import java.util.*
class MainActivity : AppCompatActivity() {
private lateinit var viewModel: MessageListViewModel
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
setSupportActionBar(toolbar)
val factory = MessageListViewModelFactory(MessageRepository
.getInstance(MessagingDatabase.getInstance(this).messageDao()))
viewModel = ViewModelProviders.of(this, factory)
.get(MessageListViewModel::class.java)
val adapter = MessageListAdapter()
message_list.adapter = adapter
message_list.layoutManager = LinearLayoutManager(this, RecyclerView.VERTICAL, true)
message_list.addItemDecoration(MessageSpaceDecoration(this, R.dimen.small_margin))
viewModel.getAllMessages().observe(this, Observer { messages ->
if (messages != null) adapter.values = messages
})
send_button.setOnClickListener {
val userInput = message_input_view.text.toString()
if (!TextUtils.isEmpty(userInput)) {
viewModel.insertMessage(Message(
UUID.randomUUID().toString(),
"sender_id",
"chat_id",
userInput,
System.currentTimeMillis(),
0)
)
message_input_view.setText("")
}
}
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.menu_main, menu)
return true
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
return when (item.itemId) {
R.id.action_settings -> true
else -> super.onOptionsItemSelected(item)
}
}
}
| 0
|
Kotlin
|
0
| 0
|
b119314f8b3f89e35ea54392fa12ee941c060ec7
| 3,303
|
LiveDataWithRoom
|
Apache License 2.0
|
app/src/main/java/com/shijc/wanandroidkotlin/ui/home/bean/BannerModel.kt
|
shijiacheng
| 170,860,596
| false
| null |
package com.shijc.wanandroidkotlin.ui.home.bean
/**
* @Package com.shijc.wanandroidkotlin.ui.home.bean
* @Description:
* @author shijiacheng
* @date 2019/2/15 下午 2:13
* @version V1.0
*/
data class BannerModel(
val `data`: List<Data>,
val errorCode: Int,
val errorMsg: String
){
data class Data(
val desc: String,
val id: Int,
val imagePath: String,
val isVisible: Int,
val order: Int,
val title: String,
val type: Int,
val url: String
)
}
| 0
|
Kotlin
|
0
| 0
|
1db62503e89c24e199996467cef4155601aef08c
| 529
|
wanandroid_kotlin
|
Apache License 2.0
|
feature/profile/src/main/java/com/githukudenis/comlib/feature/profile/ProfileViewModel.kt
|
DenisGithuku
| 707,847,935
| false
|
{"Kotlin": 702830, "Java": 307129, "HTML": 145488, "Roff": 24734, "JavaScript": 10504, "CSS": 7560}
|
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.githukudenis.comlib.feature.profile
import android.net.Uri
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.githukudenis.comlib.core.common.ResponseResult
import com.githukudenis.comlib.core.data.repository.AuthRepository
import com.githukudenis.comlib.core.data.repository.UserPrefsRepository
import com.githukudenis.comlib.core.data.repository.UserRepository
import com.githukudenis.comlib.core.model.user.User
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.update
import kotlinx.coroutines.launch
data class ProfileUiState(
val isLoading: Boolean = false,
val isSignOutActivated: Boolean = false,
val isSignOutComplete: Boolean = false,
val user: User = User(),
val isUpdating: Boolean = false,
val isUpdateComplete: Boolean = false,
val fetchError: String? = null,
val updateError: String? = null
)
@HiltViewModel
class ProfileViewModel
@Inject
constructor(
private val userPrefsRepository: UserPrefsRepository,
private val userRepository: UserRepository,
private val authRepository: AuthRepository
) : ViewModel() {
private val _state = MutableStateFlow(ProfileUiState())
val state: StateFlow<ProfileUiState> = _state.asStateFlow()
init {
getUserDetails()
}
private fun getUserDetails() {
viewModelScope.launch {
userPrefsRepository.userPrefs.collectLatest { prefs ->
_state.update { state ->
state.copy(
user =
User(
id = prefs.userId,
firstname = prefs.userProfileData.firstname,
lastname = prefs.userProfileData.lastname,
username = prefs.userProfileData.username,
email = prefs.userProfileData.email,
image = prefs.userProfileData.profilePicturePath
)
)
}
}
}
}
fun updateUser() {
viewModelScope.launch {
_state.update { it.copy(isUpdating = true) }
when (val result = userRepository.updateUser(_state.value.user)) {
is ResponseResult.Failure -> {
_state.update { it.copy(isUpdating = false, updateError = result.error.message) }
}
is ResponseResult.Success -> {
val userProfileData = userPrefsRepository.userPrefs.first().userProfileData
userPrefsRepository.setUserProfileData(
userProfileData.copy(
firstname = _state.value.user.firstname,
lastname = _state.value.user.lastname,
username = _state.value.user.username
)
)
_state.update { it.copy(isUpdating = false, isUpdateComplete = true) }
}
}
}
}
fun onResetUpdateStatus() {
_state.update { it.copy(isUpdateComplete = false) }
}
fun onChangeFirstname(value: String) {
_state.update { it.copy(user = it.user.copy(firstname = value.trim())) }
}
fun onChangeLastname(value: String) {
_state.update { it.copy(user = it.user.copy(lastname = value.trim())) }
}
fun onChangeUsername(value: String) {
_state.update { it.copy(user = it.user.copy(username = value.trim())) }
}
fun onChangePhoto(value: Uri) {
viewModelScope.launch {
_state.update { it.copy(isUpdating = true) }
// Upload image to store first
val uploadImageRes =
value.let {
userRepository.uploadUserImage(
imageUri = value,
userId = _state.value.user.id ?: return@launch,
isNewUser = false
)
}
when (uploadImageRes) {
is ResponseResult.Failure -> {
_state.update { it.copy(updateError = uploadImageRes.error.message) }
}
is ResponseResult.Success -> {
val updatedUser = _state.value.user.copy(image = uploadImageRes.data)
// Update remote user with new image
when (val updateUserResult = userRepository.updateUser(updatedUser)) {
is ResponseResult.Failure -> {
_state.update { it.copy(updateError = updateUserResult.error.message) }
_state.update { it.copy(isUpdating = false) }
}
is ResponseResult.Success -> {
// Update local user with new image
val userProfileData = userPrefsRepository.userPrefs.first().userProfileData
// Wait for user image to be updated
val imagePathDeferred = async {
userPrefsRepository.setProfilePicturePath(uploadImageRes.data)
}
// Update local user with new image
val imagePath = imagePathDeferred.await()
userPrefsRepository.setUserProfileData(
userProfileData.copy(profilePicturePath = imagePath)
)
_state.update {
it.copy(
isUpdating = false,
isUpdateComplete = true,
user = it.user.copy(image = imagePath)
)
}
}
}
}
}
}
}
fun onToggleSignOut(value: Boolean) {
_state.update { it.copy(isSignOutActivated = value) }
}
fun onSignOut() {
viewModelScope.launch {
_state.update { it.copy(isLoading = true) }
authRepository.signOut()
_state.update { it.copy(isLoading = false, isSignOutComplete = true) }
}
}
}
| 2
|
Kotlin
|
1
| 0
|
f7cac6483c4d847fafd2777946798f683cf29533
| 7,256
|
comlib-android-client
|
Apache License 2.0
|
kotlin-typescript/src/main/generated/typescript/ExternalModuleReference.kt
|
JetBrains
| 93,250,841
| false
| null |
// Automatically generated - do not modify!
package typescript
sealed external interface ExternalModuleReference : Node, Union.ExternalModuleReference_ {
override val kind: SyntaxKind.ExternalModuleReference
override val parent: ImportEqualsDeclaration
val expression: Expression
}
| 38
|
Kotlin
|
162
| 983
|
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
| 296
|
kotlin-wrappers
|
Apache License 2.0
|
src/main/kotlin/io/uvera/helmetreactivespringbootstarter/filter/XContentTypeOptionsFilter.kt
|
uvera
| 417,857,851
| false
|
{"Kotlin": 29422}
|
package io.uvera.helmetreactivespringbootstarter.filter
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.core.annotation.Order
import org.springframework.stereotype.Component
import org.springframework.web.server.ServerWebExchange
import org.springframework.web.server.WebFilter
import org.springframework.web.server.WebFilterChain
import reactor.core.publisher.Mono
@ConditionalOnProperty(prefix = "spring-helmet.reactive", name = ["enable-do-not-sniff-mimetype"])
@Order(1)
@Component
class XContentTypeOptionsFilter : WebFilter {
override fun filter(exchange: ServerWebExchange, chain: WebFilterChain): Mono<Void> =
with(exchange.response.headers) {
set("X-Content-Type-Options", "nosniff")
return chain.filter(exchange)
}
}
| 0
|
Kotlin
|
0
| 0
|
4b1cfb3a8130944b4882404a39c06ba897073d44
| 830
|
helmet-reactive-spring-boot-starter
|
MIT License
|
app/src/main/java/com/dev/movieapp/constants/AppConstants.kt
|
sunidhi18
| 396,493,040
| false
| null |
package com.dev.movieapp.constants
const val TIME_OUT : Long = 120
const val DS_SHARED_PREF_CCA = "DS_SHARED_PREF_CCA"
| 0
|
Kotlin
|
0
| 0
|
2626f49c3eb5e687803461478b3332df30976f5f
| 119
|
Sunidhi_movies
|
Apache License 2.0
|
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/Appletv.kt
|
alexzhirkevich
| 636,411,288
| false
|
{"Kotlin": 4456601, "Ruby": 2310, "Swift": 2101, "Shell": 856, "HTML": 762}
|
package io.github.alexzhirkevich.cupertino.icons.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import io.github.alexzhirkevich.cupertino.icons.CupertinoIcons
public val CupertinoIcons.Filled.Appletv: ImageVector
get() {
if (_appletv != null) {
return _appletv!!
}
_appletv = Builder(name = "Appletv", defaultWidth = 23.4023.dp, defaultHeight = 23.332.dp,
viewportWidth = 23.4023f, viewportHeight = 23.332f).apply {
path(fill = SolidColor(Color(0xFF000000)), stroke = null, strokeLineWidth = 0.0f,
strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f,
pathFillType = NonZero) {
moveTo(6.2461f, 23.332f)
lineTo(17.1445f, 23.332f)
curveTo(19.1484f, 23.332f, 20.8359f, 23.1445f, 22.0312f, 21.9492f)
curveTo(23.2266f, 20.7539f, 23.4023f, 19.0781f, 23.4023f, 17.0742f)
lineTo(23.4023f, 6.2695f)
curveTo(23.4023f, 4.2656f, 23.2266f, 2.6016f, 22.0312f, 1.4063f)
curveTo(20.8359f, 0.2109f, 19.1484f, 0.0234f, 17.1445f, 0.0234f)
lineTo(6.2227f, 0.0234f)
curveTo(4.2539f, 0.0234f, 2.5664f, 0.2109f, 1.3711f, 1.4063f)
curveTo(0.1758f, 2.6016f, 0.0f, 4.2773f, 0.0f, 6.2461f)
lineTo(0.0f, 17.0742f)
curveTo(0.0f, 19.0781f, 0.1758f, 20.7539f, 1.3711f, 21.9492f)
curveTo(2.5664f, 23.1445f, 4.2539f, 23.332f, 6.2461f, 23.332f)
close()
moveTo(6.2695f, 9.0352f)
curveTo(6.2461f, 8.1211f, 6.9727f, 7.2539f, 7.9453f, 7.207f)
curveTo(8.0156f, 8.0742f, 7.2539f, 9.1406f, 6.2695f, 9.0352f)
close()
moveTo(9.6094f, 13.2188f)
curveTo(9.4336f, 13.8398f, 9.0117f, 14.5664f, 8.4961f, 15.0938f)
curveTo(8.332f, 15.2344f, 8.0977f, 15.3516f, 7.793f, 15.3516f)
curveTo(7.5117f, 15.3516f, 7.3477f, 15.2461f, 7.1016f, 15.1641f)
curveTo(6.9492f, 15.1172f, 6.7266f, 15.0117f, 6.4688f, 15.0117f)
curveTo(5.8711f, 15.0117f, 5.6016f, 15.375f, 5.1094f, 15.375f)
curveTo(4.7813f, 15.375f, 4.5117f, 15.1641f, 4.1367f, 14.7656f)
curveTo(3.4453f, 13.9922f, 2.9883f, 12.7617f, 2.9883f, 11.707f)
curveTo(2.9883f, 11.0625f, 3.1523f, 10.4531f, 3.5625f, 9.9492f)
curveTo(3.9023f, 9.5039f, 4.418f, 9.2461f, 5.0625f, 9.2461f)
curveTo(5.6484f, 9.2461f, 6.0f, 9.6211f, 6.3164f, 9.6211f)
curveTo(6.6914f, 9.6211f, 7.1133f, 9.2344f, 7.8516f, 9.2344f)
curveTo(8.5078f, 9.2344f, 9.0586f, 9.4922f, 9.4102f, 10.0195f)
curveTo(8.9414f, 10.2891f, 8.7656f, 10.6289f, 8.6719f, 10.9102f)
curveTo(8.5195f, 11.3203f, 8.4961f, 11.8008f, 8.6719f, 12.2812f)
curveTo(8.8477f, 12.7148f, 9.1406f, 13.0078f, 9.6094f, 13.2188f)
close()
moveTo(12.9141f, 7.8047f)
lineTo(12.9141f, 9.2344f)
lineTo(14.0742f, 9.2344f)
lineTo(14.0742f, 10.1953f)
lineTo(12.9141f, 10.1953f)
lineTo(12.9141f, 13.5586f)
curveTo(12.9141f, 14.1094f, 13.1484f, 14.3203f, 13.6406f, 14.3203f)
curveTo(13.7695f, 14.3203f, 13.9922f, 14.3203f, 14.0508f, 14.2852f)
lineTo(14.0508f, 15.3047f)
curveTo(13.9453f, 15.3164f, 13.6406f, 15.3516f, 13.3711f, 15.3516f)
curveTo(12.1406f, 15.3516f, 11.6602f, 14.918f, 11.6602f, 13.6992f)
lineTo(11.6602f, 10.1953f)
lineTo(10.793f, 10.1953f)
lineTo(10.793f, 9.2344f)
lineTo(11.6602f, 9.2344f)
lineTo(11.6602f, 7.8047f)
close()
moveTo(18.1758f, 15.3047f)
lineTo(16.8633f, 15.3047f)
lineTo(14.6367f, 9.2344f)
lineTo(15.9609f, 9.2344f)
lineTo(17.5312f, 14.1094f)
lineTo(19.0078f, 9.2344f)
lineTo(20.3672f, 9.2344f)
close()
}
}
.build()
return _appletv!!
}
private var _appletv: ImageVector? = null
| 1
|
Kotlin
|
14
| 362
|
60fd9234eb9f2df97bc8523ea2ed344ad7f58655
| 4,793
|
compose-cupertino
|
Apache License 2.0
|
bottomsheet/src/main/java/com/elha/bottommodule/ElhaBottomSheetDialog.kt
|
elnurhajiyevv
| 790,600,558
| false
|
{"Kotlin": 12753}
|
package com.elha.bottommodule
import android.annotation.SuppressLint
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.ConstraintSet
import androidx.core.view.marginTop
import androidx.recyclerview.widget.LinearLayoutManager
import com.elha.bottommodule.databinding.BottomsheetMainBinding
import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.google.android.material.bottomsheet.BottomSheetDialog
/**
* Created by elnurh on 4/23/2024 with builder pattern.
*/
class ElhaBottomSheetDialog : BaseBottomSheetDialog() {
private lateinit var itemList: List<BottomModule>
private var onItemsSelected: ((BottomModule) -> Unit)? = null
private var onDismiss: (() -> Unit)? = null
private var onBack: (() -> Unit)? = null
private var isFullscreen: Boolean = false
private var topMargin: Int = 0
lateinit var bottomAdapter: BottomAdapter
private lateinit var binding: BottomsheetMainBinding
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
): View {
binding = BottomsheetMainBinding.inflate(inflater, container, false)
return binding.root
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
this.showFullscreen = isFullscreen
(dialog as? BottomSheetDialog)?.behavior?.apply {
if (isFullscreen)
state = BottomSheetBehavior.STATE_EXPANDED
else
state = BottomSheetBehavior.STATE_HALF_EXPANDED
}
initView()
}
@SuppressLint("NotifyDataSetChanged")
private fun initView() {
with(binding) {
recyclerViewList.layoutManager = LinearLayoutManager(context)
recyclerViewList.setHasFixedSize(true)
bottomAdapter = BottomAdapter(BottomAdapter.BottomItemClick {
onItemsSelected?.invoke(it)
this@ElhaBottomSheetDialog.dismiss()
})
recyclerViewList.adapter = bottomAdapter
bottomAdapter.submitList(itemList)
binding.backButton.setOnClickListener {
onBack?.invoke()
}
}
setViewMargin(topMargin)
}
fun setViewMargin(top: Int){
val newLayoutParams = binding.mainLayout.layoutParams as FrameLayout.LayoutParams
newLayoutParams.topMargin = top
binding.mainLayout.layoutParams = newLayoutParams
}
override fun onDismiss(dialog: DialogInterface) {
super.onDismiss(dialog)
onDismiss?.invoke()
}
class Builder {
var isFullscreen: Boolean = false
var itemList: List<BottomModule>? = null
var onItemsSelected: ((BottomModule) -> Unit)? = null
var onDismiss: (() -> Unit)? = null
var onBack: (() -> Unit)? = null
var topMargin: Int = 0
fun showFullScreen(show: Boolean) {
this.isFullscreen = show
}
fun setTopMarginView(topMargin: Int) {
this.topMargin = topMargin
}
fun itemList(itemList: () -> List<BottomModule>) {
this.itemList = itemList()
}
fun onItemsSelected(onItemsSelected: (BottomModule) -> Unit) {
this.onItemsSelected = onItemsSelected
}
fun onDismiss(onDismiss: () -> Unit) {
this.onDismiss = onDismiss
}
fun onBack(onBack: () -> Unit) {
this.onBack = onBack
}
fun build(): ElhaBottomSheetDialog? {
val bottomSheet = ElhaBottomSheetDialog()
bottomSheet.isFullscreen = isFullscreen
bottomSheet.itemList = itemList ?: return null
bottomSheet.onItemsSelected = onItemsSelected
bottomSheet.onDismiss = onDismiss
bottomSheet.onBack = onBack
bottomSheet.topMargin = topMargin
return bottomSheet
}
}
}
fun elhaBottomSheet(lambda: ElhaBottomSheetDialog.Builder.() -> Unit) =
ElhaBottomSheetDialog.Builder().apply(lambda).build()
| 0
|
Kotlin
|
0
| 0
|
3d9e547495d3d95ae108151f6f61c2f908d68642
| 4,354
|
BottomSheet
|
The Unlicense
|
string-reference/src/main/java/com/likethesalad/placeholder/utils/ConfigurationProvider.kt
|
LikeTheSalad
| 216,664,268
| false
| null |
package com.likethesalad.placeholder.utils
import com.likethesalad.placeholder.providers.PlaceholderExtensionProvider
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class ConfigurationProvider @Inject constructor(private val extensionProvider: PlaceholderExtensionProvider) {
private val extension by lazy { extensionProvider.getPlaceholderExtension() }
fun keepResolvedFiles(): Boolean {
return extension.keepResolvedFiles
}
fun useDependenciesRes(): Boolean {
return extension.useDependenciesRes
}
}
| 4
|
Kotlin
|
6
| 119
|
975d31fead7738da04aa0598dd14388c88373b9a
| 563
|
android-string-reference
|
MIT License
|
src/main/kotlin/org/philips/arcson/type/ArcsonSpecialTypeUnknown.kt
|
Und97n
| 513,674,141
| false
|
{"Kotlin": 53179}
|
package org.philips.arcson.type
class ArcsonSpecialTypeUnknown(_id: TypeId): ArcsonType(_id) {
override fun init() {
// Do nothing
}
override fun toString(): String =
"ArcsonTypeUnknown($id)"
}
| 0
|
Kotlin
|
0
| 0
|
1b6bfc774e11b77b2b745e0b0fb3bfcba6626fee
| 224
|
arcson
|
Apache License 2.0
|
shared/app/src/webCommonMain/kotlin/io/edugma/features/app/core/CoreModules.webCommon.kt
|
Edugma
| 474,423,768
| false
| null |
package io.edugma.features.app.di
import io.edugma.core.designSystem.utils.CommonImageLoader
import io.edugma.core.designSystem.utils.IconImageLoader
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.module
actual val coreModulePlatform = module {
singleOf(::IconImageLoader)
singleOf(::CommonImageLoader)
}
| 1
|
Kotlin
|
0
| 2
|
85e342193f0d77d6199dc46a9b62a76c49c892ea
| 329
|
app
|
MIT License
|
mobile/src/main/java/ro/cluj/sorin/bitchat/MvpBase.kt
|
sorinirimies
| 135,047,483
| false
|
{"Kotlin": 85470, "Java": 25217}
|
package ro.cluj.sorin.bitchat
/**
* Created by <NAME> on 5/18/2018.
*/
interface MvpBase {
interface View
interface Presenter<V : View> {
fun attachView(view: V)
fun detachView()
}
}
| 1
|
Kotlin
|
1
| 1
|
8bfc9889fbfeb4ca840c1848c643fda188615bff
| 201
|
BitChat
|
MIT License
|
app/src/main/java/com/example/krokodyl/network/KrokodylAPI.kt
|
ppisareva
| 190,649,381
| false
| null |
package com.example.krokodyl.network
import com.example.krokodyl.model.CategoryFromAPI
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import kotlinx.coroutines.Deferred
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import retrofit2.http.GET
import retrofit2.http.Query
// todo update the data only if database is empty
private const val BASE_URL = "https://13225fdf-167b-40b2-97dd-c8a2ba523242.mock.pstmn.io/"
private val moshi= Moshi.Builder()
.add(KotlinJsonAdapterFactory()).build()
private val retrofit = Retrofit.Builder()
.addConverterFactory(MoshiConverterFactory.create(moshi))
.addCallAdapterFactory(CoroutineCallAdapterFactory())
.baseUrl(BASE_URL)
.build()
interface KrokodylAPIService {
@GET("categories")
fun getCategoriesList(): Deferred<List<CategoryFromAPI>>
@GET("words")
fun getWordsListByCategory(@Query("category") type: String): Deferred<List<String>>
}
object KrokodylAPI {
val retrofitService : KrokodylAPIService by lazy {
retrofit.create(KrokodylAPIService::class.java)
}
val getMoshi = moshi
}
| 0
|
Kotlin
|
0
| 0
|
5ed6dc99d3f80091986c12ab45622ea0e9bc8f82
| 1,256
|
Krokodyl
|
Apache License 2.0
|
highlander/src/main/java/com/pyamsoft/highlander/Entry.kt
|
pyamsoft
| 194,767,230
| false
| null |
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@file:JvmMultifileClass
@file:JvmName("Highlander")
package com.pyamsoft.highlander
import androidx.annotation.CheckResult
import kotlin.coroutines.CoroutineContext
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.NonCancellable
import kotlinx.coroutines.withContext
/** Base class for a Swordsman object */
@PublishedApi
internal abstract class BaseSwordsman<R>
protected constructor(
private val context: CoroutineContext,
debugTag: String,
) : Swordsman {
@PublishedApi internal val warrior: ActualWarrior<R> = ActualWarrior.create(context, debugTag)
final override suspend fun cancel() =
withContext(context = NonCancellable) {
// Maybe we can simplify this with a withContext(context = NonCancellable +
// context)
// but I don't know enough about Coroutines right now to figure out if that works
// or if plussing the contexts will remove NonCancel, so here we go instead.
withContext(context = context) {
// Coroutine scope here to make sure if anything throws an error we catch it in
// the scope
warrior.cancel()
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.() -> R
): Warrior<R> {
return object : BaseSwordsman<R>(context, debugTag), Warrior<R> {
override suspend fun call(): R {
return warrior.call { upstream() }
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R, T1> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.(T1) -> R
): Warrior1<R, T1> {
return object : BaseSwordsman<R>(context, debugTag), Warrior1<R, T1> {
override suspend fun call(p1: T1): R {
return warrior.call { upstream(p1) }
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R, T1, T2> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.(T1, T2) -> R
): Warrior2<R, T1, T2> {
return object : BaseSwordsman<R>(context, debugTag), Warrior2<R, T1, T2> {
override suspend fun call(p1: T1, p2: T2): R {
return warrior.call { upstream(p1, p2) }
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R, T1, T2, T3> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.(T1, T2, T3) -> R
): Warrior3<R, T1, T2, T3> {
return object : BaseSwordsman<R>(context, debugTag), Warrior3<R, T1, T2, T3> {
override suspend fun call(p1: T1, p2: T2, p3: T3): R {
return warrior.call { upstream(p1, p2, p3) }
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R, T1, T2, T3, T4> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.(T1, T2, T3, T4) -> R
): Warrior4<R, T1, T2, T3, T4> {
return object : BaseSwordsman<R>(context, debugTag), Warrior4<R, T1, T2, T3, T4> {
override suspend fun call(p1: T1, p2: T2, p3: T3, p4: T4): R {
return warrior.call { upstream(p1, p2, p3, p4) }
}
}
}
/** Wrapper which will generate a Warrior object that delegates its call() to the upstream source */
@CheckResult
@JvmOverloads
public inline fun <R, T1, T2, T3, T4, T5> highlander(
context: CoroutineContext = HighlanderDefaults.DEFAULT_COROUTINE_CONTEXT,
debugTag: String = "",
crossinline upstream: suspend CoroutineScope.(T1, T2, T3, T4, T5) -> R
): Warrior5<R, T1, T2, T3, T4, T5> {
return object : BaseSwordsman<R>(context, debugTag), Warrior5<R, T1, T2, T3, T4, T5> {
override suspend fun call(p1: T1, p2: T2, p3: T3, p4: T4, p5: T5): R {
return warrior.call { upstream(p1, p2, p3, p4, p5) }
}
}
}
| 2
|
Kotlin
|
0
| 1
|
cf33885f66ebc8529348e14c312ceb76cb15a26c
| 5,144
|
highlander
|
Apache License 2.0
|
kotlin-mui/src/main/generated/mui/material/ImageListItemBar.ext.kt
|
JetBrains
| 93,250,841
| false
| null |
// Automatically generated - do not modify!
package mui.material
@Suppress("NAME_CONTAINS_ILLEGAL_CHARS")
// language=JavaScript
@JsName("""(/*union*/{left: 'left', right: 'right'}/*union*/)""")
external enum class ActionPosition {
left,
right,
;
}
@Suppress("NAME_CONTAINS_ILLEGAL_CHARS")
// language=JavaScript
@JsName("""(/*union*/{below: 'below', top: 'top', bottom: 'bottom'}/*union*/)""")
external enum class ImageListItemBarPosition {
below,
top,
bottom,
;
}
| 10
|
Kotlin
|
145
| 983
|
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
| 499
|
kotlin-wrappers
|
Apache License 2.0
|
montecristo/src/test/kotlin/com/datastax/montecristo/sections/configuration/CompactionSettingsTest.kt
|
datastax-labs
| 764,557,778
| false
|
{"Kotlin": 1561142, "Shell": 29445, "CSS": 6059, "HTML": 2490, "Dockerfile": 1633}
|
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.datastax.montecristo.sections.configuration
import com.datastax.montecristo.logs.Searcher
import com.datastax.montecristo.model.Cluster
import com.datastax.montecristo.model.ConfigSource
import com.datastax.montecristo.model.application.ConfigValue
import com.datastax.montecristo.model.application.ConfigurationSetting
import com.datastax.montecristo.model.profiles.ExecutionProfile
import com.datastax.montecristo.sections.structure.Recommendation
import com.datastax.montecristo.sections.structure.RecommendationPriority
import io.mockk.every
import io.mockk.mockk
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
internal class CompactionSettingsTest {
@Test
fun getDocumentNoRecsValues() {
val compactorConfigSetting = ConfigurationSetting("compaction_throughput_mb_per_sec", mapOf(Pair("node1", ConfigValue(true, "16","128"))))
val concurrentConfigSetting = ConfigurationSetting("concurrent_compactors", mapOf(Pair("node1", ConfigValue(true, "2","16"))))
val searcher = mockk<Searcher>(relaxed = true)
val cluster = mockk<Cluster>(relaxed = true)
every { cluster.getSetting("compaction_throughput_mb_per_sec", ConfigSource.CASS, "16") } returns compactorConfigSetting
every { cluster.getSetting("concurrent_compactors", ConfigSource.CASS, "2") } returns concurrentConfigSetting
val compactor = CompactionSettings()
val recs: MutableList<Recommendation> = mutableListOf()
val template = compactor.getDocument(cluster, searcher, recs, ExecutionProfile.default())
assertThat(recs.size).isEqualTo(0)
assertThat(template).contains("concurrent_compactors: 16")
assertThat(template).contains("compaction_throughput_mb_per_sec: 128")
}
@Test
fun getDocumentLowThroughputPerCompactorValues() {
val compactorConfigSetting = ConfigurationSetting("compaction_throughput_mb_per_sec", mapOf(Pair("node1", ConfigValue(true, "16","100"))))
val concurrentConfigSetting = ConfigurationSetting("concurrent_compactors", mapOf(Pair("node1", ConfigValue(true, "2","16"))))
val searcher = mockk<Searcher>(relaxed = true)
val cluster = mockk<Cluster>(relaxed = true)
every { cluster.getSetting("compaction_throughput_mb_per_sec", ConfigSource.CASS, "16") } returns compactorConfigSetting
every { cluster.getSetting("concurrent_compactors", ConfigSource.CASS, "2") } returns concurrentConfigSetting
val compactor = CompactionSettings()
val recs: MutableList<Recommendation> = mutableListOf()
val template = compactor.getDocument(cluster, searcher, recs, ExecutionProfile.default())
assertThat(recs.size).isEqualTo(1)
assertThat(recs[0].priority).isEqualTo(RecommendationPriority.IMMEDIATE)
assertThat(recs[0].longForm).isEqualTo("We recommend giving at least 8 MB/s of throughput to each compactor in order to avoid heap pressure due to excessive throttling.")
assertThat(template).contains("concurrent_compactors: 16")
assertThat(template).contains("compaction_throughput_mb_per_sec: 100")
}
@Test
fun getDocumentDefaultCompactionsMb() {
val compactorConfigSetting = ConfigurationSetting("compaction_throughput_mb_per_sec", mapOf(Pair("node1", ConfigValue(true, "16","16"))))
val concurrentConfigSetting = ConfigurationSetting("concurrent_compactors", mapOf(Pair("node1", ConfigValue(true, "2","2"))))
val searcher = mockk<Searcher>(relaxed = true)
val cluster = mockk<Cluster>(relaxed = true)
every { cluster.getSetting("compaction_throughput_mb_per_sec", ConfigSource.CASS, "16") } returns compactorConfigSetting
every { cluster.getSetting("concurrent_compactors", ConfigSource.CASS, "2") } returns concurrentConfigSetting
val compactor = CompactionSettings()
val recs: MutableList<Recommendation> = mutableListOf()
val template = compactor.getDocument(cluster, searcher, recs, ExecutionProfile.default())
assertThat(recs.size).isEqualTo(1)
assertThat(recs[0].priority).isEqualTo(RecommendationPriority.NEAR)
assertThat(recs[0].longForm).isEqualTo("We recommend increasing the value of compaction throughput to 64MB/s, unless Cassandra is running on a single spinning disk. The default compaction throttling to 16MB/s is usually too low for write-heavy workloads and modern hardware can handle higher values.")
assertThat(template).contains("concurrent_compactors: 2")
assertThat(template).contains("compaction_throughput_mb_per_sec: 16")
}
@Test
fun getDocumentUnthrottledCompactionsMb() {
val compactorConfigSetting = ConfigurationSetting("compaction_throughput_mb_per_sec", mapOf(Pair("node1", ConfigValue(true, "16","0"))))
val concurrentConfigSetting = ConfigurationSetting("concurrent_compactors", mapOf(Pair("node1",ConfigValue(true, "2", "2"))))
val searcher = mockk<Searcher>(relaxed = true)
val cluster = mockk<Cluster>(relaxed = true)
every { cluster.getSetting("compaction_throughput_mb_per_sec", ConfigSource.CASS, "16") } returns compactorConfigSetting
every { cluster.getSetting("concurrent_compactors", ConfigSource.CASS, "2") } returns concurrentConfigSetting
val compactor = CompactionSettings()
val recs: MutableList<Recommendation> = mutableListOf()
val template = compactor.getDocument(cluster, searcher, recs, ExecutionProfile.default())
assertThat(recs.size).isEqualTo(1)
assertThat(recs[0].priority).isEqualTo(RecommendationPriority.NEAR)
assertThat(recs[0].longForm).isEqualTo("The compaction is currently un-throttled. We recommend decreasing this value to 64MB/s for clusters using SSD storage and 16MB/s for clusters using spinning disks.")
assertThat(template).contains("concurrent_compactors: 2")
assertThat(template).contains("compaction_throughput_mb_per_sec: 0")
}
@Test
fun getDocumentVeryHighCompactionsMb() {
val compactorConfigSetting = ConfigurationSetting("compaction_throughput_mb_per_sec", mapOf(Pair("node1",ConfigValue(true, "16", "400"))))
val concurrentConfigSetting = ConfigurationSetting("concurrent_compactors", mapOf(Pair("node1", ConfigValue(true, "2","2"))))
val searcher = mockk<Searcher>(relaxed = true)
val cluster = mockk<Cluster>(relaxed = true)
every { cluster.getSetting("compaction_throughput_mb_per_sec", ConfigSource.CASS, "16") } returns compactorConfigSetting
every { cluster.getSetting("concurrent_compactors", ConfigSource.CASS, "2") } returns concurrentConfigSetting
val compactor = CompactionSettings()
val recs: MutableList<Recommendation> = mutableListOf()
val template = compactor.getDocument(cluster, searcher, recs, ExecutionProfile.default())
assertThat(recs.size).isEqualTo(1)
assertThat(recs[0].priority).isEqualTo(RecommendationPriority.NEAR)
assertThat(recs[0].longForm).isEqualTo("The compaction throughput has been set to 400 MB/s, which is unusually high. We recommend reviewing the reason that the setting was altered to be this high.")
assertThat(template).contains("concurrent_compactors: 2")
assertThat(template).contains("compaction_throughput_mb_per_sec: 400")
}
}
| 0
|
Kotlin
|
3
| 6
|
ea1c41c5dad67e2087f2ff03bfb643c3c02a2670
| 7,984
|
Montecristo
|
Apache License 2.0
|
app/src/main/java/com/example/androiddevchallenge/ui/learning/DemoAnimations8.kt
|
eltonkola
| 344,213,168
| false
| null |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.example.androiddevchallenge.ui.learning
import android.util.Log
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.TargetBasedAnimation
import androidx.compose.animation.core.VectorConverter
import androidx.compose.animation.core.tween
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.setValue
import androidx.compose.runtime.withFrameNanos
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.example.androiddevchallenge.ui.theme.MyTheme
import kotlinx.coroutines.launch
// TODO - donet work
@ExperimentalAnimationApi
@Composable
fun DemoScreen8() {
Column(
modifier = Modifier
.padding(top = 100.dp)
.fillMaxWidth()
.fillMaxHeight()
.background(Color.White)
) {
var visible by remember { mutableStateOf(true) }
Text(
"ShowHide",
Modifier
.background(Color.Blue)
.fillMaxWidth()
.clickable {
visible = !visible
}
.width(200.dp)
.height(50.dp)
)
val coroutineScope = rememberCoroutineScope()
val anim = remember {
TargetBasedAnimation(
animationSpec = tween(1000),
typeConverter = Float.VectorConverter,
initialValue = 200f,
targetValue = 1000f
)
}
var playTime by remember { mutableStateOf(0L) }
var inaAnimation = true
coroutineScope.launch {
val startTime = withFrameNanos { it }
do {
playTime = withFrameNanos { it } - startTime
val animationValue = anim.getValueFromNanos(playTime)
Log.v("eltonkolaxxxx", "animationValue: $animationValue")
} while (inaAnimation)
}
Box(
Modifier
.width(100.dp)
.height(100.dp)
.background(Color.Green)
)
}
}
@ExperimentalAnimationApi
@Preview("Light Theme", widthDp = 360, heightDp = 640)
@Composable
fun DemoScreenPreview8() {
MyTheme {
DemoScreen8()
}
}
| 0
|
Kotlin
|
0
| 0
|
739b6a85e53891aaf694fd5a07c5c9e97ba08c8a
| 3,644
|
countdownComposer
|
Apache License 2.0
|
idea/testData/completion/handlers/multifile/TopLevelFunctionInQualifiedExpr-1.kt
|
chirino
| 3,596,099
| true
| null |
package some
import jettesting.*
fun other() {
data.topLevelFu<caret>
}
| 0
|
Java
|
28
| 71
|
ac434d48525a0e5b57c66b9f61b388ccf3d898b5
| 78
|
kotlin
|
Apache License 2.0
|
apps/Learning App/app/src/main/java/com/asser/learningapp/ui/MainFragment.kt
|
Asser22
| 683,746,930
| false
|
{"Kotlin": 249399, "Java": 958}
|
package com.asser.learningapp.ui
import android.content.Intent
import android.graphics.Rect
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.asser.learningapp.viewmodel.MainViewModel
import com.asser.learningapp.R
import com.asser.learningapp.adapter.SubjectsAdapter
import com.google.android.material.floatingactionbutton.FloatingActionButton
class MainFragment : Fragment() {
private val viewModel: MainViewModel by activityViewModels()
private lateinit var subjectsAdapter: SubjectsAdapter
private lateinit var recyclerView: RecyclerView
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_main, container, false)
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
setupRecyclerView(view)
setupAddSubjectButton(view)
observeSubjects()
}
private fun setupRecyclerView(view: View) {
recyclerView = view.findViewById(R.id.recyclerView)
recyclerView.layoutManager = LinearLayoutManager(context)
recyclerView.addItemDecoration(MarginItemDecoration(16))
subjectsAdapter = SubjectsAdapter(mutableListOf()) { subject, action ->
when (action) {
"click" -> navigateToDetail(subject)
"edit" -> showEditSubjectDialog(subject)
"delete" -> deleteSubject(subject)
}
}
recyclerView.adapter = subjectsAdapter
}
private fun setupAddSubjectButton(view: View) {
val fabAddSubject: FloatingActionButton = view.findViewById(R.id.fabAddSubject)
fabAddSubject.setOnClickListener {
showAddSubjectDialog()
}
}
private fun observeSubjects() {
viewModel.subjectsList.observe(viewLifecycleOwner, { subjects ->
subjectsAdapter.updateSubjects(subjects)
})
}
private fun showAddSubjectDialog() {
val editText = EditText(requireContext())
AlertDialog.Builder(requireContext())
.setTitle("Add New Subject")
.setView(editText)
.setPositiveButton("Add") { dialog, _ ->
val newSubject = editText.text.toString()
if (newSubject.isNotEmpty()) {
viewModel.addSubject(newSubject)
}
dialog.dismiss()
}
.setNegativeButton("Cancel", null)
.show()
}
private fun showEditSubjectDialog(oldSubject: String) {
val editText = EditText(requireContext()).apply { setText(oldSubject) }
AlertDialog.Builder(requireContext())
.setTitle("Edit Subject")
.setView(editText)
.setPositiveButton("Save") { dialog, _ ->
val newSubject = editText.text.toString()
if (newSubject.isNotEmpty()) {
viewModel.editSubject(oldSubject, newSubject)
}
dialog.dismiss()
}
.setNegativeButton("Cancel", null)
.show()
}
private fun deleteSubject(subject: String) {
AlertDialog.Builder(requireContext())
.setTitle("Delete Subject")
.setMessage("Are you sure you want to delete $subject?")
.setPositiveButton("Delete") { dialog, _ ->
viewModel.deleteSubject(subject)
dialog.dismiss()
}
.setNegativeButton("Cancel", null)
.show()
}
private fun navigateToDetail(subject: String) {
val intent = Intent(requireContext(), SubjectDetailActivity::class.java)
intent.putExtra("SUBJECT_NAME", subject)
startActivity(intent)
}
class MarginItemDecoration(private val spaceHeight: Int) : RecyclerView.ItemDecoration() {
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {
with(outRect) {
if (parent.getChildAdapterPosition(view) != 0) {
top = spaceHeight
}
}
}
}
}
| 0
|
Kotlin
|
0
| 2
|
848d1bc74b396ef66ec91b9ce4d51b203dd945e3
| 4,545
|
20-Android-Mobile-App-Projects
|
MIT License
|
newm-server/src/main/kotlin/io/newm/server/curator/CuratorKoinModule.kt
|
projectNEWM
| 447,979,150
| false
|
{"Kotlin": 2128188, "HTML": 154009, "Shell": 2775, "Dockerfile": 2535, "Procfile": 60}
|
package io.newm.server.curator
import io.ktor.server.application.Application
import io.ktor.server.application.pluginRegistry
import io.newm.server.curator.support.CuratorPlugin
import org.apache.curator.framework.CuratorFramework
import org.apache.curator.framework.recipes.leader.LeaderLatch
import org.apache.curator.framework.recipes.locks.InterProcessMutex
import org.koin.dsl.module
val curatorKoinModule =
module {
single<CuratorFramework> {
get<Application>().pluginRegistry[CuratorPlugin.key].client
}
factory { LeaderLatch(get(), it.get<String>()) }
factory { InterProcessMutex(get(), it.get<String>()) }
}
| 1
|
Kotlin
|
4
| 9
|
3e0dc74a14a33b195b9311767c794b8d244db697
| 672
|
newm-server
|
Apache License 2.0
|
auth/src/main/java/io/stanwood/framework/network/auth/AuthHeaderKeys.kt
|
stanwood
| 114,127,226
| false
| null |
/*
* Copyright (c) 2018 stanwood GmbH
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.stanwood.framework.network.auth
/**
* A collection of header keys used by [AuthInterceptor] AND [Authenticator]
* as well as their signed-in variants.
*/
class AuthHeaderKeys private constructor() {
init {
throw IllegalStateException("Utility class, not meant to be instantiated")
}
companion object {
/**
* This header is set by the Authenticators / Auth Interceptors to determine when to retry a
* request with a fresh token.
*/
const val RETRY_WITH_REFRESH_HEADER_KEY = "RetryWithRefresh"
}
}
| 1
| null |
3
| 12
|
8d80a8f8621bdf1f3bc21bc7f5c478ae3a1f9e0a
| 1,700
|
framework-network-android
|
MIT License
|
src/test/kotlin/ese/kotlin/basics/as_delegated_properties/DelegatedProperties.kt
|
eggeral
| 151,474,141
| false
| null |
package ese.kotlin.basics.as_delegated_properties
import org.junit.Test
import kotlin.properties.Delegates
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
import kotlin.test.assertEquals
class DelegatedProperties {
@Test
fun `logging the access to a property the standard way`() {
val accessedProperties = mutableListOf<String>()
class Vehicle(vid: String) {
var vid: String
get() {
accessedProperties.add("get Vehicle.vid: $field")
return field
}
set(value) {
accessedProperties.add("set Vehicle.vid: $value")
field = value
}
init {
this.vid = vid
}
}
class Person(name: String) {
var name: String
get() {
accessedProperties.add("get Person.name: $field")
return field
}
set(value) {
accessedProperties.add("set Person.name: $value")
field = value
}
init {
this.name = name
}
}
val vehicle = Vehicle("vid12345")
val person = Person("<NAME>")
val vid = vehicle.vid
val name = person.name
vehicle.vid = "vid99999"
person.name = "<NAME>"
assertEquals(listOf(
"set Vehicle.vid: vid12345",
"set Person.name: <NAME>",
"get Vehicle.vid: vid12345",
"get Person.name: <NAME>",
"set Vehicle.vid: vid99999",
"set Person.name: <NAME>")
, accessedProperties)
}
@Test
fun `logging the access to a property using delegated properties`() {
val accessedProperties = mutableListOf<String>()
class Logging<TClass : Any, TProperty : Any>(private val logger: MutableList<String>) : ReadWriteProperty<TClass, TProperty> {
private lateinit var value: TProperty
private fun String.verySimpleClassName() = this.substringAfterLast("$")
override fun getValue(thisRef: TClass, property: KProperty<*>): TProperty {
logger.add("get ${thisRef::class.java.simpleName.verySimpleClassName()}.${property.name}: $value")
return value
}
override fun setValue(thisRef: TClass, property: KProperty<*>, value: TProperty) {
logger.add("set ${thisRef::class.java.simpleName.verySimpleClassName()}.${property.name}: $value")
this.value = value
}
}
class Vehicle(vid: String) {
var vid: String by Logging(accessedProperties)
init {
this.vid = vid
}
}
class Person(name: String) {
var name: String by Logging(accessedProperties)
init {
this.name = name
}
}
val vehicle = Vehicle("vid12345")
val person = Person("<NAME>")
val vid = vehicle.vid
val name = person.name
vehicle.vid = "vid99999"
person.name = "<NAME>"
assertEquals(listOf(
"set Vehicle.vid: vid12345",
"set Person.name: <NAME>",
"get Vehicle.vid: vid12345",
"get Person.name: <NAME>",
"set Vehicle.vid: vid99999",
"set Person.name: <NAME>")
, accessedProperties)
}
@Test
fun `existing delegates`() {
val accessedProperties = mutableListOf<String>()
// Observables
class Vehicle(vid: String) {
var vid: String by Delegates.observable(initialValue = vid) { prop, old, new ->
accessedProperties.add("${prop.name}: $old -> $new")
}
init {
this.vid = vid
}
}
// Properties as map
// any class having a getValue and setValue can be used for delegated properties
// that`s why Mutable map works out of the box
class Person(map: MutableMap<String, Any>) {
var name: String by map
var age: Int by map
}
val vehicle = Vehicle("vid12345")
val personProperties = mutableMapOf(
"name" to "<NAME>",
"age" to 35
)
val person = Person(personProperties)
val vid = vehicle.vid
val name = person.name
vehicle.vid = "vid99999"
person.name = "<NAME>"
person.age = 44
assertEquals(listOf(
"vid: vid12345 -> vid12345",
"vid: vid12345 -> vid99999")
, accessedProperties)
assertEquals(mapOf(
"name" to "<NAME>",
"age" to 44)
, personProperties)
}
}
| 0
|
Kotlin
|
0
| 0
|
4bc7a91104617e07e4d27c7f65d3ba1c2ead6858
| 5,010
|
kotlin-examples-jvm
|
Apache License 2.0
|
lint/src/com/android/tools/idea/lint/common/SuppressLintIntentionAction.kt
|
JetBrains
| 60,701,247
| false
| null |
/*
* Copyright (C) 2016 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 applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.tools.idea.lint.common
import com.android.tools.idea.gradle.dcl.ide.DeclarativeFileType
import com.android.tools.lint.detector.api.Issue
import com.intellij.codeInsight.intention.preview.IntentionPreviewUtils
import com.intellij.icons.AllIcons
import com.intellij.ide.highlighter.JavaFileType
import com.intellij.ide.highlighter.XmlFileType
import com.intellij.modcommand.ActionContext
import com.intellij.modcommand.ModCommand
import com.intellij.modcommand.ModCommandAction
import com.intellij.modcommand.Presentation
import com.intellij.psi.PsiBinaryFile
import com.intellij.psi.PsiElement
import org.jetbrains.kotlin.idea.KotlinFileType
import org.jetbrains.plugins.gradle.config.GradleFileType
import org.jetbrains.plugins.groovy.GroovyFileType
import org.toml.lang.psi.TomlFileType
/** Intention for adding a `@SuppressLint` annotation on the given element for the given id */
class SuppressLintIntentionAction(
private val id: String,
element: PsiElement,
private val issue: Issue? = null,
) : ModCommandAction {
private val label = SuppressLintQuickFix.displayName(element, id)
constructor(issue: Issue, element: PsiElement) : this(issue.id, element)
override fun getFamilyName(): String {
return "Suppress"
}
override fun perform(context: ActionContext): ModCommand {
val file = context.file
val target = file.findElementAt(context.offset) ?: file
val result = SuppressLintQuickFix(id, target).applyFix(target, context)
if (issue != null && !IntentionPreviewUtils.isIntentionPreviewActive()) {
LintIdeSupport.get().logQuickFixInvocation(context.project, issue, label)
}
return result
}
override fun getPresentation(context: ActionContext): Presentation? {
val type = context.file.fileType
return if (
type === JavaFileType.INSTANCE ||
type === XmlFileType.INSTANCE ||
type === GroovyFileType.GROOVY_FILE_TYPE ||
type === GradleFileType ||
type === KotlinFileType.INSTANCE ||
context.file is PsiBinaryFile ||
type === TomlFileType ||
type === DeclarativeFileType.INSTANCE
)
Presentation.of(label).withIcon(AllIcons.Actions.Cancel)
else null
}
}
| 5
| null |
227
| 948
|
10110983c7e784122d94c7467e9d243aba943bf4
| 2,840
|
android
|
Apache License 2.0
|
attic/photlin/src/org/jetbrains/kotlin/js/translate/context/DeclarationExporter.kt
|
adolfoeliazat
| 93,302,907
| false
|
{"Java": 30937521, "PHP": 7642921, "Kotlin": 2980528, "JavaScript": 2555709, "TypeScript": 222563, "HTML": 46734, "Batchfile": 23511, "Lex": 15020, "OCaml": 6730, "C#": 4124, "Protocol Buffer": 2621, "AutoHotkey": 2556, "Shell": 843, "Vim Script": 591, "Python": 62}
|
/*
* Copyright 2010-2016 JetBrains s.r.o.
*
* 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, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jetbrains.kotlin.js.translate.context
import photlinc.*
import org.jetbrains.kotlin.js.backend.ast.metadata.staticRef
import org.jetbrains.kotlin.descriptors.*
import org.jetbrains.kotlin.descriptors.annotations.isInlineOnlyOrReifiable
import org.jetbrains.kotlin.js.backend.ast.*
import org.jetbrains.kotlin.js.translate.utils.AnnotationsUtils
import org.jetbrains.kotlin.js.translate.utils.AnnotationsUtils.isLibraryObject
import org.jetbrains.kotlin.js.translate.utils.AnnotationsUtils.isNativeObject
import org.jetbrains.kotlin.js.translate.utils.JsAstUtils
import org.jetbrains.kotlin.js.translate.utils.JsAstUtils.assignment
import org.jetbrains.kotlin.js.translate.utils.JsDescriptorUtils
import org.jetbrains.kotlin.js.translate.utils.TranslationUtils
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.resolve.DescriptorUtils
internal class DeclarationExporter(val context: StaticContext) {
private val objectLikeKinds = setOf(ClassKind.OBJECT, ClassKind.ENUM_ENTRY)
private val exportedDeclarations = mutableSetOf<MemberDescriptor>()
private val localPackageNames = mutableMapOf<FqName, JsName>()
val statements = mutableListOf<JsStatement>()
fun export(descriptor: MemberDescriptor, force: Boolean) {
if (exportedDeclarations.contains(descriptor)) return
if (descriptor is ConstructorDescriptor && descriptor.isPrimary) return
if (isNativeObject(descriptor) || isLibraryObject(descriptor)) return
if (descriptor.isInlineOnlyOrReifiable()) return
val suggestedName = context.nameSuggestion.suggest(descriptor) ?: return
val container = suggestedName.scope
if (!descriptor.shouldBeExported(force)) return
exportedDeclarations.add(descriptor)
val qualifier = when {
container is PackageFragmentDescriptor -> {
getLocalPackageReference(container.fqName)
}
DescriptorUtils.isObject(container) -> {
JsAstUtils.prototypeOf(context.getInnerNameForDescriptor(container).makeRef())
}
else -> {
context.getInnerNameForDescriptor(container).makeRef()
}
}
when {
descriptor is ClassDescriptor && descriptor.kind in objectLikeKinds -> {
exportObject(descriptor, qualifier)
}
descriptor is PropertyDescriptor && container is PackageFragmentDescriptor -> {
exportProperty(descriptor, qualifier)
}
else -> {
// @possibly-needed
// assign(descriptor, qualifier, context.getInnerNameForDescriptor(descriptor).makeRef().setKind(PHPNameRefKind.STRING_LITERAL))
// assign(descriptor, qualifier, context.getInnerNameForDescriptor(descriptor).makeRef())
}
}
}
private fun assign(descriptor: DeclarationDescriptor, qualifier: JsExpression, expression: JsExpression) {
val propertyName = context.getNameForDescriptor(descriptor)
if (propertyName.staticRef == null) {
if (expression !is JsNameRef || expression.name !== propertyName) {
propertyName.staticRef = expression
}
}
statements += assignment(JsNameRef(propertyName, qualifier), expression).makeStmt()
}
// @fucking Export object
private fun exportObject(declaration: ClassDescriptor, qualifier: JsExpression) {
val name = context.getNameForDescriptor(declaration)
if (qualifier is JsNameRef && qualifier.qualifier == null) {
qualifier.kind = PHPNameRefKind.VAR
}
val statement = JsInvocation(
JsNameRef("__photlin_defineProperty", qualifier),
JsStringLiteral(name.ident),
JsObjectLiteral(listOf(JsPropertyInitializer(JsNameRef("get"), JsFunction(context.rootScope, JsBlock(
JsReturn(JsInvocation(context.getNameForObjectInstance(declaration).makeRef()))
), "description?"))))
).makeStmt()
if (qualifier is JsNameRef && qualifier.ident == "prototype") {
(statement as AbstractNode).commentedOut = true
}
statements += statement
// statements += JsAstUtils.defineGetter(context.program, qualifier, name.ident,
// context.getNameForObjectInstance(declaration).makeRef())
}
private fun exportProperty(declaration: PropertyDescriptor, qualifier: JsExpression) {
val propertyLiteral = JsObjectLiteral(true)
val name = context.getNameForDescriptor(declaration).ident
val simpleProperty = JsDescriptorUtils.isSimpleFinalProperty(declaration) &&
!TranslationUtils.shouldAccessViaFunctions(declaration)
val getterBody: JsExpression = if (simpleProperty) {
val accessToField = JsReturn(context.getInnerNameForDescriptor(declaration).makePHPVarRef())
JsFunction(context.rootFunction.scope, JsBlock(accessToField), "$declaration getter")
}
else {
JsFunction(context.rootFunction.scope, JsBlock(
JsReturn(
JsInvocation(context.getInnerNameForDescriptor(declaration.getter!!).makeRef()))
), "pizda")
}
propertyLiteral.propertyInitializers += JsPropertyInitializer(JsNameRef("get"), getterBody)
if (declaration.isVar) {
val setterBody: JsExpression = if (simpleProperty) {
val statements = mutableListOf<JsStatement>()
val function = JsFunction(context.rootFunction.scope, JsBlock(statements), "$declaration setter")
val valueName = function.scope.declareTemporaryName("value")
function.parameters += JsParameter(valueName)
statements += assignment(context.getInnerNameForDescriptor(declaration).makePHPVarRef(), valueName.makeRef()).makeStmt()
function
}
else {
val block = JsBlock()
val function = JsFunction(context.rootFunction.scope, block, "pizda")
val pizdaParameterName = function.scope.declareFreshName("pizda")
block.statements += JsReturn(JsInvocation(
context.getInnerNameForDescriptor(declaration.setter!!).makeRef(),
pizdaParameterName.makePHPVarRef()))
function.parameters.add(JsParameter(pizdaParameterName))
function
}
propertyLiteral.propertyInitializers += JsPropertyInitializer(JsNameRef("set"), setterBody)
}
statements += JsInvocation(
JsNameRef("__photlin_defineProperty", qualifier),
JsStringLiteral(name),
propertyLiteral)
.makeStmt()
// statements += JsAstUtils.defineProperty(qualifier, name, propertyLiteral, context.program).makeStmt()
}
private fun getLocalPackageReference(packageName: FqName): JsExpression {
val res = run {
if (packageName.isRoot) {
return@run context.rootFunction.scope.declareName(Namer.getRootPackageName()).makePHPVarRef()
}
var name = localPackageNames[packageName]
if (name == null) {
name = context.rootFunction.scope.declareTemporaryName("package$" + packageName.shortName().asString())
localPackageNames.put(packageName, name)
val parentRef = getLocalPackageReference(packageName.parent())
val selfRef = JsNameRef(packageName.shortName().asString(), parentRef)
selfRef.suppressWarnings = true
val rhs = JsAstUtils.elvis(selfRef, assignment(selfRef.deepCopy(), JsObjectLiteral(false)))
// @fucking packages
statements.add(JsAstUtils.newVar(name, rhs))
}
return@run name.makePHPVarRef()
}
return res
}
}
private fun MemberDescriptor.shouldBeExported(force: Boolean) =
force || effectiveVisibility(checkPublishedApi = true).publicApi || AnnotationsUtils.getJsNameAnnotation(this) != null
| 1
| null |
1
| 1
|
6d40f5900d94037139ed97cdc926db90749d5768
| 8,827
|
fucking-everything
|
Apache License 2.0
|
idea/testData/stubs/MembersInLocalClass.kt
|
JakeWharton
| 99,388,807
| true
| null |
public fun f {
class C {
fun f() {
}
val c: Int
}
}
| 0
|
Kotlin
|
28
| 83
|
4383335168338df9bbbe2a63cb213a68d0858104
| 84
|
kotlin
|
Apache License 2.0
|
AgqrPlayer4Tv/app/src/main/java/org/misuzilla/agqrplayer4tv/component/fragment/AgqrPlaybackOverlayFragment.kt
|
mayuki
| 41,623,758
| false
|
{"Text": 1, "Ignore List": 3, "Git Attributes": 1, "Markdown": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "XML": 15, "JavaScript": 1, "Kotlin": 51, "Java": 6}
|
package org.misuzilla.agqrplayer4tv.component.fragment
import android.content.Intent
import android.os.Bundle
import android.support.v17.leanback.app.PlaybackSupportFragment
import android.support.v17.leanback.widget.*
import android.support.v4.content.ContextCompat
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import org.misuzilla.agqrplayer4tv.R
import org.misuzilla.agqrplayer4tv.component.activity.ErrorActivity
import org.misuzilla.agqrplayer4tv.component.activity.PlayConfirmationActivity
import org.misuzilla.agqrplayer4tv.infrastracture.extension.addTo
import org.misuzilla.agqrplayer4tv.infrastracture.extension.observeOnUIThread
import org.misuzilla.agqrplayer4tv.component.activity.SettingsActivity
import org.misuzilla.agqrplayer4tv.component.fragment.presenter.AgqrDetailsDescriptionPresenter
import org.misuzilla.agqrplayer4tv.component.fragment.presenter.AgqrPlaybackControlsRowPresenter
import org.misuzilla.agqrplayer4tv.component.fragment.PlaybackControlsRowViewModel
import org.misuzilla.agqrplayer4tv.component.fragment.guidedstep.AboutSettingGuidedStepFragment
import org.misuzilla.agqrplayer4tv.component.fragment.presenter.ProgramCardPresenter
import org.misuzilla.agqrplayer4tv.component.widget.SettingsCommandScheduleActionCardPresenter
import org.misuzilla.agqrplayer4tv.component.widget.CommandAction
import org.misuzilla.agqrplayer4tv.component.widget.CommandActionCardPresenter
import org.misuzilla.agqrplayer4tv.component.widget.SettingsCommandScheduleAction
import org.misuzilla.agqrplayer4tv.component.widget.TypedArrayObjectAdapter
import org.misuzilla.agqrplayer4tv.model.*
import org.threeten.bp.LocalDateTime
import rx.Single
import rx.android.schedulers.AndroidSchedulers
import rx.subscriptions.CompositeSubscription
class AgqrPlaybackOverlayFragment : PlaybackSupportFragment() {
private val subscriptions = CompositeSubscription()
private val playbackPlayer: PlaybackPlayerFragmentBase
get () = this.parentFragment as PlaybackPlayerFragmentBase
private val primaryActionsDefinition by lazy {
mapOf<Action, (Action) -> Unit>(PlaybackControlsRow.PlayPauseAction(this.activity) to { x ->
if (playbackPlayer.isPlaying.get()) {
playbackPlayer.stop()
} else {
playbackPlayer.play()
}
})
}
private val secondaryActionsDefinition by lazy {
mapOf<Action, (Action) -> Unit>(Action(1, context!!.getString(R.string.guidedstep_settings_title)) to { x ->
playbackPlayer.stop()
startActivity(SettingsActivity.createIntent(context!!, SettingsActivity.SettingsFragmentType.DEFAULT))
})
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
buildDetails()
setOnItemViewClickedListener { itemViewHolder, item, rowViewHolder, row ->
if (item is CommandAction) {
item.execute()
} else if (item is ProgramCardPresenter.Item) {
startActivity(PlayConfirmationActivity.createIntent(context!!, item.program, false))
}
}
}
override fun onDetach() {
subscriptions.unsubscribe()
super.onDetach()
}
private fun buildDetails() {
val nowPlaying = NowPlaying.now as NowPlaying
val playbackPlayer = parentFragment as PlaybackPlayerFragmentBase
val playbackControlsRow = PlaybackControlsRow(PlaybackControlsRowViewModel(playbackPlayer, nowPlaying)).apply {
primaryActionsAdapter = ArrayObjectAdapter(ControlButtonPresenterSelector()).apply {
addAll(0, primaryActionsDefinition.keys)
}
secondaryActionsAdapter = ArrayObjectAdapter(ControlButtonPresenterSelector()).apply {
addAll(0, secondaryActionsDefinition.keys)
}
}
val programCards = TypedArrayObjectAdapter(ProgramCardPresenter())
// Rowに対するPresenterの登録と実際に表示したいRowを登録する
val presenterSelector = ClassPresenterSelector().apply {
// RowのPresenterたちを登録
addClassPresenter(PlaybackControlsRow::class.java, AgqrPlaybackControlsRowPresenter(AgqrDetailsDescriptionPresenter()).apply {
setSecondaryActionsHidden(true)
backgroundColor = ContextCompat.getColor(context!!, R.color.accent_dark)
progressColor = ContextCompat.getColor(context!!, R.color.accent)
setOnActionClickedListener {
val action = if (primaryActionsDefinition.containsKey(it)) primaryActionsDefinition[it] else secondaryActionsDefinition[it]
action?.let { x -> x(it) }
}
})
addClassPresenter(ListRow::class.java, ListRowPresenter())
}
val rowsAdapter = TypedArrayObjectAdapter<Row>(presenterSelector).apply {
// 各Rowを追加する
// 1. プレイバックコントロール
add(playbackControlsRow)
// 2. これからのプログラム
add(ListRow(HeaderItem(0, context!!.getString(R.string.playback_rows_upcoming_header)), programCards))
// 3. 設定
add(ListRow(HeaderItem(1, context!!.getString(R.string.playback_rows_settings_header)), TypedArrayObjectAdapter<Action>(ClassPresenterSelector().apply {
addClassPresenter(CommandAction::class.java, CommandActionCardPresenter())
addClassPresenter(SettingsCommandScheduleAction::class.java, SettingsCommandScheduleActionCardPresenter())
}).apply {
add(SettingsCommandScheduleAction(0, context!!.getString(R.string.playback_rows_settings_schedules_clear), context!!.getString(R.string.playback_rows_settings_schedules_clear_description), context!!.getDrawable(R.drawable.ic_timer_off_white), {
startActivity(SettingsActivity.createIntent(context!!, SettingsActivity.SettingsFragmentType.CANCEL_ALL_SCHEDULES))
}))
add(CommandAction(1, context!!.getString(R.string.playback_rows_settings_settings), "", context!!.getDrawable(R.drawable.ic_settings_applications_white), {
startActivity(SettingsActivity.createIntent(context!!, SettingsActivity.SettingsFragmentType.DEFAULT))
}))
add(CommandAction(2, context!!.getString(R.string.playback_rows_settings_about), "", context!!.getDrawable(R.drawable.ic_info_outline_white), {
startActivity(SettingsActivity.createIntent(context!!, SettingsActivity.SettingsFragmentType.ABOUT))
}))
}))
}
playbackPlayer.isPlaying
.observeOnUIThread()
.filter { it != null }
.subscribe {
val action = primaryActionsDefinition.keys.first { it is PlaybackControlsRow.PlayPauseAction } as PlaybackControlsRow.PlayPauseAction
action.index = when (it) {
true -> PlaybackControlsRow.PlayPauseAction.PAUSE
false -> PlaybackControlsRow.PlayPauseAction.PLAY
}
rowsAdapter.notifyArrayItemRangeChanged(0, 1)
}
.addTo(subscriptions)
playbackPlayer.elapsedSeconds
.observeOnUIThread()
.filter { it != null }
.subscribe { playbackControlsRow.currentTime = it * 1000 }
.addTo(subscriptions)
nowPlaying.program
.observeOnUIThread()
.filter { it != null }
.subscribe {
playbackControlsRow.totalTime = (it.end.totalSeconds - it.start.totalSeconds) * 1000
val mappingTask = UpdateRecommendation(context!!).getProgramImageMappingAsync()
Timetable(context!!)
.getDatasetAsync()
.subscribe {
programCards.clear()
val now = LogicalDateTime.now
programCards.add(0, it.data[now.dayOfWeek]!!.filter { it.start > now.time }.map { ProgramCardPresenter.Item(it, mappingTask) })
rowsAdapter.notifyArrayItemRangeChanged(1, programCards.size())
}
rowsAdapter.notifyArrayItemRangeChanged(0, 1)
}
.addTo(subscriptions)
adapter = rowsAdapter
}
}
| 0
|
Kotlin
|
1
| 7
|
6997399f88d886526b62a2f0ac83139ad3dc87eb
| 8,541
|
AgqrPlayer4Tv
|
MIT License
|
module-book-reader/src/main/java/io/legado/app/ui/book/searchContent/SearchListAdapter.kt
|
LinXueyuanStdio
| 332,099,365
| false
| null |
package io.legado.app.ui.book.searchContent
import android.content.Context
import io.legado.app.R
import io.legado.app.base.adapter.ItemViewHolder
import io.legado.app.base.adapter.SimpleRecyclerAdapter
import io.legado.app.lib.theme.accentColor
import io.legado.app.utils.getCompatColor
import io.legado.app.utils.hexString
import kotlinx.android.synthetic.main.novel_item_search_list.view.*
import org.jetbrains.anko.sdk27.listeners.onClick
class SearchListAdapter(context: Context, val callback: Callback) :
SimpleRecyclerAdapter<SearchResult>(context, R.layout.novel_item_search_list) {
val cacheFileNames = hashSetOf<String>()
val textColor = context.getCompatColor(R.color.primaryText).hexString.substring(2)
val accentColor = context.accentColor.hexString.substring(2)
override fun convert(holder: ItemViewHolder, item: SearchResult, payloads: MutableList<Any>) {
with(holder.itemView) {
val isDur = callback.durChapterIndex() == item.chapterIndex
if (payloads.isEmpty()) {
tv_search_result.text = item.getHtmlCompat(textColor, accentColor)
tv_search_result.paint.isFakeBoldText = isDur
}
}
}
override fun registerListener(holder: ItemViewHolder) {
holder.itemView.onClick {
getItem(holder.layoutPosition)?.let {
callback.openSearchResult(it)
}
}
}
interface Callback {
fun openSearchResult(searchResult: SearchResult)
fun durChapterIndex(): Int
}
}
| 1
| null |
1
| 1
|
1131fe5d2c16c15adfa12111cfac0fda080a50dc
| 1,558
|
TimeCatModule-BookReader
|
Apache License 2.0
|
kbinding/src/main/java/com/github/spheniscine/kbinding/KBindableEvent.kt
|
Spheniscine
| 170,064,213
| false
| null |
package com.github.spheniscine.kbinding
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
/**
* These are observable events, that won't retrigger if an activity resubscribes to the bindable
* (e.g. on rotation). In this they are similar to a SingleLiveEvent as described on several websites.
*
* Note however that if there is more than one observer observing at a time,
* only one will be notified. I've tried a lot of things but still could not get around
* this limitation without possibly introducing other problems - if only LiveData had some way
* to query the number of observers
*/
interface KBindableEvent<B: Any, F: Function<Unit>> : KBindable<B, F>
abstract class AbstractKBindableEvent<B: Any, F: Function<Unit>> : KBindableEvent<B, F>, AbstractKBindable<B, F>() {
override val liveData = MutableLiveData<B?>()
}
open class KBindableEvent0 :
AbstractKBindableEvent<Unit, () -> Unit>() {
override val liveData = MutableLiveData<Unit?>()
open operator fun invoke() {
liveData.value = Unit
}
override fun makeObserver(func: () -> Unit): Observer<Any?> = Observer {
liveData.value?.let {
liveData.value = null
func()
}
}
}
open class KBindableEvent1<T> :
AbstractKBindableEvent<Box<T>, (T) -> Unit>() {
override val liveData = MutableLiveData<Box<T>?>()
open operator fun invoke(arg: T) {
liveData.value = Box(arg)
}
override fun makeObserver(func: (T) -> Unit): Observer<Any?> = Observer {
liveData.value?.let {
liveData.value = null
func(it.value)
}
}
}
open class KBindableEvent2<A, B> :
AbstractKBindableEvent<Pair<A, B>, (A, B) -> Unit>() {
override val liveData = MutableLiveData<Pair<A, B>?>()
open operator fun invoke(a: A, b: B) {
liveData.value = Pair(a, b)
}
override fun makeObserver(func: (A, B) -> Unit): Observer<Any?> = Observer {
liveData.value?.let {
liveData.value = null
func(it.first, it.second)
}
}
}
open class KBindableEvent3<A, B, C> :
AbstractKBindableEvent<Triple<A, B, C>, (A, B, C) -> Unit>() {
override val liveData = MutableLiveData<Triple<A, B, C>?>()
open operator fun invoke(a: A, b: B, c: C) {
liveData.value = Triple(a, b, c)
}
override fun makeObserver(func: (A, B, C) -> Unit): Observer<Any?> = Observer {
liveData.value?.let {
liveData.value = null
func(it.first, it.second, it.third)
}
}
}
| 0
|
Kotlin
|
0
| 3
|
72fdcb39f90b5370f321135cbf0d3d4cee2a3817
| 2,579
|
kbindingsample
|
MIT License
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.