HomeSort by relevance Sort by last modified time
    Searched refs:Theme (Results 51 - 75 of 293) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 33 import android.content.res.Resources.Theme;
193 * {@link Resources#getDrawableForDensity(int, int, Theme)}. A value of 0 means there is no
200 * This is all to support the {@link Resources#getDrawableForDensity(int, int, Theme)} API.
    [all...]
StateListDrawable.java 31 import android.content.res.Resources.Theme;
114 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
116 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.StateListDrawable);
122 inflateChildElements(r, parser, attrs, theme);
136 // Extract the theme attributes, if any.
157 Theme theme) throws XmlPullParserException, IOException {
175 final TypedArray a = obtainAttributes(r, theme, attrs,
194 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
    [all...]
AnimatedRotateDrawable.java 25 import android.content.res.Resources.Theme;
126 @NonNull AttributeSet attrs, @Nullable Theme theme)
128 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable);
131 super.inflate(r, parser, attrs, theme);
141 public void applyTheme(@NonNull Theme t) {
166 // If we're not waiting on a theme, verify required attributes.
184 // Extract the theme attributes, if any.
AnimationDrawable.java 29 import android.content.res.Resources.Theme;
289 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
291 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimationDrawable);
297 inflateChildElements(r, parser, attrs, theme);
303 Theme theme) throws XmlPullParserException, IOException {
318 final TypedArray a = obtainAttributes(r, theme, attrs,
340 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
ClipDrawable.java 28 import android.content.res.Resources.Theme;
87 @NonNull AttributeSet attrs, @Nullable Theme theme)
89 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable);
92 super.inflate(r, parser, attrs, theme);
100 public void applyTheme(@NonNull Theme t) {
122 // If we're not waiting on a theme, verify required attributes.
140 // Extract the theme attributes, if any.
ColorDrawable.java 28 import android.content.res.Resources.Theme;
259 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
261 super.inflate(r, parser, attrs, theme);
263 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ColorDrawable);
279 // Extract the theme attributes, if any.
292 public void applyTheme(Theme t) {
372 * after inflating or applying a theme.
LevelListDrawable.java 27 import android.content.res.Resources.Theme;
88 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
90 super.inflate(r, parser, attrs, theme);
93 inflateChildElements(r, parser, attrs, theme);
97 Theme theme) throws XmlPullParserException, IOException {
115 TypedArray a = obtainAttributes(r, theme, attrs,
134 dr = r.getDrawable(drawableRes, theme);
144 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
    [all...]
RotateDrawable.java 30 import android.content.res.Resources.Theme;
68 @NonNull AttributeSet attrs, @Nullable Theme theme)
70 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable);
73 super.inflate(r, parser, attrs, theme);
81 public void applyTheme(@NonNull Theme t) {
103 // If we're not waiting on a theme, verify required attributes.
121 // Extract the theme attributes, if any.
ScaleDrawable.java 27 import android.content.res.Resources.Theme;
99 @NonNull AttributeSet attrs, @Nullable Theme theme)
101 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable);
104 super.inflate(r, parser, attrs, theme);
114 public void applyTheme(@NonNull Theme t) {
138 // If we're not waiting on a theme, verify required attributes.
156 // Extract the theme attributes, if any.
AnimatedStateListDrawable.java 24 import android.content.res.Resources.Theme;
376 @NonNull AttributeSet attrs, @Nullable Theme theme)
379 r, theme, attrs, R.styleable.AnimatedStateListDrawable);
385 inflateChildElements(r, parser, attrs, theme);
391 public void applyTheme(@Nullable Theme theme) {
392 super.applyTheme(theme);
399 final TypedArray a = theme.resolveAttributes(
413 // Extract the theme attributes, if any
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ColorStateListTest.java 27 import android.content.res.Resources.Theme;
64 final Theme theme = res.newTheme(); local
65 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
66 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
RippleDrawableTest.java 27 import android.content.res.Resources.Theme;
118 // Ensure theme density is applied correctly.
119 final Theme t = res.newTheme();
  /frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
AnimationUtilsCompat.java 24 import android.content.res.Resources.Theme;
100 Theme theme,
AnimatorInflaterCompat.java 34 import android.content.res.Resources.Theme;
111 * @param theme The theme
116 public static Animator loadAnimator(Context context, Resources resources, Theme theme,
118 return loadAnimator(context, resources, theme, id, 1);
124 public static Animator loadAnimator(Context context, Resources resources, Theme theme,
131 animator = createAnimatorFromXml(context, resources, theme, parser, pathErrorScale);
497 private static Animator createAnimatorFromXml(Context context, Resources res, Theme theme
    [all...]
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableDialogHelper.java 46 @VisibleForTesting /* package */ Resources.Theme mTheme;
58 * @param theme the Theme used to properly obtain Drawables from resource IDs.
60 public WearableDialogHelper(@NonNull Resources resources, @NonNull Resources.Theme theme) {
62 mTheme = theme;
  /frameworks/base/core/java/android/widget/
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...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResources.java 209 public final android.content.res.Resources.Theme newTheme() {
210 return newInstanceOf(Resources.Theme.class);
213 @Implements(Resources.Theme.class)
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 1044 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1053 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1067 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1074 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1097 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1105 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
1163 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeToken); local
1183 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeToken); local
    [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 44 import android.content.res.Resources.Theme;
103 "Attribute '%s' not found. Are you using the right theme?", value));
143 * @param theme the theme to use when resolving the complex color
149 @NonNull BridgeContext context, @Nullable Theme theme, boolean allowGradients) {
207 theme);
212 theme);
243 @NonNull BridgeContext context, @Nullable Resources.Theme theme) {
    [all...]
  /frameworks/base/core/java/android/animation/
AnimatorInflater.java 27 import android.content.res.Resources.Theme;
98 * @param theme The theme
104 public static Animator loadAnimator(Resources resources, Theme theme, int id)
106 return loadAnimator(resources, theme, id, 1);
110 public static Animator loadAnimator(Resources resources, Theme theme, int id,
114 Animator animator = animatorCache.getInstance(id, resources, theme);
126 animator = createAnimatorFromXml(resources, theme, parser, pathErrorScale)
162 final Theme theme = context.getTheme(); local
    [all...]
  /frameworks/base/core/java/android/view/animation/
AnimationUtils.java 24 import android.content.res.Resources.Theme;
334 public static Interpolator loadInterpolator(Resources res, Theme theme, int id) throws NotFoundException {
338 return createInterpolatorFromXml(res, theme, parser);
356 private static Interpolator createInterpolatorFromXml(Resources res, Theme theme, XmlPullParser parser)
379 interpolator = new AccelerateInterpolator(res, theme, attrs);
381 interpolator = new DecelerateInterpolator(res, theme, attrs);
385 interpolator = new CycleInterpolator(res, theme, attrs);
387 interpolator = new AnticipateInterpolator(res, theme, attrs)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/res/
ConfigurationBoundResourceCacheTest.java 171 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; local
172 mCache.put(R.dimen.resource_cache_test_generic, theme,
174 mCache.put(R.dimen.resource_cache_test_orientation_dependent, theme,
185 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; local
187 mCache.getInstance(R.dimen.resource_cache_test_generic, res, theme));
190 theme));
194 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null local
    [all...]
  /frameworks/base/libs/androidfw/tests/
AttributeResolution_test.cpp 68 TEST_F(AttributeResolutionTest, Theme) {
69 ResTable::Theme theme(table_);
70 ASSERT_EQ(NO_ERROR, theme.applyStyle(R::style::StyleTwo));
76 ASSERT_TRUE(ResolveAttrs(&theme, 0 /*def_style_attr*/, 0 /*def_style_res*/,
113 // @empty comes from the theme, so it has the same asset cookie and changing configurations flags
114 // as the theme.
174 ResTable::Theme theme(table_);
175 ASSERT_EQ(NO_ERROR, theme.applyStyle(R::style::StyleTwo))
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
AppStubActivity.java 135 public void onApplyThemeResource( Resources.Theme theme,
138 super.onApplyThemeResource(theme,resid,first);
  /external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
Theme.java 15 public class Theme {

Completed in 515 milliseconds

1 23 4 5 6 7 8 91011>>