Searched refs:bitmapSize (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | BitmapUploadActivity.java | 60 int bitmapSize = Math.min((int) (minDisplayDimen * 0.75), 720); in onAttachedToWindow() local 62 || mBitmap.getWidth() != bitmapSize in onAttachedToWindow() 63 || mBitmap.getHeight() != bitmapSize) { in onAttachedToWindow() 64 mBitmap = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in onAttachedToWindow()
|
/frameworks/base/libs/hwui/ |
D | TextureCache.cpp | 69 mSize -= texture->bitmapSize; in operator ()() 71 texture->id, texture->bitmapSize, mSize); in operator ()() 73 ALOGD("Texture deleted, size = %d", texture->bitmapSize); in operator ()() 104 texture->bitmapSize = bitmap->rowBytes() * bitmap->height(); in createTexture() 120 ALOGD("Texture created for hw bitmap size = %d", texture->bitmapSize); in getCachedTexture()
|
D | TextDropShadowCache.cpp | 132 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize); in operator ()() 190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize); in get()
|
D | Texture.h | 177 uint32_t bitmapSize = 0; variable
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 73 public static float[] spatialSampling(Gesture gesture, int bitmapSize) { in spatialSampling() argument 74 return spatialSampling(gesture, bitmapSize, false); in spatialSampling() 90 public static float[] spatialSampling(Gesture gesture, int bitmapSize, in spatialSampling() argument 92 final float targetPatchSize = bitmapSize - 1; in spatialSampling() 93 float[] sample = new float[bitmapSize * bitmapSize]; in spatialSampling() 159 plot(segmentStartX, segmentStartY, sample, bitmapSize); in spatialSampling() 168 plot(xpos, ypos, sample, bitmapSize); in spatialSampling() 177 plot(xpos, ypos, sample, bitmapSize); in spatialSampling() 188 plot(xpos, ypos, sample, bitmapSize); in spatialSampling() 197 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
|
/frameworks/base/core/java/android/view/ |
D | DisplayListCanvas.java | 227 int bitmapSize = bitmap.getByteCount(); in throwIfCannotDraw() local 228 if (bitmapSize > MAX_BITMAP_SIZE) { in throwIfCannotDraw() 230 "Canvas: trying to draw too large(" + bitmapSize + "bytes) bitmap."); in throwIfCannotDraw()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 75 int bitmapSize = (int) (shadowSize + 2 * blur + keyShadowDistance); in getShadowBitmap() local 76 Bitmap shadow = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in getShadowBitmap()
|