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

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DBitmapUploadActivity.java60 int bitmapSize = Math.min((int) (minDisplayDimen * 0.75), 720);
62 || mBitmap.getWidth() != bitmapSize
63 || mBitmap.getHeight() != bitmapSize) {
64 mBitmap = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888);
/frameworks/base/libs/hwui/
H A DTextureCache.cpp72 mSize -= texture->bitmapSize;
74 texture->id, texture->bitmapSize, mSize);
76 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
140 texture->bitmapSize = size;
180 texture->bitmapSize = size;
H A DTexture.h127 uint32_t bitmapSize = 0; member in class:android::uirenderer::Texture
H A DTextDropShadowCache.cpp132 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize);
190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize);
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java258 int bitmapSize = bitmap.getByteCount();
259 if (bitmapSize > MAX_BITMAP_SIZE) {
261 "Canvas: trying to draw too large(" + bitmapSize + "bytes) bitmap.");
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java68 * @param bitmapSize the size of the bitmap
69 * @return a bitmapSize x bitmapSize grayscale bitmap that is represented
71 * value at pixel [i%bitmapSize, i/bitmapSize]
73 public static float[] spatialSampling(Gesture gesture, int bitmapSize) { argument
74 return spatialSampling(gesture, bitmapSize, false);
82 * @param bitmapSize the size of the bitmap
86 * @return a bitmapSize x bitmapSize grayscal
90 spatialSampling(Gesture gesture, int bitmapSize, boolean keepAspectRatio) argument
[all...]

Completed in 161 milliseconds