Home
last modified time | relevance | path

Searched defs:theme (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/util/
DThemeUtils.java29 public static int getAttribute(Theme theme, int attrId) { in getAttribute()
38 public static int getSelectableItemBackground(Theme theme) { in getSelectableItemBackground()
45 public static int getActivatedBackground(Theme theme) { in getActivatedBackground()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java81 public void apply(ThemeBundle theme, Callback callback) { in apply()
85 private void applyOverlays(ThemeBundle theme, Callback callback) { in applyOverlays()
100 private void storeCustomTheme(CustomTheme theme) { in storeCustomTheme()
124 public void removeCustomTheme(CustomTheme theme) { in removeCustomTheme()
DThemeBundleProvider.java42 void storeCustomTheme(CustomTheme theme); in storeCustomTheme()
44 void removeCustomTheme(CustomTheme theme); in removeCustomTheme()
DDefaultThemeProvider.java258 public void storeCustomTheme(CustomTheme theme) { in storeCustomTheme()
268 private void addCustomThemeAndStore(CustomTheme theme) { in addCustomThemeAndStore()
296 public void removeCustomTheme(CustomTheme theme) { in removeCustomTheme()
354 JSONObject theme = new JSONObject(serializedTheme); in parseThemeBundle() local
368 JSONObject theme = new JSONObject(serializedTheme); in parseCustomTheme() local
379 private void convertJsonToBuilder(JSONObject theme, ThemeBundle.Builder builder) in convertJsonToBuilder()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/theme/
DThemeManagerTest.java113 ThemeBundle theme = getOverlayTheme(); in apply_WithOverlayTheme_StoresSerializedPackagesWithTimestamp() local
167 CustomTheme theme = mock(CustomTheme.class); in findThemeByPackages_ThemeBundleProviderFindsEquivalent() local
184 ThemeBundle theme = getOverlayTheme(); in getStoredOverlays_GetsFromSettingsSecureWithExpectedName() local
211 private void applyTheme(ThemeBundle theme) { in applyTheme()
/packages/apps/ThemePicker/tests/src/com/android/customization/testing/
DTestThemesUserEventLogger.java15 public void logThemeSelected(ThemeBundle theme, boolean isCustomTheme) { in logThemeSelected()
20 public void logThemeApplied(ThemeBundle theme, boolean isCustomTheme) { in logThemeApplied()
/packages/apps/ThemePicker/src/com/android/customization/module/
DThemesUserEventLogger.java28 void logThemeSelected(ThemeBundle theme, boolean isCustomTheme); in logThemeSelected()
30 void logThemeApplied(ThemeBundle theme, boolean isCustomTheme); in logThemeApplied()
DStatsLogUserEventLogger.java128 private String getThemePackage(ThemeBundle theme, String category) { in getThemePackage()
134 public void logThemeSelected(ThemeBundle theme, boolean isCustomTheme) { in logThemeSelected()
143 public void logThemeApplied(ThemeBundle theme, boolean isCustomTheme) { in logThemeApplied()
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java36 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in getThemeString() local
44 String theme = getThemeString(intent); in getTheme() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java122 final KeyboardTheme theme = searchKeyboardThemeById(themeId, in getDefaultKeyboardTheme() local
146 final KeyboardTheme theme = searchKeyboardThemeById(themeId, KEYBOARD_THEMES); in getKeyboardThemeName() local
182 final KeyboardTheme theme = searchKeyboardThemeById(id, KEYBOARD_THEMES); in getAvailableThemeArray() local
203 final KeyboardTheme theme = searchKeyboardThemeById(themeId, availableThemeArray); in getKeyboardTheme() local
/packages/apps/Dialer/java/com/android/dialer/theme/base/
DThemeComponent.java28 public abstract Theme theme(); in theme() method in ThemeComponent
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppBaseActivity.java47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIconShapeDrawable.java47 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
/packages/apps/Settings/src/com/android/settings/widget/
DTintDrawable.java54 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSetupWizardUtilsTest.java60 final String theme = "TEST_THEME"; in testCopySetupExtras() local
76 final String theme = "TEST_THEME"; in testCopyLifecycleExtra() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DThemeHelper.java155 String theme = getProvidedTheme(intent); in getDefaultThemeName() local
167 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in getProvidedTheme() local
DSetupGlifLayoutActivity.java58 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java134 final Resources.Theme theme = mContext.getTheme(); in startFragment_notAdminUser_shouldRemoveAllPreferences() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/
DThemeUiTestBase.java81 final Resources.Theme theme = context.getResources().newTheme(); in getThemeByUiMode() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java154 final Resources.Theme theme = mContext.getTheme(); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate() local
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceColors.java120 Resources.Theme theme = packageContext.getTheme(); in extractColors() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java221 final KeyboardTheme theme = KeyboardTheme.getKeyboardTheme( in assertUpgradeKeyboardToLxxOn() local
384 final KeyboardTheme theme = array[index]; in assertSortedKeyboardThemeArray() local
/packages/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java93 String theme = getCurrentTheme(); in updateState() local
/packages/apps/TV/src/com/android/tv/dialog/
DFullscreenDialogFragment.java78 public FullscreenDialog(Context context, int theme) { in FullscreenDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogFragment.java119 int theme = tv.resourceId; in onCreateView() local

12