/packages/services/Car/tools/keventreader/common/com/android/car/keventreader/ |
D | KeypressEvent.java | 582 public final int keycode; field in KeypressEvent 598 keycode = in.readInt(); in KeypressEvent() 610 dest.writeInt(keycode); in writeToParcel() 619 other.keycode == keycode && in equals() 627 return"Event{source = " + source + ", keycode = " + keycode + in toString() 632 return keycodeToString(keycode); in keycodeToString() 641 public static String keycodeToString(int keycode) { in keycodeToString() argument 642 String ret = KEYCODE_NAME_MAP.get(keycode); in keycodeToString() 643 return ret != null ? ret : "0x" + Integer.toHexString(keycode); in keycodeToString()
|
/packages/services/Car/tools/keventreader/server/ |
D | event.cpp | 24 KeypressEvent::KeypressEvent(const std::string source, uint32_t keycode, bool keydown) { in KeypressEvent() argument 26 this->keycode = keycode; in KeypressEvent() 33 parcel->writeUint32(keycode); in writeToParcel() 42 keycode = parcel->readUint32(); in readFromParcel()
|
D | keymap.cpp | 31 std::string Keymap::getDisplayName(int keycode) { in getDisplayName() argument 32 auto iter = mKeyMap.find(keycode), end = mKeyMap.end(); in getDisplayName() 35 ss << "unknown " << keycode; in getDisplayName()
|
D | keymap.h | 28 std::string getDisplayName(int keycode);
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | AbstractDialpadFragment.java | 82 abstract void playTone(int keycode); in playTone() argument 141 public void onKeypadKeyDown(@KeypadFragment.DialKeyCode int keycode) { in onKeypadKeyDown() argument 142 String digit = sDialValueMap.get(keycode).toString(); in onKeypadKeyDown() 146 mCurrentlyPlayingTone = keycode; in onKeypadKeyDown() 147 playTone(keycode); in onKeypadKeyDown() 152 public void onKeypadKeyUp(@KeypadFragment.DialKeyCode int keycode) { in onKeypadKeyUp() argument 153 if (mDTMFToneEnabled && keycode == mCurrentlyPlayingTone) { in onKeypadKeyUp()
|
D | InCallDialpadFragment.java | 105 void playTone(int keycode) { in playTone() argument 106 L.d(TAG, "start DTMF tone for %s", keycode); in playTone() 108 mActiveCall.getValue().playDtmfTone(sDialValueMap.get(keycode)); in playTone() 126 public void onKeypadKeyLongPressed(int keycode) { in onKeypadKeyLongPressed() argument
|
D | DialpadFragment.java | 242 public void onKeypadKeyLongPressed(@KeypadFragment.DialKeyCode int keycode) { in onKeypadKeyLongPressed() argument 243 switch (keycode) { in onKeypadKeyLongPressed() 261 void playTone(int keycode) { in playTone() argument 262 L.d(TAG, "start key pressed tone for %s", keycode); in playTone() 263 mToneGenerator.startTone(mToneMap.get(keycode), TONE_LENGTH_INFINITE); in playTone()
|
D | KeypadFragment.java | 74 void onKeypadKeyLongPressed(@DialKeyCode int keycode); in onKeypadKeyLongPressed() argument 77 void onKeypadKeyDown(@DialKeyCode int keycode); in onKeypadKeyDown() argument 80 void onKeypadKeyUp(@DialKeyCode int keycode); in onKeypadKeyUp() argument
|
/packages/services/Car/tools/keventreader/common/ |
D | event.h | 28 KeypressEvent(const std::string source = "", uint32_t keycode = 0, bool keydown = false); 31 uint32_t keycode; member
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/ |
D | InputTestFragment.java | 171 mEventReaderServiceKeyDownCounter.count(keypressEvent.keycode, keypressEvent.isKeydown); 194 int keycode = vpv.value.int32Values.get(1); 197 mVhalKeyDownCounter.count(keycode, true); 200 mVhalKeyDownCounter.count(keycode, false);
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 444 int keycode = mute ? KeyEvent.KEYCODE_MEDIA_PAUSE : KeyEvent.KEYCODE_MEDIA_PLAY; in setMasterMute() local 446 dispatchMediaKeyEvent(keycode); in setMasterMute() 449 private void dispatchMediaKeyEvent(int keycode) { in dispatchMediaKeyEvent() argument 452 KeyEvent.ACTION_DOWN, keycode, /* repeat= */ 0); in dispatchMediaKeyEvent() 456 KeyEvent.ACTION_UP, keycode, /* repeat= */ 0); in dispatchMediaKeyEvent()
|