/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/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);
|
D | torus_test.rs | 95 float startX = -5.0f; 103 rsMatrixLoadTranslate(matrix, startX + dist * h, startY + dist * v, startZ);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 128 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 129 mScroller.startScroll(startX, startY, dx, dy); in startScroll() 145 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 146 mScroller.startScroll(startX, startY, dx, dy, duration); in startScroll() 168 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 170 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 208 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument 214 opts.mStartX = pts[0] + startX; in makeScaleUpAnimation() 241 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument 242 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation() 264 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument 265 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation() 286 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleDownAnimation() argument 287 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, false); in makeThumbnailScaleDownAnimation() 291 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument 299 opts.mStartX = pts[0] + startX; in makeThumbnailAnimation()
|
/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/core/java/android/widget/ |
D | Scroller.java | 380 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 381 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 398 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 403 mStartX = startX; in startScroll() 405 mFinalX = startX + dx; in startScroll() 431 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 461 mStartX = startX; in fling() 475 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
|
D | OverScroller.java | 357 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 376 mScrollerX.startScroll(startX, dx, duration); in startScroll() 392 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument 396 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack() 401 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling() 433 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 447 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling() [all …]
|
D | CalendarView.java | 1797 float startX; in drawWeekSeparators() local 1800 startX = 0; in drawWeekSeparators() 1803 startX = mShowWeekNumber ? mWidth / mNumCells : 0; in drawWeekSeparators() 1806 canvas.drawLine(startX, 0, stopX, 0, mDrawPaint); in drawWeekSeparators()
|
/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/java/com/android/internal/widget/ |
D | LockPatternView.java | 703 float startX = getCenterXForColumn(lastCell.column); in handleActionMove() 713 if (startX < x) { in handleActionMove() 714 left = startX; in handleActionMove() 718 right = startX; in handleActionMove() 733 if (startX < oldX) { in handleActionMove() 734 left = startX; in handleActionMove() 738 right = startX; in handleActionMove() 755 startX = getCenterXForColumn(hitCell.column); in handleActionMove() 764 if (startX < oldX) { in handleActionMove() 765 left = startX; in handleActionMove() [all …]
|
D | RotarySelector.java | 608 private void startAnimation(int startX, int endX, int duration) { in startAnimation() argument 612 mAnimatingDeltaXStart = startX; in startAnimation() 619 private void startAnimationWithVelocity(int startX, int endX, int pixelsPerSecond) { in startAnimationWithVelocity() argument 622 mAnimationDuration = 1000 * (endX - startX) / pixelsPerSecond; in startAnimationWithVelocity() 623 mAnimatingDeltaXStart = startX; in startAnimationWithVelocity()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 234 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 236 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag() 243 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 245 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); in drag() 247 int distX = endX - startX; in drag() 251 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/libs/hwui/ |
D | FontRenderer.cpp | 159 uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument 161 if (mCacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture() 182 uint32_t startX = 0; in cacheBitmap() local 185 CacheTexture* cacheTexture = cacheBitmapInTexture(glyph, &startX, &startY); in cacheBitmap() 192 cacheTexture = cacheBitmapInTexture(glyph, &startX, &startY); in cacheBitmap() 203 *retOriginX = startX; in cacheBitmap() 206 uint32_t endX = startX + glyph.fWidth; in cacheBitmap() 223 for (cacheX = startX - TEXTURE_BORDER_SIZE; cacheX < endX + TEXTURE_BORDER_SIZE; cacheX++) { in cacheBitmap() 230 cacheBuffer[cacheY * cacheWidth + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap() 235 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap() [all …]
|
D | FontRenderer.h | 116 CacheTexture* cacheBitmapInTexture(const SkGlyph& glyph, uint32_t* startX, uint32_t* startY);
|
/frameworks/rs/ |
D | rsFont.cpp | 253 uint32_t startX = 0; in updateGlyphCache() local 258 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY); in updateGlyphCache() 264 uint32_t endX = startX + bitmap->width; in updateGlyphCache() 267 glyph->mBitmapMinX = startX; in updateGlyphCache() 275 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache() 418 uint32_t startX = 0; in cacheBitmap() local 423 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 435 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 448 *retOriginX = startX; in cacheBitmap() 451 uint32_t endX = startX + bitmap->width; in cacheBitmap() [all …]
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 378 uint32_t startX = 0; in updateGlyphCache() local 383 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching); in updateGlyphCache() 389 uint32_t endX = startX + skiaGlyph.fWidth; in updateGlyphCache() 392 glyph->mStartX = startX; in updateGlyphCache() 400 glyph->mBitmapMinU = startX / (float) cacheWidth; in updateGlyphCache()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 87 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument 89 void overridePendingAppTransitionThumb(in Bitmap srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument
|
D | GLES20RecordingCanvas.java | 167 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() argument 168 super.drawLine(startX, startY, stopX, stopY, paint); in drawLine()
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | UiDevice.java | 397 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument 398 Tracer.trace(startX, startY, endX, endY, steps); in swipe() 400 .scrollSwipe(startX, startY, endX, endY, steps); in swipe()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 240 public void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument 246 public void overridePendingAppTransitionThumb(Bitmap srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 875 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() argument 876 native_drawLine(mNativeCanvas, startX, startY, stopX, stopY, paint.mNativePaint); in drawLine() 1676 private static native void native_drawLine(int nativeCanvas, float startX, in native_drawLine() argument
|