Home
last modified time | relevance | path

Searched refs:KeyCombination (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DKeyGlyphMap.java57 private final Map<KeyCombination, Integer> mHardwareShortcuts;
73 @NonNull Map<KeyCombination, Integer> hardwareShortcuts) { in KeyGlyphMap() argument
88 in.readMap(mHardwareShortcuts, getClass().getClassLoader(), KeyCombination.class, in KeyGlyphMap()
111 public static class KeyCombination implements Parcelable { class in KeyGlyphMap
115 public KeyCombination(int modifierState, int keycode) { in KeyCombination() method in KeyGlyphMap.KeyCombination
120 public KeyCombination(Parcel in) { in KeyCombination() method in KeyGlyphMap.KeyCombination
124 public static final Creator<KeyCombination> CREATOR = new Creator<>() {
126 public KeyCombination createFromParcel(Parcel in) {
127 return new KeyCombination(in);
131 public KeyCombination[] newArray(int size) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/domain/interactor/
DShortcutCustomizationInteractor.kt22 import com.android.systemui.keyboard.shortcut.shared.model.KeyCombination
32 fun updateUserSelectedKeyCombination(keyCombination: KeyCombination?) { in updateUserSelectedKeyCombination()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/shared/model/
DKeyCombination.kt19 data class KeyCombination(val modifiers: Int, val keyCode: Int?) class
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyboardGlyphManagerTests.kt27 import android.hardware.input.KeyGlyphMap.KeyCombination
180 hardwareShortcuts[KeyCombination(KeyEvent.META_FUNCTION_ON, KeyEvent.KEYCODE_1)], in testGlyphMapCorrectlyLoaded()
185 KeyCombination( in testGlyphMapCorrectlyLoaded()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyboard/shortcut/data/source/
DSystemShortcutsSourceTest.kt21 import android.hardware.input.KeyGlyphMap.KeyCombination in <lambda>()
103 mapOf(Pair(KeyCombination(KeyEvent.META_META_ON, KeyEvent.KEYCODE_1), KEYCODE_BACK)) in <lambda>()
123 mapOf(Pair(KeyCombination(KeyEvent.META_META_ON, KeyEvent.KEYCODE_1), KEYCODE_BACK)) in <lambda>()
DTestShortcuts.kt40 import com.android.systemui.keyboard.shortcut.shared.model.KeyCombination
622 KeyCombination(
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/data/repository/
DCustomShortcutCategoriesRepository.kt35 import com.android.systemui.keyboard.shortcut.shared.model.KeyCombination in <lambda>()
63 private val _selectedKeyCombination = MutableStateFlow<KeyCombination?>(null) in <lambda>()
131 fun updateUserKeyCombination(keyCombination: KeyCombination?) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyboard/shortcut/data/repository/
DCustomShortcutCategoriesRepositoryTest.kt59 import com.android.systemui.keyboard.shortcut.shared.model.KeyCombination
163 KeyCombination(modifiers = ALL_SUPPORTED_MODIFIERS, keyCode = null) in pressedKeys_recognizesAllSupportedModifiers()
184 KeyCombination(modifiers = META_CAPS_LOCK_ON, keyCode = null) in pressedKeys_ignoresUnsupportedModifiers()
197 KeyCombination(modifiers = META_META_ON, keyCode = KEYCODE_SLASH) in pressedKeys_assertCorrectConversion()
432 keyCombination: KeyCombination? = null, in customizeShortcut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/
DShortcutCustomizationViewModel.kt30 import com.android.systemui.keyboard.shortcut.shared.model.KeyCombination in <lambda>()
163 KeyCombination( in <lambda>()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardGlyphManager.java236 HashMap<KeyGlyphMap.KeyCombination, Integer> hardwareShortcuts = new HashMap<>(); in loadGlyphMapFromResource()
301 new KeyGlyphMap.KeyCombination(modifierState, keycode), in loadGlyphMapFromResource()