/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardItemAnimator.java | 26 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromX, int fromY, 34 fromY += ViewCompat.getTranslationY(oldHolder.itemView); 37 if (fromX == toX && fromY == toY) { 42 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
TouchUtils.java | 180 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 - toY [all...] |
LoggingItemAnimator.java | 152 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, 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);
|
DefaultItemAnimatorTest.java | 353 boolean animateMove(final RecyclerView.ViewHolder vh, final int fromX, final int fromY, 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);
|
DummyItemAnimator.java | 126 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX,
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 67 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, fromY + deltaY, distance) [all...] |
/packages/experimental/KBars/app/src/main/java/js/kbars/ |
SystemGestureDebugger.java | 177 float fromY = this.mDownY[i]; 181 boolean reachedThreshold = ((fromY > ((float) this.mSwipeStartThreshold) || y <= ((float) this.mSwipeDistanceThreshold) + fromY) && ((fromY < ((float) (this.screenHeight - this.mSwipeStartThreshold)) || y >= fromY - ((float) this.mSwipeDistanceThreshold)) && (fromX < ((float) (this.screenWidth - this.mSwipeStartThreshold)) || x >= fromX - ((float) this.mSwipeDistanceThreshold)))) ? DEBUG : true; 185 if (fromY <= ((float) this.mSwipeStartThreshold) && y > ((float) this.mSwipeDistanceThreshold) + fromY && elapsed < SWIPE_TIMEOUT_MS) { 188 if (fromY >= ((float) (this.screenHeight - this.mSwipeStartThreshold)) && y < fromY - ((float) this.mSwipeDistanceThreshold) && elapsed < SWIPE_TIMEOUT_MS) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
DefaultItemAnimator.java | 60 public int fromX, fromY, toX, toY; 62 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { 65 this.fromY = fromY; 73 public int fromX, fromY, toX, toY; 80 int fromX, int fromY, int toX, int toY) { 83 this.fromY = fromY; 94 + ", fromY=" + fromY [all...] |
SimpleItemAnimator.java | 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY,
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
DefaultItemAnimator.java | 59 public int fromX, fromY, toX, toY; 61 MoveInfo(RecyclerView.ViewHolder holder, int fromX, int fromY, int toX, int toY) { 64 this.fromY = fromY; 72 public int fromX, fromY, toX, toY; 79 int fromX, int fromY, int toX, int toY) { 82 this.fromY = fromY; 93 + ", fromY=" + fromY [all...] |
SimpleItemAnimator.java | 232 public abstract boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY,
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
ScrollManagerTest.java | 123 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, 128 float y = fromY; 131 float yStep = (toY - fromY) / STEP_COUNT; 150 private static void scrollOnArch(ScrollManager scrollManager, float fromX, float fromY, 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/ |
ScaleAnimation.java | 141 * @param fromY Vertical scaling factor to apply at the start of the 145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { 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, 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, 217 mFromY = fromY;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
SystemGesturesPointerEventListener.java | 217 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
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragLayer.java | 255 final int fromY = r.top; 257 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, 318 final int fromY = r.top; 321 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, toScale, toScale, 325 public void animateViewIntoPosition(final DragView view, final int fromX, final int fromY, 329 Rect from = new Rect(fromX, fromY, fromX + 330 view.getMeasuredWidth(), fromY + view.getMeasuredHeight());
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
ScaleAnimationTest.java | 171 public MyScaleAnimation(float fromX, float toX, float fromY, float toY, 173 super(fromX, toX, fromY, toY, pivotXValue, pivotYValue);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorAnimator.java | 203 private static void translateViews(List<Animator> animators, List<View> views, float fromY, 208 ObjectAnimator.ofFloat(child, View.TRANSLATION_Y, fromY, toY);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
AppTransition.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 464 final int fromY = r.top; 466 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, 519 final int fromY = r.top; 529 animateViewIntoPosition(dragView, fromX, fromY, toX, toY, 1, 1, 1, scale, scale, 533 public void animateViewIntoPosition(final DragView view, final int fromX, final int fromY, 537 Rect from = new Rect(fromX, fromY, fromX + 538 view.getMeasuredWidth(), fromY + view.getMeasuredHeight());
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ItemAnimator.java | 103 public boolean animateMove(final ViewHolder holder, int fromX, int fromY, int toX, int toY) { 107 final int deltaY = toY - fromY;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 780 final int fromY, final int toY) { 782 if (fromX == toX && fromY == toY) { 786 if (fromY != toY) { 787 PollingCheck.waitFor(() -> isInRange(mScrollViewCustom.getScrollY(), fromY, toY)); [all...] |
ScrollViewTest.java | 811 final int fromY, final int toY) { 813 if (fromX == toX && fromY == toY) { 817 if (fromY != toY) { 818 PollingCheck.waitFor(() -> isInRange(mScrollViewCustom.getScrollY(), fromY, toY)); [all...] |
/prebuilts/sdk/28/optional/ |
android.test.runner.jar | |
/prebuilts/sdk/current/optional/ |
android.test.runner.jar | |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageShow.java | 687 int fromY, int toY, int delay) { 688 if (fromX == toX && fromY == toY) { 698 mAnimatorTranslateY = ValueAnimator.ofInt(fromY, toY); [all...] |