Home
last modified time | relevance | path

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

12345678

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java309 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/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java52 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/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/DocumentsUI/src/com/android/documentsui/base/
DEvents.java164 float getY(); in getY() method
318 return new Point((int) mEvent.getX(), (int) mEvent.getY()); in getOrigin()
327 public float getY() { in getY() method in Events.MotionInputEvent
328 return mEvent.getY(); in getY()
376 View child = mRecView.findChildViewUnder(mEvent.getX(), mEvent.getY()); in getItemPosition()
387 View childView = mRecView.findChildViewUnder(mEvent.getX(), mEvent.getY()); in getDocumentDetails()
/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/
DSwipeDetector.java84 return ev.getY(pointerIndex) - refPoint.y;
102 return Math.abs(ev.getY(pointerIndex) - downPos.y);
213 mDownPos.set(ev.getX(), ev.getY()); in onTouchEvent()
231 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y)); in onTouchEvent()
232 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx)); in onTouchEvent()
252 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DFastScroller.java75 setContainerAndScrollBarPosition(event.getY()); in onTouchEvent()
76 setRecyclerViewPosition(event.getY()); in onTouchEvent()
98 if (scrollBar.getY() == 0) { in getScrolledPercentage()
100 } else if (scrollBar.getY() + scrollBar.getHeight() >= getHeight()) { in getScrolledPercentage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterRS.java75 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()
DImageFilterChanSat.java79 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()
DImageFilterGrad.java89 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/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java206 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/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/DocumentsUI/src/com/android/documentsui/selection/
DGestureSelector.java168 View itemView = mViewFinder.findView(e.getX(), e.getY()); in handleInterceptedDownEvent()
231 final float inboundY = getInboundY(rv.getHeight(), e.getY()); in handleOnTouchMoveEvent()
260 return e.getX() > right && e.getY() > top; in isPastLastItem()
262 return e.getX() < left && e.getY() > top; in isPastLastItem()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DVerticalFlingDetector.java53 mDownY = ev.getY(); in onTouch()
60 if (Math.abs(ev.getY() - mDownY) > mCustomTouchSlop && in onTouch()
61 Math.abs(ev.getY() - mDownY) > Math.abs(ev.getX() - mDownX)) { in onTouch()
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/Settings/src/com/android/settings/widget/
DChartSweepView.java417 return Math.abs(eventInParent.getY() - (getY() + getTargetInset())); in getTouchDistanceFromTarget()
437 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); in onTouchEvent()
438 acceptLabel = mLabelLayout != null ? event.getY() < mLabelLayout.getHeight() in onTouchEvent()
545 final float effectiveY = getY() - mMargins.top - parentContent.top;
741 return view.getY() + view.mContentOffset.top;
/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()
/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/apps/Car/Messenger/src/com/android/car/messenger/
DPlayMessageActivity.java199 || event.getY() < mContainer.getY() in onTouchEvent()
200 || event.getY() > mContainer.getY() + mContainer.getHeight()) { in onTouchEvent()
/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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageGrad.java66 mActiveHandle = mEllipse.getCloseHandle(event.getX(), event.getY()); in onTouchEvent()
69 float y = event.getY(); in onTouchEvent()
111 float y = event.getY(); in onTouchEvent()

12345678