Home
last modified time | relevance | path

Searched refs:drawableResourceId (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java153 public Drawable getDrawable(int drawableResourceId) throws Resources.NotFoundException { in getDrawable() argument
157 Drawable xmlDrawable = resLoader.getXmlDrawable(drawableResourceId); in getDrawable()
162 Drawable animDrawable = resLoader.getAnimDrawable(drawableResourceId); in getDrawable()
167 Drawable colorDrawable = resLoader.getColorDrawable(drawableResourceId); in getDrawable()
172 if (resLoader.isNinePatchDrawable(drawableResourceId)) { in getDrawable()
176 …new BitmapDrawable(realResources, BitmapFactory.decodeResource(realResources, drawableResourceId)); in getDrawable()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DResourceLoader.java453 …private Drawable getInnerRClassDrawable( int drawableResourceId, String suffix, Class returnClass … in getInnerRClassDrawable() argument
474 if ( field.getInt( animClass ) == drawableResourceId ) { in getInnerRClassDrawable()
484 public boolean isNinePatchDrawable(int drawableResourceId) { in isNinePatchDrawable() argument
485 return ninePatchDrawableIds.contains(drawableResourceId); in isNinePatchDrawable()