Home
last modified time | relevance | path

Searched refs:ARGB_8888 (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java27 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/
DCompareActivity.java67 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/
DBucketTests.java102 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/
DIconTest.java45 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/
DFrameImage2D.java121 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/
DBitmapRegionTileSource.java131 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/
DGlifPatternDrawableTest.java33 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/
DBitmap.java479 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/
DFrame.java181 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/
DImageUtils.java66 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888 in isGrayscale()
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); in buildScaledBitmap()
DUserIcons.java53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in convertToBitmap()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java209 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/
DTestUtils.java56 Bitmap.Config.ARGB_8888); in getCombinedBackgroundBitmap()
118 Bitmap.Config.ARGB_8888); in assertAllPixelsOfColor()
/frameworks/support/v4/java/android/support/v4/app/
DSharedElementCallback.java203 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/
DImageBuffersForRenderScript.java38 inputImage.getHeight(), Bitmap.Config.ARGB_8888); in ImageBuffersForRenderScript()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java146 Bitmap.Config.ARGB_8888); in createIconBitmap()
172 Bitmap.Config.ARGB_8888); in createSelectedBitmap()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java129 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/
DHealing.java134 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/
DGenImage.java45 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/
DThumbnailUtils.java119 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/
DHelloComputeNDK.java58 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java80 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/
DRefocusFilterF32.java78 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/
DIconLoader.java262 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/
DRecentsTransitionHelper.java365 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);

12345