Home
last modified time | relevance | path

Searched refs:fromX (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java60 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
64 this.fromX = fromX; 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
82 this.fromX = fromX; in ChangeInfo()
93 + ", fromX=" + fromX in toString()
126 animateMoveImpl(moveInfo.holder, moveInfo.fromX, moveInfo.fromY, in runPendingAnimations()
256 public boolean animateMove(final ViewHolder holder, int fromX, int fromY, in animateMove() argument
259 fromX += holder.itemView.getTranslationX(); in animateMove()
[all …]
DSimpleItemAnimator.java234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java570 final int fromX = xy[0]; in dragViewBy() local
575 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()
620 final int fromX = xy[0]; in dragViewTo() local
623 int deltaX = fromX - toX; in dragViewTo()
627 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
669 final int fromX = xy[0]; in dragViewToX() local
672 int deltaX = fromX - toX; in dragViewToX()
674 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
716 final int fromX = xy[0]; in dragViewToY() local
721 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
[all …]
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { in ScaleAnimation() argument
147 mFromX = fromX; in ScaleAnimation()
171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
174 mFromX = fromX; in ScaleAnimation()
212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
215 mFromX = fromX; in ScaleAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java253 final float fromX = mDownX[i]; in detectSwipe() local
257 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed); in detectSwipe()
268 if (fromX >= screenWidth - mSwipeStartThreshold in detectSwipe()
269 && x < fromX - mSwipeDistanceThreshold in detectSwipe()
273 if (fromX <= mSwipeStartThreshold in detectSwipe()
274 && x > fromX + mSwipeDistanceThreshold in detectSwipe()
DAppTransition.java1076 final float fromX; in createThumbnailAspectScaleAnimationLocked() local
1083 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked()
1101 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked()
1119 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked()
1161 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked()
1180 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument
1183 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { in createCurvedMotion()
1184 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion()
1186 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion()
1191 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument
[all …]
DWindowState.java5282 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { in MoveAnimationSpec() argument
5288 mFrom.set(fromX, fromY); in MoveAnimationSpec()