/frameworks/base/core/tests/coretests/src/android/graphics/ |
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()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapsAlphaActivity.java | 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 54 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView() 58 mBitmap3 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset3, opts); in BitmapsView()
|
D | BitmapsActivity.java | 63 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 64 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView() 71 … Bitmap bitmap = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1, opts); in BitmapsView()
|
D | MipMapActivity.java | 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()
|
D | BitmapsRectActivity.java | 50 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 51 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
|
D | ColorFiltersActivity.java | 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 53 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
|
D | Alpha8BitmapActivity.java | 49 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.spot_mask); in BitmapsView() 55 texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
D | BitmapsSkewActivity.java | 44 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
D | Bitmaps3dActivity.java | 51 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
|
D | BitmapMeshLayerActivity.java | 47 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
|
D | ColorFiltersMutateActivity.java | 72 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 73 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
|
D | BitmapMeshActivity.java | 46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
|
D | ClearActivity.java | 48 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in PathsView()
|
D | QuickRejectActivity.java | 45 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in QuickRejectView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 46 BitmapFactory.decodeResource( in setUp() 110 BitmapFactory.decodeResource( in validBitmapResource_loadDrawable_returnsBitmapDrawable() 129 BitmapFactory.decodeResource( in validBitmapResource_loadBitmap_returnsBitmapDrawable() 142 BitmapFactory.decodeResource( in validBitmapUri_returnsBitmapDrawable() 174 BitmapFactory.decodeResource( in validBitmapIcon_returnsBitmapDrawable() 186 BitmapFactory.decodeResource( in validBitmapIcon_loadSize_returnsNull() 197 BitmapFactory.decodeResource( in validUriIcon_returnsBitmapDrawable() 222 BitmapFactory.decodeResource( in validDataIcon_returnsBitmapDrawable() 241 BitmapFactory.decodeResource( in validDataIcon_loadSize_returnsNull()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LocalImageResolverTest.java | 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()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/ |
D | BitmapUtils.kt | 37 return BitmapFactory.decodeResource(context.resources, bitmapResourceId, options) in loadBitmap() 45 val bitmap = BitmapFactory.decodeResource(context.resources, bitmapResourceId, options) in getBitmapSize()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | Utils.java | 125 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource() 132 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/ |
D | GlassActivity.kt | 80 background = BitmapFactory.decodeResource(resources, R.drawable.background1) in <lambda>() 142 background = BitmapFactory.decodeResource(resources, resource) in <lambda>()
|
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 59 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 611 public static Bitmap decodeResource(Resources res, int id, Options opts) { in decodeResource() method in BitmapFactory 649 public static Bitmap decodeResource(Resources res, int id) { in decodeResource() method in BitmapFactory 650 return decodeResource(res, id, null); in decodeResource()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/ |
D | UserIconDrawableTest.java | 44 final Bitmap b = BitmapFactory.decodeResource( in getConstantState_shouldNotBeNull()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | ImageDecoder_Delegate.java | 45 return BitmapFactory.decodeResource(source.mResources, source.mResId); in decodeBitmapImpl()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | OpenGLUtils.java | 86 BitmapFactory.decodeResource( in createTexture()
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/ |
D | CameraEffectsRecordingSample.java | 71 Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.android); in createGraph()
|