/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/ |
D | SetupWizardUtils.java | 31 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in getTheme() local 32 if (theme == null) { in getTheme() 33 theme = SystemProperties.get(SYSTEM_PROP_SETUPWIZARD_THEME); in getTheme() 35 if (theme != null) { in getTheme() 36 switch (theme) { in getTheme()
|
D | EncryptionInterstitial.java | 61 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 63 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | SettingsShadowResources.java | 84 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor() argument 88 return directlyOn(realResources, Resources.class).getColor(id, theme); in getColor() 92 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList() argument 97 return directlyOn(realResources, Resources.class).getColorStateList(id, theme); in getColorStateList() 101 public Drawable loadDrawable(TypedValue value, int id, Theme theme) in loadDrawable() argument 117 return super.loadDrawable(value, id, theme); in loadDrawable()
|
/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/Launcher3/src/com/android/launcher3/graphics/ |
D | ShadowDrawable.java | 157 Resources.Theme theme) throws XmlPullParserException, IOException { in inflate() argument 158 super.inflate(r, parser, attrs, theme); in inflate() 160 final TypedArray a = theme == null in inflate() 162 : theme.obtainStyledAttributes(attrs, R.styleable.ShadowDrawable, 0, 0); in inflate()
|
D | FixedScaleDrawable.java | 43 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) { } in inflate() argument
|
/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/Settings/tests/robotests/src/com/android/settings/ |
D | SetupWizardUtilsTest.java | 51 final String theme = "TEST_THEME"; in testCopySetupExtras() local 52 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in testCopySetupExtras() 57 assertThat(theme).isEqualTo(toIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME)); in testCopySetupExtras()
|
/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/display/ |
D | ThemePreferenceController.java | 93 String theme = getCurrentTheme(); in updateState() local 97 if (TextUtils.equals(pkgs[i], theme)) { in updateState() 108 pref.setValue(theme); in updateState()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 311 String theme = inIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME); in copyInternalExtras() local 312 if (theme != null) { in copyInternalExtras() 313 outIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in copyInternalExtras()
|
D | SetupChooseLockGeneric.java | 63 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 65 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | ChooseLockPattern.java | 86 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 88 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
D | ChooseLockPassword.java | 95 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 97 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | FullscreenDialogFragment.java | 81 public FullscreenDialog(Context context, int theme) { in FullscreenDialog() argument 82 super(context, theme); in FullscreenDialog()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintEnrollBase.java | 62 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 64 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 109 int theme, in DatePickerDialog() argument 115 super(context, theme); in DatePickerDialog()
|
/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()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactionInterstitial.java | 59 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 61 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|
/packages/apps/Settings/tests/robotests/src/android/net/ |
D | NetworkBadging.java | 46 int signalLevel, @NetworkBadging.Badging int badging, @Nullable Resources.Theme theme) { in getWifiIcon() argument
|
/packages/apps/Dialer/ |
D | Android.mk | 99 $(BASE_DIR)/dialer/theme/res \ 160 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \ 242 --extra-packages com.android.dialer.theme \
|