Home
last modified time | relevance | path

Searched refs:toX (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java60 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.MoveInfo
62 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { in MoveInfo() argument
66 this.toX = toX; in MoveInfo()
73 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.ChangeInfo
80 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument
84 this.toX = toX; in ChangeInfo()
95 + ", toX=" + toX in toString()
127 moveInfo.toX, moveInfo.toY); in runPendingAnimations()
257 int toX, int toY) { in animateMove() argument
262 int deltaX = toX - fromX; in animateMove()
[all …]
DSimpleItemAnimator.java235 int toX, int toY); in animateMove() argument
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java597 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
614 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
623 int deltaX = fromX - toX; in dragViewTo()
627 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
649 int toX) { in dragViewToX() argument
650 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
664 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
672 int deltaX = fromX - toX; in dragViewToX()
674 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
[all …]
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { in ScaleAnimation() argument
148 mToX = toX; in ScaleAnimation()
171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
175 mToX = toX; in ScaleAnimation()
212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
216 mToX = toX; in ScaleAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1078 final float toX; in createThumbnailAspectScaleAnimationLocked() local
1088 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left; in createThumbnailAspectScaleAnimationLocked()
1103 toX = appRect.left; in createThumbnailAspectScaleAnimationLocked()
1119 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked()
1161 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked()
1180 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument
1183 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { in createCurvedMotion()
1184 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion()
1186 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion()
1191 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument
[all …]
DWindowState.java5282 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { in MoveAnimationSpec() argument
5289 mTo.set(toX, toY); in MoveAnimationSpec()