/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 68 final float toY = size.y * 0.75f; in dragQuarterScreenDown() local 70 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown() 98 final float toY = size.y * 0.25f; in dragQuarterScreenUp() local 100 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp() 235 float toY = screenHeight - 1; in dragViewToBottom() local 237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom() 478 float toY = 0; in dragViewToTop() local 480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop() 598 int toY) { in dragViewTo() argument 599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo() [all …]
|
/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 67 this.toY = toY; 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 85 this.toY = toY; in ChangeInfo() 96 + ", toY=" + toY in toString() 127 moveInfo.toX, moveInfo.toY); in runPendingAnimations() 257 int toX, int toY) { in animateMove() argument 263 int deltaY = toY - fromY; 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 66 this.toY = toY; 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 84 this.toY = toY; in ChangeInfo() 95 + ", toY=" + toY in toString() 126 moveInfo.toX, moveInfo.toY); in runPendingAnimations() 256 int toX, int toY) { in animateMove() argument 262 int deltaY = toY - fromY; in animateMove() [all …]
|
D | SimpleItemAnimator.java | 233 int toX, int toY); in animateMove() argument
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | TouchUtils.java | 181 float toY = 0; in dragViewToTop() local 183 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop() 220 int toY) { in dragViewTo() argument 229 int deltaY = fromY - toY; in dragViewTo() 232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo() 252 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY() argument 260 int deltaY = fromY - toY; in dragViewToY() 262 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY() 269 float toY, int stepCount) { in drag() argument 276 float yStep = (toY - fromY) / 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 | 127 int toY) { 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 2804 float yStep = (toY - fromY) / 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 150 mToY = toY; in ScaleAnimation() 171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument 177 mToY = toY; in ScaleAnimation() 212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument 218 mToY = toY; in ScaleAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | SystemBarScrimViews.java | 87 int toY = 0; in animateNavBarScrimVisibility() local 92 toY = mNavBarScrimView.getMeasuredHeight(); in animateNavBarScrimVisibility() 96 .translationY(toY) in animateNavBarScrimVisibility() 101 mNavBarScrimView.setTranslationY(toY); in animateNavBarScrimVisibility()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1018 float toY; in createThumbnailAspectScaleAnimationLocked() local 1028 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; in createThumbnailAspectScaleAnimationLocked() 1035 toY -= thumbHeightI * scaleW; in createThumbnailAspectScaleAnimationLocked() 1043 toY = appRect.top; 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 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()
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
D | ScrollManagerTest.java | 124 float toY) { in scroll() argument 131 float yStep = (toY - fromY) / STEP_COUNT; in scroll()
|