Searched refs:createBitmap (Results 1 - 25 of 208) sorted by relevance

123456789

/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...]
H A DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
H A DBitmapTest.java28 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 DBitmapFactoryTest.java33 Bitmap bitmap1 = Bitmap.createBitmap(
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/
H A DMainActivity.java41 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 DMainActivity.java42 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 DMainActivity.java41 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 DIconCompatTest.java61 Bitmap source = Bitmap.createBitmap(200, 150, Bitmap.Config.ARGB_8888);
69 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
80 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
90 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
103 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
120 Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
152 Bitmap orgBitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
156 Bitmap compatBitmap = Bitmap.createBitmap(200, 200, 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
681 private static Bitmap createBitmap(Bitmap_Delegate delegate, method in class:Bitmap_Delegate
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java721 return Bitmap.createBitmap(src, 0, 0, width, height, m, filter);
729 public static Bitmap createBitmap(@NonNull Bitmap src) { method in class:Bitmap
730 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight());
749 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height) { method in class:Bitmap
750 return createBitmap(source, x, y, width, height, null, false);
778 public static Bitmap createBitmap(@NonNull Bitmap source, int x, int y, int width, int height, method in class:Bitmap
835 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
851 bitmap = createBitmap(neww, newh, transformedConfig, transformed || source.hasAlpha());
890 public static Bitmap createBitmap(int width, int height, @NonNull Config config) { method in class:Bitmap
891 return createBitmap(widt
908 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, method in class:Bitmap
928 public static Bitmap createBitmap(int width, int height, method in class:Bitmap
955 public static Bitmap createBitmap(int width, int height, @NonNull Config config, method in class:Bitmap
978 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap
1010 public static Bitmap createBitmap(@Nullable DisplayMetrics display, int width, int height, method in class:Bitmap
1075 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride, method in class:Bitmap
1102 public static Bitmap createBitmap(@NonNull DisplayMetrics display, method in class:Bitmap
1143 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, method in class:Bitmap
1167 public static Bitmap createBitmap(@Nullable DisplayMetrics display, method in class:Bitmap
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DCompareActivity.java67 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 DImageBuffersForRenderScript.java37 outputImage = Bitmap.createBitmap(inputImage.getWidth(),
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDrawIntoHwBitmapActivity.java46 view.setImageBitmap(createBitmap());
49 Bitmap createBitmap() { method in class:DrawIntoHwBitmapActivity
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java53 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 DBackgroundManagerTest.java207 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 DBucketTests.java104 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 DImageUtils.java65 mTempCompactBitmap = Bitmap.createBitmap(
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
/frameworks/base/tests/Internal/src/android/app/
H A DWallpaperColorsTest.java53 Bitmap image = Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888);
94 Bitmap image = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888);
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
H A DMainActivity.java56 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 DMainActivity.java42 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 DIconTest.java45 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 DBitmap.h36 jobject createBitmap(JNIEnv* env, Bitmap* bitmap,
/frameworks/base/libs/hwui/tests/common/
H A DBitmapAllocationTestUtils.h32 sk_sp<Bitmap> bitmap = TestUtils::createBitmap(width, height, colorType);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DReadbackFromHardwareBitmap.cpp52 sk_sp<Bitmap> heapBitmap(TestUtils::createBitmap(hardwareBitmap->width(),
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java41 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),

Completed in 682 milliseconds

123456789