Searched refs:Theme (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/libs/androidfw/tests/data/lib/
H A DR.h31 Theme = 0x02020000, // default enumerator in enum:lib::R::style::__anon959
/frameworks/support/v4/api21/android/support/v4/content/res/
H A DResourcesCompatApi21.java21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme)
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme)
/frameworks/support/v4/java/android/support/v4/content/res/
H A DResourcesCompat.java21 import android.content.res.Resources.Theme;
49 public static Drawable getDrawable(Resources res, int id, Theme theme)
82 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme)
/frameworks/base/core/java/android/content/res/
H A DConstantState.java20 * depending on the current {@link Resources.Theme} or {@link Configuration}.
58 public T newInstance(Resources res, Resources.Theme theme) {
H A DConfigurationBoundResourceCache.java47 * @param theme The Theme instance where this resource was loaded.
51 public void put(long key, Resources.Theme theme, ConstantState<T> constantState) {
71 * @param theme The The Theme instance where we want to load this resource.
76 public T get(long key, Resources.Theme theme) {
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimatorInflater_Delegate.java24 import android.content.res.Resources.Theme;
39 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id)
45 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id,
54 /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme,
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java30 private Resources.Theme mTheme;
94 @Override public Resources.Theme getTheme() {
118 * resource to the current Theme object. Can override to change the
122 * @param theme The Theme object being modified.
127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
135 Resources.Theme theme = getBaseContext().getTheme();
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/
H A DResourcesCompatIcsMr1.java21 import android.content.res.Resources.Theme;
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java29 import android.content.res.Resources.Theme;
34 * Delegate used to provide new implementation of a select few methods of {@link Resources.Theme}
36 * Through the layoutlib_create tool, the original methods of Theme have been replaced
55 Resources thisResources, Theme thisTheme,
66 Resources thisResources, Theme thisTheme,
79 Resources thisResources, Theme thisTheme,
91 Resources thisResources, Theme thisTheme,
102 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme,
110 private static boolean setupResources(Theme thisTheme) {
119 // See the definition of force parameter in Theme
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme();
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java21 import android.content.res.Resources.Theme;
63 public AccelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DAnticipateInterpolator.java22 import android.content.res.Resources.Theme;
55 public AnticipateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DCycleInterpolator.java22 import android.content.res.Resources.Theme;
46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) {
H A DDecelerateInterpolator.java22 import android.content.res.Resources.Theme;
56 public DecelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DOvershootInterpolator.java21 import android.content.res.Resources.Theme;
56 public OvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DAnticipateOvershootInterpolator.java21 import android.content.res.Resources.Theme;
72 public AnticipateOvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) {
/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp44 ResTable::Theme theme1(table);
58 ResTable::Theme theme2(table2);
H A DResTable_test.cpp69 ResTable::Theme theme(table);
89 ResTable::Theme theme(table);
109 ResTable::Theme theme(table);
110 ASSERT_EQ(NO_ERROR, theme.applyStyle(lib::R::style::Theme));
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java23 import android.content.res.Resources.Theme;
100 public static Animator loadAnimator(Resources resources, Theme theme, int id)
106 public static Animator loadAnimator(Resources resources, Theme theme, int id,
158 final Theme theme = context.getTheme();
548 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser,
555 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser,
618 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs,
636 private static ValueAnimator loadAnimator(Resources res, Theme theme,
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java27 import android.content.res.Resources.Theme;
82 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
99 Theme theme) throws XmlPullParserException, IOException {
147 public void applyTheme(Theme t) {
H A DStateListDrawable.java31 import android.content.res.Resources.Theme;
120 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
162 Theme theme) throws XmlPullParserException, IOException {
390 public void applyTheme(Theme theme) {
H A DAnimationDrawable.java29 import android.content.res.Resources.Theme;
275 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
288 Theme theme) throws XmlPullParserException, IOException {
H A DColorDrawable.java24 import android.content.res.Resources.Theme;
229 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
260 public void applyTheme(Theme t) {
H A DDrawable.java22 import android.content.res.Resources.Theme;
714 public void applyTheme(@SuppressWarnings("unused") Theme t) {
1014 * Create a drawable from an XML document using an optional {@link Theme}.
1018 public static Drawable createFromXml(Resources r, XmlPullParser parser, Theme theme)
1053 * {@link Theme}. Called on a parser positioned at a tag in an XML
1058 Theme theme) throws XmlPullParserException, IOException {
1157 * @see #inflate(Resources, XmlPullParser, AttributeSet, Theme)
1170 * @param theme Theme to apply, may be null
1174 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
1237 public Drawable newDrawable(Resources res, Theme them
[all...]
H A DAnimatedStateListDrawable.java24 import android.content.res.Resources.Theme;
376 @NonNull AttributeSet attrs, @Nullable Theme theme)
390 public void applyTheme(@Nullable Theme theme) {
435 Theme theme) throws XmlPullParserException, IOException {
460 @NonNull AttributeSet attrs, @Nullable Theme theme)
496 @NonNull AttributeSet attrs, @Nullable Theme theme)

Completed in 8945 milliseconds

123