Home
last modified time | relevance | path

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

1234

/packages/apps/Email/src/com/android/email/activity/
DMessageListItemCoordinates.java187 private static int getY(View view) { in getY() method in MessageListItemCoordinates
190 y += (int) view.getY(); in getY()
268 coordinates.checkmarkY = getY(checkmark); in forWidth()
273 coordinates.starY = getY(star); in forWidth()
277 coordinates.stateY = getY(state); in forWidth()
281 coordinates.sendersY = getY(senders); in forWidth()
289 coordinates.subjectY = getY(subject); in forWidth()
297 coordinates.chipY = getY(chip); in forWidth()
303 coordinates.dateY = getY(date); in forWidth()
309 coordinates.paperclipY = getY(paperclip); in forWidth()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java78 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapUp()
83 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap()
90 dx, dy, e2.getX() - e1.getX(), e2.getY() - e1.getY()); in onScroll()
123 mListener.onDown(e.getX(), e.getY()); in onDown()
DFlingScroller.java103 mFinalY = getY(1.0f); in fling()
111 mCurrY = getY(f); in computeScrollOffset()
125 private int getY(float f) { in getY() method in FlingScroller
DRelativePosition.java39 public float getY() { in getY() method in RelativePosition
DSlotView.java369 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply()
636 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onShowPress()
688 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onSingleTapUp()
699 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onLongPress()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java533 .getY(pointerIndex); in onInterceptTouchEvent()
545 final float ocoord = mHorizontal ? ev.getY(pointerIndex) : ev in onInterceptTouchEvent()
558 final float y = mHorizontal ? ev.getX() : ev.getY(); in onInterceptTouchEvent()
560 mDownCoords.y = ev.getY(); in onInterceptTouchEvent()
561 if (!inChild((int) ev.getX(), (int) ev.getY())) { in onInterceptTouchEvent()
587 final float ocoord = mHorizontal ? ev.getY() : ev.getX(); in onInterceptTouchEvent()
589 mDownView = findViewAt((int) ev.getX(), (int) ev.getY()); in onInterceptTouchEvent()
643 mLastMotionY = mHorizontal ? ev.getX() : ev.getY(); in onTouchEvent()
652 final float y = ev.getY(activePointerIndex); in onTouchEvent()
662 : ev.getY(activePointerIndex); in onTouchEvent()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DRocketLauncher.java134 final int globy = (int) event.getY() + offset.y; in onTouchEvent()
173 "icon", getX(), getY(), v, angle, dist, fuse); in toString()
207 setY(getY() + angley * v * dt); in update()
321 || nv.getY() + scaledHeight < 0 in reset()
322 || nv.getY() - scaledHeight > getHeight()) in reset()
DDragLayer.java109 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolderTextRegion()
117 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolder()
126 int y = (int) ev.getY(); in handleTouchDown()
236 int y = (int) ev.getY(); in onTouchEvent()
373 public int getY() { in getY() method in DragLayer.LayoutParams
DPagedViewGridLayout.java96 result = result || (event.getY() < bottom); in onTouchEvent()
DCling.java181 Math.pow(event.getY() - positions[i + 1], 2)); in onTouchEvent()
193 if (r.contains((int) event.getX(), (int) event.getY())) { in onTouchEvent()
DPagedViewWithDraggableItems.java135 final float y = ev.getY(pointerIndex); in determineDraggingStart()
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DFlipView.java102 touchStartY = ev.getY(); in onTouchEvent()
113 float y = ev.getY(); in onTouchEvent()
DTouchView.java58 mapPhotoPoint(e.getX(), e.getY(), point); in TouchView()
/packages/apps/Browser/src/com/android/browser/
DUrlBarAutoShowManager.java111 mStartTouchY = event.getY(); in onTouch()
120 float dy = event.getY() - mStartTouchY; in onTouch()
/packages/apps/Launcher2/
Dproguard.flags33 public int getY();
44 public int getY();
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java410 return Math.abs(eventInParent.getY() - (getY() + getTargetInset())); in getTouchDistanceFromTarget()
430 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); in onTouchEvent()
431 acceptLabel = mLabelLayout != null ? event.getY() < mLabelLayout.getHeight() in onTouchEvent()
538 final float effectiveY = getY() - mMargins.top - parentContent.top;
734 return view.getY() + view.mContentOffset.top;
/packages/apps/Phone/src/com/android/phone/
DSmallerHitTargetTouchListener.java85 int touchY = (int) event.getY(); in onTouch()
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/
DFallView.java51 mRender.addDrop(event.getX(), event.getY()); in onTouchEvent()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailLayoutController.java563 int tabCarouselOffset = (int) mTabCarousel.getY();
624 mDetailFragment.requestToMoveToOffset((int) mTabCarousel.getY()); in syncScrollStateBetweenLists()
626 mUpdatesFragment.requestToMoveToOffset((int) mTabCarousel.getY()); in syncScrollStateBetweenLists()
732 int amtToScroll = Math.max((int) view.getChildAt(firstVisibleItem).getY(), in onScroll()
/packages/apps/Contacts/src/com/android/contacts/
DBackScrollManager.java58 (int) -view.getChildAt(firstVisibleItem).getY(),
/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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java140 public int getY(int pos) { in getY() method in MoreSuggestions.Builder.MoreSuggestionsParam
210 final int y = params.getY(pos); in build()
/packages/apps/Email/src/com/android/email/view/
DNonLockingScrollView.java120 final float y = ev.getY(actionIndex); in isEventOverChild()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputView.java65 final int y = (int)me.getY() + rect.top; in forwardTouchEvent()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java214 (int) ev.getX(), (int) ev.getY(), 0, null); in dispatchTouchEvent()
219 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()

1234