/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardTheme.java | 106 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/apps/Contacts/src/com/android/contacts/util/ |
D | ThemeUtils.java | 29 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/Settings/src/com/android/settings/display/ |
D | ThemePreferenceController.java | 92 String theme = getCurrentTheme(); in updateState() local 93 if (TextUtils.isEmpty(theme)) { in updateState() 94 theme = mContext.getString(R.string.default_theme); in updateState() 95 pref.setSummary(theme); in updateState() 97 pref.setSummary(theme); in updateState() 98 pref.setValue(theme); in updateState()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | KeyboardThemeTests.java | 201 final KeyboardTheme theme = KeyboardTheme.getKeyboardTheme( in assertUpgradeKeyboardToLxxOn() local 204 assertNotNull(theme); in assertUpgradeKeyboardToLxxOn() 205 assertEquals(expectedThemeId, theme.mThemeId); in assertUpgradeKeyboardToLxxOn() 359 final KeyboardTheme theme = array[index]; in assertSortedKeyboardThemeArray() local 362 + theme.mThemeName + ": minApiVersion=" + theme.mMinApiVersion, in assertSortedKeyboardThemeArray() 363 theme.mMinApiVersion >= nextTheme.mMinApiVersion); in assertSortedKeyboardThemeArray()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 123 int theme, in DatePickerDialog() argument 128 this(context, theme, callBack, year, monthOfYear, dayOfMonth, false); in DatePickerDialog() 142 int theme, in DatePickerDialog() argument 148 super(context, theme); in DatePickerDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SetupWizardUtilsTest.java | 38 final String theme = "TEST_THEME"; in testCopySetupExtras() local 39 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in testCopySetupExtras() 44 assertThat(theme).isEqualTo(toIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME)); in testCopySetupExtras()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | SettingsShadowResources.java | 83 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor() argument 87 return directlyOn(realResources, Resources.class).getColor(id, theme); in getColor() 91 public Drawable loadDrawable(TypedValue value, int id, Theme theme) in loadDrawable() argument 107 return super.loadDrawable(value, id, theme); in loadDrawable()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | MediaAppInfo.java | 39 fetchAppColors(packageName, appInfo.theme, context); in MediaAppInfo() 54 Resources.Theme theme = packageContext.getTheme(); in fetchAppColors() local 55 ta = theme.obtainStyledAttributes(new int[]{ android.R.attr.colorAccent }); in fetchAppColors()
|
/packages/apps/Car/Stream/src/com/android/car/stream/media/ |
D | MediaAppInfo.java | 90 appTheme = appInfo.theme; in MediaAppInfo() 142 Resources.Theme theme = packageContext.getTheme(); in fetchAppColors() local 143 ta = theme.obtainStyledAttributes(new int[]{ in fetchAppColors()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | SetupFingerprintEnrollEnrolling.java | 35 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 37 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupFingerprintEnrollFindSensor.java | 47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 49 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupFingerprintEnrollFinish.java | 44 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 46 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupFingerprintEnrollIntroduction.java | 49 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 51 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Themes.java | 34 public static int getColorPrimary(Context context, int theme) { in getColorPrimary() argument 35 return getAttrColor(new ContextThemeWrapper(context, theme), android.R.attr.colorPrimary); in getColorPrimary()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SetupRedactionInterstitial.java | 64 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 66 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupEncryptionInterstitial.java | 58 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 60 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupChooseLockPattern.java | 67 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 69 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupChooseLockPassword.java | 81 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 83 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | SetupChooseLockGeneric.java | 61 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 63 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/util/ |
D | RoboCompatUtil.java | 86 public Drawable getWifiIcon(int signalLevel, int badging, Theme theme) { in getWifiIcon() argument 87 return NetworkBadging.getWifiIcon(signalLevel, badging, theme); in getWifiIcon()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | SafeDismissDialogFragment.java | 97 public TvDialog(Context context, int theme) { in TvDialog() argument 98 super(context, theme); in TvDialog()
|
D | FullscreenDialogFragment.java | 81 public FullscreenDialog(Context context, int theme) { in FullscreenDialog() argument 82 super(context, theme); in FullscreenDialog()
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
D | WearableDialogHelper.java | 60 public WearableDialogHelper(@NonNull Resources resources, @NonNull Resources.Theme theme) { in WearableDialogHelper() argument 62 mTheme = theme; in WearableDialogHelper()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaManager.java | 452 appTheme = applicationInfo.theme; in updateClientPackageAttributes() 457 Resources.Theme theme = packageContext.getTheme(); in updateClientPackageAttributes() local 458 ta = theme.obtainStyledAttributes(new int[] { in updateClientPackageAttributes()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 114 Theme theme = context.getTheme(); in applyTint() local 116 theme.resolveAttribute(attr, typedValue, true); in applyTint()
|