/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | CustomEvaluator.java | 68 public float getX() { in getX() method in CustomEvaluator.XYHolder 89 return new XYHolder(startXY.getX() + fraction * (endXY.getX() - startXY.getX()), in evaluate() 103 mBall.setX(xyHolder.getX()); in setXY() 108 return new XYHolder(mBall.getX(), mBall.getY()); in getXY() 164 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
D | MultiPropertyAnimation.java | 110 PropertyValuesHolder pvTX = PropertyValuesHolder.ofFloat("x", ball.getX(), in createAnimation() 111 ball.getX() - BALL_SIZE/2f); in createAnimation() 121 float ballX = ball.getX(); 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() 95 ValueAnimator squashAnim1 = ObjectAnimator.ofFloat(newBall, "x", newBall.getX(), in onTouchEvent() 96 newBall.getX() - 25f); in onTouchEvent() 178 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
|
D | AnimatorEvents.java | 129 ball.getX(), ball.getX() + 300).setDuration(1000); in createAnimation() 193 canvas.translate(ball.getX(), ball.getY()); in onDraw()
|
D | ShapeHolder.java | 47 public float getX() { in getX() method in ShapeHolder
|
D | AnimationLoading.java | 185 canvas.translate(ball.getX(), ball.getY()); in onDraw() 187 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 | 50 final float x = event.getX(pointerIndex); in onResolvePointerIcon()
|
D | LivePointerIconButton.java | 68 final float relativeX = (event.getX(pointerIndex) / getWidth()) - 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() 106 mPreviousX = e.getX(); in onTouchEvent() 116 updateAngles(e.getX(), e.getY(), TOUCH_SCALE_FACTOR); in onCapturedPointerEvent()
|
D | ShadowCardDrag.java | 215 downX = event.getX() - mCard.getTranslationX(); in onCreate() 224 mDragState.onDown(event.getDownTime(), event.getX(), event.getY()); in onCreate() 228 mCard.setTranslationX(event.getX() - downX); 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 | BitmapMesh.java | 114 float[] pt = { event.getX(), event.getY() }; in onTouchEvent()
|
D | Patterns.java | 101 float x = event.getX(); in onTouchEvent()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardLayout.java | 77 mSwiping = Math.abs(mDownX - event.getX()) > mTouchSlop; in onInterceptTouchEvent() 81 mDownX = event.getX(); in onInterceptTouchEvent()
|
D | CardStreamLinearLayout.java | 75 mDownX = event.getX(); 86 float x = event.getX() + v.getTranslationX(); 106 float x = event.getX() + v.getTranslationX();
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | VersionedGestureDetector.java | 59 return ev.getX(); in getActiveX() 102 return ev.getX(mActivePointerIndex); in getActiveX() 130 mLastTouchX = ev.getX(newPointerIndex); in onTouchEvent()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 88 mDownX = event.getX(); 97 float x = event.getX() + v.getTranslationX(); 117 float x = event.getX() + v.getTranslationX();
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 52 float x = e.getX(); in onTouchEvent()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 55 float x = e.getX(); 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/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/ |
D | ImageDragListener.java | 53 processLocation(event.getX(), event.getY()); in onDrag()
|
/development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/ |
D | ImageDragListener.java | 45 processLocation(event.getX(), event.getY()); in onDrag()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 107 mDownX = event.getX(); 118 float x = event.getX(); 143 float x = event.getX();
|
/development/samples/Snake/src/com/example/android/snake/ |
D | Snake.java | 83 float x = event.getX() / v.getWidth(); in onCreate()
|