Searched refs:getDrawableByName (Results 1 – 3 of 3) sorted by relevance
332 assertThat(resourcesApk.getDrawableByName("valid_drawable", context.theme)).isNotNull() in getDrawableByName_validDrawable_returnsDrawable()339 assertThat(resourcesApk.getDrawableByName("invalid_drawable", context.theme)).isNull() in getDrawableByName_invalidDrawableWithFallback_returnsNull()347 resourcesApk.getDrawableByName("invalid_drawable", context.theme) in getDrawableByName_invalidDrawableWithoutFallback_throws()357 resourcesApk.getDrawableByName("valid_drawable", context.theme) in getDrawableByName_nullContext_throwsRegardlessOfFallback()
93 val drawable = SafetyCenterResourcesApk(context).getDrawableByName(resName, context.theme) in setupIllustration()
297 public Drawable getDrawableByName(String name, @Nullable Resources.Theme theme) { in getDrawableByName() method in SafetyCenterResourcesApk