Searched refs:bitmapSize (Results 1 – 5 of 5) 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/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | BitmapUploadActivity.java | 73 int bitmapSize = Math.min((int) (minDisplayDimen * 0.75), 720); in onAttachedToWindow() local 75 || mBitmap.getWidth() != bitmapSize in onAttachedToWindow() 76 || mBitmap.getHeight() != bitmapSize) { in onAttachedToWindow() 77 mBitmap = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in onAttachedToWindow()
|
/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/graphics/java/android/graphics/ |
D | RecordingCanvas.java | 278 int bitmapSize = bitmap.getByteCount(); in throwIfCannotDraw() local 279 if (bitmapSize > MAX_BITMAP_SIZE) { in throwIfCannotDraw() 281 "Canvas: trying to draw too large(" + bitmapSize + "bytes) bitmap."); in throwIfCannotDraw()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 76 int bitmapSize = (int) (shadowSize + 2 * blur + keyShadowDistance); in getShadowBitmap() local 77 Bitmap shadow = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in getShadowBitmap()
|