/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapsAlphaActivity.java | 22 import android.graphics.BitmapFactory; 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 54 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView() 56 BitmapFactory.Options opts = new BitmapFactory.Options(); in BitmapsView() 58 mBitmap3 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset3, opts); in BitmapsView()
|
H A D | BitmapsActivity.java | 22 import android.graphics.BitmapFactory; 63 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 64 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView() 69 BitmapFactory.Options opts = new BitmapFactory.Options(); in BitmapsView() 71 … Bitmap bitmap = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1, opts); in BitmapsView()
|
H A D | MipMapActivity.java | 22 import android.graphics.BitmapFactory; 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.very_large_photo); in BitmapsView() 53 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.very_large_photo); in BitmapsView()
|
H A D | BitmapsRectActivity.java | 22 import android.graphics.BitmapFactory; 50 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 51 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
|
H A D | ColorFiltersActivity.java | 22 import android.graphics.BitmapFactory; 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 53 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
|
H A D | Alpha8BitmapActivity.java | 22 import android.graphics.BitmapFactory; 49 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.spot_mask); in BitmapsView() 55 texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
H A D | BitmapsSkewActivity.java | 22 import android.graphics.BitmapFactory; 44 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
H A D | Bitmaps3dActivity.java | 22 import android.graphics.BitmapFactory; 51 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
H A D | BitmapMeshLayerActivity.java | 22 import android.graphics.BitmapFactory; 47 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
|
H A D | BitmapMeshActivity.java | 22 import android.graphics.BitmapFactory; 46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
|
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
H A D | Utils.java | 21 import android.graphics.BitmapFactory; 97 BitmapFactory.Options options, int reqWidth, int reqHeight) { in calculateInSampleSize() 123 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromResource() 125 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource() 132 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 24 import android.graphics.BitmapFactory; 49 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options); in decodeRegion() 102 Bitmap b = BitmapFactory.decodeFile(pathName); in newInstance() 109 Bitmap b = BitmapFactory.decodeStream(is); in newInstance() 185 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadInBackground() 240 public Bitmap loadPreviewBitmap(BitmapFactory.Options options) { in loadPreviewBitmap() 241 return BitmapFactory.decodeFile(mPath, options); in loadPreviewBitmap() 289 public Bitmap loadPreviewBitmap(BitmapFactory.Options options) { in loadPreviewBitmap() 350 return BitmapFactory.decodeResource(mRes, mResId, options); in loadPreviewBitmap() 376 private BitmapFactory.Options mOptions; [all …]
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | IfElseFilterTest.java | 22 import android.graphics.BitmapFactory; 59 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterTrue() 61 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterTrue() 90 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterFalse() 92 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterFalse()
|
H A D | AvgBrightnessFilterTest.java | 21 import android.graphics.BitmapFactory; 47 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testBrightnessFilter()
|
H A D | ContrastRatioFilterTest.java | 28 import android.graphics.BitmapFactory; 55 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testContrastFilter()
|
H A D | ExposureFilterTest.java | 21 import android.graphics.BitmapFactory; 52 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testExposureFilter()
|
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | OpenGLUtils.java | 20 import android.graphics.BitmapFactory; 70 final BitmapFactory.Options options = new BitmapFactory.Options(); in createTexture() 86 BitmapFactory.decodeResource( in createTexture()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
H A D | ImageLoaderTest.kt | 5 import android.graphics.BitmapFactory 45 BitmapFactory.decodeResource( 102 BitmapFactory.decodeResource( 121 BitmapFactory.decodeResource( 134 BitmapFactory.decodeResource( 148 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) 156 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) 166 BitmapFactory.decodeResource( 178 BitmapFactory.decodeResource( 192 BitmapFactory.decodeResource(
|
/aosp14/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 39 import android.graphics.BitmapFactory; 817 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 836 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 856 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 858 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun() 876 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 878 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun() 897 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 917 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() 938 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | GraphicsPerformanceTests.java | 142 BitmapFactory.decodeResource(mResources, R.drawable.test16x12); in testDecodeBitmap() 143 BitmapFactory.decodeResource(mResources, R.drawable.test32x24); in testDecodeBitmap() 144 BitmapFactory.decodeResource(mResources, R.drawable.test64x48); in testDecodeBitmap() 145 BitmapFactory.decodeResource(mResources, R.drawable.test128x96); in testDecodeBitmap() 146 BitmapFactory.decodeResource(mResources, R.drawable.test256x192); in testDecodeBitmap() 147 BitmapFactory.decodeResource(mResources, R.drawable.test320x240); in testDecodeBitmap()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 238 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion() 239 BitmapFactory.Options.validate(options); in decodeRegion() 247 BitmapFactory.Options.nativeInBitmap(options), in decodeRegion() 248 BitmapFactory.Options.nativeColorSpace(options)); in decodeRegion() 318 BitmapFactory.Options options, long inBitmapHandle, in nativeDecodeRegion()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | LocalImageResolverTest.java | 22 import android.graphics.BitmapFactory; 95 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize() 111 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeAdaptiveBitmapIcon_defaultSize_resizeToDefaultSize() 176 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeBitmapIcon_passedNegativeWidth_dontResize() 189 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeBitmapIcon_passedNegativeHeight_dontResize() 213 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeBitmapIcon_passedSize_resizeToDefinedSize() 225 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.big_a)); in resolveImage_largeAdaptiveBitmapIcon_passedSize_resizeToDefinedSize() 249 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.test32x24)); in resolveImage_smallBitmapIcon_defaultSize_untouched() 264 BitmapFactory.decodeResource(mContext.getResources(), R.drawable.test32x24)); in resolveImage_smallAdaptiveBitmapIcon_defaultSize_untouched()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ImageLoader.java | 22 import android.graphics.BitmapFactory; 73 result.bitmap = BitmapFactory.decodeStream(in); in load() 95 result.bitmap = BitmapFactory.decodeStream(in); in load()
|
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/ |
H A D | GlassActivity.kt | 21 import android.graphics.BitmapFactory 80 background = BitmapFactory.decodeResource(resources, R.drawable.background1) 142 background = BitmapFactory.decodeResource(resources, resource) 157 background = BitmapFactory.decodeFileDescriptor(it?.fileDescriptor)
|
/aosp14/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 27 import android.graphics.BitmapFactory; 217 bitmap = BitmapFactory.decodeResource(getResources(), id); in loadAndPrintDpi() 219 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadAndPrintDpi() 221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts); in loadAndPrintDpi()
|