HomeSort by relevance Sort by last modified time
    Searched refs:theme (Results 1 - 25 of 589) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/docs/_themes/llvm-theme/
theme.conf 0 [theme]
3 stylesheet = llvm-theme.css
  /cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
AbstractLayoutModifier.java 17 package android.theme.app.modifiers;
19 import android.theme.app.LayoutModifier;
DatePickerModifier.java 17 package android.theme.app.modifiers;
19 import android.theme.app.LayoutModifier;
ViewPressedModifier.java 17 package android.theme.app.modifiers;
  /packages/apps/Contacts/src/com/android/contacts/util/
ThemeUtils.java 19 import android.content.res.Resources.Theme;
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) {
31 theme.resolveAttribute(attrId, outValue, true);
38 public static int getSelectableItemBackground(Theme theme) {
39 return getAttribute(theme, android.R.attr.selectableItemBackground);
45 public static int getActivatedBackground(Theme theme)
    [all...]
  /cts/hostsidetests/theme/app/src/android/theme/app/
LayoutModifier.java 17 package android.theme.app;
  /frameworks/support/v4/api21/android/support/v4/content/res/
ResourcesCompatApi21.java 21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme)
27 return res.getDrawable(id, theme);
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme)
32 return res.getDrawableForDensity(id, density, theme);
  /frameworks/support/v4/api23/android/support/v4/content/res/
ResourcesCompatApi23.java 22 import android.content.res.Resources.Theme;
25 public static int getColor(Resources res, int id, Theme theme) throws NotFoundException {
26 return res.getColor(id, theme);
29 public static ColorStateList getColorStateList(Resources res, int id, Theme theme)
31 return res.getColorStateList(id, theme);
  /external/chromium-trace/catapult/third_party/webapp2/docs/_themes/webapp2/
theme.conf 0 [theme]
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
AssetManager_Delegate.java 37 /*package*/ static void deleteTheme(AssetManager manager, long theme) {
38 Resources_Theme_Delegate.getDelegateManager().removeJavaReferenceFor(theme);
ComplexColor_Accessor.java 24 import android.content.res.Resources.Theme;
31 * XmlPullParser, AttributeSet, Theme)} and {@link ColorStateList#createFromXmlInner(Resources,
32 * XmlPullParser, AttributeSet, Theme)} methods
36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme)
38 return GradientColor.createFromXmlInner(r, parser, attrs, theme);
42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme)
44 return ColorStateList.createFromXmlInner(r, parser, attrs, theme);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
SelectThemeAction.java 33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme,
36 assert theme.startsWith(STYLE_RESOURCE_PREFIX)
37 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme;
39 mTheme = theme;
  /frameworks/support/v7/appcompat/src/android/support/v7/view/
ContextThemeWrapper.java 27 * A ContextWrapper that allows you to modify the theme from what is in the
34 private Resources.Theme mTheme;
42 public ContextThemeWrapper(Context base, Resources.Theme theme) {
44 mTheme = theme;
60 public Resources.Theme getTheme() {
85 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
86 * resource to the current Theme object. Can override to change the
90 * @param theme The Theme object being modified
103 Resources.Theme theme = getBaseContext().getTheme(); local
    [all...]
  /frameworks/base/core/java/android/content/res/
ConfigurationBoundResourceCache.java 33 * @param theme the theme where the resource will be used
37 public T getInstance(long key, Resources resources, Resources.Theme theme) {
38 final ConstantState<T> entry = get(key, theme);
40 return entry.newInstance(resources, theme);
DrawableCache.java 22 * Class which can be used to cache Drawable resources against a theme.
30 * @param theme the theme where the resource will be used
34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) {
35 final Drawable.ConstantState entry = get(key, theme);
37 return entry.newDrawable(resources, theme);
  /frameworks/base/core/java/android/service/wallpaper/
WallpaperSettingsActivity.java 26 * proper theme of the activity depending on how it is being used.
40 Resources.Theme theme = getTheme(); local
42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true);
44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
WizardManagerHelper.java 42 public static final String EXTRA_THEME = "theme";
69 * theme used in setup wizard for NYC.
74 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in
184 * Checks the intent whether the extra indicates that the light theme should be used or not. If
185 * the theme is not specified in the intent, or the theme specified is unknown, the value def
188 * @param intent The intent used to start the activity, which the theme extra will be read from.
189 * @param def The default value if the theme is not specified.
190 * @return True if the activity started by the given intent should use light theme.
193 final String theme = intent.getStringExtra(EXTRA_THEME) local
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/res/
ResourcesCompat.java 22 import android.content.res.Resources.Theme;
39 * styled for the specified theme. Various types of objects will be
43 * Prior to API level 21, the theme will not be applied and this method
49 * @param theme The theme used to style the drawable attributes, may be
58 @Nullable Theme theme) throws NotFoundException {
60 return ResourcesCompatApi21.getDrawable(res, id, theme);
69 * the given screen density in DPI and styled for the specified theme.
71 * Prior to API level 15, the theme and density will not be applied an
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ThemedSpinnerAdapter.java 22 import android.content.res.Resources.Theme;
33 * against a different theme than normal views.
35 * Classes that implement this interface should use the theme provided to
36 * {@link #setDropDownViewTheme(Theme)} when creating views in
44 * Sets the {@link Resources.Theme} against which drop-down views are
47 * @param theme the context against which to inflate drop-down views, or
48 * {@code null} to use the default theme
51 void setDropDownViewTheme(@Nullable Resources.Theme theme);
55 * {@link #setDropDownViewTheme(Theme)}
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
ResourceHelper.java 30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
43 packageContext.setTheme(applicationInfo.theme);
44 Resources.Theme theme = packageContext.getTheme(); local
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
ResourceHelper.java 30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
43 packageContext.setTheme(applicationInfo.theme);
44 Resources.Theme theme = packageContext.getTheme(); local
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
  /development/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
ResourceHelper.java 30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
43 packageContext.setTheme(applicationInfo.theme);
44 Resources.Theme theme = packageContext.getTheme(); local
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
ResourceHelper.java 30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
43 packageContext.setTheme(applicationInfo.theme);
44 Resources.Theme theme = packageContext.getTheme(); local
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
  /cts/tests/tests/content/src/android/content/res/cts/
Resources_ThemeTest.java 25 import android.content.res.Resources.Theme;
42 private Resources.Theme mResTheme;
57 final Theme other = getContext().getTheme();
94 Resources.Theme theme = getContext().getResources().newTheme(); local
96 0, theme.getChangingConfigurations());
98 theme.applyStyle(R.style.Theme_OrientationDependent, true);
99 assertEquals("First call to Theme.applyStyle() sets changing configuration",
100 ActivityInfo.CONFIG_ORIENTATION, theme.getChangingConfigurations());
102 theme.applyStyle(R.style.Theme_LayoutDirectionDependent, true)
124 Resources.Theme theme = res.newTheme(); local
147 final Theme theme = res.newTheme(); local
157 final Theme theme = res.newTheme(); local
    [all...]
  /cts/tests/tests/theme/src/android/theme/cts/
DeviceDefaultActivity.java 17 package android.theme.cts;
19 import android.theme.cts.R;

Completed in 514 milliseconds

1 2 3 4 5 6 7 8 91011>>