/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
StyleResolver.java | 12 private final Style theme; field in class:StyleResolver 17 Style theme, ResName myResName, ResTable_config config) { 20 this.theme = theme; 47 if (theme != null) { 48 AttributeResource value = theme.getAttrValue(resName); 98 .append(" with ").append(theme); 110 .append(" with ").append(theme); 128 if (!dereferencing && theme != null) { 129 AttributeResource value = theme.getAttrValue(styleRef) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
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, local 124 if (theme != null) { 125 return theme; 127 Log.w(TAG, "Unknown keyboard theme in KLP preference: " + klpThemeIdString) 146 final KeyboardTheme theme = searchKeyboardThemeById(themeId, KEYBOARD_THEMES); local 182 final KeyboardTheme theme = searchKeyboardThemeById(id, KEYBOARD_THEMES); local 203 final KeyboardTheme theme = searchKeyboardThemeById(themeId, availableThemeArray); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ThemeMenuAction.java | 52 ANDROID_STYLE_RESOURCE_PREFIX + "Theme.DeviceDefault.Light"; //$NON-NLS-1$ 54 ANDROID_STYLE_RESOURCE_PREFIX + "Theme.Holo.Light"; //$NON-NLS-1$ 56 ANDROID_STYLE_RESOURCE_PREFIX + "Theme.DeviceDefault"; //$NON-NLS-1$ 58 ANDROID_STYLE_RESOURCE_PREFIX + "Theme.Holo"; //$NON-NLS-1$ 60 ANDROID_STYLE_RESOURCE_PREFIX +"Theme.Light"; //$NON-NLS-1$ 62 ANDROID_STYLE_RESOURCE_PREFIX +"Theme"; //$NON-NLS-1$ 93 // First show the currently selected theme (grayed out since you can't 122 // TODO: Add variations of the current theme here, e.g. 123 // if you're using Theme.Holo, add Theme.Holo.Dialog, Theme.Holo.Panel 188 String theme = attributes.getTheme(); local 224 String theme = mThemeList.get(i); local [all...] |
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/ |
TimePickerModifier.java | 17 package android.theme.app.modifiers;
|
ViewCheckedModifier.java | 17 package android.theme.app.modifiers;
|
SearchViewModifier.java | 17 package android.theme.app.modifiers; 19 import android.theme.app.R;
|
ProgressBarModifier.java | 17 package android.theme.app.modifiers;
|
/frameworks/base/core/java/android/content/res/ |
ConstantState.java | 22 * depending on the current {@link Resources.Theme} or {@link Configuration}. 58 * implemented for resources that can have a theme applied. 60 public T newInstance(Resources res, Resources.Theme theme) {
|
/frameworks/base/core/java/android/widget/ |
ThemedSpinnerAdapter.java | 21 import android.content.res.Resources.Theme; 27 * against a different theme than normal views. 29 * Classes that implement this interface should use the theme provided to 30 * {@link #setDropDownViewTheme(Theme)} when creating views in 35 * Sets the {@link Resources.Theme} against which drop-down views are 38 * @param theme the context against which to inflate drop-down views, or 39 * {@code null} to use the default theme 42 void setDropDownViewTheme(@Nullable Resources.Theme theme); 46 * {@link #setDropDownViewTheme(Theme)} [all...] |
ResourceCursorAdapter.java | 103 * Sets the {@link android.content.res.Resources.Theme} against which drop-down views are 106 * By default, drop-down views are inflated against the theme of the 109 * @param theme the theme against which to inflate drop-down views or 110 * {@code null} to use the theme from the adapter's context 114 public void setDropDownViewTheme(Resources.Theme theme) { 115 super.setDropDownViewTheme(theme); 117 if (theme == null) { 119 } else if (theme == mInflater.getContext().getTheme()) [all...] |
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
PressedButton.java | 17 package com.android.tools.idea.editors.theme.widgets;
|
/frameworks/base/core/java/android/view/ |
ContextThemeWrapper.java | 27 * A context wrapper that allows you to modify or replace the theme of the 32 private Resources.Theme mTheme; 38 * Creates a new context wrapper with no theme and no base context. 49 * Creates a new context wrapper with the specified theme. 51 * The specified theme will be applied on top of the base context's theme. 52 * Any attributes not explicitly defined in the theme identified by 56 * @param themeResId the resource ID of the theme to be applied on top of 57 * the base context's theme 65 * Creates a new context wrapper with the specified theme 193 final Resources.Theme theme = getBaseContext().getTheme(); local [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
ContextThemeWrapper.java | 31 * A context wrapper that allows you to modify or replace the theme of the wrapped context. 35 private Resources.Theme mTheme; 41 * Creates a new context wrapper with no theme and no base context. 52 * Creates a new context wrapper with the specified theme. 54 * The specified theme will be applied on top of the base context's theme. 55 * Any attributes not explicitly defined in the theme identified by 59 * @param themeResId the resource ID of the theme to be applied on top of 60 * the base context's theme 68 * Creates a new context wrapper with the specified theme 184 Resources.Theme theme = getBaseContext().getTheme(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SetupWizardUtils.java | 28 static final String SYSTEM_PROP_SETUPWIZARD_THEME = "setupwizard.theme"; 31 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); local 32 if (theme == null) { 33 theme = SystemProperties.get(SYSTEM_PROP_SETUPWIZARD_THEME); 35 if (theme != null) { 36 switch (theme) {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
ButtonFooterMixin.java | 65 * @param theme Theme resource to be used for this button. Since this is applied as a theme, 71 public Button addButton(CharSequence text, @StyleRes int theme) { 72 Button button = createThemedButton(mContext, theme); 82 * @param theme Theme resource to be used for this button. Since this is applied as a theme, 88 public Button addButton(@StringRes int text, @StyleRes int theme) { 89 Button button = createThemedButton(mContext, theme); [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
NavigationBar.java | 52 // Normally we can automatically guess the theme by comparing the foreground color against 62 int theme = attributes.getResourceId(suwNavBarTheme, 0); local 63 if (theme == 0) { 65 // theme is light-on-dark or dark-on-light. 71 theme = isDarkBg ? R.style.SuwNavBarThemeDark : R.style.SuwNavBarThemeLight; 74 return theme; 78 final int theme = getNavbarTheme(context); local 79 return new ContextThemeWrapper(context, theme);
|
/external/python/cpython3/Doc/tools/pydoctheme/ |
theme.conf | 0 [theme]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
AttributeResolution.h | 46 bool ResolveAttrs(Theme* theme, uint32_t def_style_attr, uint32_t def_style_resid, 52 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
AssetManager_Delegate.java | 56 /*package*/ static void deleteTheme(AssetManager manager, long theme) { 57 Resources_Theme_Delegate.getDelegateManager().removeJavaReferenceFor(theme);
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ReferenceImagesTest.java | 17 package android.theme.app;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
CustomDrawableTest.java | 23 import android.content.res.Resources.Theme; 60 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 62 super.inflate(r, parser, attrs, theme); 65 if (theme != null) { 66 ta = theme.obtainStyledAttributes(attrs, ATTRS, 0, 0);
|
/external/autotest/client/site_tests/webstore_InstallItem/ |
webstore_InstallItem.py | 20 if item_type != ItemType.extension and item_type != ItemType.theme:
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
ItemLayoutTest.java | 66 for (int theme : themes) { 68 params.add(new Object[] { theme, layout }); 78 public ItemLayoutTest(int theme, int layout) { 79 mContext = new ContextThemeWrapper(getTargetContext(), theme);
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateInterpolator.java | 21 import android.content.res.Resources.Theme; 63 public AccelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) { 65 if (theme != null) { 66 a = theme.obtainStyledAttributes(attrs, R.styleable.AccelerateInterpolator, 0, 0);
|
AnticipateInterpolator.java | 21 import android.content.res.Resources.Theme; 55 public AnticipateInterpolator(Resources res, Theme theme, AttributeSet attrs) { 57 if (theme != null) { 58 a = theme.obtainStyledAttributes(attrs, R.styleable.AnticipateInterpolator, 0, 0);
|