Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/input/
DKeyRemapper.java69 public void remapKey(int fromKey, int toKey) { in remapKey() argument
73 Message msg = Message.obtain(mHandler, MSG_REMAP_KEY, fromKey, toKey); in remapKey()
94 private void addKeyRemapping(int fromKey, int toKey) { in addKeyRemapping() argument
100 mNative.addKeyRemapping(deviceId, fromKey, toKey); in addKeyRemapping()
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()
[all …]
DPersistentDataStore.java174 public boolean remapKey(int fromKey, int toKey) { in remapKey() argument
176 if (mKeyRemapping.getOrDefault(fromKey, INVALID_VALUE) == toKey) { in remapKey()
179 mKeyRemapping.put(fromKey, toKey); in remapKey()
326 int fromKey = parser.getAttributeInt(null, "from-key"); in loadKeyRemappingFromXml() local
328 mKeyRemapping.put(fromKey, toKey); in loadKeyRemappingFromXml()
338 for (int fromKey : mKeyRemapping.keySet()) { in saveToXml()
339 int toKey = mKeyRemapping.get(fromKey); in saveToXml()
341 serializer.attributeInt(null, "from-key", fromKey); in saveToXml()
DInputManagerService.java2639 public void remapModifierKey(int fromKey, int toKey) { in remapModifierKey() argument
2641 mKeyRemapper.remapKey(fromKey, toKey); in remapModifierKey()
/frameworks/base/core/java/android/content/
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
827 setValue(key, new BackReference(fromIndex, fromKey)); in withValueBackReference()
[all …]
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl116 void remapModifierKey(int fromKey, int toKey); in remapModifierKey() argument
DInputManager.java590 public void remapModifierKey(@RemappableModifierKey int fromKey, in remapModifierKey() argument
593 mIm.remapModifierKey(fromKey, toKey); in remapModifierKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java514 final boolean fromKey = (flags & AudioManager.FLAG_FROM_KEY) != 0; in onVolumeChangedW()
536 if (changed && fromKey) { in onVolumeChangedW()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...