/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SendKeyAction.java | 77 SendKeyAction(HdmiCecLocalDevice source, int targetAddress, int keycode) { in SendKeyAction() argument 80 mLastKeycode = keycode; in SendKeyAction() 108 void processKeyEvent(int keycode, boolean isPressed) { in processKeyEvent() argument 116 if (keycode != mLastKeycode) { in processKeyEvent() 117 sendKeyDown(keycode); in processKeyEvent() 119 if (!HdmiCecKeycode.isRepeatableKey(keycode)) { in processKeyEvent() 129 sendKeyDown(keycode); in processKeyEvent() 135 mLastKeycode = keycode; in processKeyEvent() 139 if (keycode == mLastKeycode) { in processKeyEvent() 146 private void sendKeyDown(int keycode) { in sendKeyDown() argument [all …]
|
D | HdmiCecLocalDevice.java | 539 final int keycode = HdmiCecKeycode.cecKeycodeAndParamsToAndroidKey(params); in handleUserControlPressed() local 542 if (keycode == mLastKeycode) { in handleUserControlPressed() 548 mLastKeycode = keycode; in handleUserControlPressed() 551 if (keycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed() 552 injectKeyEvent(downTime, KeyEvent.ACTION_DOWN, keycode, keyRepeatCount); in handleUserControlPressed() 575 static void injectKeyEvent(long time, int action, int keycode, int repeat) { in injectKeyEvent() argument 581 keycode, in injectKeyEvent()
|
D | HdmiMhlLocalDeviceStub.java | 44 void sendKeyEvent(int keycode, boolean isPressed) { in sendKeyEvent() argument
|
D | HdmiCecKeycode.java | 405 static byte[] androidKeyToCecKey(int keycode) { in androidKeyToCecKey() argument 407 byte[] cecKeycodeAndParams = KEYCODE_ENTRIES[i].toCecKeycodeAndParamIfMatched(keycode); in androidKeyToCecKey()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 155 int keycode; in runDispatch() local 157 keycode = KeyEvent.KEYCODE_MEDIA_PLAY; in runDispatch() 159 keycode = KeyEvent.KEYCODE_MEDIA_PAUSE; in runDispatch() 161 keycode = KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE; in runDispatch() 163 keycode = KeyEvent.KEYCODE_MUTE; in runDispatch() 165 keycode = KeyEvent.KEYCODE_HEADSETHOOK; in runDispatch() 167 keycode = KeyEvent.KEYCODE_MEDIA_STOP; in runDispatch() 169 keycode = KeyEvent.KEYCODE_MEDIA_NEXT; in runDispatch() 171 keycode = KeyEvent.KEYCODE_MEDIA_PREVIOUS; in runDispatch() 173 keycode = KeyEvent.KEYCODE_MEDIA_REWIND; in runDispatch() [all …]
|
/frameworks/base/core/java/android/view/ |
D | KeyboardShortcutInfo.java | 51 @Nullable CharSequence label, @Nullable Icon icon, int keycode, int modifiers) { in KeyboardShortcutInfo() argument 55 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode()); in KeyboardShortcutInfo() 56 mKeycode = keycode; in KeyboardShortcutInfo() 70 public KeyboardShortcutInfo(CharSequence label, int keycode, int modifiers) { in KeyboardShortcutInfo() argument 71 this(label, null, keycode, modifiers); in KeyboardShortcutInfo()
|
D | ViewRootImpl.java | 5902 int keycode = 0; in process() local 5908 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_RIGHT in process() 5916 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_DOWN in process() 5923 if (keycode != 0) { in process() 5931 + keycode); in process() 5935 KeyEvent.ACTION_MULTIPLE, keycode, repeatCount, metaState, in process() 5941 + keycode); in process() 5945 KeyEvent.ACTION_DOWN, keycode, 0, metaState, in process() 5949 KeyEvent.ACTION_UP, keycode, 0, metaState, in process() 9148 int keycode = event.getKeyCode(); in dispatch() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 125 Preference keycode = findPreference(KEYCODE + "_" + k); in bindButton() local 140 keycode.setSummary(code + ""); in bindButton() 141 keycode.setVisible(true); in bindButton() 145 keycode.setVisible(false); in bindButton() 151 setValue(setting, type, keycode, icon); in bindButton() 158 keycode.setOnPreferenceClickListener(preference -> { in bindButton() 170 keycode.setSummary(code + ""); in bindButton() 171 setValue(setting, type, keycode, icon); in bindButton() 203 private void setValue(String setting, ListPreference type, Preference keycode, in setValue() argument 210 code = Integer.parseInt(keycode.getSummary().toString()); in setValue()
|
/frameworks/base/data/keyboards/ |
D | Vendor_0f0d_Product_00c1.kl | 19 # Button labeled as "Y" but should really produce keycode "X" 21 # Button labeled as "B" but should really produce keycode "A" 23 # Button labeled as "A" but should really produce keycode "B" 25 # Button labeled as "X" but should really product keycode "Y"
|
D | Vendor_057e_Product_2009.kl | 22 # Button labeled as "Y" but should really produce keycode "X" 24 # Button labeled as "B" but should really produce keycode "A" 26 # Button labeled as "A" but should really produce keycode "B" 28 # Button labeled as "X" but should really product keycode "Y"
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DatePickerFocusTest.java | 84 private void sendKey(int keycode) { in sendKey() argument 85 mInstrumentation.sendKeyDownUpSync(keycode); in sendKey() 99 private void sendShiftKey(int keycode) { in sendShiftKey() argument 104 SystemClock.uptimeMillis(), KeyEvent.ACTION_DOWN, keycode, 0, in sendShiftKey() 109 SystemClock.uptimeMillis(), KeyEvent.ACTION_UP, keycode, 0, in sendShiftKey()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 92 public static KeyEvent generateKeyEvent(int keycode, int keyEventAction, int metaState) { in generateKeyEvent() argument 94 return new KeyEvent(currentTime, currentTime, keyEventAction, keycode, in generateKeyEvent()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 189 final int keycode = KeyEvent.keyCodeFromString(arg); in run() local 190 sendKeyEvent(inputSource, keycode, longpress, displayId); in run()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 412 bool hasKeycodeLocked(Device* device, int keycode) const;
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1688 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const { in hasKeycodeLocked() 1694 device->keyMap.keyLayoutMap->findScanCodesForKey(keycode, &scanCodes); in hasKeycodeLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 740 field public static final int keycode = 16842949; // 0x10100c5
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 821 field public static final int keycode = 16842949; // 0x10100c5
|
/frameworks/base/api/ |
D | current.txt | 821 field public static final int keycode = 16842949; // 0x10100c5
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 90427 Lcom/android/internal/R$attr;->keycode:I
|