/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 | 663 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter); in createScaledBitmap() 680 public static Bitmap createBitmap(Bitmap src) { in createBitmap() method in Bitmap 681 return createBitmap(src, 0, 0, src.getWidth(), src.getHeight()); in createBitmap() 700 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() method in Bitmap 701 return createBitmap(source, x, y, width, height, null, false); in createBitmap() 728 public static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height, in createBitmap() method in Bitmap 776 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap() 787 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, in createBitmap() 822 public static Bitmap createBitmap(int width, int height, Config config) { in createBitmap() method in Bitmap 823 return createBitmap(width, height, config, true); in createBitmap() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 124 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, in createBitmap() method in Bitmap_Delegate 144 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() method in Bitmap_Delegate 159 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() 172 public static Bitmap createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, in createBitmap() method in Bitmap_Delegate 177 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 190 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() method in Bitmap_Delegate 191 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density); in createBitmap() [all …]
|
D | BitmapFactory_Delegate.java | 75 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 92 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 45 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDraw() 63 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDrawTwice() 87 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); in testScaleToCanvasSquare() 103 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); in testScaleToCanvasTall() 120 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8); in testScaleToCanvasWide() 137 Bitmap mockBitmapCache = Bitmap.createBitmap(2049, 1152, Bitmap.Config.ALPHA_8); in testScaleToCanvasMaxSize()
|
/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/support/v7/palette/src/androidTest/java/android/support/v7/graphics/ |
D | BucketTests.java | 104 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888); in testOnePixelTallBitmap() 113 final Bitmap bitmap = Bitmap.createBitmap(1, 1000, Bitmap.Config.ARGB_8888); in testOnePixelWideBitmap() 122 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBlueBitmapReturnsBlueSwatch() 137 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBlueBitmapWithRegionReturnsBlueSwatch() 154 final Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testDominantSwatch()
|
/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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | Healing.java | 50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); in buildMask() 133 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(), in heal() 146 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height); in createMutableBitmap()
|
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/ |
D | DividerItemDecorationTest.java | 64 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in testShouldDrawDividerBelowWithEitherCondition() 109 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in testShouldDrawDividerBelowWithBothCondition() 139 Bitmap bitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in drawDecoration()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 464 createBitmap(repeatDrawable.getBitmap(), repeatAllColor)); 467 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor)); 506 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 543 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 580 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 590 private static Bitmap createBitmap(Bitmap bitmap, int color) {
|
/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()
|
/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/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | ImageBuffersForRenderScript.java | 37 outputImage = Bitmap.createBitmap(inputImage.getWidth(), in ImageBuffersForRenderScript()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | SharedElementCallback.java | 202 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in onCaptureSharedElementSnapshot() 226 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/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | TestUtils.java | 55 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, in getCombinedBackgroundBitmap() 117 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, in assertAllPixelsOfColor()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Cat.java | 235 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 253 public Bitmap createBitmap(int w, int h) { 257 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 280 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
|