/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 | 615 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter); in createScaledBitmap() 632 public static Bitmap createBitmap(Bitmap src) { in createBitmap() method in Bitmap 633 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); in createBitmap() 652 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() method in Bitmap 653 return createBitmap(source, x, y, width, height, null, false); in createBitmap() 680 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, in createBitmap() method in Bitmap 728 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap() 739 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, in createBitmap() 774 public static Bitmap createBitmap(int width, int height, Config config) { in createBitmap() method in Bitmap 775 return createBitmap(width, height, config, true); in createBitmap() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 102 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 117 public static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, in createBitmap() method in Bitmap_Delegate 122 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 137 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 150 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, in createBitmap() method in Bitmap_Delegate 155 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 168 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() method in Bitmap_Delegate 169 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() [all …]
|
D | BitmapFactory_Delegate.java | 74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, 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/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | IconTest.java | 45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testWithBitmap() 46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testWithBitmap() 63 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmap() 65 final Bitmap test2 = Bitmap.createBitmap(draw2.getIntrinsicWidth(), in testWithBitmap() 67 final Bitmap test3 = Bitmap.createBitmap(draw3.getIntrinsicWidth(), in testWithBitmap() 117 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmapResource() 144 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithFile() 177 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testAsync() 250 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testParcel()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 447 createBitmap(repeatDrawable.getBitmap(), repeatAllColor)); 450 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor)); 489 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 526 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 563 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 573 private static Bitmap createBitmap(Bitmap bitmap, int color) {
|
D | HorizontalGridView.java | 285 mTempBitmapLow = Bitmap.createBitmap(mLowFadeShaderLength, getHeight(), in getTempBitmapLow() 302 mTempBitmapHigh = Bitmap.createBitmap(mHighFadeShaderLength, getHeight(), in getTempBitmapHigh()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 65 mTempCompactBitmap = Bitmap.createBitmap( in isGrayscale() 150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); in buildScaledBitmap()
|
D | UserIcons.java | 53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in convertToBitmap()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale() 157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter() 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | ImageProcessingActivity2.java | 209 mBitmapOut1 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888); in Processor() 210 mBitmapOut2 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888); in Processor() 217 mBitmapOut1 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888); in Processor() 218 mBitmapOut2 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888); in Processor() 225 mBitmapOut1 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888); in Processor() 226 mBitmapOut2 = Bitmap.createBitmap(800, 450, Bitmap.Config.ARGB_8888); in Processor()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 512 createBitmap(); in syncTo() 517 createBitmap(); in syncTo() 522 createBitmap(); in syncTo() 575 private void createBitmap() { in createBitmap() method in BackingStore.BitmapBacking 576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888); in createBitmap()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 203 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in onCaptureSharedElementSnapshot() 227 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createDrawableBitmap()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 129 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createDrawableBitmap() 165 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createViewBitmap()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 127 ? Bitmap.createBitmap(1, length, config) in getBorderLine() 128 : Bitmap.createBitmap(length, 1, config); in getBorderLine()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | IconUtilities.java | 145 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap() 171 final Bitmap result = Bitmap.createBitmap(mIconTextureWidth, mIconTextureHeight, in createSelectedBitmap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BitmapHelper.java | 41 final Bitmap output = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createCircularClip()
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(), in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 373 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() 423 b1 = Bitmap.createBitmap(source, 0, 0, in transform() 436 Bitmap b2 = Bitmap.createBitmap( in transform()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 262 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW() 324 return Bitmap.createBitmap(pixels, width, height, in parseToRGB()
|
/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()
|