Home
last modified time | relevance | path

Searched refs:fromX (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java564 final int fromX = xy[0]; in dragViewBy() local
569 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy()
614 final int fromX = xy[0]; in dragViewTo() local
617 int deltaX = fromX - toX; in dragViewTo()
621 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
663 final int fromX = xy[0]; in dragViewToX() local
666 int deltaX = fromX - toX; in dragViewToX()
668 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX()
710 final int fromX = xy[0]; in dragViewToY() local
715 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
[all …]
/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
59 this.fromX = fromX; 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
77 this.fromX = fromX; in ChangeInfo()
88 ", fromX=" + fromX + in toString()
121 animateMoveImpl(moveInfo.holder, moveInfo.fromX, moveInfo.fromY, in runPendingAnimations()
249 public boolean animateMove(final ViewHolder holder, int fromX, int fromY, in animateMove() argument
252 fromX += ViewCompat.getTranslationX(holder.itemView); in animateMove()
[all …]
DRecyclerView.java9902 abstract public boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() argument
/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/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLoggingItemAnimator.java63 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, 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.java339 boolean animateMove(final RecyclerView.ViewHolder vh, final int fromX, final int fromY, 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
1171 float x = fromX; in drag()
1174 float xStep = (toX - fromX) / stepCount; in drag()
DRecyclerViewAnimationsTest.java329 public boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, in testAddRemoveSamePass()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java509 final int fromX = xy[0]; in dragViewTo() local
512 int deltaX = fromX - toX; in dragViewTo()
516 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo()
538 final int fromX = xy[0]; in dragViewToX() local
541 int deltaX = fromX - toX; in dragViewToX()
543 drag(test, fromX, toX, fromY, fromY, Math.max(10, Math.abs(deltaX) / 10)); in dragViewToX()
564 final int fromX = xy[0]; in dragViewToY() local
569 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY()
585 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, in drag() argument
593 float x = fromX; in drag()
[all …]
/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.java170 final float fromX = mDownX[i];
174 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed);
185 if (fromX >= screenWidth - mSwipeStartThreshold
186 && x < fromX - mSwipeDistanceThreshold