/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testBasic() 55 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); in testBasic() 62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testMutability() 64 Bitmap.Config.ARGB_8888); in testMutability() 87 Bitmap.Config.ARGB_8888); in testGetPixelsWithAlpha() 129 Bitmap.Config config = Bitmap.Config.ARGB_8888; in testSetPixelsWithAlpha() 185 Bitmap.Config config = Bitmap.Config.ARGB_8888; in testSetPixelsWithNonOpaqueAlpha()
|
/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 | 102 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888); in testOnePixelTallBitmap() 111 final Bitmap bitmap = Bitmap.createBitmap(1, 1000, Bitmap.Config.ARGB_8888); in testOnePixelWideBitmap() 120 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBlueBitmapReturnsBlueSwatch() 135 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); in testBlueBitmapWithRegionReturnsBlueSwatch()
|
/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() 64 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 66 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 68 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 118 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource() 145 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithFile() 178 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testAsync() 251 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testParcel()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 121 if (config != Bitmap.Config.ARGB_8888) { in convertToFrameType() 122 result = bitmap.copy(Bitmap.Config.ARGB_8888, false); in convertToFrameType() 170 Bitmap.Config config = Bitmap.Config.ARGB_8888; in cpuImageCopy()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 131 Bitmap.Config.ARGB_8888); in decodeRegion() 186 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadInBackground() 387 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource() 446 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile() 485 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap() 521 Bitmap newBitmap = bitmap.copy(Config.ARGB_8888, false); in ensureGLCompatibleBitmap()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 33 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDraw() 51 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888); in testDrawTwice()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 479 ARGB_8888 (5); enumConstant 484 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888 755 Config newConfig = Config.ARGB_8888; in createBitmap() 768 case ARGB_8888: in createBitmap() 770 newConfig = Config.ARGB_8888; in createBitmap() 787 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, in createBitmap() 884 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 181 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) { in convertBitmapToRGBA() 184 Bitmap result = bitmap.copy(Bitmap.Config.ARGB_8888, false); in convertBitmapToRGBA()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 66 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888 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/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/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | TestUtils.java | 56 Bitmap.Config.ARGB_8888); in getCombinedBackgroundBitmap() 118 Bitmap.Config.ARGB_8888); in assertAllPixelsOfColor()
|
/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/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | ImageBuffersForRenderScript.java | 38 inputImage.getHeight(), Bitmap.Config.ARGB_8888); in ImageBuffersForRenderScript()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | IconUtilities.java | 146 Bitmap.Config.ARGB_8888); in createIconBitmap() 172 Bitmap.Config.ARGB_8888); in createSelectedBitmap()
|
/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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | Healing.java | 134 Bitmap.Config.ARGB_8888); in heal() 147 return ret.copy(Bitmap.Config.ARGB_8888, true); in createMutableBitmap()
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
D | GenImage.java | 45 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap() 256 Bitmap bmp = Bitmap.createBitmap(512, 512, Bitmap.Config.ARGB_8888); in draw()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 119 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in createImageThumbnail() 325 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in makeBitmap() 375 Bitmap.Config.ARGB_8888); in transform()
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 58 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
D | RefocusFilterd1new.java | 80 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage() 93 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractFuzzyImage()
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
D | RefocusFilterF32.java | 78 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage() 91 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractFuzzyImage()
|
/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() 325 Bitmap.Config.ARGB_8888); in parseToRGB()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | RecentsTransitionHelper.java | 365 Bitmap b = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); 370 Bitmap.Config.ARGB_8888); 393 Bitmap b = Bitmap.createBitmap(headerWidth, headerHeight, Bitmap.Config.ARGB_8888);
|