/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | TouchUtils.java | 225 final int fromX = xy[0]; 228 int deltaX = fromX - toX; 232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); 242 final int fromX = xy[0]; 245 int deltaX = fromX - toX; 247 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); 257 final int fromX = xy[0]; 262 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); 268 public static void drag(Instrumentation inst, float fromX, floa argument [all...] |
H A D | DummyItemAnimator.java | 126 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, argument
|
H A D | LoggingItemAnimator.java | 152 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, argument 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); 159 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument
|
H A D | DefaultItemAnimatorTest.java | 353 boolean animateMove(final RecyclerView.ViewHolder vh, final int fromX, final int fromY, argument 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); 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 | RecyclerViewLayoutTest.java | 2796 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, argument 2802 float x = fromX; 2805 float xStep = (toX - fromX) / stepCount;
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
H A D | ScrollManagerTest.java | 123 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, argument 129 float x = fromX; 132 float xStep = (toX - fromX) / STEP_COUNT; 150 private static void scrollOnArch(ScrollManager scrollManager, float fromX, float fromY, argument 156 double relativeX = fromX - (TEST_WIDTH / 2); 159 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT); 162 float x = fromX;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 138 * @param fromX Horizontal scaling factor to apply at the start of the 145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { argument 147 mFromX = fromX; 158 * @param fromX Horizontal scaling factor to apply at the start of the 171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument 174 mFromX = fromX; 189 * @param fromX Horizontal scaling factor to apply at the start of the 212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument 215 mFromX = fromX;
|
/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 64 this.fromX = fromX; 73 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo 80 int fromX, int fromY, int toX, int toY) { 82 this.fromX = fromX; 93 + ", fromX=" + fromX 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 | 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, argument
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 570 final int fromX = xy[0]; 575 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); 620 final int fromX = xy[0]; 623 int deltaX = fromX - toX; 627 drag(test, fromX, toX, fromY, toY, distance); 669 final int fromX = xy[0]; 672 int deltaX = fromX - toX; 674 drag(test, fromX, toX, fromY, fromY, deltaX); 716 final int fromX 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/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 63 this.fromX = fromX; 72 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo 79 int fromX, int fromY, int toX, int toY) { 81 this.fromX = fromX; 92 + ", fromX=" + fromX 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 | 232 public abstract boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 1015 final float fromX; 1022 fromX = mTmpRect.left; 1040 fromX = mTmpRect.left; 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 1122 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { 1123 return new TranslateAnimation(fromX, toX, fromY, toY); 1125 final Path path = createCurvedPath(fromX, toX, fromY, toY); 1130 private Path createCurvedPath(float fromX, floa argument [all...] |
H A D | WindowState.java | 4860 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { argument 4866 mFrom.set(fromX, fromY);
|