Home
last modified time | relevance | path

Searched refs:decodeResource (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/graphics/
DGraphicsPerformanceTests.java142 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/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java52 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()
DBitmapsActivity.java63 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()
DMipMapActivity.java52 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()
DBitmapsRectActivity.java50 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
51 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
DColorFiltersActivity.java52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
53 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
DAlpha8BitmapActivity.java49 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.spot_mask); in BitmapsView()
55 texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
DColorFiltersMutateActivity.java59 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
60 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in BitmapsView()
DBitmapsSkewActivity.java44 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
DBitmaps3dActivity.java51 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView()
DBitmapMeshLayerActivity.java47 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
DBitmapMeshActivity.java46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView()
DClearActivity.java48 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in PathsView()
DQuickRejectActivity.java45 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in QuickRejectView()
DTransform3dActivity.java46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in Transform3dView()
DFramebufferBlendActivity.java53 mTexture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BlendView()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java125 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
132 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java595 public static Bitmap decodeResource(Resources res, int id, Options opts) { in decodeResource() method in BitmapFactory
633 public static Bitmap decodeResource(Resources res, int id) { in decodeResource() method in BitmapFactory
634 return decodeResource(res, id, null); in decodeResource()
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java59 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java858 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
878 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
899 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
919 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
940 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
960 Bitmap bm = BitmapFactory.decodeResource(mContext.getResources(), in onRun()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java44 final Bitmap b = BitmapFactory.decodeResource( in getConstantState_shouldNotBeNull()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java71 Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.android); in createGraph()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java217 bitmap = BitmapFactory.decodeResource(getResources(), id); in loadAndPrintDpi()
221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts); in loadAndPrintDpi()
/frameworks/base/core/tests/coretests/src/android/view/
DViewCaptureTest.java95 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId); in testCreateSnapshot()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java114 return BitmapFactory.decodeResource(mResources, R.drawable.default_thumbnail); in getThumbnail()

123