Home
last modified time | relevance | path

Searched refs:bitmapSize (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DBitmapUploadActivity.java60 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/
DTextureCache.cpp72 mSize -= texture->bitmapSize; in operator ()()
74 texture->id, texture->bitmapSize, mSize); in operator ()()
76 ALOGD("Texture deleted, size = %d", texture->bitmapSize); in operator ()()
140 texture->bitmapSize = size; in getCachedTexture()
180 texture->bitmapSize = size; in get()
DTextDropShadowCache.cpp132 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize); in operator ()()
190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize); in get()
DTexture.h127 uint32_t bitmapSize = 0; variable
/frameworks/base/core/java/android/gesture/
DGestureUtils.java73 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/
DDisplayListCanvas.java258 int bitmapSize = bitmap.getByteCount(); in throwIfCannotDraw() local
259 if (bitmapSize > MAX_BITMAP_SIZE) { in throwIfCannotDraw()
261 "Canvas: trying to draw too large(" + bitmapSize + "bytes) bitmap."); in throwIfCannotDraw()