Searched defs:createBitmap (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDrawIntoHwBitmapActivity.java47 view.setImageBitmap(createBitmap());
50 Bitmap createBitmap() { method in class:DrawIntoHwBitmapActivity
62 return Bitmap.createBitmap(picture);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java88 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/leanback/src/androidTest/java/androidx/leanback/app/
H A DBackgroundManagerTest.java208 Bitmap createBitmap(int width, int height, int color) { method in class:BackgroundManagerTest
209 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
218 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
227 setBitmapAndVerify(manager, createBitmap(200, 100, Color.GREEN));
232 setBitmapAndVerify(manager, createBitmap(200, 100, Color.GRAY));
238 setBitmapAndVerify(manager, createBitmap(200, 100, Color.BLACK));
244 setBitmapAndVerify(manager, createBitmap(200, 100, Color.MAGENTA));
291 final Bitmap bitmap1 = createBitmap(200, 100, Color.RED);
292 final Bitmap bitmap2 = createBitmap(200, 100, Color.GRAY);
293 final Bitmap bitmap3 = createBitmap(20
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h180 static sk_sp<Bitmap> createBitmap(int width, int height, function in class:android::uirenderer::TestUtils
186 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 DCat.java238 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
256 public Bitmap createBitmap(int w, int h) { method in class:Cat
260 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
283 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java512 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/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java108 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
682 private static Bitmap createBitmap(Bitmap_Delegate delegate, method in class:Bitmap_Delegate
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java608 Bitmap bitmap = Bitmap.createBitmap(
755 b = Bitmap.createBitmap(root.getResources().getDisplayMetrics(),
1755 mBitmap = Bitmap.createBitmap(view.getResources().getDisplayMetrics(),
1774 public Bitmap createBitmap() { method in class:ViewDebug.SoftwareCanvasProvider
1794 public Bitmap createBitmap() { method in class:ViewDebug.HardwareCanvasProvider
1796 return Bitmap.createBitmap(mPicture);
1814 Bitmap createBitmap(); method in interface:ViewDebug.CanvasProvider
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPlaybackControlsRow.java544 createBitmap(repeatDrawable.getBitmap(), repeatAllColor));
547 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor));
607 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
665 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
726 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
738 static Bitmap createBitmap(Bitmap bitmap, int color) { method in class:PlaybackControlsRow
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp199 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, function in namespace:android::bitmap
694 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable));
799 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable));
810 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable));
830 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false));
839 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false));
1145 return createBitmap(env, nativeBitmap.release(),
1258 return createBitmap(env, allocator.getStorageObjAndReset(),
1544 return createBitmap(env, allocator.getStorageObjAndReset(), getPremulBitmapCreateFlags(false));
1554 return bitmap::createBitmap(en
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java741 return Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
749 public static Bitmap createBitmap(@NonNull Bitmap src) { method in class:Bitmap
750 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
769 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height) { method in class:Bitmap
770 return createBitmap(source, x, y, width, height, null, false);
798 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height, method in class:Bitmap
855 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
871 bitmap = createBitmap(neww, newh, transformedConfig, transformed || source.hasAlpha());
910 public static Bitmap createBitmap(int width, int height, @NonNull Config config) { method in class:Bitmap
911 return createBitmap(widt
928 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, method in class:Bitmap
948 public static Bitmap createBitmap(int width, int height, method in class:Bitmap
975 public static Bitmap createBitmap(int width, int height, @NonNull Config config, method in class:Bitmap
998 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap
1030 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap
1095 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride, method in class:Bitmap
1122 public static Bitmap createBitmap(@NonNull DisplayMetrics display, method in class:Bitmap
1163 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, method in class:Bitmap
1187 public static Bitmap createBitmap(@Nullable DisplayMetrics display, method in class:Bitmap
1204 public static @NonNull Bitmap createBitmap(@NonNull Picture source) { method in class:Bitmap
1227 public static @NonNull Bitmap createBitmap(@NonNull Picture source, int width, int height, method in class:Bitmap
[all...]

Completed in 873 milliseconds