Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 25 of 58) 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
52 void notifyHorizontalEdgeReached(Object scroller, int startX, int finalX, int overX); in notifyHorizontalEdgeReached() 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()
70 public static void notifyHorizontalEdgeReached(Object scroller, int startX, int finalX, in notifyHorizontalEdgeReached() argument
72 ((OverScroller) scroller).notifyHorizontalEdgeReached(startX, finalX, overX); in notifyHorizontalEdgeReached()
/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()
204 ex = (startX + endX) / 2; in getPath()
205 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath()
206 } else if (startX == endX) { in getPath()
207 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
210 float deltaX = endX - startX; in getPath()
216 float dx = (startX + endX) / 2; in getPath()
264 float controlX1 = (startX + ex) / 2; in getPath()
DPatternPathMotion.java111 float startX = pos[0]; in setPatternPath() local
114 if (startX == endX && startY == endY) { in setPatternPath()
118 mTempMatrix.setTranslate(-startX, -startY); in setPatternPath()
119 float dx = endX - startX; in setPatternPath()
131 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
132 double dx = endX - startX; in getPath()
139 mTempMatrix.postTranslate(startX, startY); in getPath()
DTranslationAnimationCreator.java52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
58 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
62 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
65 view.setTranslationX(startX); 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
102 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
DChangeScroll.java65 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local
71 if (startX != endX) { in createAnimator()
72 view.setScrollX(startX); in createAnimator()
73 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
DExplode.java89 float startX = endX + mTempLoc[0]; in onAppear() local
93 startX, startY, endX, endY, sDecelerate, this); in onAppear()
105 float startX = view.getTranslationX(); in onDisappear() local
107 float endX = startX; in onDisappear()
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
/frameworks/support/v17/preference-leanback/api21/android/support/v17/preference/
DLeanbackPreferenceFragmentTransitionHelperApi21.java149 float startX = mSlideCalculator.getGoneX(sceneRoot, view); in onAppear() local
152 startX, endX, sDecelerate, this); in onAppear()
167 float startX = view.getTranslationX(); in onDisappear() local
171 startX, endX, sDecelerate /*sAccelerate*/, this); in onDisappear()
222 float startX, float endX, TimeInterpolator interpolator, in createAnimation() argument
227 startX = startPosition - viewPosX + terminalX; in createAnimation()
231 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
233 view.setTranslationX(startX); in createAnimation()
234 if (startX == endX) { in createAnimation()
238 path.moveTo(startX, 0); in createAnimation()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DNestedScrollingChildHelper.java154 int startX = 0; in dispatchNestedScroll() local
158 startX = offsetInWindow[0]; in dispatchNestedScroll()
167 offsetInWindow[0] -= startX; in dispatchNestedScroll()
192 int startX = 0; in dispatchNestedPreScroll() local
196 startX = offsetInWindow[0]; in dispatchNestedPreScroll()
212 offsetInWindow[0] -= startX; 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
308 opts.mStartX = pts[0] + startX; in makeScaleUpAnimation()
330 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
335 opts.mStartX = pts[0] + startX; 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/libs/hwui/
DFontRenderer.cpp195 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument
197 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
246 uint32_t startX = 0; in cacheBitmap() local
249 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
256 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
267 *retOriginX = startX; in cacheBitmap()
270 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
292 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
300 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
301 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
[all …]
/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
391 mStartX = startX; in startScroll()
393 mFinalX = startX + dx; in startScroll()
419 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
449 mStartX = startX; in fling()
463 mFinalX = startX + (int) Math.round(totalDistance * coeffX); 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
374 mScrollerX.startScroll(startX, dx, duration); in startScroll()
390 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
394 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); 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
445 mScrollerX.fling(startX, velocityX, minX, maxX, overX); 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/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()
245 int distX = endX - startX; in drag()
249 int x = (int) (startX + distX * 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/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java131 final float startX = startBounds.centerX() - endBounds.centerX(); in onAppear() local
136 view.setTranslationX(startX); in onAppear()
150 final State startStateX = new State(startClip.left, startClip.right, startX); in onAppear()
172 final float startX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); in onDisappear() local
182 final State startStateX = new State(startClip.left, startClip.right, startX); in onDisappear()
210 private static Animator createRectAnimator(final View view, State startX, State startY, in createRectAnimator() argument
222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX); 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
100 void overridePendingAppTransitionAspectScaledThumb(in Bitmap srcThumb, int startX, in overridePendingAppTransitionAspectScaledThumb() argument

123