/frameworks/base/core/java/android/widget/ |
H A D | ThemedSpinnerAdapter.java | 27 * against a different theme than normal views. 29 * Classes that implement this interface should use the theme provided to 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); argument
|
H A D | ResourceCursorAdapter.java | 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) { argument 115 super.setDropDownViewTheme(theme); 117 if (theme == null) { 119 } else if (theme == mInflater.getContext().getTheme()) { 122 final Context context = new ContextThemeWrapper(mContext, theme);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ConstantState.java | 56 * implemented for resources that can have a theme applied. 58 public T newInstance(Resources res, Resources.Theme theme) { argument
|
H A D | ConfigurationBoundResourceCache.java | 41 * @param theme the theme where the resource will be used 45 public T getInstance(long key, Resources.Theme theme) { argument 46 final ConstantState<T> entry = get(key, theme); 48 return entry.newInstance(mResources, theme);
|
H A D | DrawableCache.java | 22 * Class which can be used to cache Drawable resources against a theme. 40 * @param theme the theme where the resource will be used 44 public Drawable getInstance(long key, Resources.Theme theme) { argument 45 final Drawable.ConstantState entry = get(key, theme); 47 return entry.newDrawable(mResources, theme);
|
H A D | ThemedResourceCache.java | 39 * Adds a new theme-dependent entry to the cache. 42 * @param theme the theme against which this entry was inflated, or 43 * {@code null} if the entry has no theme applied 46 public void put(long key, @Nullable Theme theme, @NonNull T entry) { argument 47 put(key, theme, entry, true); 54 * @param theme the theme against which this entry was inflated, or 55 * {@code null} if the entry has no theme applied 57 * @param usesTheme {@code true} if the entry is affected theme change 60 put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) argument 86 get(long key, @Nullable Theme theme) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | AssetManager_Delegate.java | 37 /*package*/ static void deleteTheme(AssetManager manager, long theme) { argument 38 Resources_Theme_Delegate.getDelegateManager().removeJavaReferenceFor(theme);
|
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
H A D | PressedButton.java | 17 package com.android.tools.idea.editors.theme.widgets;
|
H A D | ErrorCatcher.java | 17 package com.android.tools.idea.editors.theme.widgets; 31 * This is used by the theme editor to stop custom views from breaking the preview.
|
H A D | ThemePreviewLayout.java | 17 package com.android.tools.idea.editors.theme.widgets; 27 * Custom layout used in the theme editor to display the component preview. It arranges the child
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateInterpolator.java | 63 public AccelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 65 if (theme != null) { 66 a = theme.obtainStyledAttributes(attrs, R.styleable.AccelerateInterpolator, 0, 0);
|
H A D | AnticipateInterpolator.java | 55 public AnticipateInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 57 if (theme != null) { 58 a = theme.obtainStyledAttributes(attrs, R.styleable.AnticipateInterpolator, 0, 0);
|
H A D | CycleInterpolator.java | 46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) { argument 48 if (theme != null) { 49 a = theme.obtainStyledAttributes(attrs, R.styleable.CycleInterpolator, 0, 0);
|
H A D | DecelerateInterpolator.java | 56 public DecelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 58 if (theme != null) { 59 a = theme.obtainStyledAttributes(attrs, R.styleable.DecelerateInterpolator, 0, 0);
|
H A D | OvershootInterpolator.java | 56 public OvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 58 if (theme != null) { 59 a = theme.obtainStyledAttributes(attrs, R.styleable.OvershootInterpolator, 0, 0);
|
H A D | AnticipateOvershootInterpolator.java | 72 public AnticipateOvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 74 if (theme != null) { 75 a = theme.obtainStyledAttributes(attrs, AnticipateOvershootInterpolator, 0, 0);
|
H A D | AnimationUtils.java | 302 public static Interpolator loadInterpolator(Resources res, Theme theme, int id) throws NotFoundException { argument 306 return createInterpolatorFromXml(res, theme, parser); 324 private static Interpolator createInterpolatorFromXml(Resources res, Theme theme, XmlPullParser parser) argument 347 interpolator = new AccelerateInterpolator(res, theme, attrs); 349 interpolator = new DecelerateInterpolator(res, theme, attrs); 353 interpolator = new CycleInterpolator(res, theme, attrs); 355 interpolator = new AnticipateInterpolator(res, theme, attrs); 357 interpolator = new OvershootInterpolator(res, theme, attrs); 359 interpolator = new AnticipateOvershootInterpolator(res, theme, attrs); 363 interpolator = new PathInterpolator(res, theme, attr [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | AnimatorInflater_Delegate.java | 39 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id) argument 41 return loadAnimator(resources, theme, id, 1); 45 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id, argument 54 /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme, argument 57 return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale);
|
/frameworks/support/v4/api21/android/support/v4/content/res/ |
H A D | ResourcesCompatApi21.java | 25 public static Drawable getDrawable(Resources res, int id, Theme theme) argument 27 return res.getDrawable(id, theme); 30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) argument 32 return res.getDrawableForDensity(id, density, theme);
|
/frameworks/support/v4/java/android/support/v4/content/res/ |
H A D | ResourcesCompat.java | 32 * styled for the specified theme. Various types of objects will be 36 * Prior to API level 21, the theme will not be applied and this method 42 * @param theme The theme used to style the drawable attributes, may be 49 public static Drawable getDrawable(Resources res, int id, Theme theme) argument 53 return ResourcesCompatApi21.getDrawable(res, id, theme); 62 * the given screen density in DPI and styled for the specified theme. 64 * Prior to API level 15, the theme and density will not be applied and 67 * Prior to API level 21, the theme will not be applied and this method 75 * @param theme Th 82 getDrawableForDensity(Resources res, int id, int density, Theme theme) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ThemedSpinnerAdapter.java | 33 * against a different theme than normal views. 35 * Classes that implement this interface should use the theme provided to 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); argument 92 * public void setDropDownViewTheme(@Nullable Resources.Theme theme) { 93 * // Pass the new theme to the helper 94 * mDropDownHelper.setDropDownViewTheme(theme); 119 * @param theme the theme passe 122 setDropDownViewTheme(@ullable Resources.Theme theme) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 151 * using the default theme. 164 * using the optionally specified theme. 170 * @param theme A style resource describing the theme to use for the window. 173 * styles. This theme is applied on top of the current theme in 174 * <var>outerContext</var>. If 0, the default presentation theme will be used. 176 public Presentation(Context outerContext, Display display, int theme) { argument 177 super(createPresentationContext(outerContext, display, theme), theme, fals 289 createPresentationContext( Context outerContext, Display display, int theme) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 26 * A ContextWrapper that allows you to modify the theme from what is in the 45 public ContextThemeWrapper(Context base, Resources.Theme theme) { argument 47 mTheme = theme; 127 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme 132 * @param theme The Theme object being modified. 133 * @param resid The theme style resource being applied to <var>theme</var>. 135 * applied to <var>theme</var>. 137 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 138 theme [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StartingData.java | 23 final int theme; field in class:StartingData 35 theme = _theme;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ContextThemeWrapper.java | 27 * A ContextWrapper that allows you to modify the theme from what is in the 42 public ContextThemeWrapper(Context base, Resources.Theme theme) { argument 44 mTheme = theme; 85 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme 90 * @param theme The Theme object being modified. 91 * @param resid The theme style resource being applied to <var>theme</var>. 93 * applied to <var>theme</var>. 95 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 96 theme [all...] |