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.java374 public void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent() argument
380 if (carInputListener != null && isCustomEventHandler(event, targetDisplay)) { in onKeyEvent()
382 carInputListener.onKeyEvent(event, targetDisplay); in onKeyEvent()
403 if (targetDisplay == InputHalService.DISPLAY_INSTRUMENT_CLUSTER) { in onKeyEvent()
410 private synchronized boolean isCustomEventHandler(KeyEvent event, int targetDisplay) { in isCustomEventHandler() argument
411 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.java49 void onKeyEvent(KeyEvent event, int targetDisplay); in onKeyEvent() argument