Home
last modified time | relevance | path

Searched refs:srcResId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java208 final int srcResId = a.getResourceId(R.styleable.AnimatedImageDrawable_src, 0); in updateStateFromTypedArray() local
209 if (srcResId != 0) { in updateStateFromTypedArray()
212 r.getValueForDensity(srcResId, srcDensityOverride, value, true); in updateStateFromTypedArray()
232 InputStream is = r.openRawResource(srcResId, value); in updateStateFromTypedArray()
DBitmapDrawable.java816 final int srcResId = a.getResourceId(R.styleable.BitmapDrawable_src, 0); in updateStateFromTypedArray() local
817 if (srcResId != 0) { in updateStateFromTypedArray()
819 r.getValueForDensity(srcResId, srcDensityOverride, value, true); in updateStateFromTypedArray()
844 try (InputStream is = r.openRawResource(srcResId, value)) { in updateStateFromTypedArray()
DNinePatchDrawable.java423 final int srcResId = a.getResourceId(R.styleable.NinePatchDrawable_src, 0); in updateStateFromTypedArray() local
424 if (srcResId != 0) { in updateStateFromTypedArray()
431 final InputStream is = r.openRawResource(srcResId, value); in updateStateFromTypedArray()