/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | CustomEvaluator.java | 76 public float getY() { in getY() method in CustomEvaluator.XYHolder 90 startXY.getY() + fraction * (endXY.getY() - startXY.getY())); in evaluate() 104 mBall.setY(xyHolder.getY()); in setXY() 108 return new XYHolder(mBall.getX(), mBall.getY()); in getXY() 164 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
D | MultiPropertyAnimation.java | 90 ball.getY(), getHeight() - BALL_SIZE).setDuration(DURATION); in createAnimation() 95 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(), in createAnimation() 112 PropertyValuesHolder pvTY = PropertyValuesHolder.ofFloat("y", ball.getY(), in createAnimation() 113 ball.getY() - BALL_SIZE/2f); in createAnimation() 120 pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(), getHeight() - BALL_SIZE); in createAnimation() 167 canvas.translate(ball.getX(), ball.getY()); in onDraw() 169 canvas.translate(-ball.getX(), -ball.getY()); in onDraw()
|
D | BouncingBalls.java | 84 ShapeHolder newBall = addBall(event.getX(), event.getY()); in onTouchEvent() 87 float startY = newBall.getY(); in onTouchEvent() 90 float eventY = event.getY(); in onTouchEvent() 178 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
|
D | ReversingAnimation.java | 80 bounceAnim = ObjectAnimator.ofFloat(ball, "y", ball.getY(), getHeight() - 50f). in createAnimation() 125 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
D | AnimationSeeking.java | 110 ball.getY(), getHeight() - BALL_SIZE).setDuration(1500); in createAnimation() 149 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
D | ShapeHolder.java | 53 public float getY() { in getY() method in ShapeHolder
|
D | AnimationLoading.java | 185 canvas.translate(ball.getX(), ball.getY()); in onDraw() 187 canvas.translate(-ball.getX(), -ball.getY()); in onDraw()
|
D | AnimatorEvents.java | 121 ball.getY(), getHeight() - 50f).setDuration(1500); in createAnimation() 193 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Hover.java | 82 event.getX(), event.getY())); in onCreate() 87 event.getX(), event.getY())); in onCreate() 92 event.getX(), event.getY())); in onCreate()
|
D | SystemPointerIconButton.java | 51 final float y = event.getY(pointerIndex); in onResolvePointerIcon()
|
D | LivePointerIconButton.java | 69 final float relativeY = (event.getY(pointerIndex) / getHeight()) - 0.5f; in onResolvePointerIcon()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchRotateActivity.java | 90 updateAngles(e.getX(), e.getY(), TRACKBALL_SCALE_FACTOR); in onTrackballEvent() 98 updateAngles(e.getX() - mPreviousX, e.getY() - mPreviousY, TOUCH_SCALE_FACTOR); in onTouchEvent() 107 mPreviousY = e.getY(); in onTouchEvent() 116 updateAngles(e.getX(), e.getY(), TOUCH_SCALE_FACTOR); in onCapturedPointerEvent()
|
D | ShadowCardDrag.java | 216 downY = event.getY() - mCard.getTranslationY(); in onCreate() 224 mDragState.onDown(event.getDownTime(), event.getX(), event.getY()); in onCreate() 229 mCard.setTranslationY(event.getY() - downY); in onCreate() 231 mDragState.onMove(event.getEventTime(), event.getX(), event.getY()); in onCreate()
|
D | Vertices.java | 94 float[] pt = { event.getX(), event.getY() }; in onTouchEvent()
|
D | Patterns.java | 102 float y = event.getY(); in onTouchEvent()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | VersionedGestureDetector.java | 63 return ev.getY(); in getActiveY() 107 return ev.getY(mActivePointerIndex); in getActiveY() 131 mLastTouchY = ev.getY(newPointerIndex); in onTouchEvent()
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/ |
D | ScalingOffsettingHelper.java | 42 float yRelativeToCenterOffset = (child.getY() / parent.getHeight()) + centerOffset; in updateChild()
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 53 float y = e.getY(); in onTouchEvent()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 56 float y = e.getY(); in onTouchEvent()
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | TouchDisplayView.java | 154 TouchHistory data = TouchHistory.obtain(event.getX(0), event.getY(0), in onTouchEvent() 184 TouchHistory data = TouchHistory.obtain(event.getX(index), event.getY(index), in onTouchEvent() 268 data.setTouch(event.getX(index), event.getY(index), in onTouchEvent()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardLayout.java | 82 mDownY = event.getY(); in onInterceptTouchEvent()
|
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/ |
D | ImageDragListener.java | 45 processLocation(event.getX(), event.getY()); in onDrag()
|
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/ |
D | ImageDragListener.java | 53 processLocation(event.getX(), event.getY()); in onDrag()
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
D | FoldingLayoutActivity.java | 386 if (e2.getY() - mParentPositionY <= mFoldLayout.getHeight() in onScroll() 387 && e2.getY() - mParentPositionY >= 0) { in onScroll() 388 if ((e2.getY() - mParentPositionY) > mFoldLayout.getHeight() * mAnchorFactor) { in onScroll()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | Snake.java | 84 float y = event.getY() / v.getHeight(); in onCreate()
|