Home
last modified time | relevance | path

Searched refs:fromKey (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DKeyRemapper.java69 public void remapKey(int fromKey, int toKey) { in remapKey() argument
94 private void addKeyRemapping(int fromKey, int toKey) { in addKeyRemapping() argument
105 private void remapKeyInternal(int fromKey, int toKey) { in remapKeyInternal() argument
106 addKeyRemapping(fromKey, toKey); in remapKeyInternal()
109 if (fromKey == toKey) { in remapKeyInternal()
110 mDataStore.clearMappedKey(fromKey); in remapKeyInternal()
112 mDataStore.remapKey(fromKey, toKey); in remapKeyInternal()
124 for (int fromKey : keyRemapping.keySet()) { in clearAllRemappingsInternal()
125 mDataStore.clearMappedKey(fromKey); in clearAllRemappingsInternal()
128 addKeyRemapping(fromKey, fromKey); in clearAllRemappingsInternal()
[all …]
H A DPersistentDataStore.java229 public boolean remapKey(int fromKey, int toKey) { in remapKey() argument
231 if (mKeyRemapping.getOrDefault(fromKey, INVALID_VALUE) == toKey) { in remapKey()
234 mKeyRemapping.put(fromKey, toKey); in remapKey()
381 int fromKey = parser.getAttributeInt(null, "from-key"); in loadKeyRemappingFromXml() local
383 mKeyRemapping.put(fromKey, toKey); in loadKeyRemappingFromXml()
393 for (int fromKey : mKeyRemapping.keySet()) { in saveToXml()
394 int toKey = mKeyRemapping.get(fromKey); in saveToXml()
396 serializer.attributeInt(null, "from-key", fromKey); in saveToXml()
H A DInputManagerService.java2760 public void remapModifierKey(int fromKey, int toKey) { in remapModifierKey() argument
2762 mKeyRemapper.remapKey(fromKey, toKey); in remapModifierKey()
/aosp14/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java584 private final String fromKey; field in ContentProviderOperation.BackReference
586 private BackReference(int fromIndex, String fromKey) { in BackReference() argument
588 this.fromKey = fromKey; in BackReference()
594 this.fromKey = src.readString8(); in BackReference()
596 this.fromKey = null; in BackReference()
609 backRefValue = backRef.extras.get(fromKey); in resolve()
621 if (fromKey != null) { in writeToParcel()
623 dest.writeString8(fromKey); in writeToParcel()
825 @NonNull String fromKey) { in withValueBackReference() argument
889 @NonNull String fromKey) { in withExtraBackReference() argument
[all …]
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java670 public void remapModifierKey(@RemappableModifierKey int fromKey, in remapModifierKey() argument
673 mIm.remapModifierKey(fromKey, toKey); in remapModifierKey()
H A DIInputManager.aidl133 void remapModifierKey(int fromKey, int toKey); in remapModifierKey() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogControllerImpl.java510 final boolean fromKey = (flags & AudioManager.FLAG_FROM_KEY) != 0; in onVolumeChangedW()
532 if (changed && fromKey) { in onVolumeChangedW()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...