Searched refs:nameOfIdentifier (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | TestTheme.java | 94 public TestTheme(Context context, String nameOfIdentifier) { in TestTheme() argument 95 setTheme(context, nameOfIdentifier); in TestTheme() 188 private void setTheme(Context context, String nameOfIdentifier) { in setTheme() argument 189 final int themeId = resolveResourceId(context , nameOfIdentifier); in setTheme() 192 + nameOfIdentifier); in setTheme() 210 private int resolveResourceId(Context context, String nameOfIdentifier) { in resolveResourceId() argument 211 return context.getResources().getIdentifier(nameOfIdentifier, null, null); in resolveResourceId()
|
D | SplitAppTest.java | 444 private static void assertTextViewBGColor(Activity activity, String nameOfIdentifier, in assertTextViewBGColor() argument 446 final int viewId = activity.getResources().getIdentifier(nameOfIdentifier, null, null); in assertTextViewBGColor()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 1012 private int resolveResourceId(String nameOfIdentifier) { in resolveResourceId() argument 1013 final int resId = getContext().getResources().getIdentifier(nameOfIdentifier, null, null); in resolveResourceId() 1014 assertTrue("Resource not found: " + nameOfIdentifier, resId != 0); in resolveResourceId()
|