Searched refs:fromY (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DTouchUtils.java180 float fromY = xy[1] + (viewHeight / 2.0f);
183 drag(inst, x, x, fromY, toY, stepCount);
226 final int fromY = xy[1];
229 int deltaY = fromY - toY;
232 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance));
243 final int fromY = xy[1];
247 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX));
258 final int fromY = xy[1];
260 int deltaY = fromY
268 drag(Instrumentation inst, float fromX, float toX, float fromY, float toY, int stepCount) argument
[all...]
H A DLoggingItemAnimator.java152 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 DDefaultItemAnimatorTest.java353 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 DDummyItemAnimator.java126 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, argument
H A DRecyclerViewLayoutTest.java2796 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, argument
2801 float y = fromY;
2804 float yStep = (toY - fromY) / stepCount;
H A DRecyclerViewAnimationsTest.java774 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY,
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java67 final float fromY = size.y * 0.5f;
70 drag(test, x, x, fromY, toY, 4);
97 final float fromY = size.y * 0.5f;
100 drag(test, x, x, fromY, toY, 4);
234 float fromY = xy[1] + (viewHeight / 2.0f);
237 drag(test, x, x, fromY, toY, stepCount);
477 float fromY = xy[1] + (viewHeight / 2.0f);
480 drag(test, x, x, fromY, toY, stepCount);
571 final int fromY = xy[1];
575 drag(test, fromX, fromX + deltaX, fromY, from
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 DDefaultItemAnimator.java60 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.MoveInfo
62 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { argument
65 this.fromY = fromY;
73 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo
80 int fromX, int fromY, int toX, int toY) {
83 this.fromY = fromY;
94 + ", fromY=" + fromY
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 DSimpleItemAnimator.java234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, argument
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDefaultItemAnimator.java59 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
64 this.fromY = fromY;
72 public int fromX, fromY, toX, toY; field in class:DefaultItemAnimator.ChangeInfo
79 int fromX, int fromY, int toX, int toY) {
82 this.fromY = fromY;
93 + ", fromY=" + fromY
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 DSimpleItemAnimator.java232 public abstract boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, argument
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DScrollManagerTest.java123 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, argument
128 float y = fromY;
131 float yStep = (toY - fromY) / STEP_COUNT;
150 private static void scrollOnArch(ScrollManager scrollManager, float fromX, float fromY, argument
157 double relativeY = fromY - (TEST_HEIGHT / 2);
159 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT);
161 float y = fromY;
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java141 * @param fromY Vertical scaling factor to apply at the start of the
145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { argument
149 mFromY = fromY;
161 * @param fromY Vertical scaling factor to apply at the start of the
171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument
176 mFromY = fromY;
192 * @param fromY Vertical scaling factor to apply at the start of the
212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, argument
217 mFromY = fromY;
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java217 final float fromY = mDownY[i];
220 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed);
221 if (fromY <= mSwipeStartThreshold
222 && y > fromY + mSwipeDistanceThreshold
226 if (fromY >= screenHeight - mSwipeStartThreshold
227 && y < fromY - mSwipeDistanceThreshold
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java1016 float fromY;
1023 fromY = mTmpRect.top;
1034 fromY -= thumbHeightI;
1041 fromY = mTmpRect.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, floa argument
[all...]
H A DWindowState.java4860 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { argument
4866 mFrom.set(fromX, fromY);

Completed in 253 milliseconds