/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DrawIntoHwBitmapActivity.java | 46 view.setImageBitmap(createBitmap()); 49 Bitmap createBitmap() {
|
/external/skia/samplecode/ |
SampleAARects.cpp | 13 static SkBitmap createBitmap(int n) { 42 fBitmap = createBitmap(N);
|
SampleColorFilter.cpp | 86 static SkBitmap createBitmap(int n) { 118 fBitmap = createBitmap(N);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmap.java | 39 public static Bitmap createBitmap(int width, int height, Bitmap.Config config) { 50 public static Bitmap createBitmap(Bitmap bitmap) {
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
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(); 200 public Bitmap createBitmap() { 201 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); 218 public Bitmap createBitmap() { 219 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); 236 public Bitmap createBitmap() { 237 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565) [all...] |
/frameworks/base/libs/hwui/tests/common/ |
TestUtils.h | 183 static sk_sp<Bitmap> createBitmap(int width, int height, 189 static sk_sp<Bitmap> createBitmap(int width, int height, SkBitmap* outBitmap) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipNotificationController.java | 204 .setLargeIcon(createBitmap(iconDrawable).createAshmemBitmap()); 222 private Bitmap createBitmap(Drawable d) { 223 Bitmap bitmap = Bitmap.createBitmap(d.getIntrinsicWidth(), d.getIntrinsicHeight(),
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
BackgroundManagerTest.java | 207 Bitmap createBitmap(int width, int height, int color) { 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(200, 100, Color.GREEN) [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BitmapPool.java | 307 b = createBitmap(width, height); 318 private Bitmap createBitmap(final int width, final int height) { 319 return Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
/external/skia/tests/ |
CanvasTest.cpp | 179 static void createBitmap(SkBitmap* bm, SkColor color) { 275 createBitmap(&bitmap, 0x05060708); 569 createBitmap(&referenceStore, 0xFFFFFFFF);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 108 public static Bitmap createBitmap(File input, boolean isMutable, Density density) 110 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 123 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, 143 return createBitmap(delegate, createFlags, density.getDpiValue()); 156 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) 158 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 171 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, 176 return createBitmap(delegate, createFlags, density.getDpiValue()); 189 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { 190 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 505 public static Bitmap createBitmap(View view) { 506 final Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), ARGB_8888);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
BackingStore.java | 512 createBitmap(); 517 createBitmap(); 522 createBitmap(); 575 private void createBitmap() { 576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888);
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 199 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, 692 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); 797 return createBitmap(env, bitmap.release(), getPremulBitmapCreateFlags(isMutable)); 808 return createBitmap(env, bitmap, getPremulBitmapCreateFlags(isMutable)); 828 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); 837 jobject ret = createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 721 return Bitmap.createBitmap(src, 0, 0, width, height, m, filter); 729 public static Bitmap createBitmap(@NonNull Bitmap src) { 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) { 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, 835 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); 851 bitmap = createBitmap(neww, newh, transformedConfig, transformed || source.hasAlpha()); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 120 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); 132 Bitmap srcBitmap = Bitmap.createBitmap(1, 1, src); 151 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); 189 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), 209 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); 210 Bitmap ret = Bitmap.createBitmap(bitmap); 219 Bitmap.createBitmap(mBitmap, -100, 50, 50, 200); 225 mBitmap = Bitmap.createBitmap(new int[100 * 100], 100, 100, Config.ARGB_8888); 226 Bitmap ret = Bitmap.createBitmap(mBitmap, 0, 0, 100, 100); 231 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888) [all...] |
/prebuilts/misc/common/robolectric/lib/ |
shadows-core-v16-3.1.1.jar | |
shadows-core-v17-3.1.1.jar | |
shadows-core-v18-3.1.1.jar | |
shadows-core-v19-3.1.1.jar | |
shadows-core-v21-3.1.1.jar | |
shadows-core-v22-3.1.1.jar | |
shadows-core-v23-3.1.1.jar | |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |
shadows-core-3.1-SNAPSHOT-17.jar | |