/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | HeadsUpNotificationOnTouchListener.java | 75 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 76 motionEvent.offsetLocation(mTranslationX, /* deltaY= */ 0); in onTouch() 79 switch (motionEvent.getActionMasked()) { in onTouch() 81 mDownX = motionEvent.getRawX(); in onTouch() 83 mVelocityTracker.addMovement(motionEvent); in onTouch() 92 float deltaX = motionEvent.getRawX() - mDownX; in onTouch() 93 mVelocityTracker.addMovement(motionEvent); in onTouch() 145 mVelocityTracker.addMovement(motionEvent); in onTouch() 146 float deltaX = motionEvent.getRawX() - mDownX; in onTouch() 153 MotionEvent cancelEvent = MotionEvent.obtain(motionEvent); in onTouch() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | AssistantGestureTutorialFragment.java | 42 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 43 if (motionEvent.getAction() == MotionEvent.ACTION_DOWN && mTutorialController != null) { in onTouch() 44 mTutorialController.setRippleHotspot(motionEvent.getX(), motionEvent.getY()); in onTouch() 46 return super.onTouch(view, motionEvent); in onTouch()
|
D | BackGestureTutorialFragment.java | 42 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 43 if (motionEvent.getAction() == MotionEvent.ACTION_DOWN && mTutorialController != null) { in onTouch() 44 mTutorialController.setRippleHotspot(motionEvent.getX(), motionEvent.getY()); in onTouch() 46 return super.onTouch(view, motionEvent); in onTouch()
|
D | TutorialFragment.java | 135 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 137 return mEdgeBackGestureHandler.onTouch(view, motionEvent) in onTouch() 138 | mNavBarGestureHandler.onTouch(view, motionEvent); in onTouch()
|
D | EdgeBackGestureHandler.java | 138 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 140 onMotionEvent(motionEvent); in onTouch()
|
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/ |
D | OrientationTouchTransformerTest.java | 255 MotionEvent motionEvent = generateMotionEvent(motionAction, x, y); in generateAndTransformMotionEvent() local 256 mTouchTransformer.transform(motionEvent); in generateAndTransformMotionEvent() 257 return motionEvent; in generateAndTransformMotionEvent() 261 MotionEvent motionEvent = generateAndTransformMotionEvent(MotionEvent.ACTION_DOWN, x, y); in tapAndAssertTrue() local 262 assertTrue(assertion.getCondition(motionEvent)); in tapAndAssertTrue() 267 MotionEvent motionEvent = generateAndTransformMotionEvent(MotionEvent.ACTION_DOWN, x, y); in tapAndAssertFalse() local 268 assertFalse(assertion.getCondition(motionEvent)); in tapAndAssertFalse() 273 boolean getCondition(MotionEvent motionEvent); in getCondition() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerPanel.java | 481 public boolean onTouch(final View view, final MotionEvent motionEvent) { in onTouch() argument 482 switch (motionEvent.getAction()) { in onTouch() 487 final float dx = motionEvent.getRawX() - mDownEvent.getRawX(); in onTouch() 488 final float dy = motionEvent.getRawY() - mDownEvent.getRawY(); in onTouch() 491 (motionEvent.getEventTime() - mDownEvent.getEventTime()) / 1000.0f; in onTouch() 522 mDownEvent = MotionEvent.obtain(motionEvent); in onTouch() 535 final float dx = mDownEvent.getRawX() - motionEvent.getRawX(); in onTouch() 536 final float dy = mDownEvent.getRawY() - motionEvent.getRawY(); in onTouch()
|
D | CameraManager.java | 272 public boolean onTouch(final View view, final MotionEvent motionEvent) { in setSurface() 273 if ((motionEvent.getActionMasked() & MotionEvent.ACTION_UP) == in setSurface() 277 (int) motionEvent.getX() + view.getLeft(), in setSurface() 278 (int) motionEvent.getY() + view.getTop()); in setSurface()
|
D | CameraMediaChooser.java | 97 public boolean onTouch(final View view, final MotionEvent motionEvent) { in createView()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | LockableViewPager.java | 42 public boolean onInterceptTouchEvent(MotionEvent motionEvent) { in onInterceptTouchEvent() argument 43 return !swipingLocked && super.onInterceptTouchEvent(motionEvent); in onInterceptTouchEvent() 47 public boolean onTouchEvent(MotionEvent motionEvent) { in onTouchEvent() argument 48 return !swipingLocked && super.onTouchEvent(motionEvent); in onTouchEvent()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripLayout.java | 250 public boolean onTouch(View view, MotionEvent motionEvent) { in onFinishInflate() 253 motionEvent.setLocation(motionEvent.getX() + mFilmstripContentLayout.getX(), in onFinishInflate() 254 motionEvent.getY() + mFilmstripContentLayout.getY()); in onFinishInflate() 255 mGestureRecognizer.onTouchEvent(motionEvent); in onFinishInflate()
|
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | RotaryDirectManipulationWidgets.java | 80 .setRotationHandler((v, motionEvent) -> { in onCreateView() 84 float scroll = motionEvent.getAxisValue(MotionEvent.AXIS_SCROLL); in onCreateView() 103 .setRotationHandler((v, motionEvent) -> { in onCreateView() 105 float scroll = motionEvent.getAxisValue(MotionEvent.AXIS_SCROLL); in onCreateView()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | PressAndHoldTouchListener.java | 41 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 42 switch (motionEvent.getAction()) { in onTouch()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | OnContinuousScrollListener.java | 86 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 88 switch (motionEvent.getAction()) { in onTouch()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 133 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() argument 134 mLastTouchPos.set(motionEvent.getX(), motionEvent.getY()); in onTouch()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | CameraManager.java | 203 public boolean onTouch(final View view, final MotionEvent motionEvent) { in setSurface() 204 if ((motionEvent.getActionMasked() & MotionEvent.ACTION_UP) in setSurface() 208 (int) motionEvent.getX() + view.getLeft(), in setSurface() 209 (int) motionEvent.getY() + view.getTop()); in setSurface()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | DragAndDropAccessibilityDelegate.java | 129 public boolean onHover(View view, MotionEvent motionEvent) { in onHover() argument 130 return dispatchHoverEvent(motionEvent); in onHover()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | TouchDriverAwarenessSupplier.java | 280 MotionEvent motionEvent = (MotionEvent) event; in onInputEvent() local 281 if (motionEvent.getActionMasked() == MotionEvent.ACTION_UP) { in onInputEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | BothAxesSwipeDetector.java | 95 boolean onDrag(PointF displacement, MotionEvent motionEvent); in onDrag() argument
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 1868 MotionEvent motionEvent = MotionEvent.obtain(/* downTime= */ upTime, in injectMotionEvent() local 1884 if (motionEvent != null) { in injectMotionEvent() 1885 mInputManager.injectInputEvent(motionEvent, in injectMotionEvent()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 405 seekbar.setOnTouchListener((view, motionEvent) -> true); in bindPreview()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 242 public void onQuickStep(MotionEvent motionEvent) { }
|