Home
last modified time | relevance | path

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

12

/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/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/Settings/src/com/android/settings/
DSetupWizardUtils.java31 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()
DEncryptionInterstitial.java61 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/
DSettingsShadowResources.java84 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/
DKeyboardThemeTests.java201 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/
DShadowDrawable.java157 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()
DFixedScaleDrawable.java43 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/
DMediaAppInfo.java39 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/
DSetupWizardUtilsTest.java51 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/
DMediaAppInfo.java90 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/
DThemePreferenceController.java93 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/
DChooseLockSettingsHelper.java311 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()
DSetupChooseLockGeneric.java63 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource() argument
65 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
DChooseLockPattern.java86 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() argument
88 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
DChooseLockPassword.java95 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/
DFullscreenDialogFragment.java81 public FullscreenDialog(Context context, int theme) { in FullscreenDialog() argument
82 super(context, theme); in FullscreenDialog()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollBase.java62 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/
DDatePickerDialog.java109 int theme, in DatePickerDialog() argument
115 super(context, theme); in DatePickerDialog()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DWearableDialogHelper.java60 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/
DMediaManager.java452 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/
DUtils.java114 Theme theme = context.getTheme(); in applyTint() local
116 theme.resolveAttribute(attr, typedValue, true); in applyTint()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionInterstitial.java59 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/
DNetworkBadging.java46 int signalLevel, @NetworkBadging.Badging int badging, @Nullable Resources.Theme theme) { in getWifiIcon() argument
/packages/apps/Dialer/
DAndroid.mk99 $(BASE_DIR)/dialer/theme/res \
160 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \
242 --extra-packages com.android.dialer.theme \

12