/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | GraphicsPerformanceTests.java | 92 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT, in setUp() 171 mBitmap = createBitmap(); in setUp() 179 public abstract Bitmap createBitmap(); in createBitmap() method in GraphicsPerformanceTests.DrawBitmapTest 204 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap7x7 205 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565); in createBitmap() 222 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap15x15 223 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565); in createBitmap() 240 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap31x31 241 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565); in createBitmap() 258 public Bitmap createBitmap() { in createBitmap() method in GraphicsPerformanceTests.DrawBitmap63x63 [all …]
|
D | BitmapTest.java | 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testBasic() 28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testBasic() 29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); in testBasic() 62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testMutability() 63 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, in testMutability() 86 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, in testGetPixelsWithAlpha() 112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); in testGetPixelsWithoutAlpha() 130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); in testSetPixelsWithAlpha() 131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); in testSetPixelsWithAlpha() 156 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); in testSetPixelsWithoutAlpha() [all …]
|
D | ThreadBitmapTest.java | 41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565); in MThread()
|
D | BitmapFactoryTest.java | 33 Bitmap bitmap1 = Bitmap.createBitmap( in testBitmapParcelFileDescriptor()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 487 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter); in createScaledBitmap() 504 public static Bitmap createBitmap(Bitmap src) { in createBitmap() method in Bitmap 505 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); in createBitmap() 521 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() method in Bitmap 522 return createBitmap(source, x, y, width, height, null, false); in createBitmap() 548 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, in createBitmap() method in Bitmap 596 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap() 607 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, in createBitmap() 640 public static Bitmap createBitmap(int width, int height, Config config) { in createBitmap() method in Bitmap 641 return createBitmap(width, height, config, true); in createBitmap() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 94 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 99 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap() 112 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 117 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap() 130 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, in createBitmap() method in Bitmap_Delegate 135 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap() 219 return createBitmap(delegate, mutable, Bitmap.getDefaultDensity()); in nativeCreate() 247 return createBitmap(delegate, isMutable, Bitmap.getDefaultDensity()); in nativeCopy() 467 return createBitmap(delegate, false /*isMutable*/, in nativeExtractAlpha() 549 private static Bitmap createBitmap(Bitmap_Delegate delegate, boolean isMutable, int density) { in createBitmap() method in Bitmap_Delegate
|
D | BitmapFactory_Delegate.java | 115 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), true /*isMutable*/, in nativeDecodeStream() 130 bm = Bitmap_Delegate.createBitmap(is, true, density); in nativeDecodeStream()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | CompareActivity.java | 67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onCreateCommon() 68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onCreateCommon() 83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in loadBitmaps() 84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in loadBitmaps()
|
/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
D | CarouselTestActivity.java | 85 Bitmap bitmap = Bitmap.createBitmap(TEXTURE_WIDTH, TEXTURE_HEIGHT, in getTexture() 103 Bitmap bitmap = Bitmap.createBitmap(DETAIL_TEXTURE_WIDTH, DETAIL_TEXTURE_HEIGHT, in getDetailTexture()
|
D | TaskSwitcherActivity.java | 64 private Bitmap mBlankBitmap = Bitmap.createBitmap(128, 128, Config.RGB_565); 154 bitmap = Bitmap.createBitmap(DETAIL_TEXTURE_WIDTH, DETAIL_TEXTURE_HEIGHT, in getDetailTexture()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicsJNI.h | 55 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, 59 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable,
|
D | Bitmap.cpp | 239 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff, isMutable, NULL, NULL); in Bitmap_creator() 251 …return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), isMutable, … in Bitmap_copy() 429 return GraphicsJNI::createBitmap(env, bitmap, buffer, isMutable, NULL, NULL, density); in Bitmap_createFromParcel() 507 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(), true, NULL, NULL); in Bitmap_extractAlpha()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | IconUtilities.java | 154 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap() 180 final Bitmap result = Bitmap.createBitmap(mIconTextureWidth, mIconTextureHeight, in createSelectedBitmap()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 257 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW() 319 return Bitmap.createBitmap(pixels, width, height, in parseToRGB()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 379 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() 429 b1 = Bitmap.createBitmap(source, 0, 0, in transform() 442 Bitmap b2 = Bitmap.createBitmap( in transform()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ThinPatchesActivity.java | 58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888); in PatchView()
|
D | BitmapMutateActivity.java | 71 mBitmap1 = Bitmap.createBitmap(PATTERN_SIZE, PATTERN_SIZE, Bitmap.Config.ARGB_8888); in BitmapsView()
|
D | TextGammaActivity.java | 49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(), in onCreate()
|
D | Alpha8BitmapActivity.java | 50 mBitmap1 = Bitmap.createBitmap(texture.getWidth(), texture.getHeight(), in BitmapsView()
|
/frameworks/base/core/java/android/gesture/ |
D | Gesture.java | 186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in toBitmap() 221 final Bitmap bitmap = Bitmap.createBitmap(width, height, in toBitmap()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccUtils.java | 412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW() 455 return Bitmap.createBitmap(resultArray, width, height, in parseToRGB()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW() 455 return Bitmap.createBitmap(resultArray, width, height, in parseToRGB()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 103 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, in render()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewPerformanceTest.java | 43 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565); in setUp()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkTest.java | 92 mDestBitmap = Bitmap.createBitmap((int)640, (int)480, Bitmap.Config.ARGB_8888); in onCreate()
|