Home
last modified time | relevance | path

Searched refs:isLightTheme (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java123 if (!WizardManagerHelper.isLightTheme(intent, false)) { in isLightTheme_shouldReturnTrue_whenThemeIsLight()
126 if (!WizardManagerHelper.isLightTheme(theme, false)) { in isLightTheme_shouldReturnTrue_whenThemeIsLight()
150 if (WizardManagerHelper.isLightTheme(intent, true)) { in isLightTheme_shouldReturnFalse_whenThemeIsNotLight()
153 if (WizardManagerHelper.isLightTheme(theme, true)) { in isLightTheme_shouldReturnFalse_whenThemeIsNotLight()
168 WizardManagerHelper.isLightTheme(intent, true)); in testIsLightThemeDefault()
170 WizardManagerHelper.isLightTheme(intent, false)); in testIsLightThemeDefault()
177 WizardManagerHelper.isLightTheme(intent, true)); in testIsLightThemeUnspecified()
179 WizardManagerHelper.isLightTheme(intent, false)); in testIsLightThemeUnspecified()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java241 public static boolean isLightTheme(Intent intent, boolean def) { in isLightTheme() method in WizardManagerHelper
243 return isLightTheme(theme, def); in isLightTheme()
254 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme() method in WizardManagerHelper
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouterThemeHelper.java169 private static boolean isLightTheme(Context context) { in isLightTheme() method in MediaRouterThemeHelper
171 return context.getTheme().resolveAttribute(androidx.appcompat.R.attr.isLightTheme, in isLightTheme()
195 if (isLightTheme(context)) { in getRouterThemeId()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouterThemeHelper.java170 private static boolean isLightTheme(Context context) { in isLightTheme() method in MediaRouterThemeHelper
173 return context.getTheme().resolveAttribute(android.support.v7.appcompat.R.attr.isLightTheme, in isLightTheme()
197 if (isLightTheme(context)) { in getRouterThemeId()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialog.java134 isLightTheme(getContext()) ? R.drawable.ic_media_route_off_holo_light in onCreate()
181 static boolean isLightTheme(Context context) { in isLightTheme() method in MediaRouteChooserDialog
183 return context.getTheme().resolveAttribute(R.attr.isLightTheme, value, true) in isLightTheme()
DMediaRouteChooserDialogFragment.java46 int theme = MediaRouteChooserDialog.isLightTheme(getContext()) in MediaRouteChooserDialogFragment()
DMediaRouteDialogPresenter.java74 int theme = MediaRouteChooserDialog.isLightTheme(context) in createDialog()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1771 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme}); in applyDefaultTheme()
1772 boolean isLightTheme = a.getBoolean(0, true); in applyDefaultTheme()
1774 = isLightTheme ? R.style.Theme_DeviceDefault_Light : R.style.Theme_DeviceDefault; in applyDefaultTheme()
/frameworks/base/core/java/android/widget/
DEditor.java3568 new int[]{com.android.internal.R.attr.isLightTheme}); in applyDefaultTheme()
3569 boolean isLightTheme = a.getBoolean(0, true); in applyDefaultTheme()
3570 int themeId = isLightTheme ? R.style.ThemeOverlay_Material_Light in applyDefaultTheme()
/frameworks/support/api/
D22.2.0.txt5523 field public static int isLightTheme;
D22.2.1.txt5570 field public static int isLightTheme;
D23.0.0.txt6350 field public static int isLightTheme;
D23.1.1.txt6626 field public static int isLightTheme;
D23.2.1.txt7060 field public static int isLightTheme;
D23.2.0.txt7059 field public static int isLightTheme;
D23.4.0.txt7074 field public static int isLightTheme;
D23.1.0.txt6656 field public static int isLightTheme;
D24.0.0.txt7687 field public static int isLightTheme;
D24.1.0.txt7689 field public static int isLightTheme;