/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/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/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/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/go/quickstep/src/com/android/quickstep/ |
D | TouchInteractionService.java | 117 public void onQuickStep(MotionEvent motionEvent) { }
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 375 seekbar.setOnTouchListener((view, motionEvent) -> true); in bindPreview()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 210 public void onQuickStep(MotionEvent motionEvent) { }
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | ThemeFragment.java | 454 seekbar.setOnTouchListener((view, motionEvent) -> true); in ThemePreviewAdapter()
|