Home
last modified time | relevance | path

Searched refs:ShortcutKey (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelperTemporaryData.kt46 data class ShortcutCommand(val keys: List<ShortcutKey>)
48 sealed interface ShortcutKey { interface
49 data class Text(val value: String) : ShortcutKey
51 data class Icon(val value: ImageVector) : ShortcutKey
77 keys.add(ShortcutKey.Text(value)) in key()
81 keys.add(ShortcutKey.Icon(value)) in key()
106 val keys = mutableListOf<ShortcutKey>() in build()
DShortcutHelper.kt352 if (key is ShortcutKey.Text) { in ShortcutCommand()
354 } else if (key is ShortcutKey.Icon) { in ShortcutCommand()
376 private fun BoxScope.ShortcutTextKey(key: ShortcutKey.Text) { in ShortcutTextKey()
385 private fun BoxScope.ShortcutIconKey(key: ShortcutKey.Icon) { in ShortcutIconKey()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt222 val shortcutKeys = entities.map { ShortcutKey(it.userId, it.packageName) }.toSet() in <lambda>()
245 }.groupBy { ShortcutKey(it.userId, it.`package`) } in <lambda>()
249 shortcutMap[ShortcutKey(entity.userId, entity.packageName)] in <lambda>()
270 data class ShortcutKey(val userId: Int, val pkg: String) class
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepository.kt23 import com.android.wm.shell.bubbles.ShortcutKey in <lambda>()
162 bubbles.groupBy { ShortcutKey(it.userId, it.packageName) }.forEach { (key, bubbles) -> in <lambda>()
169 bubbles.groupBy { ShortcutKey(it.userId, it.packageName) }.forEach { (key, bubbles) -> in <lambda>()