Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java71 float startX = mImageView.getTranslationX(); in createNextAnimation() local
75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); in createNextAnimation()
78 PropertyValuesHolder.ofFloat("translationX", startX, endX), in createNextAnimation()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java327 private void moveView(View view, float startX, float endX, float startY, float endY, in moveView() argument
332 if (startX != endX) { in moveView()
333 … ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, startX, endX); in moveView()
346 TranslateAnimation translator = new TranslateAnimation(startX, endX, startY, endY); in moveView()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java223 float startX = newx1 / (4 - newz1 / 400); in drawLine() local
228 c.drawLine(startX, startY, stopX, stopY, mPaint); in drawLine()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java809 int startX = (int) (mSurfaceSizeBuffer.x * (mScrollerStartViewport.left - AXIS_X_MIN) / ( in fling() local
815 startX, in fling()