Home
last modified time | relevance | path

Searched refs:startY (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java45 void startScroll(Object scroller, int startX, int startY, int dx, int dy); in startScroll() argument
46 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); in startScroll() argument
47 void fling(Object scroller, int startX, int startY, int velX, int velY, in fling() argument
49 void fling(Object scroller, int startX, int startY, int velX, int velY, in fling() argument
53 void notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY); in notifyVerticalEdgeReached() argument
95 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { in startScroll() argument
96 ((Scroller) scroller).startScroll(startX, startY, dx, dy); in startScroll()
100 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, in startScroll() argument
102 ((Scroller) scroller).startScroll(startX, startY, dx, dy, duration); in startScroll()
106 public void fling(Object scroller, int startX, int startY, int velX, int velY, in fling() argument
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
Drsrenderstates.rs172 float startX = 0, startY = 0;
174 rsgDrawQuadTexCoords(startX, startY, 0, 0, 0,
175 startX, startY + height, 0, 0, 1,
176 startX + width, startY + height, 0, 1, 1,
177 startX + width, startY, 0, 1, 0);
179 startX = 200; startY = 0;
181 rsgDrawQuadTexCoords(startX, startY, 0, 0, 0,
182 startX, startY + height, 0, 0, 1,
183 startX + width, startY + height, 0, 1, 1,
184 startX + width, startY, 0, 1, 0);
[all …]
/frameworks/support/v4/gingerbread/android/support/v4/widget/
DScrollerCompatGingerbread.java46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { in startScroll() argument
47 ((OverScroller) scroller).startScroll(startX, startY, dx, dy); in startScroll()
50 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy, in startScroll() argument
52 ((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration); in startScroll()
55 public static void fling(Object scroller, int startX, int startY, int velX, int velY, in fling() argument
57 ((OverScroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
60 public static void fling(Object scroller, int startX, int startY, int velX, int velY, in fling() argument
62 ((OverScroller) scroller).fling(startX, startY, velX, velY, in fling()
75 … public static void notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY) { in notifyVerticalEdgeReached() argument
76 ((OverScroller) scroller).notifyVerticalEdgeReached(startY, finalY, overY); in notifyVerticalEdgeReached()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dfill_test.rs96 float startX = 5 * i, startY = 5 * i;
97 float width = gRenderSurfaceW - startX, height = gRenderSurfaceH - startY;
98 rsgDrawQuadTexCoords(startX, startY, 0, 0, 0,
99 startX, startY + height, 0, 0, 1,
100 startX + width, startY + height, 0, 1, 1,
101 startX + width, startY, 0, 1, 0);
126 float startX = 10 * i, startY = 10 * i;
127 float width = gRenderSurfaceW - startX, height = gRenderSurfaceH - startY;
128 rsgDrawQuadTexCoords(startX, startY, 0, 0, 0,
129 startX, startY + height, 0, 0, 1,
[all …]
Drsbench.rs163 float startX = posX, startY = posY;
164 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
165 startX, startY + height, 0, 0, 0,
166 startX + width, startY + height, 0, 1, 0,
167 startX + width, startY, 0, 1, 1);
/frameworks/base/core/java/android/transition/
DArcMotion.java181 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
199 path.moveTo(startX, startY); in getPath()
203 if (startY == endY) { in getPath()
205 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath()
207 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
208 ey = (startY + endY) / 2; in getPath()
211 float deltaY = startY - endY; // Y is inverted compared to diagram above. in getPath()
217 float dy = (startY + endY) / 2; in getPath()
265 float controlY1 = (startY + ey) / 2; in getPath()
DPatternPathMotion.java112 float startY = pos[1]; in setPatternPath() local
114 if (startX == endX && startY == endY) { in setPatternPath()
118 mTempMatrix.setTranslate(-startX, -startY); in setPatternPath()
120 float dy = endY - startY; in setPatternPath()
131 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
133 double dy = endY - startY; in getPath()
139 mTempMatrix.postTranslate(startX, startY); in getPath()
DTranslationAnimationCreator.java52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
59 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
63 int startPosY = viewPosY + Math.round(startY - terminalY); in createAnimation()
66 view.setTranslationY(startY); in createAnimation()
67 if (startX == endX && startY == endY) { in createAnimation()
71 path.moveTo(startX, startY); in createAnimation()
99 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument
103 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener()
DChangeScroll.java67 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator() local
75 if (startY != endY) { in createAnimator()
76 view.setScrollY(startY); in createAnimator()
77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY); in createAnimator()
DExplode.java90 float startY = endY + mTempLoc[1]; in onAppear() local
93 startX, startY, endX, endY, sDecelerate, this); in onAppear()
106 float startY = view.getTranslationY(); in onDisappear() local
108 float endY = startY; in onDisappear()
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
/frameworks/support/v4/java/android/support/v4/view/
DNestedScrollingChildHelper.java155 int startY = 0; in dispatchNestedScroll() local
159 startY = offsetInWindow[1]; in dispatchNestedScroll()
168 offsetInWindow[1] -= startY; in dispatchNestedScroll()
193 int startY = 0; in dispatchNestedPreScroll() local
197 startY = offsetInWindow[1]; in dispatchNestedPreScroll()
213 offsetInWindow[1] -= startY; in dispatchNestedPreScroll()
/frameworks/support/v4/jellybean/android/support/v4/app/
DActivityOptionsCompatJB.java34 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
36 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
40 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/base/core/java/android/app/
DActivityOptions.java302 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument
309 opts.mStartY = pts[1] + startY; in makeScaleUpAnimation()
330 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
336 opts.mStartY = pts[1] + startY; in makeClipRevealAnimation()
362 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
363 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
385 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
386 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
407 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleDownAnimation() argument
408 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, false); in makeThumbnailScaleDownAnimation()
[all …]
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
Dfountainfbo.rs60 float startX = 10, startY = 10;
62 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
63 startX, startY + s, 0, 0, 0,
64 startX + s, startY + s, 0, 1, 0,
65 startX + s, startY, 0, 1, 1);
/frameworks/base/core/java/android/widget/
DScroller.java368 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
392 mStartY = startY; in startScroll()
394 mFinalY = startY + dy; in startScroll()
419 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
450 mStartY = startY; in fling()
468 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
DOverScroller.java355 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
356 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
372 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
375 mScrollerY.startScroll(startY, dy, duration); in startScroll()
390 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
395 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack()
399 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
401 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
431 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
446 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DActivityOptionsCompat.java75 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
78 ActivityOptionsCompatJB.makeScaleUpAnimation(source, startX, startY, in makeScaleUpAnimation()
104 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
108 startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/support/v4/donut/android/support/v4/view/animation/
DPathInterpolatorDonut.java92 final float startY = mY[startIndex]; in getInterpolation() local
95 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs168 float startX = posX, startY = posY;
169 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
170 startX, startY + height, 0, 0, 0,
171 startX + width, startY + height, 0, 1, 0,
172 startX + width, startY, 0, 1, 1);
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
243 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); in drag()
246 int distY = endY - startY; in drag()
250 int y = (int) (startY + distY * ii); in drag()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs177 float startX = posX, startY = posY;
179 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
180 startX, startY + height, 0, 0, 0,
181 startX + width, startY + height, 0, 1, 0,
182 startX + width, startY, 0, 1, 1);
Dfbosync.rs178 float startX = posX, startY = posY;
180 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
181 startX, startY + height, 0, 0, 0,
182 startX + width, startY + height, 0, 1, 0,
183 startX + width, startY, 0, 1, 1);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DerrorCalculator.rs30 int startY = v_in[0];
32 for (int y = startY; y < startY + REGION_SIZE; y++) {
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java132 final float startY = startBounds.centerY() - endBounds.centerY(); in onAppear() local
137 view.setTranslationY(startY); in onAppear()
152 final State startStateY = new State(startClip.top, startClip.bottom, startY); in onAppear()
173 final float startY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y); in onDisappear() local
184 final State startStateY = new State(startClip.top, startClip.bottom, startY); in onDisappear()
210 private static Animator createRectAnimator(final View view, State startX, State startY, in createRectAnimator() argument
228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY); in createRectAnimator()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl94 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument
96 void overridePendingAppTransitionClipReveal(int startX, int startY, in overridePendingAppTransitionClipReveal() argument
98 void overridePendingAppTransitionThumb(in Bitmap srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument
101 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback, in overridePendingAppTransitionAspectScaledThumb() argument

123