Home
last modified time | relevance | path

Searched refs:eventReceiver (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java341 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { } in registerMediaButtonEventReceiver() argument
343 public void registerMediaButtonEventReceiver(PendingIntent eventReceiver) { } in registerMediaButtonEventReceiver() argument
345 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { } in registerMediaButtonIntent() argument
347 public void unregisterMediaButtonEventReceiver(ComponentName eventReceiver) { } in unregisterMediaButtonEventReceiver() argument
349 public void unregisterMediaButtonEventReceiver(PendingIntent eventReceiver) { } in unregisterMediaButtonEventReceiver() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModel.java779 final EventReceiver eventReceiver = mEventReceiversByDisplay.get(displayId); in incrementEventReceiverTasks() local
780 eventReceiver.incrementTaskNumber(); in incrementEventReceiverTasks()
789 final EventReceiver eventReceiver = mEventReceiversByDisplay.get(displayId); in removeTaskFromEventReceiver()
790 if (eventReceiver == null) return; in removeTaskFromEventReceiver()
791 eventReceiver.decrementTaskNumber(); in removeTaskFromEventReceiver()
792 if (eventReceiver.getTasksOnDisplay() == 0) { in removeTaskFromEventReceiver()
1020 final EventReceiver eventReceiver = new EventReceiver(inputMonitor, in createInputChannel() local
1022 mEventReceiversByDisplay.put(displayId, eventReceiver); in createInputChannel()
1026 final EventReceiver eventReceiver = mEventReceiversByDisplay.removeReturnOld(displayId); in disposeInputChannel() local
1027 if (eventReceiver != null) { in disposeInputChannel()
[all …]
/frameworks/base/media/java/android/media/
DAudioManager.java5256 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { in registerMediaButtonEventReceiver() argument
5257 if (eventReceiver == null) { in registerMediaButtonEventReceiver()
5260 if (!eventReceiver.getPackageName().equals(getContext().getPackageName())) { in registerMediaButtonEventReceiver()
5268 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()
5272 registerMediaButtonIntent(pi, eventReceiver); in registerMediaButtonEventReceiver()
5288 public void registerMediaButtonEventReceiver(PendingIntent eventReceiver) { in registerMediaButtonEventReceiver() argument
5289 if (eventReceiver == null) { in registerMediaButtonEventReceiver()
5292 registerMediaButtonIntent(eventReceiver, null); in registerMediaButtonEventReceiver()
5299 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { in registerMediaButtonIntent() argument
5305 helper.addMediaButtonListener(pi, eventReceiver, getContext()); in registerMediaButtonIntent()
[all …]