Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 25 of 53) 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.rs164 float startX = posX, startY = posY;
165 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
166 startX, startY + height, 0, 0, 0,
167 startX + width, startY + height, 0, 1, 0,
168 startX + width, startY, 0, 1, 1);
/frameworks/base/core/java/android/transition/
DArcMotion.java182 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
200 path.moveTo(startX, startY); in getPath()
205 ex = (startX + endX) / 2; in getPath()
206 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath()
207 } else if (startX == endX) { in getPath()
208 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
211 float deltaX = endX - startX; in getPath()
217 float dx = (startX + endX) / 2; in getPath()
265 float controlX1 = (startX + ex) / 2; in getPath()
DTranslationAnimationCreator.java51 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { in createAnimation() argument
56 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
60 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
63 view.setTranslationX(startX); in createAnimation()
65 if (startX == endX && startY == endY) { in createAnimation()
69 path.moveTo(startX, startY); in createAnimation()
95 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument
98 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
DPatternPathMotion.java112 float startX = pos[0]; in setPatternPath() local
115 if (startX == endX && startY == endY) { in setPatternPath()
119 mTempMatrix.setTranslate(-startX, -startY); in setPatternPath()
120 float dx = endX - startX; in setPatternPath()
132 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
133 float dx = endX - startX; in getPath()
140 mTempMatrix.postTranslate(startX, startY); in getPath()
DChangeScroll.java67 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local
73 if (startX != endX) { in createAnimator()
74 view.setScrollX(startX); in createAnimator()
75 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
DExplode.java90 float startX = endX + mTempLoc[0]; in onAppear() local
94 startX, startY, endX, endY, sDecelerate); in onAppear()
106 float startX = view.getTranslationX(); in onDisappear() local
108 float endX = startX; in onDisappear()
123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate); in onDisappear()
DSlide.java230 float startX = mSlideCalculator.getGoneX(sceneRoot, view); in onAppear() local
234 startX, startY, endX, endY, sDecelerate); in onAppear()
244 float startX = view.getTranslationX(); in onDisappear() local
250 startX, startY, endX, endY, sAccelerate); in onDisappear()
/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.java280 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument
286 opts.mStartX = pts[0] + startX; in makeScaleUpAnimation()
313 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
314 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
336 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
337 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
358 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleDownAnimation() argument
359 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, false); in makeThumbnailScaleDownAnimation()
363 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
371 opts.mStartX = pts[0] + startX; in makeThumbnailAnimation()
[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.cpp209 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument
211 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
260 uint32_t startX = 0; in cacheBitmap() local
263 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
270 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
281 *retOriginX = startX; in cacheBitmap()
284 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
314 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
315 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
[all …]
/frameworks/base/core/java/android/widget/
DScroller.java369 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
370 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
387 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
392 mStartX = startX; in startScroll()
394 mFinalX = startX + dx; in startScroll()
420 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
450 mStartX = startX; in fling()
464 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
DOverScroller.java358 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
359 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
375 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
377 mScrollerX.startScroll(startX, dx, duration); in startScroll()
393 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
397 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
402 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
404 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
434 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
448 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.rs169 float startX = posX, startY = posY;
170 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
171 startX, startY + height, 0, 0, 0,
172 startX + width, startY + height, 0, 1, 0,
173 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.rs179 float startX = posX, startY = posY;
181 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
182 startX, startY + height, 0, 0, 0,
183 startX + width, startY + height, 0, 1, 0,
184 startX + width, startY, 0, 1, 1);
Dfbosync.rs180 float startX = posX, startY = posY;
182 rsgDrawQuadTexCoords(startX, startY, 0, 0, 1,
183 startX, startY + height, 0, 0, 0,
184 startX + width, startY + height, 0, 1, 0,
185 startX + width, startY, 0, 1, 1);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
428 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
430 .swipe(startX, startY, endX, endY, steps); in swipe()
448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
449 Tracer.trace(startX, startY, endX, endY, steps); in drag()
451 .swipe(startX, startY, endX, endY, steps, true); in drag()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl92 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument
94 void overridePendingAppTransitionThumb(in Bitmap srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument
96 void overridePendingAppTransitionAspectScaledThumb(in Bitmap srcThumb, int startX, in overridePendingAppTransitionAspectScaledThumb() argument
/frameworks/rs/
DrsFont.cpp255 uint32_t startX = 0; in updateGlyphCache() local
260 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY); in updateGlyphCache()
266 uint32_t endX = startX + bitmap->width; in updateGlyphCache()
269 glyph->mBitmapMinX = startX; in updateGlyphCache()
277 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache()
424 uint32_t startX = 0; in cacheBitmap() local
429 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap()
441 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap()
454 *retOriginX = startX; in cacheBitmap()
457 uint32_t endX = startX + bitmap->width; in cacheBitmap()
[all …]

123