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.java207 final int srcResId = a.getResourceId(R.styleable.AnimatedImageDrawable_src, 0); in updateStateFromTypedArray() local
208 if (srcResId != 0) { in updateStateFromTypedArray()
211 r.getValueForDensity(srcResId, srcDensityOverride, value, true); in updateStateFromTypedArray()
231 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()