/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/support/v7/recyclerview/src/android/support/v7/widget/ |
D | DefaultItemAnimator.java | 59 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.MoveInfo 61 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { in MoveInfo() argument 63 this.fromX = fromX; in MoveInfo() 72 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.ChangeInfo 79 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument 81 this.fromX = fromX; in ChangeInfo() 92 + ", fromX=" + fromX in toString() 125 animateMoveImpl(moveInfo.holder, moveInfo.fromX, moveInfo.fromY, in runPendingAnimations() 255 public boolean animateMove(final ViewHolder holder, int fromX, int fromY, in animateMove() argument 258 fromX += (int) holder.itemView.getTranslationX(); in animateMove() [all …]
|
D | SimpleItemAnimator.java | 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 221 final int fromX = xy[0]; in dragViewTo() local 224 int deltaX = fromX - toX; in dragViewTo() 228 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo() 238 final int fromX = xy[0]; in dragViewToX() local 241 int deltaX = fromX - toX; in dragViewToX() 243 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); in dragViewToX() 253 final int fromX = xy[0]; in dragViewToY() local 258 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY() 264 public static void drag(Instrumentation inst, float fromX, float toX, float fromY, in drag() argument 270 float x = fromX; in drag() [all …]
|
/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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | armVCM4P2_BlockMatch_Integer.c | 101 OMX_INT minSAD = 0x10001, fromX, toX, fromY, toY; in armVCM4P2_BlockMatch_Integer() local 118 fromX = searchRange; in armVCM4P2_BlockMatch_Integer() 125 fromX = pCurrPointPos->x - pRefRect->x; in armVCM4P2_BlockMatch_Integer() 143 pDstMV->dx = -fromX; in armVCM4P2_BlockMatch_Integer() 150 for (x = -fromX; x <= toX; x++) in armVCM4P2_BlockMatch_Integer()
|
D | armVCM4P2_BlockMatch_Half.c | 93 OMX_INT minSAD, fromX, toX, fromY, toY; in armVCM4P2_BlockMatch_Half() local 125 fromX = 1; in armVCM4P2_BlockMatch_Half() 131 fromX = 0; in armVCM4P2_BlockMatch_Half() 153 for (x = -fromX; x <= toX; x++) in armVCM4P2_BlockMatch_Half()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
D | ScrollManagerTest.java | 122 private static void scroll(ScrollManager scrollManager, float fromX, float toX, float fromY, in scroll() argument 128 float x = fromX; in scroll() 131 float xStep = (toX - fromX) / STEP_COUNT; in scroll() 149 private static void scrollOnArch(ScrollManager scrollManager, float fromX, float fromY, in scrollOnArch() argument 155 double relativeX = fromX - (TEST_WIDTH / 2); in scrollOnArch() 158 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT); in scrollOnArch() 161 float x = fromX; in scrollOnArch()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_BlockMatch_Integer.c | 110 OMX_INT fromX, toX, fromY, toY; in omxVCM4P10_BlockMatch_Integer() local 148 fromX = nSearchRange; in omxVCM4P10_BlockMatch_Integer() 155 fromX = pCurrPointPos->x - pRefRect->x; in omxVCM4P10_BlockMatch_Integer() 173 pBestMV->dx = -fromX * 4; in omxVCM4P10_BlockMatch_Integer() 182 for (x = -fromX; x <= toX; x++) in omxVCM4P10_BlockMatch_Integer()
|
D | omxVCM4P10_BlockMatch_Half.c | 107 OMX_INT fromX, toX, fromY, toY; in omxVCM4P10_BlockMatch_Half() local 132 fromX = 1; in omxVCM4P10_BlockMatch_Half() 147 for (x = -fromX; x <= toX; x++) in omxVCM4P10_BlockMatch_Half()
|
D | omxVCM4P10_BlockMatch_Quarter.c | 107 OMX_INT fromX, toX, fromY, toY; in omxVCM4P10_BlockMatch_Quarter() local 133 fromX = 1; in omxVCM4P10_BlockMatch_Quarter() 148 for (x = -fromX; x <= toX; x++) in omxVCM4P10_BlockMatch_Quarter()
|
/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/policy/ |
D | SystemGesturesPointerEventListener.java | 216 final float fromX = mDownX[i]; in detectSwipe() local 220 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed); in detectSwipe() 231 if (fromX >= screenWidth - mSwipeStartThreshold in detectSwipe() 232 && x < fromX - mSwipeDistanceThreshold in detectSwipe() 236 if (fromX <= mSwipeStartThreshold in detectSwipe() 237 && x > fromX + mSwipeDistanceThreshold in detectSwipe()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LoggingItemAnimator.java | 153 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, in animateMove() argument 156 return super.animateMove(holder, fromX, fromY, toX, toY); in animateMove() 161 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) { in animateChange() argument 168 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|
D | DefaultItemAnimatorTest.java | 351 boolean animateMove(final RecyclerView.ViewHolder vh, final int fromX, final int fromY, in animateMove() argument 357 result[0] = mAnimator.animateMove(vh, fromX, fromY, toX, toY); in animateMove() 365 final int fromX, final int fromY, final int toX, final int toY) throws Throwable { in animateChange() argument 370 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|
D | RecyclerViewLayoutTest.java | 2274 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() argument 2280 float x = fromX; in drag() 2283 float xStep = (toX - fromX) / stepCount; in drag()
|
D | RecyclerViewAnimationsTest.java | 773 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, in addRemoveSamePass()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 973 final float fromX; in createThumbnailAspectScaleAnimationLocked() local 980 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked() 998 fromX = mTmpRect.left; in createThumbnailAspectScaleAnimationLocked() 1016 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked() 1058 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked() 1077 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument 1080 if (Math.abs(toX - fromX) < 1f || mNextAppTransition != TRANSIT_DOCK_TASK_FROM_RECENTS) { in createCurvedMotion() 1081 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion() 1083 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion() 1088 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument [all …]
|