/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragDriver.java | 52 mEventListener.onDriverDragMove(ev.getX(), ev.getY()); in onTouchEvent() 55 mEventListener.onDriverDragMove(ev.getX(), ev.getY()); in onTouchEvent() 56 mEventListener.onDriverDragEnd(ev.getX(), ev.getY()); in onTouchEvent() 74 mEventListener.onDriverDragEnd(ev.getX(), ev.getY()); in onInterceptTouchEvent() 123 mLastY = event.getY(); in onDragEvent() 131 mLastY = event.getY(); in onDragEvent() 132 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent() 137 mLastY = event.getY(); in onDragEvent() 138 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 309 contactImagesY = getY(contactImagesView); in ConversationItemViewCoordinates() 319 starY = getY(star); in ConversationItemViewCoordinates() 325 sendersY = getY(senders) + sendersTopAdjust; in ConversationItemViewCoordinates() 334 subjectY = getY(subject) + subjectTopAdjust; in ConversationItemViewCoordinates() 342 snippetY = getY(snippet) + snippetTopAdjust; in ConversationItemViewCoordinates() 350 foldersY = getY(folders); in ConversationItemViewCoordinates() 364 colorBlockY = getY(colorBlock); in ConversationItemViewCoordinates() 373 replyStateY = getY(replyState); in ConversationItemViewCoordinates() 380 personalIndicatorY = getY(personalIndicator); in ConversationItemViewCoordinates() 388 infoIconY = getY(infoIcon); in ConversationItemViewCoordinates() [all …]
|
/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()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | AccessibilityInputConsumer.java | 96 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()
|
D | FallbackNoButtonInputConsumer.java | 155 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 163 if (!mSwipeTouchRegion.contains(ev.getX(ptrIdx), ev.getY(ptrIdx))) { in onMotionEvent() 176 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent() 177 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent() 187 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent() 350 return ev.getY() - mDownPos.y;
|
D | OtherActivityInputConsumer.java | 210 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 226 if (!mSwipeTouchRegion.contains(ev.getX(ptrIdx), ev.getY(ptrIdx))) { in onMotionEvent() 239 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent() 240 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent() 250 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent() 444 return ev.getY() - mDownPos.y; in getDisplacement()
|
D | OverviewWithoutFocusInputConsumer.java | 89 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 95 float displacementY = ev.getY() - mDownPos.y; in onMotionEvent() 138 float displacementY = ev.getY() - mDownPos.y; in finishTouchTracking()
|
D | AssistantTouchConsumer.java | 125 mDownPos.set(ev.getX(), ev.getY()); in onMotionEvent() 143 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onMotionEvent() 144 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onMotionEvent() 161 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
/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 | 104 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/ |
D | SwipeDetector.java | 89 return ev.getY(pointerIndex) - refPoint.y; 128 return Math.abs(ev.getY(pointerIndex) - downPos.y); 299 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent() 316 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent() 317 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent() 341 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/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | FastScroller.java | 75 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/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterChanSat.java | 79 tb_float.setY(in.getType().getY()); in createFilter() 105 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 119 int height = getInPixelsAllocation().getType().getY(); in runFilter() 133 int height = in.getType().getY(); in runSelectiveAdjust()
|
D | ImageFilterRS.java | 75 in.getType().getX(), in.getType().getY()); in apply() 97 in.getType().getX(), in.getType().getY()); in apply() 124 || (getInPixelsAllocation().getType().getY() != mLastInputHeight))) { in apply() 133 mLastInputHeight = getInPixelsAllocation().getType().getY(); in apply() 174 tb_a8.setY(bitmapTemp.getType().getY()); in convertRGBAtoA()
|
D | ImageFilterGrad.java | 89 tb_float.setY(in.getType().getY()); in createFilter() 115 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 128 int height = getInPixelsAllocation().getType().getY(); in runFilter() 162 int height = in.getType().getY(); in runSelectiveAdjust()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardParams.java | 97 if (lhs.getY() < rhs.getY()) return -1; 98 if (lhs.getY() > rhs.getY()) return 1;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 206 mLastY = ev.getY(); in onInterceptTouchEvent() 218 mInitialTouchPosY = ev.getY(); in onInterceptTouchEvent() 226 float currY = ev.getY(); in onInterceptTouchEvent() 232 mLastY = ev.getY(); in onInterceptTouchEvent() 245 mInitialTouchPosY = ev.getY(); in onInterceptTouchEvent() 248 mLastY = ev.getY(); in onInterceptTouchEvent()
|
/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() 99 float y = event.getY(); in onTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 70 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/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/latin/suggestions/ |
D | SuggestionStripView.java | 346 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()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartSweepView.java | 420 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/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 420 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/ |
D | CarNotificationItemTouchListener.java | 194 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()
|