/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DrawIntoHwBitmapActivity.java | 46 view.setImageBitmap(createBitmap()); 49 Bitmap createBitmap() { method in class:DrawIntoHwBitmapActivity
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | GraphicsPerformanceTests.java | 88 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT, 159 /** Bitmap to draw. Allocated by subclass's createBitmap() function. */ 167 mBitmap = createBitmap(); 175 public abstract Bitmap createBitmap(); method in class:GraphicsPerformanceTests.DrawBitmapTest 200 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap7x7 201 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); 218 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap15x15 219 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); 236 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap31x31 237 return Bitmap.createBitmap(3 254 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap63x63 272 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap127x127 290 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap319x239 308 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap319x479 326 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap8x8 344 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap16x16 362 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap32x32 380 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap64x64 398 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap128x128 416 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap320x240 434 public Bitmap createBitmap() { method in class:GraphicsPerformanceTests.DrawBitmap320x480 [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | BackgroundManagerTest.java | 207 Bitmap createBitmap(int width, int height, int color) { method in class:BackgroundManagerTest 208 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 217 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 226 setBitmapAndVerify(manager, createBitmap(200, 100, Color.GREEN)); 231 setBitmapAndVerify(manager, createBitmap(200, 100, Color.GRAY)); 237 setBitmapAndVerify(manager, createBitmap(200, 100, Color.BLACK)); 243 setBitmapAndVerify(manager, createBitmap(200, 100, Color.MAGENTA)); 290 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED); 291 final Bitmap bitmap2 = createBitmap(200, 100, Color.GRAY); 292 final Bitmap bitmap3 = createBitmap(20 [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 183 static sk_sp<Bitmap> createBitmap(int width, int height, function in class:android::uirenderer::TestUtils 189 static sk_sp<Bitmap> createBitmap(int width, int height, SkBitmap* outBitmap) { function in class:android::uirenderer::TestUtils
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | Cat.java | 235 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 253 public Bitmap createBitmap(int w, int h) { method in class:Cat 257 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 280 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 512 createBitmap(); 517 createBitmap(); 522 createBitmap(); 575 private void createBitmap() { method in class:BackingStore.BitmapBacking 576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 108 public static Bitmap createBitmap(File input, boolean isMutable, Density density) method in class:Bitmap_Delegate 110 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 123 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate 143 return createBitmap(delegate, createFlags, density.getDpiValue()); 156 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) method in class:Bitmap_Delegate 158 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 171 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate 176 return createBitmap(delegate, createFlags, density.getDpiValue()); 189 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { method in class:Bitmap_Delegate 190 return createBitmap(imag 203 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, method in class:Bitmap_Delegate 674 private static Bitmap createBitmap(Bitmap_Delegate delegate, method in class:Bitmap_Delegate [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsRow.java | 543 createBitmap(repeatDrawable.getBitmap(), repeatAllColor)); 546 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor)); 606 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 664 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 725 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 737 static Bitmap createBitmap(Bitmap bitmap, int color) { method in class:PlaybackControlsRow
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 199 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, function in namespace:android::bitmap 753 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); 820 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable)); 831 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable)); 851 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); 860 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); 1169 return createBitmap(env, nativeBitmap.release(), 1298 return createBitmap(env, allocator.getStorageObjAndReset(), 1600 return createBitmap(env, allocator.getStorageObjAndReset(), getPremulBitmapCreateFlags(false)); 1610 return bitmap::createBitmap(en [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 709 return Bitmap.createBitmap(src, 0, 0, width, height, m, filter); 717 public static Bitmap createBitmap(@NonNull Bitmap src) { method in class:Bitmap 718 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); 737 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height) { method in class:Bitmap 738 return createBitmap(source, x, y, width, height, null, false); 766 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height, method in class:Bitmap 823 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); 839 bitmap = createBitmap(neww, newh, transformedConfig, transformed || source.hasAlpha()); 878 public static Bitmap createBitmap(int width, int height, @NonNull Config config) { method in class:Bitmap 879 return createBitmap(widt 896 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, method in class:Bitmap 916 public static Bitmap createBitmap(int width, int height, method in class:Bitmap 943 public static Bitmap createBitmap(int width, int height, @NonNull Config config, method in class:Bitmap 966 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap 998 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap 1063 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride, method in class:Bitmap 1090 public static Bitmap createBitmap(@NonNull DisplayMetrics display, method in class:Bitmap 1131 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, method in class:Bitmap 1155 public static Bitmap createBitmap(@Nullable DisplayMetrics display, method in class:Bitmap [all...] |