Searched refs:isLightTheme (Results 1 - 9 of 9) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
H A DWizardManagerHelperTest.java123 if (!WizardManagerHelper.isLightTheme(intent, false)) {
126 if (!WizardManagerHelper.isLightTheme(theme, false)) {
150 if (WizardManagerHelper.isLightTheme(intent, true)) {
153 if (WizardManagerHelper.isLightTheme(theme, true)) {
167 assertTrue("isLightTheme should return default value true",
168 WizardManagerHelper.isLightTheme(intent, true));
169 assertFalse("isLightTheme should return default value false",
170 WizardManagerHelper.isLightTheme(intent, false));
176 assertTrue("isLightTheme should return default value true",
177 WizardManagerHelper.isLightTheme(inten
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java46 int theme = MediaRouteChooserDialog.isLightTheme(getContext())
H A DMediaRouteDialogPresenter.java74 int theme = MediaRouteChooserDialog.isLightTheme(context)
H A DMediaRouteChooserDialog.java134 isLightTheme(getContext()) ? R.drawable.ic_media_route_off_holo_light
181 static boolean isLightTheme(Context context) { method in class:MediaRouteChooserDialog
183 return context.getTheme().resolveAttribute(R.attr.isLightTheme, value, true)
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DMediaRouterThemeHelper.java170 private static boolean isLightTheme(Context context) { method in class:MediaRouterThemeHelper
172 // TODO(sungsoo): Switch to com.android.internal.R.attr.isLightTheme
173 return context.getTheme().resolveAttribute(android.support.v7.appcompat.R.attr.isLightTheme,
197 if (isLightTheme(context)) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DWizardManagerHelper.java241 public static boolean isLightTheme(Intent intent, boolean def) { method in class:WizardManagerHelper
243 return isLightTheme(theme, def);
254 public static boolean isLightTheme(String theme, boolean def) { method in class:WizardManagerHelper
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DMediaRouterThemeHelper.java169 private static boolean isLightTheme(Context context) { method in class:MediaRouterThemeHelper
171 return context.getTheme().resolveAttribute(androidx.appcompat.R.attr.isLightTheme,
195 if (isLightTheme(context)) {
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java1771 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme});
1772 boolean isLightTheme = a.getBoolean(0, true);
1774 = isLightTheme ? R.style.Theme_DeviceDefault_Light : R.style.Theme_DeviceDefault;
/frameworks/base/core/java/android/widget/
H A DEditor.java3568 new int[]{com.android.internal.R.attr.isLightTheme});
3569 boolean isLightTheme = a.getBoolean(0, true);
3570 int themeId = isLightTheme ? R.style.ThemeOverlay_Material_Light

Completed in 259 milliseconds