/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 60 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 …]
|
D | SimpleItemAnimator.java | 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 570 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/ |
D | ScaleAnimation.java | 145 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/ |
D | SystemGesturesPointerEventListener.java | 253 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()
|
D | AppTransition.java | 1074 final float fromX; in createThumbnailAspectScaleAnimationLocked() local 1081 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked() 1099 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked() 1117 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked() 1159 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked() 1178 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument 1181 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { in createCurvedMotion() 1182 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion() 1184 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion() 1189 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument [all …]
|
D | WindowState.java | 5139 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { in MoveAnimationSpec() argument 5145 mFrom.set(fromX, fromY); in MoveAnimationSpec()
|