Home
last modified time | relevance | path

Searched refs:theme (Results 1 – 25 of 182) sorted by relevance

12345678

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/
DThemePresetsItem.kt55 systemPackages = getSystemRroPackages(theme = "pink"), in rroThemePresetsDropDownItem()
56 userPackages = getUserRroPackages(theme = "pink") in rroThemePresetsDropDownItem()
59 systemPackages = getSystemRroPackages(theme = "orange"), in rroThemePresetsDropDownItem()
60 userPackages = getUserRroPackages(theme = "orange") in rroThemePresetsDropDownItem()
65 .forEach { (title, theme) -> in rroThemePresetsDropDownItem() method
69 isActive = theme.isActive(overlayManager), in rroThemePresetsDropDownItem()
72 themeToEnable = theme, in rroThemePresetsDropDownItem()
103 private fun getSystemRroPackages(theme: String): List<String> = listOf(
104 "com.android.systemui.googlecarui.theme.$theme.rro",
105 "android.googlecarui.theme.$theme.rro"
[all …]
DThemePresetsReducer.kt48 action.themesToDisable.forEach { theme -> in <lambda>() method
49 toggleRROs(theme.systemPackages, enable = false, UserHandle.SYSTEM) in <lambda>()
50 toggleRROs(theme.userPackages, enable = false, UserHandle.CURRENT) in <lambda>()
/packages/services/Car/car_product/app_overlays/car-ui-customizations/
DAndroid.bp155 "car-resource-theme-orange-common",
160 name: "googlecarui.theme.orange.theme.orange-com-android-car-ui-paintbooth",
162 package_name: "com.android.car.ui.paintbooth.googlecarui.theme.orange.rro",
167 name: "googlecarui.theme.orange-com-android-car-rotaryplayground",
169 package_name: "com.android.car.rotaryplayground.googlecarui.theme.orange.rro",
174 name: "googlecarui.theme.orange-com-android-car-themeplayground",
176 package_name: "com.android.car.themeplayground.googlecarui.theme.orange.rro",
181 name: "googlecarui.theme.orange-com-android-car-carlauncher",
183 package_name: "com.android.car.carlauncher.googlecarui.theme.orange.rro",
188 name: "googlecarui.theme.orange-com-android-car-home",
[all …]
/packages/services/Car/car_product/rro/ThemeSamples/ThemePink/
Dproduct.mk19 googlecarui.theme.pink-com-android-car-ui-paintbooth \
20 googlecarui.theme.pink-com-android-car-rotaryplayground \
21 googlecarui.theme.pink-com-android-car-themeplayground \
22 googlecarui.theme.pink-com-android-car-carlauncher \
23 googlecarui.theme.pink-com-android-car-home \
24 googlecarui.theme.pink-com-android-car-media \
25 googlecarui.theme.pink-com.android.car.notification \
26 googlecarui.theme.pink-com-android-car-radio \
27 googlecarui.theme.pink-com-android-car-calendar \
28 googlecarui.theme.pink-com-android-car-messenger \
[all …]
/packages/services/Car/car_product/rro/ThemeSamples/ThemeOrange/
Dproduct.mk19 googlecarui.theme.orange-com-android-car-ui-paintbooth \
20 googlecarui.theme.orange-com-android-car-rotaryplayground \
21 googlecarui.theme.orange-com-android-car-themeplayground \
22 googlecarui.theme.orange-com-android-car-carlauncher \
23 googlecarui.theme.orange-com-android-car-home \
24 googlecarui.theme.orange-com-android-car-media \
25 googlecarui.theme.orange-com.android.car.notification \
26 googlecarui.theme.orange-com-android-car-radio \
27 googlecarui.theme.orange-com-android-car-calendar \
28 googlecarui.theme.orange-com-android-car-messenger \
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java106 for (final KeyboardTheme theme : availableThemeIds) { in searchKeyboardThemeById()
107 if (theme.mThemeId == themeId) { in searchKeyboardThemeById()
108 return theme; in searchKeyboardThemeById()
122 final KeyboardTheme theme = searchKeyboardThemeById(themeId, in getDefaultKeyboardTheme() local
124 if (theme != null) { in getDefaultKeyboardTheme()
125 return theme; in getDefaultKeyboardTheme()
137 for (final KeyboardTheme theme : availableThemeArray) { in getDefaultKeyboardTheme()
138 if (sdkVersion >= theme.mMinApiVersion) { in getDefaultKeyboardTheme()
139 return theme; in getDefaultKeyboardTheme()
146 final KeyboardTheme theme = searchKeyboardThemeById(themeId, KEYBOARD_THEMES); in getKeyboardThemeName() local
[all …]
/packages/services/Car/tools/telemetry/lua-interpreter/static/css/
Dindex.css2 --mdc-theme-background: #202124;
3 --mdc-theme-error: #f28b82;
4 --mdc-theme-on-error: black;
5 --mdc-theme-on-primary: #202124;
6 --mdc-theme-on-secondary: #d2e3fc;
7 --mdc-theme-on-surface: #e8eaed;
8 --mdc-theme-primary: #8ab4f8;
9 --mdc-theme-secondary: #8ab4f83d;
10 --mdc-theme-surface: #202124;
41 border: 1px solid var(--mdc-theme-on-surface);
[all …]
/packages/services/Car/car_product/rro/ThemeSamples/AppsCommon/
DAndroid.bp25 "car-resource-theme-orange-common",
30 name: "googlecarui.theme.orange-com-android-systemui",
32 package_name: "com.android.systemui.googlecarui.theme.orange.rro",
38 name: "googlecarui.theme.orange-com.android.car.notification",
40 package_name: "com.android.car.notification.googlecarui.theme.orange.rro",
51 "car-resource-theme-pink-common",
56 name: "googlecarui.theme.pink-com-android-systemui",
58 package_name: "com.android.systemui.googlecarui.theme.pink.rro",
64 name: "googlecarui.theme.pink-com.android.car.notification",
66 package_name: "com.android.car.notification.googlecarui.theme.pink.rro",
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSetupWizardUtilsTest.java60 final String theme = "TEST_THEME"; in testCopySetupExtras() local
61 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in testCopySetupExtras()
66 assertThat(theme).isEqualTo(toIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME)); in testCopySetupExtras()
76 final String theme = "TEST_THEME"; in testCopyLifecycleExtra() local
77 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in testCopyLifecycleExtra()
92 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF); in testGetTheme_withIntentExtra_shouldReturnTheme()
102 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_withEmptyIntent_shouldReturnSystemProperty()
115 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_whenSuwDayNightEnabledAndWithIntentExtra_shouldReturnDayNightTheme()
125 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V3_LIGHT); in testGetTheme_glifV3Light_shouldReturnLightTheme()
136 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V3); in testGetTheme_glifV3_shouldReturnTheme()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java36 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in getThemeString() local
37 if (theme == null) { in getThemeString()
38 theme = SetupWizardProperties.theme().orElse(""); in getThemeString()
40 return theme; in getThemeString()
44 String theme = getThemeString(intent); in getTheme() local
47 if (theme != null) { in getTheme()
50 switch (theme) { in getTheme()
65 switch (theme) { in getTheme()
85 switch (theme) { in getTheme()
/packages/apps/Contacts/src/com/android/contacts/util/
DThemeUtils.java29 public static int getAttribute(Theme theme, int attrId) { in getAttribute() argument
31 theme.resolveAttribute(attrId, outValue, true); in getAttribute()
38 public static int getSelectableItemBackground(Theme theme) { in getSelectableItemBackground() argument
39 return getAttribute(theme, android.R.attr.selectableItemBackground); in getSelectableItemBackground()
45 public static int getActivatedBackground(Theme theme) { in getActivatedBackground() argument
46 return getAttribute(theme, android.R.attr.activatedBackgroundIndicator); in getActivatedBackground()
/packages/apps/Dialer/java/com/android/dialer/theme/
DREADME.md4 inherit from the styles outlined in theme/base. If an Activity doesn\'t specify
5 a style for it's theme, it automatically inherits one from the Application. And
8 ## theme/base
47 example, Dialer.ThemeBase.NoActionBar.Dark is used for a dark mode theme. If
48 you create a custom theme for an activity, be sure your customization will
49 work for all themes. See dialer/dialpadview/theme for an example.
51 ## theme/common
56 * Colors that can't be theme'd (there aren't many of those, so you probably
63 ## theme/private
65 This package is only visible to theme/base. Things you should never do:
[all …]
/packages/services/Car/car_product/rro/overlay-visual/androidRRO/
DAndroid.bp36 "car-resource-theme-orange-common",
41 name: "googlecarui.theme.orange-android",
43 package_name: "android.googlecarui.theme.orange.rro",
54 "car-resource-theme-pink-common",
59 name: "googlecarui.theme.pink-android",
61 package_name: "android.googlecarui.theme.pink.rro",
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DThemeHelper.java152 String theme = getProvidedTheme(intent); in getDefaultThemeName() local
153 if (TextUtils.isEmpty(theme)) { in getDefaultThemeName()
155 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4; in getDefaultThemeName()
157 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4_LIGHT; in getDefaultThemeName()
160 return theme; in getDefaultThemeName()
164 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in getProvidedTheme() local
165 if (TextUtils.isEmpty(theme)) { in getProvidedTheme()
168 return theme; in getProvidedTheme()
DSetupGlifLayoutActivity.java57 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument
58 theme.applyStyle(R.style.SetupWizardPartnerResource, true); in onApplyThemeResource()
59 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java30 import com.android.dialer.theme.base.Theme;
31 import com.android.dialer.theme.base.ThemeComponent;
308 Theme theme = ThemeComponent.get(context).theme(); in Resources() local
312 voicemail.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
317 blocked.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
322 videoCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
327 hdCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
332 wifiCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
337 assistedDialedCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
342 rttCall.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DGripBarView.java94 public void refresh(Resources.Theme theme) { in refresh() argument
95 Drawable background = getResources().getDrawable(R.drawable.grip_bar_background, theme); in refresh()
98 int displayCompatToolbarBackground = getResources().getColor(R.color.car_background, theme); in refresh()
105 Drawable roundBackground = getResources().getDrawable(R.drawable.ic_round_bg, theme); in refresh()
109 Drawable backArrowIcon = getResources().getDrawable(R.drawable.ic_arrow_back_32, theme); in refresh()
112 Drawable fullscreenIcon = getResources().getDrawable(R.drawable.ic_fullscreen_32, theme); in refresh()
/packages/services/Car/car_product/rro/CarResourceCommon/
DAndroid.bp48 ///////////////////////////////////////////// Experimental theme resources libraries /////////////
50 name: "car-resource-theme-pink-common",
60 "car-resource-theme-pink-color",
65 name: "car-resource-theme-orange-common",
75 "car-resource-theme-orange-color",
/packages/services/Car/car_product/rro/ThemeSamples/
DREADME6 adb shell cmd overlay enable --user 0 com.android.systemui.googlecarui.theme.pink.rro \
7 && adb shell cmd overlay enable --user 0 android.googlecarui.theme.pink.rro \
10 adb shell cmd overlay enable --user 10 com.android.car.carlauncher.googlecarui.theme.orange.rro \
11 && adb shell cmd overlay enable --user 10 com.android.car.settings.googlecarui.theme.orange.rro
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DParticleCollection.java80 final Resources.Theme theme = context.getTheme(); in ParticleCollection() local
82 colors.add(resources.getColor(R.color.face_anim_particle_color_1, theme)); in ParticleCollection()
83 colors.add(resources.getColor(R.color.face_anim_particle_color_2, theme)); in ParticleCollection()
84 colors.add(resources.getColor(R.color.face_anim_particle_color_3, theme)); in ParticleCollection()
85 colors.add(resources.getColor(R.color.face_anim_particle_color_4, theme)); in ParticleCollection()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSystemColors.kt34 val theme = context.theme in getColor() constant
35 if (theme.resolveAttribute(resId, colorValue, /* resolveRefs= */ true)) { in getColor()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/
DThemeUiTestBase.java81 final Resources.Theme theme = context.getResources().newTheme(); in getThemeByUiMode() local
82 theme.applyStyle(R.style.DocumentsTheme, true); in getThemeByUiMode()
83 theme.applyStyle(R.style.DocumentsDefaultTheme, false); in getThemeByUiMode()
84 return theme; in getThemeByUiMode()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppBaseActivity.java51 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument
52 theme.applyStyle(R.style.SetupWizardPartnerResource, true); in onApplyThemeResource()
53 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
/packages/apps/Dialer/java/com/android/incallui/
DInCallUIMaterialColorMapUtils.java24 import com.android.dialer.theme.base.ThemeComponent;
46 final int primaryColor = ThemeComponent.get(context).theme().getColorPrimary(); in getDefaultPrimaryAndSecondaryColors()
47 final int secondaryColor = ThemeComponent.get(context).theme().getColorPrimaryDark(); in getDefaultPrimaryAndSecondaryColors()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabStrip.java27 import com.android.dialer.theme.base.ThemeComponent;
46 int underlineColor = ThemeComponent.get(context).theme().getColorAccent(); in ViewPagerTabStrip()
47 int backgroundColor = ThemeComponent.get(context).theme().getColorPrimary(); in ViewPagerTabStrip()

12345678