Home
last modified time | relevance | path

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

1234

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java32 public float getY(MotionEvent event, int pointerIndex); in getY() method
63 public float getY(MotionEvent event, int pointerIndex) { in getY() method in MotionEventCompat.BaseMotionEventVersionImpl
65 return event.getY(); in getY()
88 public float getY(MotionEvent event, int pointerIndex) { in getY() method in MotionEventCompat.EclairMotionEventVersionImpl
89 return MotionEventCompatEclair.getY(event, pointerIndex); in getY()
191 public static float getY(MotionEvent event, int pointerIndex) { in getY() method in MotionEventCompat
192 return IMPL.getY(event, pointerIndex); in getY()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java253 mFocusY = event.getY(index1); in onTouchEvent()
257 mFocusY = event.getY(index0); in onTouchEvent()
314 mFocusY = event.getY(index1); in onTouchEvent()
317 mFocusY = event.getY(index0); in onTouchEvent()
357 mFocusY = event.getY(index); in onTouchEvent()
442 mFocusY = event.getY(index); in onTouchEvent()
527 float offset = event.getRawY() - event.getY(); in getRawY()
528 return event.getY(pointerIndex) + offset; in getRawY()
558 final float py0 = prev.getY(prevIndex0); in setContext()
560 final float py1 = prev.getY(prevIndex1); in setContext()
[all …]
DGestureDetector.java458 final float y = ev.getY(); in onTouchEvent()
482 mLastMotionY = ev.getY(index); in onTouchEvent()
537 final int deltaY = (int) (y - mCurrentDownEvent.getY()); in onTouchEvent()
631 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); in isConsideredDoubleTap()
DTouchDelegate.java108 int y = (int)event.getY(); in onTouchEvent()
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java34 public static float getY(MotionEvent event, int pointerIndex) { in getY() method in MotionEventCompatEclair
35 return event.getY(pointerIndex); in getY()
/frameworks/base/core/java/android/text/method/
DTouch.java90 buffer.setSpan(new DragState(event.getX(), event.getY(), in onTouchEvent()
116 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
134 dy = event.getY() - ds[0].mY; in onTouchEvent()
137 dy = ds[0].mY - event.getY(); in onTouchEvent()
140 ds[0].mY = event.getY(); in onTouchEvent()
DArrowKeyMovementMethod.java238 int offset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent()
261 int offset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent()
277 int offset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent()
/frameworks/base/graphics/java/android/renderscript/
DAllocationAdapter.java105 int ty = mAdaptedAllocation.mType.getY(); in initLOD()
180 if (mAdaptedAllocation.getType().getY() == 0) { in setY()
183 if (mAdaptedAllocation.getType().getY() <= y) { in setY()
DType.java91 public int getY() { in getY() method in Type
134 int y = getY(); in calcElementCount()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DRSTestView.java87 mRender.onActionDown((int)ev.getX(), (int)ev.getY()); in onTouchEvent()
91 mRender.onActionMove((int)ev.getX(), (int)ev.getY()); in onTouchEvent()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java187 pointerCoords[i].y = mTouchPoints.get(i).getY(); in touchStart()
213 pointerCoords[numMovedPoints].y = mTouchPoints.get(i).getY(); in touchMove()
243 pointerCoords[i].y = mTouchPoints.get(i).getY(); in touchEnd()
277 pointerCoords[numCanceledPoints].y = mTouchPoints.get(i).getY(); in touchCancel()
403 public int getY() { return mY; } in getY() method in WebViewEventSender.TouchPoint
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestView.java79 float y = ev.getY(); in onTouchEvent()
118 y = ev.getY(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestView.java85 float y = ev.getY(); in onTouchEvent()
124 y = ev.getY(newPointerIndex); in onTouchEvent()
DFBOSyncView.java85 float y = ev.getY(); in onTouchEvent()
124 y = ev.getY(newPointerIndex); in onTouchEvent()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java264 - event.getY(pointerIndex); in handleMotionEventStateTouchExploring()
296 final float deltaY = mLastTouchExploreEvent.getY(pointerIndex) in handleMotionEventStateTouchExploring()
297 - event.getY(pointerIndex); in handleMotionEventStateTouchExploring()
398 final float deltaY = mLastTouchExploreEvent.getY(pointerIndex) in handleMotionEventStateTouchExploring()
399 - event.getY(pointerIndex); in handleMotionEventStateTouchExploring()
772 final float firstPtrY = event.getY(firstPtrIndex); in isDraggingGesture()
774 final float secondPtrY = event.getY(secondPtrIndex); in isDraggingGesture()
1183 mReceivedPointerDownY[pointerId] = event.getY(pointerIndex); in handleReceivedPointerDown()
1316 final float deltaY = event.getY(pointerIndex) - mReceivedPointerDownY[pointerId]; in computePointerDeltaMove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DNyandroid.java97 getX(), getY(), getWidth(), getHeight()); in toString()
187 || nv.getY() + catHeight < -2 in reset()
188 || nv.getY() > getHeight() + 2) in reset()
/frameworks/base/core/java/android/widget/
DFastScroller.java706 if (mState > STATE_NONE && isPointInside(ev.getX(), ev.getY())) {
711 mInitialTouchY = ev.getY();
731 if (isPointInside(me.getX(), me.getY())) { in onTouchEvent()
736 mInitialTouchY = me.getY(); in onTouchEvent()
746 int newThumbY = (int) me.getY() - mThumbH + 10; in onTouchEvent()
778 final float y = me.getY(); in onTouchEvent()
797 int newThumbY = (int) me.getY() - mThumbH + 10; in onTouchEvent()
DScrollView.java475 final float y = ev.getY(pointerIndex); in onInterceptTouchEvent()
490 final float y = ev.getY(); in onInterceptTouchEvent()
567 mLastMotionY = ev.getY(); in onTouchEvent()
575 final float y = ev.getY(activePointerIndex); in onTouchEvent()
645 final float y = ev.getY(index); in onTouchEvent()
652 mLastMotionY = ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
667 mLastMotionY = ev.getY(newPointerIndex); in onSecondaryPointerUp()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java112 float y = ev.getY(); in onTouchEvent()
151 y = ev.getY(newPointerIndex); in onTouchEvent()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselView.java584 mController.onTouchStarted(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
593 mController.onTouchMoved(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
598 mController.onTouchStopped(event.getX(), event.getY(), event.getEventTime()); in onTouchEvent()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java154 mLastY = event.getY(); in onTouchEvent()
159 final float y = event.getY(); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutWithDefaultTouchRecepient.java62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top); in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DNotificationPeekPanel.java61 final int y = (int) event.getY(); in dispatchHoverEvent()
DNotificationPanelTitle.java47 final int y = (int) e.getY(); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java367 childBounds.offset(drawable.getX() - width/2, drawable.getY() - height/2); in invalidateGlobalRegion()
679 switchToState(STATE_FINISH, event.getX(), event.getY()); in handleUp()
692 float y = k < historySize ? event.getHistoricalY(k) : event.getY(); in handleMove()
717 float dy = limitY - target.getY(); in handleMove()
730 float newY = singleTarget ? limitY : mTargetDrawables.get(activeTarget).getY(); in handleMove()
796 final float y = event.getY(); in trySwitchToFirstTouchState()

1234