Home
last modified time | relevance | path

Searched refs:toY (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java68 final float toY = size.y * 0.75f; in dragQuarterScreenDown() local
70 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown()
98 final float toY = size.y * 0.25f; in dragQuarterScreenUp() local
100 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp()
235 float toY = screenHeight - 1; in dragViewToBottom() local
237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
478 float toY = 0; in dragViewToTop() local
480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
598 int toY) { in dragViewTo() argument
599 return dragViewTo((InstrumentationTestCase) test, v, gravity, toX, toY); in dragViewTo()
[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
62 this.toY = toY; 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
80 this.toY = toY; in ChangeInfo()
91 ", toY=" + toY + in toString()
122 moveInfo.toX, moveInfo.toY); in runPendingAnimations()
250 int toX, int toY) { in animateMove() argument
256 int deltaY = toY - fromY; in animateMove()
[all …]
DSimpleItemAnimator.java221 int toX, int toY); in animateMove() argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java178 float toY = 0; in dragViewToTop() local
180 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
217 int toY) { in dragViewTo() argument
226 int deltaY = fromY - toY; in dragViewTo()
229 drag(inst, fromX, toX, fromY, toY, calculateStepsForDistance(distance)); in dragViewTo()
249 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY() argument
257 int deltaY = fromY - toY; in dragViewToY()
259 drag(inst, fromX, fromX, fromY, toY, calculateStepsForDistance(deltaY)); in dragViewToY()
266 float toY, int stepCount) { in drag() argument
273 float yStep = (toY - fromY) / stepCount; in drag()
/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
121 toY = searchRange; in armVCM4P2_BlockMatch_Integer()
140 toY = pRefRect->width - (pCurrPointPos->y - pRefRect->y) - BlockSize; 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
128 toY = 1; in armVCM4P2_BlockMatch_Half()
146 toY = 0; in armVCM4P2_BlockMatch_Half()
150 for (y = -fromY; y <= toY; y++) 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
150 mToY = toY; in ScaleAnimation()
171 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
177 mToY = toY; in ScaleAnimation()
212 public ScaleAnimation(float fromX, float toX, float fromY, float toY, in ScaleAnimation() argument
218 mToY = toY; 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
151 toY = nSearchRange; in omxVCM4P10_BlockMatch_Integer()
170 toY = pRefRect->width - (pCurrPointPos->y - pRefRect->y) - iBlockWidth; 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
135 toY = 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
136 toY = 1; in omxVCM4P10_BlockMatch_Quarter()
145 for (y = -fromY; y <= toY; y++) in omxVCM4P10_BlockMatch_Quarter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSystemBarScrimViews.java87 int toY = 0; in animateNavBarScrimVisibility() local
92 toY = mNavBarScrimView.getMeasuredHeight(); in animateNavBarScrimVisibility()
96 .translationY(toY) in animateNavBarScrimVisibility()
101 mNavBarScrimView.setTranslationY(toY); in animateNavBarScrimVisibility()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLoggingItemAnimator.java154 int toX, int toY) { 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.java353 final int toX, final int toY) throws Throwable { in animateMove() argument
358 result[0] = mAnimator.animateMove(vh, fromX, fromY, toX, toY); in animateMove()
366 final int fromX, final int fromY, final int toX, final int toY) throws Throwable { in animateChange() argument
371 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
DRecyclerViewAnimationsTest.java758 int toX, int toY) { in addRemoveSamePass()
DRecyclerViewLayoutTest.java1961 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, in drag() argument
1969 float yStep = (toY - fromY) / stepCount; in drag()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java915 final float toY; in createThumbnailAspectScaleAnimationLocked() local
925 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; in createThumbnailAspectScaleAnimationLocked()
934 toY = appRect.top; in createThumbnailAspectScaleAnimationLocked()
949 Animation translate = createCurvedMotion(fromX, toX, fromY, toY); in createThumbnailAspectScaleAnimationLocked()
988 Animation translate = createCurvedMotion(toX, fromX, toY, fromY); in createThumbnailAspectScaleAnimationLocked()
1004 private Animation createCurvedMotion(float fromX, float toX, float fromY, float toY) { in createCurvedMotion() argument
1008 return new TranslateAnimation(fromX, toX, fromY, toY); in createCurvedMotion()
1010 final Path path = createCurvedPath(fromX, toX, fromY, toY); in createCurvedMotion()
1015 private Path createCurvedPath(float fromX, float toX, float fromY, float toY) { in createCurvedPath() argument
1019 if (fromY > toY) { in createCurvedPath()
[all …]