Home
last modified time | relevance | path

Searched refs:getY (Results 1 – 25 of 180) sorted by relevance

12345678

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java54 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()
131 mLastY = event.getY(); in onDragEvent()
139 mLastY = event.getY(); in onDragEvent()
140 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent()
145 mLastY = event.getY(); in onDragEvent()
146 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAccessibilityInputConsumer.java96 mTotalY += (ev.getY(pointerIndex) - mDownY); in onMotionEvent()
97 mDownY = ev.getY(newPointerIdx); in onMotionEvent()
106 if (mSwipeTouchRegion.contains(ev.getX(pointerIndex), ev.getY(pointerIndex)) in onMotionEvent()
111 mDownY = ev.getY(pointerIndex); in onMotionEvent()
125 mMotionPauseDetector.addPosition(ev.getY(pointerIndex) - mDownY, in onMotionEvent()
136 mTotalY += (ev.getY() - mDownY); in onMotionEvent()
DOtherActivityInputConsumer.java200 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
216 if (!mSwipeTouchRegion.contains(ev.getX(ptrIdx), ev.getY(ptrIdx))) { in onMotionEvent()
229 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
230 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
240 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
427 return ev.getY() - mDownPos.y;
DAssistantTouchConsumer.java128 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
146 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent()
147 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent()
164 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
DOverviewWithoutFocusInputConsumer.java92 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent()
98 float displacementY = ev.getY() - mDownPos.y; in onMotionEvent()
142 float displacementY = ev.getY() - mDownPos.y; in finishTouchTracking()
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java65 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()
DModeListView.java356 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent()
463 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in onTouchEvent()
601 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in shouldHandleTouchEvent()
619 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent()
1088 float y = ev.getY() - mListView.getY(); in isTouchInsideList()
1323 float y = ev.getY() - mListView.getY(); in forwardTouchEventToChild()
1509 y -= mListView.getY(); in getFocusItem()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java79 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()
DFlingScroller.java104 mFinalY = getY(1.0f); in fling()
112 mCurrY = getY(f); in computeScrollOffset()
126 private int getY(float f) { in getY() method in FlingScroller
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java133 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent()
150 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
151 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()
161 ev.getY(pointerIndex) - mDownPos.y); in onTouchEvent()
173 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
DWorkspaceTouchListener.java99 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/apps/Dialer/java/com/android/dialer/contactsfragment/
DFastScroller.java75 setContainerAndScrollBarPosition(event.getY()); in onTouchEvent()
76 setRecyclerViewPosition(event.getY()); in onTouchEvent()
104 if (scrollBar.getY() == 0) { in getScrolledPercentage()
106 } else if (scrollBar.getY() + scrollBar.getHeight() >= getHeight()) { in getScrolledPercentage()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardParams.java97 if (lhs.getY() < rhs.getY()) return -1;
98 if (lhs.getY() > rhs.getY()) return 1;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java109 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()
118 float dy = ev.getY(idx) - mDownEvents.get(pid).y; in onControllerInterceptTouchEvent()
169 if (ev.getY() > (mLauncher.getDragLayer().getHeight() - dp.getInsets().bottom)) { in canInterceptTouch()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTransformingTouchDelegate.java81 mDelegateTargeted = mTouchCheckBounds.contains(event.getX(), event.getY()); in onTouchEvent()
83 mWasTouchOutsideBounds = !mBounds.contains(event.getX(), event.getY()); in onTouchEvent()
99 float y = event.getY(); in onTouchEvent()
/packages/apps/Camera2/src/com/android/camera/
DShutterButton.java114 || 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/
DMoreKeysKeyboardAccessibilityDelegate.java70 final int y = (int)event.getY(actionIndex); in onHoverEnter()
81 final int y = (int)event.getY(actionIndex); in onHoverMove()
99 final int y = (int)event.getY(actionIndex); in onHoverExit()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripView.java346 final float dy = me.getY() - down.getY();
362 mLastY = (int)me.getY(); in onInterceptTouchEvent()
372 final int y = (int)me.getY(index); in onInterceptTouchEvent()
408 final int y = mMoreSuggestionsView.translateY((int)me.getY(index)); in onTouchEvent()
DMoreSuggestions.java148 public int getY(final int index) { in getY() method in MoreSuggestions.MoreSuggestionsParam
210 final int y = params.getY(index); in build()
244 params.getX(index), params.getY(index), params.getWidth(index), in MoreSuggestionKey()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java420 return Math.abs(eventInParent.getY() - (getY() + getTargetInset())); in getTouchDistanceFromTarget()
440 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); in onTouchEvent()
441 acceptLabel = mLabelLayout != null ? event.getY() < mLabelLayout.getHeight() in onTouchEvent()
548 final float effectiveY = getY() - mMargins.top - parentContent.top;
744 return view.getY() + view.mContentOffset.top;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java420 return Math.abs(eventInParent.getY() - (getY() + getTargetInset())); in getTouchDistanceFromTarget()
440 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); in onTouchEvent()
441 acceptLabel = mLabelLayout != null ? event.getY() < mLabelLayout.getHeight() in onTouchEvent()
548 final float effectiveY = getY() - mMargins.top - parentContent.top;
744 return view.getY() + view.mContentOffset.top;
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationItemTouchListener.java194 mInitialY = event.getY(); in onInterceptTouchEvent()
236 currY = event.getY(); in onInterceptTouchEvent()
258 float itemTop = mViewHolder.itemView.getY(); in onInterceptTouchEvent()
273 mInitialY = event.getY(); in onInterceptTouchEvent()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DActualKeyboardBuilder.java62 int lastY = filteredSortedKeys.get(0).getY(); in buildKeyboard()
64 if (lastY != key.getY()) { in buildKeyboard()
66 lastY = key.getY(); in buildKeyboard()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryView.java172 activity.startTouchAnimation(this, event.getX(), event.getY()); in onTouchEvent()
178 mStartTouchY = event.getY(); in onTouchEvent()
186 float delta = event.getY() - mStartTouchY; in onTouchEvent()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java631 int edge = hv.getHit(event.getX(), event.getY()); in recomputeFocus()
657 int edge = hv.getHit(event.getX(), event.getY()); in onTouchEvent()
662 mLastY = event.getY(); in onTouchEvent()
702 event.getY() - mLastY); in onTouchEvent()
704 mLastY = event.getY(); in onTouchEvent()

12345678