/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...] |
H A D | ThreadBitmapTest.java | 41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
|
H A D | BitmapTest.java | 28 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 29 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); 30 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); 63 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 64 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, 87 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, 113 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); 131 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); 132 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); 157 Bitmap bm1 = Bitmap.createBitmap(color [all...] |
H A D | BitmapFactoryTest.java | 33 Bitmap bitmap1 = Bitmap.createBitmap(
|
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/ |
H A D | MainActivity.java | 41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); 42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
|
/frameworks/rs/tests/lldb/java/MultipleRSFiles/src/com/android/rs/multiplersfiles/ |
H A D | MainActivity.java | 42 mBitmapIn = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888); 43 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
|
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/ |
H A D | MainActivity.java | 41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888); 42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
|
/frameworks/support/compat/tests/java/android/support/v4/graphics/drawable/ |
H A D | IconCompatTest.java | 62 Bitmap source = Bitmap.createBitmap(200, 150, Bitmap.Config.ARGB_8888); 70 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 81 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 91 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 104 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 121 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 153 Bitmap orgBitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); 157 Bitmap compatBitmap = Bitmap.createBitmap(200, 200, 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/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...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | CompareActivity.java | 67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | ImageBuffersForRenderScript.java | 37 outputImage = Bitmap.createBitmap(inputImage.getWidth(),
|
/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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | GlifPatternDrawableTest.java | 53 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); 71 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); 95 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); 111 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); 128 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); 145 Bitmap mockBitmapCache = Bitmap.createBitmap(2049, 1152, Bitmap.Config.ALPHA_8);
|
/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/support/v7/palette/tests/java/android/support/v7/graphics/ |
H A D | BucketTests.java | 104 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888); 113 final Bitmap bitmap = Bitmap.createBitmap(1, 1000, Bitmap.Config.ARGB_8888); 122 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); 137 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); 154 final Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 65 mTempCompactBitmap = Bitmap.createBitmap( 150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
|
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/ |
H A D | MainActivity.java | 56 mBitmapIn = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888); 59 mBitmapsOut[i] = Bitmap.createBitmap(mBitmapIn.getWidth(),
|
/frameworks/rs/tests/lldb/java/KernelVariables/src/com/android/rs/kernelvariables/ |
H A D | MainActivity.java | 42 mBitmapIn = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888); 43 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | IconTest.java | 45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); 63 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), 65 final Bitmap test2 = Bitmap.createBitmap(draw2.getIntrinsicWidth(), 67 final Bitmap test3 = Bitmap.createBitmap(draw3.getIntrinsicWidth(), 112 final Bitmap bm1 = Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888); 121 final Bitmap test1 = Bitmap.createBitmap( 151 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), 178 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), 211 final Bitmap test1 = Bitmap.createBitmap(draw [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.h | 38 jobject createBitmap(JNIEnv* env, Bitmap* bitmap,
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | BitmapAllocationTestUtils.h | 32 sk_sp<Bitmap> bitmap = TestUtils::createBitmap(width, height, colorType);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ReadbackFromHardwareBitmap.cpp | 52 sk_sp<Bitmap> heapBitmap(TestUtils::createBitmap(hardwareBitmap->width(),
|
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
H A D | HelloComputeNDK.java | 41 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | PlaybackSeekDiskDataProvider.java | 63 Bitmap bmp = Bitmap.createBitmap(160, 160, Bitmap.Config.ARGB_8888);
|