/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 67 final float fromY = size.y * 0.5f; in dragQuarterScreenDown() local 70 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown() 97 final float fromY = size.y * 0.5f; in dragQuarterScreenUp() local 100 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp() 234 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom() local 237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom() 477 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToTop() local 480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop() 571 final int fromY = xy[1]; in dragViewBy() local 575 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy() [all …]
|
/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 65 this.fromY = fromY; 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 83 this.fromY = fromY; in ChangeInfo() 94 + ", fromY=" + fromY 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 260 fromY += holder.itemView.getTranslationY(); in animateMove() [all …]
|
D | SimpleItemAnimator.java | 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { in ScaleAnimation() argument 149 mFromY = fromY; in ScaleAnimation() 171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument 176 mFromY = fromY; in ScaleAnimation() 212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument 217 mFromY = fromY; in ScaleAnimation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 254 final float fromY = mDownY[i]; in detectSwipe() local 257 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed); in detectSwipe() 258 if (fromY <= mSwipeStartThreshold in detectSwipe() 259 && y > fromY + mSwipeDistanceThreshold in detectSwipe() 263 if (fromY >= screenHeight - mSwipeStartThreshold in detectSwipe() 264 && y < fromY - mSwipeDistanceThreshold in detectSwipe()
|
D | AppTransition.java | 1077 float fromY; in createThumbnailAspectScaleAnimationLocked() local 1084 fromY = mTmpRect.top; in createThumbnailAspectScaleAnimationLocked() 1095 fromY -= thumbHeightI; in createThumbnailAspectScaleAnimationLocked() 1102 fromY = mTmpRect.top; 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 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 …]
|
D | WindowState.java | 5282 private MoveAnimationSpec(int fromX, int fromY, int toX, int toY) { in MoveAnimationSpec() argument 5288 mFrom.set(fromX, fromY); in MoveAnimationSpec()
|