Home
last modified time | relevance | path

Searched refs:getResourceLoader (Results 1 – 20 of 20) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DResourcesTest.java70 shadowApp.getResourceLoader().setLocalRClass( null ); in testGetDrawableNullRClass()
79 shadowApp.getResourceLoader().setLocalRClass( TestR.class ); in testGetAnimationDrawable()
95 shadowApp.getResourceLoader().setLocalRClass( TestR.class ); in testGetColorDrawable()
104 shadowApp.getResourceLoader().setLocalRClass( TestR.class ); in testGetBitmapDrawable()
121 shadowApp.getResourceLoader().setLocalRClass( TestR.class ); in testGetBitmapDrawableForUnknownId()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLayoutInflater.java43 return getResourceLoader().inflateView(context, resource, attachToRoot ? root : null); in inflate()
51 private ResourceLoader getResourceLoader() { in getResourceLoader() method in ShadowLayoutInflater
52 return shadowOf(context.getApplicationContext()).getResourceLoader(); in getResourceLoader()
DShadowArrayAdapter.java135 view = getResourceLoader().inflateView(context,resource, null); in getView()
173 private ResourceLoader getResourceLoader() { in getResourceLoader() method in ShadowArrayAdapter
174 return shadowOf(Robolectric.application).getResourceLoader(); in getResourceLoader()
DShadowImageView.java65 ResourceLoader resourceLoader = shadowOf(Robolectric.application).getResourceLoader(); in buildDrawable()
96 return shadowOf(Robolectric.application).getResourceLoader() in isDrawableXml()
DShadowContext.java140 public ResourceLoader getResourceLoader() { in getResourceLoader() method in ShadowContext
141 return shadowOf((Application) realContext.getApplicationContext()).getResourceLoader(); in getResourceLoader()
DShadowPreferenceActivity.java19 …preferenceScreen = getResourceLoader().inflatePreferences(getApplicationContext(), preferencesResI… in addPreferencesFromResource()
DShadowMenuInflater.java26 …shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root); in inflate()
DShadowViewStub.java41 …ResourceExtractor resourceExtractor = Robolectric.getShadowApplication().getResourceLoader().getRe… in getResourceId()
DShadowBitmapFactory.java42 return shadowOf(Robolectric.application).getResourceLoader().getNameForId(id); in getResourceName()
DShadowView.java624 out.print(" id=\"" + shadowOf(context).getResourceLoader().getNameForId(id) + "\""); in dumpFirstPart()
855 + shadowOf(context).getResourceLoader() in applyOnClickAttribute()
DShadowResources.java155 … ResourceLoader resLoader = Robolectric.shadowOf(Robolectric.application).getResourceLoader(); in getDrawable()
DShadowApplication.java309 public ResourceLoader getResourceLoader() { in getResourceLoader() method in ShadowApplication
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTestRunnerTest.java27 assertNotNull(shadowOf(Robolectric.application).getResourceLoader()); in shouldInitializeAndBindApplicationButNotCallOnCreate()
76 ResourceLoader loader = Robolectric.shadowOf(Robolectric.application).getResourceLoader(); in createResourceLoader_setsI18nStrictModeForResourceLoader()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DResourceLoaderTest.java87 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader(); in checkForPollutionHelper()
97 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader(); in shouldIdentifyNinePatchDrawables()
/external/jsilver/src/com/google/clearsilver/jsilver/template/
DRenderingContext.java113 ResourceLoader getResourceLoader(); in getResourceLoader() method
DDefaultRenderingContext.java204 public ResourceLoader getResourceLoader() { in getResourceLoader() method in DefaultRenderingContext
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DResourceLoader.java385 ResourceLoader resourceLoader = shadowOf( context.getApplicationContext() ).getResourceLoader(); in getFrom()
455 Class rClass = shadowApp.getResourceLoader().getLocalRClass(); in getInnerRClassDrawable()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java332 templateLoader.load(templateName, context.getResourceLoader(), context in loadAndRenderIncludedTemplate()
/external/jsilver/src/com/google/clearsilver/jsilver/
DJSilver.java442 public ResourceLoader getResourceLoader() { in getResourceLoader() method in JSilver
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java622 templateLoader.load(templateName, context.getResourceLoader(), context in loadAndRenderIncludedTemplate()