/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
GraphicsPerformanceTests.java | 92 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT, 163 /** Bitmap to draw. Allocated by subclass's createBitmap() function. */ 171 mBitmap = createBitmap(); 179 public abstract Bitmap createBitmap(); 204 public Bitmap createBitmap() { 205 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); 222 public Bitmap createBitmap() { 223 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); 240 public Bitmap createBitmap() { 241 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565) [all...] |
BitmapTest.java | 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); 29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); 62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 63 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, 86 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, 112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); 130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); 131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); 156 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config) [all...] |
ThreadBitmapTest.java | 41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
|
BitmapFactoryTest.java | 33 Bitmap bitmap1 = Bitmap.createBitmap(
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Bitmap_ConfigTest.java | 55 assertNotNull(Bitmap.createBitmap(10, 24, Config.ALPHA_8)); 56 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_4444)); 57 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_8888)); 58 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565));
|
BitmapTest.java | 119 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); 186 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), 204 method = "createBitmap", 209 method = "createBitmap", 215 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); 216 Bitmap ret = Bitmap.createBitmap(bitmap); 225 method = "createBitmap", 231 Bitmap.createBitmap(mBitmap, -100, 50, 50, 200); 237 mBitmap = Bitmap.createBitmap(new int[100 * 100], 100, 100, Config.ARGB_8888); 238 Bitmap ret = Bitmap.createBitmap(mBitmap, 0, 0, 100, 100) [all...] |
PixelXorXfermodeTest.java | 41 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 43 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 46 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
|
PorterDuffXfermodeTest.java | 44 Bitmap target = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 46 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888); 48 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888);
|
ComposeShaderTest.java | 57 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); 88 Bitmap greenBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); 90 Bitmap cyanBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); 100 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);
|
ComposePathEffectTest.java | 62 Bitmap actual = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); 68 Bitmap expected = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
|
PictureTest.java | 99 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); 109 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); 116 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
|
PorterDuffColorFilterTest.java | 43 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 45 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 48 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
|
BitmapShaderTest.java | 48 Bitmap tile = Bitmap.createBitmap(TILE_WIDTH, TILE_HEIGHT, Config.ARGB_8888); 60 Bitmap b = Bitmap.createBitmap(NUM_TILES * TILE_WIDTH - TILE_WIDTH / 2,
|
PathDashPathEffectTest.java | 50 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 60 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
|
SumPathEffectTest.java | 49 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 51 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 26 public class CreateBitmap extends GraphicsActivity { 77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 85 mBitmaps[3] = Bitmap.createBitmap(WIDTH, HEIGHT, 87 mBitmaps[4] = Bitmap.createBitmap(WIDTH, HEIGHT, 89 mBitmaps[5] = Bitmap.createBitmap(WIDTH, HEIGHT,
|
BitmapPixels.java | 141 mBitmap1 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_8888); 142 mBitmap2 = Bitmap.createBitmap(N, N, Bitmap.Config.RGB_565); 143 mBitmap3 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_4444);
|
Patterns.java | 34 Bitmap bm = Bitmap.createBitmap(40, 40, Bitmap.Config.RGB_565); 44 Bitmap bm = Bitmap.createBitmap(64, 64, Bitmap.Config.ARGB_8888);
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/ |
Plasma.java | 54 mBitmap = Bitmap.createBitmap(W, H, Bitmap.Config.RGB_565);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
CanvasTexture.java | 38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 93 public static Bitmap createBitmap(File input, boolean isMutable, Density density) 98 return createBitmap(delegate, isMutable, density.getDpiValue()); 111 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) 116 return createBitmap(delegate, isMutable, density.getDpiValue()); 129 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, 134 return createBitmap(delegate, isMutable, density.getDpiValue()); 214 return createBitmap(delegate, mutable, Bitmap.getDefaultDensity()); 242 return createBitmap(delegate, isMutable, Bitmap.getDefaultDensity()); 451 return createBitmap(delegate, false /*isMutable*/, 522 private static Bitmap createBitmap(Bitmap_Delegate delegate, boolean isMutable, int density) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 437 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter); 454 public static Bitmap createBitmap(Bitmap src) { 455 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); 470 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { 471 return createBitmap(source, x, y, width, height, null, false); 492 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, 540 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); 551 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, 584 public static Bitmap createBitmap(int width, int height, Config config) { 585 return createBitmap(width, height, config, true) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
BitmapUtils.java | 63 private static Bitmap createBitmap( 65 // Re-implement Bitmap createBitmap() to always return a mutable bitmap. 71 bitmap = Bitmap.createBitmap(width, height, source.getConfig()); 76 bitmap = Bitmap.createBitmap( 187 Bitmap transformed = createBitmap( 208 Bitmap transformed = createBitmap(
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_ColorChecker.cpp | 118 // Get method handles, create inputs to createBitmap 124 jmethodID createBitmap = env->GetStaticMethodID( 125 bitmapClass, "createBitmap", 138 createBitmap,
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
BackingStoreWin.cpp | 70 static PassOwnPtr<HBITMAP> createBitmap(const IntSize& size) 81 m_bitmap = createBitmap(m_size);
|