Home
last modified time | relevance | path

Searched refs:fromX (Results 1 – 19 of 19) 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/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java59 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 …]
DSimpleItemAnimator.java234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java221 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/
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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DarmVCM4P2_BlockMatch_Integer.c101 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()
DarmVCM4P2_BlockMatch_Half.c93 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/
DScrollManagerTest.java122 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/
DomxVCM4P10_BlockMatch_Integer.c110 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()
DomxVCM4P10_BlockMatch_Half.c107 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()
DomxVCM4P10_BlockMatch_Quarter.c107 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/
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/policy/
DSystemGesturesPointerEventListener.java216 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/
DLoggingItemAnimator.java153 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()
DDefaultItemAnimatorTest.java351 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()
DRecyclerViewLayoutTest.java2274 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()
DRecyclerViewAnimationsTest.java773 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, in addRemoveSamePass()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java973 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 …]