Home
last modified time | relevance | path

Searched refs:targetDisplay (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/car-lib/src/android/car/input/
DCarInputHandlingService.java113 protected abstract void onKeyEvent(KeyEvent keyEvent, int targetDisplay); in onKeyEvent() argument
129 public void onKeyEvent(KeyEvent keyEvent, int targetDisplay) throws RemoteException { in onKeyEvent() argument
130 mEventHandler.doKeyEvent(keyEvent, targetDisplay); in onKeyEvent()
156 void doKeyEvent(KeyEvent event, int targetDisplay) { in doKeyEvent() argument
157 sendMessage(obtainMessage(KEY_EVENT, targetDisplay, 0, event)); in doKeyEvent()
168 public InputFilter(int keyCode, int targetDisplay) { in InputFilter() argument
170 mTargetDisplay = targetDisplay; in InputFilter()
DICarInputListener.aidl27 void onKeyEvent(in KeyEvent keyEvent, int targetDisplay) = 1; in onKeyEvent() argument
/packages/services/Car/service/src/com/android/car/
DCarInputService.java415 public void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent() argument
421 if (carInputListener != null && isCustomEventHandler(event, targetDisplay)) { in onKeyEvent()
423 carInputListener.onKeyEvent(event, targetDisplay); in onKeyEvent()
444 if (targetDisplay == InputHalService.DISPLAY_INSTRUMENT_CLUSTER) { in onKeyEvent()
455 public void onRotaryEvent(RotaryEvent event, int targetDisplay) { in onRotaryEvent() argument
456 if (!mCaptureController.onRotaryEvent(targetDisplay, event)) { in onRotaryEvent()
459 onKeyEvent(keyEvent, targetDisplay); in onRotaryEvent()
522 private boolean isCustomEventHandler(KeyEvent event, int targetDisplay) { in isCustomEventHandler() argument
524 return mHandledKeys.containsEntry(targetDisplay, event.getKeyCode()); in isCustomEventHandler()
/packages/services/Car/car-default-input-service/src/android/car/input/service/
DDefaultInputService.java37 protected void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent() argument
39 Log.i(TAG, "onKeyEvent(" + event + ", " + targetDisplay + ")"); in onKeyEvent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java302 private Button createButton(@StringRes int textResId, int keyCode, int targetDisplay) { in createButton() argument
306 button.setOnClickListener(v -> onButtonClick(keyCode, targetDisplay)); in createButton()
310 private void onButtonClick(int keyCode, int targetDisplay) { in onButtonClick() argument
314 sKeyPressCommand, HW_KEY_INPUT, keyCode, targetDisplay)); in onButtonClick()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java65 void onKeyEvent(KeyEvent event, int targetDisplay); in onKeyEvent() argument
67 void onRotaryEvent(RotaryEvent event, int targetDisplay); in onRotaryEvent() argument