/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragDriver.java | 54 mEventListener.onDriverDragMove(ev.getX(), ev.getY()); in onTouchEvent() 60 mEventListener.onDriverDragMove(ev.getX(), ev.getY()); in onTouchEvent() 61 mEventListener.onDriverDragEnd(ev.getX(), ev.getY()); in onTouchEvent() 82 mEventListener.onDriverDragEnd(ev.getX(), ev.getY()); in onInterceptTouchEvent() 130 mLastX = event.getX(); in onDragEvent() 138 mLastX = event.getX(); in onDragEvent() 140 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent() 144 mLastX = event.getX(); in onDragEvent() 146 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FilmstripGestureRecognizer.java | 65 mListener.onUp(event.getX(), event.getY()); in onTouchEvent() 91 mListener.onLongPress(e.getX(), e.getY()); in onLongPress() 97 return mListener.onScroll(e2.getX(), e2.getY(), dx, dy); in onScroll() 108 mListener.onDown(e.getX(), e.getY()); in onDown() 121 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapConfirmed() 126 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap()
|
D | ModeListView.java | 356 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent() 463 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in onTouchEvent() 600 ev.getX() <= mModeSelectorItems[0].getMaxVisibleWidth()) { in shouldHandleTouchEvent() 601 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in shouldHandleTouchEvent() 619 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent() 1087 float x = ev.getX() - mListView.getX(); in isTouchInsideList() 1322 float x = ev.getX() - mListView.getX(); in forwardTouchEventToChild() 1508 x -= mListView.getX(); in getFocusItem()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GestureRecognizer.java | 79 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapUp() 84 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap() 91 dx, dy, e2.getX() - e1.getX(), e2.getY() - e1.getY()); in onScroll() 124 mListener.onDown(e.getX(), e.getY()); in onDown()
|
D | FlingScroller.java | 103 mFinalX = getX(1.0f); in fling() 111 mCurrX = getX(f); in computeScrollOffset() 116 private int getX(float f) { in getX() method in FlingScroller
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | CubicBezierInterpolator.java | 43 private float getX(final float t) { in getX() method in CubicBezierInterpolator 90 value = getX(t); in getTForXValue() 91 double derivative = (getX(t + epsilon) - value) / epsilon; in getTForXValue() 116 value = getX(t); in getTForXValue()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | OtherActivityInputConsumer.java | 200 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 216 if (!mSwipeTouchRegion.contains(ev.getX(ptrIdx), ev.getY(ptrIdx))) { in onMotionEvent() 228 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent() 230 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent() 240 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent() 423 return ev.getX() - mDownPos.x; 425 return mDownPos.x - ev.getX();
|
D | AssistantTouchConsumer.java | 128 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 145 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onMotionEvent() 147 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent() 164 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
D | OverviewWithoutFocusInputConsumer.java | 92 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 97 float displacementX = ev.getX() - mDownPos.x; in onMotionEvent() 141 float displacementX = mDisableHorizontalSwipe ? 0 : (ev.getX() - mDownPos.x); in finishTouchTracking()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | BaseSwipeDetector.java | 133 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent() 149 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x), in onTouchEvent() 151 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent() 160 mDisplacement.set(ev.getX(pointerIndex) - mDownPos.x, in onTouchEvent() 173 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
|
D | WorkspaceTouchListener.java | 99 handleLongPress = mTempRect.contains((int) ev.getX(), (int) ev.getY()); in onTouch() 104 mTouchDownPoint.set(ev.getX(), ev.getY()); in onTouch() 130 mTouchDownPoint.x - ev.getX(), mTouchDownPoint.y - ev.getY()) > mTouchSlop) { in onTouch()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardParams.java | 99 if (lhs.getX() < rhs.getX()) return -1; 100 if (lhs.getX() > rhs.getX()) return 1;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TransformingTouchDelegate.java | 81 mDelegateTargeted = mTouchCheckBounds.contains(event.getX(), event.getY()); in onTouchEvent() 83 mWasTouchOutsideBounds = !mBounds.contains(event.getX(), event.getY()); in onTouchEvent() 98 float x = event.getX(); in onTouchEvent()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | ShutterButton.java | 114 || m.getX() < 0 || m.getY() < 0 in dispatchTouchEvent() 115 || m.getX() >= getWidth() || m.getY() >= getHeight()) { in dispatchTouchEvent() 119 mTouchCoordinate = new TouchCoordinate(m.getX(), m.getY(), this.getMeasuredWidth(), in dispatchTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 69 final int x = (int)event.getX(actionIndex); in onHoverEnter() 80 final int x = (int)event.getX(actionIndex); in onHoverMove() 98 final int x = (int)event.getX(actionIndex); in onHoverExit()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationItemTouchListener.java | 193 mInitialX = event.getX(); in onInterceptTouchEvent() 235 currX = event.getX(); in onInterceptTouchEvent() 272 mInitialX = event.getX(); in onInterceptTouchEvent() 310 float deltaX = event.getX() - mInitialX; in onTouchEvent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 99 mInitialX = event.getX(); in onInterceptTouchEvent() 129 currX = event.getX(); in onInterceptTouchEvent() 150 mInitialX = event.getX(); in onInterceptTouchEvent() 184 mListItemView.setSwipeTranslationX(event.getX() - mInitialX); in onTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | StatusBarTouchController.java | 109 mDownEvents.put(pid, new PointF(ev.getX(), ev.getY())); in onControllerInterceptTouchEvent() 112 mDownEvents.put(pid, new PointF(ev.getX(idx), ev.getY(idx))); in onControllerInterceptTouchEvent() 119 float dx = ev.getX(idx) - mDownEvents.get(pid).x; in onControllerInterceptTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryView.java | 172 activity.startTouchAnimation(this, event.getX(), event.getY()); in onTouchEvent() 179 mStartTouchX = event.getX(); in onTouchEvent() 188 delta = event.getX() - mStartTouchX; in onTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | DynamicGridKeyboard.java | 59 mHorizontalStep = Math.abs(key1.getX() - key0.getX()); in DynamicGridKeyboard() 241 public int getX() { in getX() method in DynamicGridKeyboard.GridKey
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 418 return Math.abs(eventInParent.getX() - (getX() + getTargetInset())); in getTouchDistanceFromTarget() 436 acceptDrag = event.getX() > getWidth() - (mSweepPadding.right * 8); in onTouchEvent() 437 acceptLabel = mLabelLayout != null ? event.getX() < mLabelLayout.getWidth() in onTouchEvent() 551 final float effectiveX = getX() - mMargins.left - parentContent.left;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartSweepView.java | 418 return Math.abs(eventInParent.getX() - (getX() + getTargetInset())); in getTouchDistanceFromTarget() 436 acceptDrag = event.getX() > getWidth() - (mSweepPadding.right * 8); in onTouchEvent() 437 acceptLabel = mLabelLayout != null ? event.getX() < mLabelLayout.getWidth() in onTouchEvent() 551 final float effectiveX = getX() - mMargins.left - parentContent.left;
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | EdgeSwipeDetector.java | 46 if (event.getX() < edgeGutter) { in onTouchEvent() 63 if (event.getX() > enough) { in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 883 final float x = ev.getX(); in onInterceptTouchEvent() 952 final float x = ev.getX(pointerIndex); in determineScrollingStart() 1023 return (int) (child.getX() - baselineX); in getLayoutTransitionOffsetForPage() 1123 mDownMotionX = mLastMotionX = ev.getX(); in onTouchEvent() 1142 final float x = ev.getX(pointerIndex); in onTouchEvent() 1166 final float x = ev.getX(pointerIndex); in onTouchEvent() 1360 mLastMotionX = mDownMotionX = ev.getX(newPointerIndex); in onSecondaryPointerUp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | SwapButton.java | 90 if (e1.getX() - e2.getX() > 0) { in onFling()
|