/frameworks/support/v4/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 45 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/ |
D | rsrenderstates.rs | 172 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/ |
D | ScrollerCompatGingerbread.java | 46 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/ |
D | fill_test.rs | 96 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 …]
|
D | rsbench.rs | 164 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/ |
D | ArcMotion.java | 182 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()
|
D | TranslationAnimationCreator.java | 51 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()
|
D | PatternPathMotion.java | 112 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()
|
D | ChangeScroll.java | 67 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()
|
D | Explode.java | 90 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()
|
D | Slide.java | 230 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/ |
D | ActivityOptionsCompatJB.java | 34 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/ |
D | ActivityOptions.java | 280 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/ |
D | fountainfbo.rs | 60 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/ |
D | FontRenderer.cpp | 209 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/ |
D | Scroller.java | 369 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()
|
D | OverScroller.java | 358 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/ |
D | ActivityOptionsCompat.java | 75 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/ |
D | shaderstest.rs | 169 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/ |
D | VelocityTest.java | 232 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/ |
D | fbotest.rs | 179 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);
|
D | fbosync.rs | 180 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/ |
D | UiDevice.java | 427 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/ |
D | IWindowManager.aidl | 92 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/ |
D | rsFont.cpp | 255 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 …]
|