/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | BitmapUtils.java | 139 public static Bitmap fromDrawable(Drawable drawable, @Nullable Size bitmapSize) { in fromDrawable() argument 149 bitmapSize = new Size(1, 1); in fromDrawable() 150 drawable.setBounds(0, 0, bitmapSize.getWidth(), bitmapSize.getHeight()); in fromDrawable() 152 if (bitmapSize == null) { in fromDrawable() 153 bitmapSize = new Size(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in fromDrawable() 158 RectF dstR = new RectF(0f, 0f, bitmapSize.getWidth(), bitmapSize.getHeight()); in fromDrawable() 162 Bitmap bitmap = Bitmap.createBitmap(bitmapSize.getWidth(), bitmapSize.getHeight(), in fromDrawable()
|
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A 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()
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/gesture/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A 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()
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | RecordingCanvas.java | 264 int bitmapSize = bitmap.getByteCount(); in throwIfCannotDraw() local 265 if (bitmapSize > MAX_BITMAP_SIZE) { in throwIfCannotDraw() 267 "Canvas: trying to draw too large(" + bitmapSize + "bytes) bitmap."); in throwIfCannotDraw()
|
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | WallpaperCropActivity.java | 189 int bitmapSize = b.getWidth() * b.getHeight(); in handleMessage() 190 if ((bitmapSize >= count) && (bitmapSize < currentBitmapSize)) { in handleMessage() 192 currentBitmapSize = bitmapSize; in handleMessage()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |