/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedTouchHandlerTest.java | 41 private OneHandedTouchHandler mTouchHandler; field in OneHandedTouchHandlerTest 52 mTouchHandler = new OneHandedTouchHandler(mSpiedTimeoutHandler, mMockShellMainExecutor); in setUp() 59 mTouchHandler.registerTouchEventListener(callback); in testRegisterTouchEventListener() 66 mTouchHandler.onOneHandedEnabled(false); in testOneHandedDisabled_shouldDisposeInputChannel() 68 assertThat(mTouchHandler.mInputMonitor).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel() 69 assertThat(mTouchHandler.mInputEventReceiver).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel() 75 mTouchHandler.onOneHandedEnabled(true); in testOneHandedEnabled_monitorInputChannel() 77 assertThat(mTouchHandler.mInputMonitor).isNotNull(); in testOneHandedEnabled_monitorInputChannel() 78 assertThat(mTouchHandler.mInputEventReceiver).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 99 private PipTouchHandler mTouchHandler; field in PipController 148 mTouchHandler.adjustBoundsForRotation(outBounds, mPipBoundsState.getBounds(), 163 mTouchHandler.onShelfVisibilityChanged(false, 0); 164 mTouchHandler.onImeVisibilityChanged(false, 0); 212 mTouchHandler.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged() 241 mTouchHandler.onAspectRatioChanged(); in onAspectRatioChanged() 301 mTouchHandler = pipTouchHandler; in PipController() 328 mTouchHandler.onShelfVisibilityChanged(isShowing, height); in init() 336 if (mTouchHandler != null) { in init() 338 mPipInputConsumer.setInputListener(mTouchHandler::handleTouchEvent); in init() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 28 private PanelViewController.TouchHandler mTouchHandler; field in PanelView 54 mTouchHandler = touchHandler; in setOnTouchListener() 63 return mTouchHandler.onInterceptTouchEvent(event); in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationViewController.java | 42 private final TouchHandler mTouchHandler = new TouchHandler(); field in ActivatableNotificationViewController 86 mView.setOnTouchListener(mTouchHandler); in onInit() 87 mView.setTouchHandler(mTouchHandler); in onInit()
|
D | ActivatableNotificationView.java | 96 private Gefingerpoken mTouchHandler; field in ActivatableNotificationView 217 if (mTouchHandler != null && mTouchHandler.onInterceptTouchEvent(ev)) { in onInterceptTouchEvent() 760 mTouchHandler = touchHandler; in setTouchHandler()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedController.java | 95 private final OneHandedTouchHandler mTouchHandler; field in OneHandedController 270 mTouchHandler = touchHandler; in OneHandedController() 426 mTouchHandler.registerTouchEventListener(() -> in setupCallback() 428 mDisplayAreaOrganizer.registerTransitionCallback(mTouchHandler); in setupCallback() 599 mTouchHandler.onOneHandedEnabled(mIsOneHandedEnabled); 708 if (mTouchHandler != null) { 709 mTouchHandler.dump(pw);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelViewTest.java | 224 private PanelViewController.TouchHandler mTouchHandler; field in NotificationPanelViewTest 364 mTouchHandler = invocation.getArgument(0); in setup() 808 mTouchHandler.onTouch(mView, ev); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 532 private NotificationStackScrollLayoutController.TouchHandler mTouchHandler; field in NotificationStackScrollLayout 3348 if (mTouchHandler != null && mTouchHandler.onTouchEvent(ev)) { in onTouchEvent() 3607 if (mTouchHandler != null && mTouchHandler.onInterceptTouchEvent(ev)) { in onInterceptTouchEvent() 5322 mTouchHandler = touchHandler; in setTouchHandler()
|