Home
last modified time | relevance | path

Searched refs:fromY (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java67 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/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java176 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToTop() local
179 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
222 final int fromY = xy[1]; in dragViewTo() local
225 int deltaY = fromY - toY; in dragViewTo()
228 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo()
239 final int fromY = xy[1]; in dragViewToX() local
243 drag(inst, fromX, toX, fromY, fromY, calculateStepsForDistance(deltaX)); in dragViewToX()
254 final int fromY = xy[1]; in dragViewToY() local
256 int deltaY = fromY - toY; in dragViewToY()
258 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY()
[all …]
/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
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 …]
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
64 this.fromY = fromY; 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
82 this.fromY = fromY; in ChangeInfo()
93 + ", fromY=" + fromY 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
259 fromY += (int) holder.itemView.getTranslationY(); in animateMove()
[all …]
DSimpleItemAnimator.java234 public abstract 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
120 fromY = searchRange; in armVCM4P2_BlockMatch_Integer()
135 fromY = pCurrPointPos->y - pRefRect->y; in armVCM4P2_BlockMatch_Integer()
144 pDstMV->dy = -fromY; in armVCM4P2_BlockMatch_Integer()
146 for (y = -fromY; y <= toY; y++) in armVCM4P2_BlockMatch_Integer()
DarmVCM4P2_BlockMatch_Half.c93 OMX_INT minSAD, fromX, toX, fromY, toY; in armVCM4P2_BlockMatch_Half() local
127 fromY = 1; in armVCM4P2_BlockMatch_Half()
141 fromY = 0; in armVCM4P2_BlockMatch_Half()
150 for (y = -fromY; y <= toY; y++) 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
127 float y = fromY; in scroll()
130 float yStep = (toY - fromY) / STEP_COUNT; in scroll()
149 private static void scrollOnArch(ScrollManager scrollManager, float fromX, float fromY, in scrollOnArch() argument
156 double relativeY = fromY - (TEST_HEIGHT / 2); in scrollOnArch()
158 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT); in scrollOnArch()
160 float y = fromY; 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
150 fromY = nSearchRange; in omxVCM4P10_BlockMatch_Integer()
165 fromY = pCurrPointPos->y - pRefRect->y; in omxVCM4P10_BlockMatch_Integer()
174 pBestMV->dy = -fromY * 4; in omxVCM4P10_BlockMatch_Integer()
179 for (y = -fromY; y <= toY; y++) in omxVCM4P10_BlockMatch_Integer()
DomxVCM4P10_BlockMatch_Half.c107 OMX_INT fromX, toX, fromY, toY; in omxVCM4P10_BlockMatch_Half() local
134 fromY = 1; in omxVCM4P10_BlockMatch_Half()
144 for (y = -fromY; y <= toY; y++) in omxVCM4P10_BlockMatch_Half()
DomxVCM4P10_BlockMatch_Quarter.c107 OMX_INT fromX, toX, fromY, toY; in omxVCM4P10_BlockMatch_Quarter() local
135 fromY = 1; in omxVCM4P10_BlockMatch_Quarter()
145 for (y = -fromY; y <= toY; y++) 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
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/policy/
DSystemGesturesPointerEventListener.java217 final float fromY = mDownY[i]; in detectSwipe() local
220 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed); in detectSwipe()
221 if (fromY <= mSwipeStartThreshold in detectSwipe()
222 && y > fromY + mSwipeDistanceThreshold in detectSwipe()
226 if (fromY >= screenHeight - mSwipeStartThreshold in detectSwipe()
227 && y < fromY - 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
2279 float y = fromY; in drag()
2282 float yStep = (toY - fromY) / 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.java974 float fromY; in createThumbnailAspectScaleAnimationLocked() local
981 fromY = mTmpRect.top; in createThumbnailAspectScaleAnimationLocked()
992 fromY -= thumbHeightI; in createThumbnailAspectScaleAnimationLocked()
999 fromY = mTmpRect.top; 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
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 …]