Home
last modified time | relevance | path

Searched refs:EventHandler (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java52 import com.android.camera.captureintent.stateful.EventHandler;
211 EventHandler<EventPause> pauseHandler = new EventHandler<EventPause>() { in registerEventHandlers()
223 EventHandler<EventOnSurfaceTextureUpdated> onSurfaceTextureUpdatedHandler = in registerEventHandlers()
224 new EventHandler<EventOnSurfaceTextureUpdated>() { in registerEventHandlers()
246 EventHandler<EventOnTextureViewLayoutChanged> onTextureViewLayoutChangedHandler = in registerEventHandlers()
247 new EventHandler<EventOnTextureViewLayoutChanged>() { in registerEventHandlers()
267 EventHandler<EventTapOnShutterButton> tapOnShutterButtonHandler = in registerEventHandlers()
268 new EventHandler<EventTapOnShutterButton>() { in registerEventHandlers()
278 EventHandler<EventClickOnCameraKey> clickOnVolumeKeyHandler = in registerEventHandlers()
279 new EventHandler<EventClickOnCameraKey>() { in registerEventHandlers()
[all …]
DStateReviewingPicture.java34 import com.android.camera.captureintent.stateful.EventHandler;
88 EventHandler<EventPause> pauseHandler = new EventHandler<EventPause>() { in registerEventHandlers()
100 EventHandler<EventOnTextureViewLayoutChanged> onTextureViewLayoutChangedHandler = in registerEventHandlers()
101 new EventHandler<EventOnTextureViewLayoutChanged>() { in registerEventHandlers()
112 EventHandler<EventTapOnCancelIntentButton> tapOnCancelIntentButtonHandler = in registerEventHandlers()
113 new EventHandler<EventTapOnCancelIntentButton>() { in registerEventHandlers()
124 EventHandler<EventTapOnConfirmPhotoButton> tapOnConfirmPhotoButtonHandler = in registerEventHandlers()
125 new EventHandler<EventTapOnConfirmPhotoButton>() { in registerEventHandlers()
144 EventHandler<EventTapOnRetakePhotoButton> tapOnRetakePhotoButtonHandler = in registerEventHandlers()
145 new EventHandler<EventTapOnRetakePhotoButton>() { in registerEventHandlers()
[all …]
DStateStartingPreview.java29 import com.android.camera.captureintent.stateful.EventHandler;
99 EventHandler<EventPause> pauseHandler = new EventHandler<EventPause>() { in registerEventHandlers()
111 EventHandler<EventOnTextureViewLayoutChanged> onTextureViewLayoutChangedHandler = in registerEventHandlers()
112 new EventHandler<EventOnTextureViewLayoutChanged>() { in registerEventHandlers()
122 EventHandler<EventOnStartPreviewSucceeded> onStartPreviewSucceededHandler = in registerEventHandlers()
123 new EventHandler<EventOnStartPreviewSucceeded>() { in registerEventHandlers()
142 EventHandler<EventOnStartPreviewFailed> onStartPreviewFailedHandler = in registerEventHandlers()
143 new EventHandler<EventOnStartPreviewFailed>() { in registerEventHandlers()
DStateBackgroundWithSurfaceTexture.java25 import com.android.camera.captureintent.stateful.EventHandler;
68 EventHandler<EventResume> resumeHandler = new EventHandler<EventResume>() { in registerEventHandlers()
80 EventHandler<EventOnSurfaceTextureDestroyed> surfaceTextureDestroyedHandler = in registerEventHandlers()
81 new EventHandler<EventOnSurfaceTextureDestroyed>() { in registerEventHandlers()
DStateForeground.java27 import com.android.camera.captureintent.stateful.EventHandler;
58 EventHandler<EventPause> pauseHandler = new EventHandler<EventPause>() { in registerEventHandlers()
68 EventHandler<EventOnSurfaceTextureAvailable> surfaceTextureAvailableHandler = in registerEventHandlers()
69 new EventHandler<EventOnSurfaceTextureAvailable>() { in registerEventHandlers()
DStateBackground.java27 import com.android.camera.captureintent.stateful.EventHandler;
72 EventHandler<EventResume> resumeHandler = new EventHandler<EventResume>() { in registerEventHandlers()
82 EventHandler<EventOnSurfaceTextureAvailable> onSurfaceTextureAvailableHandler = in registerEventHandlers()
83 new EventHandler<EventOnSurfaceTextureAvailable>() { in registerEventHandlers()
DStateOpeningCamera.java33 import com.android.camera.captureintent.stateful.EventHandler;
123 EventHandler<EventPause> pauseHandler = new EventHandler<EventPause>() { in registerEventHandlers()
133 EventHandler<EventOnOpenCameraSucceeded> onOpenCameraSucceededHandler = in registerEventHandlers()
134 new EventHandler<EventOnOpenCameraSucceeded>() { in registerEventHandlers()
170 EventHandler<EventOnOpenCameraFailed> onOpenCameraFailedHandler = in registerEventHandlers()
171 new EventHandler<EventOnOpenCameraFailed>() { in registerEventHandlers()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.kt42 private val eventHandlers: LinkedHashMap<Int, EventHandler> =
43 LinkedHashMap<Int, EventHandler>(5)
45 private val mToBeAddedEventHandlers: LinkedHashMap<Int, EventHandler> =
46 LinkedHashMap<Int, EventHandler>()
47 private var mFirstEventHandler: Pair<Int, EventHandler>? = null
48 private var mToBeAddedFirstEventHandler: Pair<Int, EventHandler>? = null
208 interface EventHandler { interface
505 val handler: EventHandler? = mFirstEventHandler?.second in sendEvent()
513 CalendarController.EventHandler>> = eventHandlers.entries.iterator() in sendEvent()
516 CalendarController.EventHandler> = handlers.next() in sendEvent()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java28 import com.android.documentsui.base.EventHandler;
34 public final class CommandInterceptor implements EventHandler<String> {
41 private final List<EventHandler<String[]>> mCommands = new ArrayList<>();
55 public void add(EventHandler<String[]> handler) { in add()
74 for (EventHandler<String[]> command : mCommands) { in accept()
177 public static final class DumpRootsCacheHandler implements EventHandler<String[]> {
200 public static final EventHandler<String> createDebugModeFlipper( in createDebugModeFlipper()
212 return new EventHandler<String>() { in createDebugModeFlipper()
DSearchViewManager.java51 import com.android.documentsui.base.EventHandler;
72 private final EventHandler<String> mCommandProcessor;
97 EventHandler<String> commandProcessor, in SearchViewManager()
107 EventHandler<String> commandProcessor, in SearchViewManager()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEventHandler.java24 public interface EventHandler<T> { interface
27 public static <T> EventHandler<T> createStub(boolean reply) { in createStub()
31 public static final class Stub<T> implements EventHandler<T> {
/packages/services/Car/experimental/experimental_api/src/android/car/experimental/
DCarDriverDistractionManager.java48 private final EventHandler mEventHandler;
73 mEventHandler = new EventHandler(this, getEventHandler().getLooper()); in CarDriverDistractionManager()
147 private static final class EventHandler extends Handler { class in CarDriverDistractionManager
150 EventHandler(CarDriverDistractionManager manager, Looper looper) { in EventHandler() method in CarDriverDistractionManager.EventHandler
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateImpl.java32 private final Map<Class, EventHandler> mEventHandlerMap;
63 public final <T extends Event> EventHandler<T> getEventHandler(Class<T> eventClass) { in getEventHandler()
69 Class<T> eventClass, EventHandler<T> eventHandler) { in setEventHandler()
DState.java71 public <T extends Event> EventHandler<T> getEventHandler(Class<T> eventClass); in getEventHandler()
80 Class<T> eventClass, EventHandler<T> eventHandler); in setEventHandler()
DEventHandler.java28 public interface EventHandler<T extends Event> { interface
/packages/services/Car/car-lib/src/android/car/input/
DCarInputHandlingService.java139 private final EventHandler mEventHandler;
142 mEventHandler = new EventHandler(CarInputHandlingService.this); in InputBinder()
151 private static class EventHandler extends Handler { class in CarInputHandlingService
155 EventHandler(CarInputHandlingService service) { in EventHandler() method in CarInputHandlingService.EventHandler
/packages/modules/Bluetooth/system/gd/cert/
Dchange_waiter.py8 class EventHandler(pyinotify.ProcessEvent): class
14 handler = EventHandler()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEventHandler.java23 import com.android.documentsui.base.EventHandler;
31 public class TestEventHandler<T> implements EventHandler<T> {
DTestConsumer.java19 import com.android.documentsui.base.EventHandler;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java35 import com.android.documentsui.base.EventHandler;
207 SelectionDetails selectionDetails, EventHandler<MenuItem> menuItemClicker) { in reset()
223 private EventHandler<MenuItem> menuItemClicker;
DInjector.java30 import com.android.documentsui.base.EventHandler;
129 SelectionDetails selectionDetails, EventHandler<MenuItem> menuItemClicker) { in getActionModeController()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java292 private final EventHandler mEventHandler;
308 mEventHandler = new EventHandler(getEventHandler().getLooper()); in CarOccupantZoneManager()
545 private final class EventHandler extends Handler { class in CarOccupantZoneManager
548 private EventHandler(Looper looper) { in EventHandler() method in CarOccupantZoneManager.EventHandler
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferTest.java87 BluetoothOppTransfer.EventHandler mEventHandler;
108 mEventHandler = mTransfer.new EventHandler(Looper.getMainLooper()); in setUp()
206 mEventHandler = mTransfer.new EventHandler(Looper.getMainLooper()); in eventHandler_handleMessage_MSG_SHARE_COMPLETE_shareAdded()
242 mEventHandler = mTransfer.new EventHandler(Looper.getMainLooper()); in eventHandler_handleMessage_MSG_SHARE_INTERRUPTED_batchFailed()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java153 private final EventHandler mEventHandler;
803 mEventHandler = new EventHandler(getEventHandler().getLooper()); in CarAudioManager()
921 private final class EventHandler extends Handler { class in CarAudioManager
926 private EventHandler(Looper looper) { in EventHandler() method in CarAudioManager.EventHandler
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java110 EventHandler mSessionHandler;
219 class EventHandler extends Handler { class in BluetoothOppTransfer
220 EventHandler(Looper looper) { in EventHandler() method in BluetoothOppTransfer.EventHandler
515 mSessionHandler = new EventHandler(mHandlerThread.getLooper()); in start()

12