Searched refs:theme (Results 26 - 50 of 81) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimationDrawable.java275 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
277 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimationDrawable);
282 inflateChildElements(r, parser, attrs, theme);
288 Theme theme) throws XmlPullParserException, IOException {
303 final TypedArray a = obtainAttributes(r, theme, attrs,
325 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
287 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DAnimatedStateListDrawable.java376 @NonNull AttributeSet attrs, @Nullable Theme theme)
379 r, theme, attrs, R.styleable.AnimatedStateListDrawable);
384 inflateChildElements(r, parser, attrs, theme);
390 public void applyTheme(@Nullable Theme theme) { argument
391 super.applyTheme(theme);
398 final TypedArray a = theme.resolveAttributes(
412 // Extract the theme attributes, if any.
435 Theme theme) throws XmlPullParserException, IOException {
452 parseItem(r, parser, attrs, theme);
454 parseTransition(r, parser, attrs, theme);
375 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
434 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
459 parseTransition(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
495 parseItem(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
[all...]
H A DLevelListDrawable.java88 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
90 super.inflate(r, parser, attrs, theme);
109 TypedArray a = obtainAttributes(r, theme, attrs,
128 dr = r.getDrawable(drawableRes, theme);
138 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
H A DClipDrawable.java82 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
84 super.inflate(r, parser, attrs, theme);
86 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable);
93 inflateChildElements(r, parser, attrs, theme);
99 Theme theme) throws XmlPullParserException, IOException {
108 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
118 // If we're not waiting on a theme, verify required attributes.
133 // Extract the theme attributes, if any.
98 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DDrawable.java712 * Applies the specified theme to this Drawable and its children.
1018 public static Drawable createFromXml(Resources r, XmlPullParser parser, Theme theme) argument
1032 Drawable drawable = createFromXmlInner(r, parser, attrs, theme);
1058 Theme theme) throws XmlPullParserException, IOException {
1128 drawable.inflate(r, parser, attrs, theme);
1155 * Inflate this Drawable from an XML resource. Does not apply a theme.
1165 * Inflate this Drawable from an XML resource optionally styled by a theme.
1170 * @param theme Theme to apply, may be null
1174 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
1177 if (theme !
1057 createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
1237 newDrawable(Resources res, Theme theme) argument
1313 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
[all...]
H A DScaleDrawable.java93 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
95 super.inflate(r, parser, attrs, theme);
97 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable);
104 inflateChildElements(r, parser, attrs, theme);
136 Theme theme) throws XmlPullParserException, IOException {
145 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
155 // If we're not waiting on a theme, verify required attributes.
170 // Extract the theme attributes, if any.
135 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DColorDrawable.java229 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
231 super.inflate(r, parser, attrs, theme);
233 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ColorDrawable);
247 // Extract the theme attributes, if any.
H A DAnimatedRotateDrawable.java266 @NonNull AttributeSet attrs, @Nullable Theme theme)
268 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable);
273 inflateChildElements(r, parser, attrs, theme);
313 // Extract the theme attributes, if any.
341 Theme theme) throws XmlPullParserException, IOException {
353 if ((dr = Drawable.createFromXmlInner(r, parser, attrs, theme)) == null) {
365 // If we're not waiting on a theme, verify required attributes.
265 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
340 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DAnimatedVectorDrawable.java272 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
281 final TypedArray a = obtainAttributes(res, theme, attrs,
287 drawableRes, theme).mutate();
298 final TypedArray a = obtainAttributes(res, theme, attrs,
306 Animator objectAnimator = AnimatorInflater.loadAnimator(res, theme, id,
H A DInsetDrawable.java91 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
93 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable);
101 inflateChildElements(r, parser, attrs, theme);
107 Theme theme) throws XmlPullParserException, IOException {
119 final Drawable dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
126 // If we're not waiting on a theme, verify required attributes.
141 // Extract the theme attributes, if any.
106 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DRotateDrawable.java406 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
408 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable);
416 inflateChildElements(r, parser, attrs, theme);
449 Theme theme) throws XmlPullParserException, IOException {
458 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
468 // If we're not waiting on a theme, verify required attributes.
483 // Extract the theme attributes, if any.
448 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
H A DVectorDrawable.java449 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
455 final TypedArray a = obtainAttributes(res, theme, attrs, R.styleable.VectorDrawable);
460 inflateInternal(res, parser, attrs, theme);
472 // Extract the theme attributes, if any.
526 Theme theme) throws XmlPullParserException, IOException {
544 path.inflate(res, attrs, theme);
553 path.inflate(res, attrs, theme);
561 newChildGroup.inflate(res, attrs, theme);
856 // If one of the paths can apply theme, then return true;
884 // Apply theme t
525 inflateInternal(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
1094 inflate(Resources res, AttributeSet attrs, Theme theme) argument
1310 inflate(Resources r, AttributeSet attrs, Theme theme) argument
1415 inflate(Resources r, AttributeSet attrs, Theme theme) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DResourcesWrapper.java135 public Drawable getDrawable(int id, Theme theme) throws NotFoundException { argument
136 return mResources.getDrawable(id, theme);
145 public Drawable getDrawableForDensity(int id, int density, Theme theme) { argument
146 return mResources.getDrawableForDensity(id, density, theme);
/frameworks/base/core/java/android/app/
H A DAlertDialog.java67 * Special theme constant for {@link #AlertDialog(Context, int)}: use
68 * the traditional (pre-Holo) alert dialog theme.
73 * Special theme constant for {@link #AlertDialog(Context, int)}: use
74 * the holographic alert theme with a dark background.
79 * Special theme constant for {@link #AlertDialog(Context, int)}: use
80 * the holographic alert theme with a light background.
85 * Special theme constant for {@link #AlertDialog(Context, int)}: use
86 * the device's default alert theme with a dark background.
91 * Special theme constant for {@link #AlertDialog(Context, int)}: use
92 * the device's default alert theme wit
120 AlertDialog(Context context, int theme) argument
124 AlertDialog(Context context, int theme, boolean createThemeContextWrapper) argument
393 Builder(Context context, int theme) argument
[all...]
H A DDatePickerDialog.java97 * @param theme the theme to apply to this dialog
103 public DatePickerDialog(Context context, int theme, OnDateSetListener listener, int year, argument
105 super(context, resolveDialogTheme(context, theme));
H A DTimePickerDialog.java92 * @param theme the theme to apply to this dialog
98 public TimePickerDialog(Context context, int theme, OnTimeSetListener callBack, int hourOfDay, argument
100 super(context, resolveDialogTheme(context, theme));
H A DDialogFragment.java171 private static final String SAVED_THEME = "android:theme";
193 * taking care of selecting flags, theme, and other options for you. The
201 * @param theme Optional custom theme. If 0, an appropriate theme (based
204 public void setStyle(int style, int theme) { argument
209 if (theme != 0) {
210 mTheme = theme;
H A DDialog.java128 * uses the window manager and theme in this context to
139 * uses the window manager and theme from this context to
141 * @param theme A style resource describing the theme to use for the
144 * styles. This theme is applied on top of the current theme in
145 * <var>context</var>. If 0, the default dialog theme will be used.
147 public Dialog(Context context, int theme) { argument
148 this(context, theme, true);
151 Dialog(Context context, int theme, boolea argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java75 * default visual theme of the application. From the "theme" attribute
78 public int theme; field in class:ApplicationInfo
601 + " theme=0x" + Integer.toHexString(theme));
681 theme = orig.theme;
731 dest.writeInt(theme);
780 theme = source.readInt();
/frameworks/base/core/java/android/content/res/
H A DResources.java153 * Returns the most appropriate default theme for the specified target SDK version.
161 * @param curTheme The current theme, or 0 if not specified.
163 * @return A theme resource identifier
738 * or {@link #getDrawable(int, Theme)} passing the desired theme.</p>
754 Log.w(TAG, "Drawable " + getResourceName(id) + " has unresolved theme "
763 * styled for the specified theme. Various types of objects will be
770 * @param theme The theme used to style the drawable attributes, may be {@code null}.
776 public Drawable getDrawable(int id, @Nullable Theme theme) throws NotFoundException { argument
787 final Drawable res = loadDrawable(value, id, theme);
843 getDrawableForDensity(int id, int density, @Nullable Theme theme) argument
2325 loadDrawable(TypedValue value, int id, Theme theme) argument
2394 cacheDrawable(TypedValue value, Theme theme, boolean isColorDrawable, ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, long key, Drawable dr) argument
2439 loadDrawableForCookie(TypedValue value, int id, Theme theme) argument
2489 getCachedDrawable( ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> caches, long key, Theme theme) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java59 * particular, it uses the window manager and theme from this context
61 * @param theme A style resource describing the theme to use for the window.
64 * using styles. This theme is applied on top of the current theme in
65 * <var>context</var>. If 0, the default dialog theme will be used.
67 public SoftInputWindow(Context context, String name, int theme, Callback callback, argument
70 super(context, theme);
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java93 public PathInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument
95 if (theme != null) {
96 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0);
/frameworks/support/v4/java/android/support/v4/app/
H A DDialogFragment.java79 private static final String SAVED_THEME = "android:theme";
101 * taking care of selecting flags, theme, and other options for you. The
109 * @param theme Optional custom theme. If 0, an appropriate theme (based
112 public void setStyle(@DialogStyle int style, @StyleRes int theme) { argument
117 if (theme != 0) {
118 mTheme = theme;
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp948 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
949 delete theme;
957 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
958 theme->applyStyle(styleRes, force ? true : false);
972 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
973 const ResTable& res(theme->getResTable());
978 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags);
996 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeHandle); local
997 const ResTable& res(theme->getResTable());
1000 theme
1052 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeToken); local
1242 ResTable::Theme* theme = reinterpret_cast<ResTable::Theme*>(themeToken); local
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java61 public MediaRouteChooserDialog(Context context, int theme) { argument
62 super(context, theme);

Completed in 310 milliseconds

1234