Home
last modified time | relevance | path

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

1234

/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/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.java133 Bitmap.Config.ARGB_8888); in decodeRegion()
188 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadInBackground()
386 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapRegionTileSource()
445 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
484 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
520 Bitmap newBitmap = bitmap.copy(Config.ARGB_8888, false); in ensureGLCompatibleBitmap()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrame.java182 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) { in convertBitmapToRGBA()
185 Bitmap result = bitmap.copy(Bitmap.Config.ARGB_8888, false); in convertBitmapToRGBA()
DNativeFrame.java194 Bitmap.Config.ARGB_8888); in getBitmap()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java442 ARGB_8888 (5); enumConstant
448 null, ALPHA_8, null, RGB_565, ARGB_4444, ARGB_8888
687 Config newConfig = Config.ARGB_8888; in createBitmap()
700 case ARGB_8888: in createBitmap()
702 newConfig = Config.ARGB_8888; in createBitmap()
719 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig, in createBitmap()
815 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap()
/frameworks/ex/carousel/test/src/com/android/carouseltest/
DCarouselTestActivity.java86 Bitmap.Config.ARGB_8888); in getTexture()
104 Bitmap.Config.ARGB_8888); in getDetailTexture()
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java56 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadBitmap()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java118 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap()
152 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap()
186 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); in createBitmap()
212 case ARGB_8888: in getBufferedImageType()
/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/policy/src/com/android/internal/policy/impl/
DIconUtilities.java155 Bitmap.Config.ARGB_8888); in createIconBitmap()
181 Bitmap.Config.ARGB_8888); in createSelectedBitmap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DIconLoader.java257 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW()
320 Bitmap.Config.ARGB_8888); in parseToRGB()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java57 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; in BitmapsView()
DThinPatchesActivity.java58 mTexture = Bitmap.createBitmap(4, 3, Bitmap.Config.ARGB_8888); in PatchView()
DBitmapMutateActivity.java71 mBitmap1 = Bitmap.createBitmap(PATTERN_SIZE, PATTERN_SIZE, Bitmap.Config.ARGB_8888); in BitmapsView()
DTextGammaActivity.java50 Bitmap.Config.ARGB_8888); in onCreate()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java124 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in createImageThumbnail()
330 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in makeBitmap()
380 Bitmap.Config.ARGB_8888); in transform()
/frameworks/base/core/java/android/gesture/
DGesture.java186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in toBitmap()
222 Bitmap.Config.ARGB_8888); in toBitmap()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java92 mDestBitmap = Bitmap.createBitmap((int)640, (int)480, Bitmap.Config.ARGB_8888); in onCreate()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java409 case ARGB_8888: in validateBitmapFormat()
606 … Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); in copyFrom()
978 …Bitmap newBitmap = Bitmap.createBitmap(data.getWidth(), data.getHeight(), Bitmap.Config.ARGB_8888); in copy2DRangeFrom()
1298 if (bc == Bitmap.Config.ARGB_8888) { in elementFromBitmap()
1344 … Bitmap newBitmap = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ARGB_8888); in createFromBitmap()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRedEyeFilter.java162 … Bitmap redEyeBitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createRedEyeFrame()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardCircleFramedDrawable.java64 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888); in KeyguardCircleFramedDrawable()
/frameworks/base/core/java/android/app/
DLauncherActivity.java301 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565; in createIconThumbnail()
319 final Bitmap.Config c = Bitmap.Config.ARGB_8888; in createIconThumbnail()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DFillTest.java58 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888; in FillTest()

1234