/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ThemeUtils.java | 23 * Provides static functions to more easily resolve attributes of the current theme 27 * Resolves the given attribute id of the theme to a resource id 29 public static int getAttribute(Theme theme, int attrId) { argument 31 theme.resolveAttribute(attrId, outValue, true); 38 public static int getSelectableItemBackground(Theme theme) { argument 39 return getAttribute(theme, android.R.attr.selectableItemBackground); 45 public static int getActivatedBackground(Theme theme) { argument 46 return getAttribute(theme, android.R.attr.activatedBackgroundIndicator);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | SetupWizardUtils.java | 28 static final String SYSTEM_PROP_SETUPWIZARD_THEME = "setupwizard.theme"; 31 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); 32 if (theme == null) { 33 theme = SystemProperties.get(SYSTEM_PROP_SETUPWIZARD_THEME); 35 if (theme != null) { 36 switch (theme) {
|
H A D | EncryptionInterstitial.java | 61 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 63 super.onApplyThemeResource(theme, resid, first);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardTheme.java | 54 // Default theme for ICS, JB, and KLP. 57 // Default theme for LXX. 60 // This has never been selected as default theme. 106 for (final KeyboardTheme theme : availableThemeIds) { 107 if (theme.mThemeId == themeId) { 108 return theme; 122 final KeyboardTheme theme = searchKeyboardThemeById(themeId, 124 if (theme != null) { 125 return theme; 127 Log.w(TAG, "Unknown keyboard theme i [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | MediaAppInfo.java | 39 fetchAppColors(packageName, appInfo.theme, context); 54 Resources.Theme theme = packageContext.getTheme(); 55 ta = theme.obtainStyledAttributes(new int[]{ android.R.attr.colorAccent });
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | SetupWizardUtilsTest.java | 51 final String theme = "TEST_THEME"; 52 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); 57 assertThat(theme).isEqualTo(toIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME));
|
/packages/apps/Settings/tests/robotests/src/android/net/ |
H A D | NetworkBadging.java | 46 int signalLevel, @NetworkBadging.Badging int badging, @Nullable Resources.Theme theme) { 45 getWifiIcon( int signalLevel, @NetworkBadging.Badging int badging, @Nullable Resources.Theme theme) argument
|
/packages/apps/TV/src/com/android/tv/dialog/ |
H A D | FullscreenDialogFragment.java | 81 public FullscreenDialog(Context context, int theme) { argument 82 super(context, theme);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | SettingsShadowResources.java | 84 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { argument 88 return directlyOn(realResources, Resources.class).getColor(id, theme); 92 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) argument 97 return directlyOn(realResources, Resources.class).getColorStateList(id, theme); 101 public Drawable loadDrawable(TypedValue value, int id, Theme theme) argument 117 return super.loadDrawable(value, id, theme);
|
/packages/apps/Car/Stream/src/com/android/car/stream/media/ |
H A D | MediaAppInfo.java | 36 /** Third-party defined application theme to use **/ 38 = "com.google.android.gms.car.application.theme"; 90 appTheme = appInfo.theme; 142 Resources.Theme theme = packageContext.getTheme(); 143 ta = theme.obtainStyledAttributes(new int[]{
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
H A D | FixedScaleDrawable.java | 43 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) { } argument
|
H A D | ShadowDrawable.java | 135 // Do not draw shadow on dark theme 157 Resources.Theme theme) throws XmlPullParserException, IOException { 158 super.inflate(r, parser, attrs, theme); 160 final TypedArray a = theme == null 162 : theme.obtainStyledAttributes(attrs, R.styleable.ShadowDrawable, 0, 0); 156 inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Resources.Theme theme) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardThemeTests.java | 67 // Set valid theme id to preference. 77 // Simulate illegal format theme id in preference. 88 * Test keyboard theme preference on the same platform version and the same keyboard version. 138 * Test default keyboard theme based on the platform version. 178 // Forced to switch to LXX theme. 191 * Test keyboard theme preference while upgrading the keyboard that doesn't support LXX theme 192 * to the keyboard that supports LXX theme. 198 // Clean up new keyboard theme preference to simulate "upgrade to LXX keyboard". 201 final KeyboardTheme theme [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | DatePickerDialog.java | 93 // Don't pass a theme id. Instead use the default alert dialog theme. 100 * @param theme the theme to apply to this dialog 109 int theme, 115 super(context, theme); 108 DatePickerDialog(Context context, int theme, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth, boolean yearOptional) argument
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
H A D | WearableDialogHelper.java | 58 * @param theme the Theme used to properly obtain Drawables from resource IDs. 60 public WearableDialogHelper(@NonNull Resources resources, @NonNull Resources.Theme theme) { argument 62 mTheme = theme;
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintEnrollBase.java | 62 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 64 super.onApplyThemeResource(theme, resid, first);
|
/packages/apps/Settings/src/com/android/settings/display/ |
H A D | ThemePreferenceController.java | 46 private static final String KEY_THEME = "theme"; 93 String theme = getCurrentTheme(); 97 if (TextUtils.equals(pkgs[i], theme)) { 108 pref.setValue(theme);
|
/packages/apps/Settings/src/com/android/settings/password/ |
H A D | ChooseLockSettingsHelper.java | 113 * get a dark theme, allow fingerprint authentication and it will forward 134 * get a dark theme, allow fingerprint authentication and it will forward 189 * get a dark theme, allow fingerprint authentication and it will forward 311 String theme = inIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME); 312 if (theme != null) { 313 outIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme);
|
H A D | SetupChooseLockGeneric.java | 44 * only overload base methods for minor theme and behavior differences specific to Setup Wizard. 63 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 65 super.onApplyThemeResource(theme, resid, first);
|
H A D | ChooseLockPattern.java | 86 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { argument 88 super.onApplyThemeResource(theme, resid, first);
|
H A D | ChooseLockPassword.java | 95 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { argument 97 super.onApplyThemeResource(theme, resid, first);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
H A D | Utils.java | 114 Theme theme = context.getTheme(); 116 theme.resolveAttribute(attr, typedValue, true);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | RedactionInterstitial.java | 59 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 61 super.onApplyThemeResource(theme, resid, first);
|
/packages/apps/Car/Media/src/com/android/car/media/ |
H A D | MediaManager.java | 53 /** Third-party defined application theme to use **/ 54 private static final String THEME_META_DATA_NAME = "com.google.android.gms.car.application.theme"; 443 // Get the proper theme, check theme for service, then application. 452 appTheme = applicationInfo.theme; 457 Resources.Theme theme = packageContext.getTheme(); 458 ta = theme.obtainStyledAttributes(new int[] {
|
/packages/apps/Dialer/ |
H A D | Android.mk | 99 $(BASE_DIR)/dialer/theme/res \ 160 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \ 242 --extra-packages com.android.dialer.theme \
|