Home
last modified time | relevance | path

Searched refs:EventHandler (Results 1 – 25 of 29) 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()
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()
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()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java64 private final LinkedHashMap<Integer,EventHandler> eventHandlers =
65 new LinkedHashMap<Integer,EventHandler>(5);
67 private final LinkedHashMap<Integer, EventHandler> mToBeAddedEventHandlers = new LinkedHashMap<
68 Integer, EventHandler>();
69 private Pair<Integer, EventHandler> mFirstEventHandler;
70 private Pair<Integer, EventHandler> mToBeAddedFirstEventHandler;
240 public interface EventHandler { interface in CalendarController
505 EventHandler handler = mFirstEventHandler.second; in sendEvent()
512 for (Iterator<Entry<Integer, EventHandler>> handlers = in sendEvent()
514 Entry<Integer, EventHandler> entry = handlers.next(); in sendEvent()
[all …]
DAllInOneActivity.java66 import com.android.calendar.CalendarController.EventHandler;
82 public class AllInOneActivity extends Activity implements EventHandler,
573 mController.registerEventHandler(R.id.mini_month, (EventHandler) miniMonthFrag); in initFragments()
838 mController.registerEventHandler(viewId, (EventHandler) frag); in setMainPane()
/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.java50 import com.android.documentsui.base.EventHandler;
71 private final EventHandler<String> mCommandProcessor;
95 EventHandler<String> commandProcessor, in SearchViewManager()
105 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/car-lib/src/android/car/input/
DCarInputHandlingService.java122 private final EventHandler mEventHandler;
125 mEventHandler = new EventHandler(CarInputHandlingService.this); in InputBinder()
134 private static class EventHandler extends Handler { class in CarInputHandlingService
138 EventHandler(CarInputHandlingService service) { in EventHandler() method in CarInputHandlingService.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
DStateMachineImpl.java105 EventHandler eventHandler = mState.getEventHandler(event.getClass()); in processEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java34 import com.android.documentsui.base.EventHandler;
205 SelectionDetails selectionDetails, EventHandler<MenuItem> menuItemClicker) { in reset()
221 private EventHandler<MenuItem> menuItemClicker;
DInjector.java29 import com.android.documentsui.base.EventHandler;
131 SelectionDetails selectionDetails, EventHandler<MenuItem> menuItemClicker) { in getActionModeController()
/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;
DTestEventListener.java23 import com.android.documentsui.base.EventHandler;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java100 private EventHandler mSessionHandler;
198 private class EventHandler extends Handler { class in BluetoothOppTransfer
199 EventHandler(Looper looper) { in EventHandler() method in BluetoothOppTransfer.EventHandler
484 mSessionHandler = new EventHandler(mHandlerThread.getLooper()); in start()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DEventHandler.java23 public final class EventHandler extends BroadcastReceiver { class
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java52 import com.android.documentsui.base.EventHandler;
133 EventHandler<String> commandProcessor, in TestableSearchViewManager()

12