/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 68 final float toY = size.y * 0.75f; 70 drag(test, x, x, fromY, toY, 4); 98 final float toY = size.y * 0.25f; 100 drag(test, x, x, fromY, toY, 4); 235 float toY = screenHeight - 1; 237 drag(test, x, x, fromY, toY, stepCount); 478 float toY = 0; 480 drag(test, x, x, fromY, toY, stepCount); 588 * @param toY Final location of the view after dragging 598 int toY) { 597 dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, int toY) argument 614 dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, int toY) argument 695 dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, int toY) argument 711 dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) argument 742 drag(ActivityInstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument 757 drag(InstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DefaultItemAnimator.java | 60 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.MoveInfo 62 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { argument 67 this.toY = toY; 73 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo 80 int fromX, int fromY, int toX, int toY) { 85 this.toY = toY; 96 + ", toY=" + toY 79 ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument 256 animateMove(final ViewHolder holder, int fromX, int fromY, int toX, int toY) argument 278 animateMoveImpl(final ViewHolder holder, int fromX, int fromY, int toX, int toY) argument 320 animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument [all...] |
H A D | SimpleItemAnimator.java | 235 int toX, int toY); 234 animateMove(ViewHolder holder, int fromX, int fromY, int toX, int toY) argument
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | DefaultItemAnimator.java | 59 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.MoveInfo 61 MoveInfo(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) { argument 66 this.toY = toY; 72 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo 79 int fromX, int fromY, int toX, int toY) { 84 this.toY = toY; 95 + ", toY=" + toY 78 ChangeInfo(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument 255 animateMove(final RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) argument 277 animateMoveImpl(final RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) argument 319 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument [all...] |
H A D | SimpleItemAnimator.java | 233 int toX, int toY); 232 animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) argument
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | TouchUtils.java | 181 float toY = 0; 183 drag(inst, x, x, fromY, toY, stepCount); 220 int toY) { 229 int deltaY = fromY - toY; 232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); 252 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { argument 260 int deltaY = fromY - toY; 262 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); 269 float toY, int stepCount) { 276 float yStep = (toY 219 dragViewTo(Instrumentation inst, View v, int gravity, int toX, int toY) argument 268 drag(Instrumentation inst, float fromX, float toX, float fromY, float toY, int stepCount) argument [all...] |
H A D | LoggingItemAnimator.java | 153 int toX, int toY) { 155 return super.animateMove(holder, fromX, fromY, toX, toY); 160 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) { 167 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); 152 animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) argument 159 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument
|
H A D | DefaultItemAnimatorTest.java | 354 final int toX, final int toY) throws Throwable { 359 result[0] = mAnimator.animateMove(vh, fromX, fromY, toX, toY); 367 final int fromX, final int fromY, final int toX, final int toY) throws Throwable { 372 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); 353 animateMove(final RecyclerView.ViewHolder vh, final int fromX, final int fromY, final int toX, final int toY) argument 365 animateChange(final RecyclerView.ViewHolder oldHolder, final RecyclerView.ViewHolder newHolder, final int fromX, final int fromY, final int toX, final int toY) argument
|
H A D | DummyItemAnimator.java | 127 int toY) { 126 animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) argument
|
H A D | RecyclerViewAnimationsTest.java | 775 int toX, int toY) {
|
H A D | RecyclerViewLayoutTest.java | 2796 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, argument 2804 float yStep = (toY - fromY) / stepCount;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | SystemBarScrimViews.java | 87 int toY = 0; 92 toY = mNavBarScrimView.getMeasuredHeight(); 96 .translationY(toY) 101 mNavBarScrimView.setTranslationY(toY);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 143 * @param toY Vertical scaling factor to apply at the end of the animation 145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { argument 150 mToY = toY; 163 * @param toY Vertical scaling factor to apply at the end of the animation 171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument 177 mToY = toY; 194 * @param toY Vertical scaling factor to apply at the end of the animation 212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument 218 mToY = toY;
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
H A D | ScrollManagerTest.java | 124 float toY) { 131 float yStep = (toY - fromY) / STEP_COUNT; 123 scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, float toY) argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 1018 float toY; 1028 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; 1035 toY -= thumbHeightI * scaleW; 1043 toY = appRect.top; 1058 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); 1100 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); 1119 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { argument 1123 return new TranslateAnimation(fromX, toX, fromY, toY); 1125 final Path path = createCurvedPath(fromX, toX, fromY, toY); 1130 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { argument [all...] |
H A D | WindowState.java | 4860 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { argument 4867 mTo.set(toX, toY);
|