Home
last modified time | relevance | path

Searched refs:inflateMenu (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DMenuLoader.java97 public void inflateMenu(Context context, String key, Menu root) { in inflateMenu() method in MenuLoader
98 inflateMenu(context, key, null, root); in inflateMenu()
101 public void inflateMenu(Context context, int resourceId, Menu root) { in inflateMenu() method in MenuLoader
102 inflateMenu(context, resourceExtractor.getResourceName(resourceId), in inflateMenu()
106 private void inflateMenu(Context context, String key, in inflateMenu() method in MenuLoader
DResourceLoader.java522 public void inflateMenu( Context context, int resource, Menu root ) { in inflateMenu() method in ResourceLoader
524 menuLoader.inflateMenu( context, resource, root ); in inflateMenu()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DMenuResourceLoaderTest.java25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldInflateComplexMenu()
33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldParseSubItemCorrectly()
DMenuLoaderTest.java57 menuLoader.inflateMenu(Robolectric.application, R.menu.test, testMenu); in shouldThrowI18nExceptionOnMenuWithBareStrings()
DResourceLoaderTest.java56 resourceLoader.inflateMenu(Robolectric.application, R.menu.test, null); in shouldThrowExceptionOnI18nStrictModeInflateMenu()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMenuInflater.java26 …shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root); in inflate()