/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 60 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 …]
|
D | SimpleItemAnimator.java | 235 int toX, int toY); in animateMove() argument
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | DefaultItemAnimator.java | 59 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.MoveInfo 61 MoveInfo(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) { in MoveInfo() argument 65 this.toX = toX; in MoveInfo() 72 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.ChangeInfo 79 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument 83 this.toX = toX; in ChangeInfo() 94 + ", toX=" + toX in toString() 126 moveInfo.toX, moveInfo.toY); in runPendingAnimations() 256 int toX, int toY) { in animateMove() argument 261 int deltaX = toX - fromX; in animateMove() [all …]
|
D | SimpleItemAnimator.java | 233 int toX, int toY); in animateMove() argument
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 597 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/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | TouchUtils.java | 219 public static int dragViewTo(Instrumentation inst, View v, int gravity, int toX, in dragViewTo() argument 228 int deltaX = fromX - toX; in dragViewTo() 232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo() 237 public static int dragViewToX(Instrumentation inst, View v, int gravity, int toX) { in dragViewToX() argument 245 int deltaX = fromX - toX; in dragViewToX() 247 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); in dragViewToX() 268 public static void drag(Instrumentation inst, float fromX, float toX, float fromY, in drag() argument 277 float xStep = (toX - fromX) / stepCount; in drag()
|
D | LoggingItemAnimator.java | 153 int toX, int toY) { in animateMove() argument 155 return super.animateMove(holder, fromX, fromY, toX, toY); in animateMove() 160 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) { in animateChange() argument 167 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|
D | DefaultItemAnimatorTest.java | 354 final int toX, final int toY) throws Throwable { in animateMove() argument 359 result[0] = mAnimator.animateMove(vh, fromX, fromY, toX, toY); in animateMove() 367 final int fromX, final int fromY, final int toX, final int toY) throws Throwable { in animateChange() argument 372 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|
D | DummyItemAnimator.java | 126 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, in animateMove() argument
|
D | RecyclerViewAnimationsTest.java | 775 int toX, int toY) { in addRemoveSamePass()
|
D | RecyclerViewLayoutTest.java | 2796 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() argument 2805 float xStep = (toX - fromX) / stepCount; in drag()
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 145 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/support/wear/src/androidTest/java/androidx/wear/widget/ |
D | ScrollManagerTest.java | 123 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, in scroll() argument 132 float xStep = (toX - fromX) / STEP_COUNT; in scroll()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1017 final float toX; in createThumbnailAspectScaleAnimationLocked() local 1027 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left; in createThumbnailAspectScaleAnimationLocked() 1042 toX = appRect.left; in createThumbnailAspectScaleAnimationLocked() 1058 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked() 1100 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked() 1119 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument 1122 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { in createCurvedMotion() 1123 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion() 1125 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion() 1130 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument [all …]
|
D | WindowState.java | 4860 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { in MoveAnimationSpec() argument 4867 mTo.set(toX, toY); in MoveAnimationSpec()
|