Searched refs:inflateMenu (Results 1 – 6 of 6) sorted by relevance
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | MenuLoader.java | 97 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
|
D | ResourceLoader.java | 522 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/ |
D | MenuResourceLoaderTest.java | 25 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldInflateComplexMenu() 33 resourceLoader.inflateMenu(Robolectric.application, R.menu.test_withchilds, testMenu); in shouldParseSubItemCorrectly()
|
D | MenuLoaderTest.java | 57 menuLoader.inflateMenu(Robolectric.application, R.menu.test, testMenu); in shouldThrowI18nExceptionOnMenuWithBareStrings()
|
D | ResourceLoaderTest.java | 56 resourceLoader.inflateMenu(Robolectric.application, R.menu.test, null); in shouldThrowExceptionOnI18nStrictModeInflateMenu()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMenuInflater.java | 26 …shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root); in inflate()
|