Home
last modified time | relevance | path

Searched refs:toX (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java55 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.MoveInfo
57 private MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { in MoveInfo() argument
61 this.toX = toX; in MoveInfo()
68 public int fromX, fromY, toX, toY; field in DefaultItemAnimator.ChangeInfo
75 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument
79 this.toX = toX; in ChangeInfo()
90 ", toX=" + toX + in toString()
122 moveInfo.toX, moveInfo.toY); in runPendingAnimations()
250 int toX, int toY) { in animateMove() argument
255 int deltaX = toX - fromX; in animateMove()
[all …]
DRecyclerView.java9903 int toX, int toY); in animateMove() argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLoggingItemAnimator.java64 int toX, int toY) { in animateMove() argument
66 return super.animateMove(holder, fromX, fromY, toX, toY); in animateMove()
71 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) { in animateChange() argument
78 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
DDefaultItemAnimatorTest.java340 final int toX, final int toY) throws Throwable { in animateMove() argument
345 result[0] = mAnimator.animateMove(vh, fromX, fromY, toX, toY); in animateMove()
353 final int fromX, final int fromY, final int toX, final int toY) throws Throwable { in animateChange() argument
358 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
DRecyclerViewLayoutTest.java1165 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() argument
1174 float xStep = (toX - fromX) / stepCount; in drag()
DRecyclerViewAnimationsTest.java330 int toX, int toY) { in testAddRemoveSamePass()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java591 public static int dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
593 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
608 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
617 int deltaX = fromX - toX; in dragViewTo()
621 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
643 int toX) { in dragViewToX() argument
644 return dragViewToX((InstrumentationTestCase) test, v, gravity, toX); in dragViewToX()
658 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
666 int deltaX = fromX - toX; in dragViewToX()
668 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
[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
119 toX = searchRange; in armVCM4P2_BlockMatch_Integer()
130 toX = pRefRect->width - (pCurrPointPos->x - pRefRect->x) - BlockSize; 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
126 toX = 1; in armVCM4P2_BlockMatch_Half()
136 toX = 0; in armVCM4P2_BlockMatch_Half()
153 for (x = -fromX; x <= toX; x++) in armVCM4P2_BlockMatch_Half()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java145 public ScaleAnimation(float fromX, float toX, float fromY, float toY) { in ScaleAnimation() argument
148 mToX = toX; in ScaleAnimation()
171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
175 mToX = toX; in ScaleAnimation()
212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
216 mToX = toX; in ScaleAnimation()
/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
149 toX = nSearchRange; in omxVCM4P10_BlockMatch_Integer()
160 toX = pRefRect->width - (pCurrPointPos->x - pRefRect->x) - iBlockWidth; 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
133 toX = 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
134 toX = 1; in omxVCM4P10_BlockMatch_Quarter()
148 for (x = -fromX; x <= toX; x++) in omxVCM4P10_BlockMatch_Quarter()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java503 public static int dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, in dragViewTo() argument
512 int deltaX = fromX - toX; in dragViewTo()
516 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
533 public static int dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) { in dragViewToX() argument
541 int deltaX = fromX - toX; in dragViewToX()
543 drag(test, fromX, toX, fromY, fromY, Math.max(10, Math.abs(deltaX) / 10)); in dragViewToX()
585 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, in drag() argument
596 float xStep = (toX - fromX) / stepCount; in drag()