Searched refs:theme (Results 101 - 125 of 142) sorted by relevance

123456

/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceFragmentCompat.java209 final int theme = tv.resourceId;
210 if (theme == 0) {
211 throw new IllegalStateException("Must specify preferenceTheme in theme");
213 mStyledContext = new ContextThemeWrapper(getActivity(), theme);
260 // Need to theme the inflater to pick up the preferenceFragmentListStyle
263 final int theme = tv.resourceId;
265 final Context themedContext = new ContextThemeWrapper(inflater.getContext(), theme);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java133 @NonNull AttributeSet attrs, @Nullable Theme theme)
135 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable);
138 super.inflate(r, parser, attrs, theme);
168 // If we're not waiting on a theme, verify required attributes.
186 // Extract the theme attributes, if any.
132 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
H A DShapeDrawable.java401 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
403 super.inflate(r, parser, attrs, theme);
405 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ShapeDrawable);
444 // Apply theme to contained color state list.
460 // Extract the theme attributes, if any.
625 * after inflating or applying a theme.
H A DGradientDrawable.java1215 @NonNull AttributeSet attrs, @Nullable Theme theme)
1217 super.inflate(r, parser, attrs, theme);
1221 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable);
1225 inflateChildElements(r, parser, attrs, theme);
1274 // Extract the theme attributes, if any.
1379 Theme theme) throws XmlPullParserException, IOException {
1399 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableSize);
1403 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableGradient);
1407 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableSolid);
1411 a = obtainAttributes(r, theme, attr
1214 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
1378 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
[all...]
H A DAnimatedVectorDrawable.java522 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
536 final TypedArray a = obtainAttributes(res, theme, attrs,
542 drawableRes, theme).mutate();
553 final TypedArray a = obtainAttributes(res, theme, attrs,
560 if (theme != null) {
563 res, theme, animResId, pathErrorScale);
568 // The animation may be theme-dependent. As a
571 // until we have a theme in applyTheme().
699 /** Animators that require a theme before inflation. */
802 // Attempt to load animators without applying a theme
887 newInstance(Resources res, Theme theme) argument
[all...]
H A DAdaptiveIconDrawable.java208 @NonNull AttributeSet attrs, @Nullable Theme theme)
210 super.inflate(r, parser, attrs, theme);
229 inflateLayers(r, parser, attrs, theme);
448 @NonNull AttributeSet attrs, @Nullable Theme theme)
475 final TypedArray a = obtainAttributes(r, theme, attrs,
480 // If the layer doesn't have a drawable or unresolved theme
495 mLayerState.mSrcDensityOverride, theme);
510 // Extract the theme attributes, if any.
207 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
447 inflateLayers(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
H A DDrawableContainer.java629 public void applyTheme(Theme theme) { argument
630 mDrawableContainerState.applyTheme(theme);
971 final void applyTheme(Theme theme) { argument
972 if (theme != null) {
979 drawables[i].applyTheme(theme);
986 updateDensity(theme.getResources());
H A DNinePatchDrawable.java396 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
398 super.inflate(r, parser, attrs, theme);
400 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.NinePatchDrawable);
417 // Extract the theme attributes, if any.
H A DRippleDrawable.java422 @NonNull AttributeSet attrs, @Nullable Theme theme)
424 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RippleDrawable);
430 super.inflate(r, parser, attrs, theme);
481 // Extract the theme attributes, if any.
421 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
H A DLayerDrawable.java173 @NonNull AttributeSet attrs, @Nullable Theme theme)
175 super.inflate(r, parser, attrs, theme);
183 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.LayerDrawable);
194 inflateLayers(r, parser, attrs, theme);
242 @NonNull AttributeSet attrs, @Nullable Theme theme)
260 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.LayerDrawableItem);
264 // If the layer doesn't have a drawable or unresolved theme
279 layer.mDrawable = Drawable.createFromXmlInner(r, parser, attrs, theme);
298 // Extract the theme attributes, if any.
342 // Extract the theme attribute
172 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
241 inflateLayers(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
[all...]
H A DBitmapDrawable.java749 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
751 super.inflate(r, parser, attrs, theme);
753 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable);
768 // If we're not waiting on a theme, verify required attributes.
788 // Extract the theme attributes, if any.
893 // Apply theme to contained color state list.
1029 * after inflating or applying a theme.
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DThemePreviewLayout.java17 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/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimationUtilsCompat.java100 Theme theme,
99 createInterpolatorFromXml(Context context, Resources res, Theme theme, XmlPullParser parser) argument
/frameworks/base/core/java/android/app/
H A DProgressDialog.java98 * @param theme the resource ID of the theme against which to inflate
100 * {@code context}'s default alert dialog theme
102 public ProgressDialog(Context context, int theme) { argument
103 super(context, theme);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatDrawableManager.java70 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme);
774 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) {
777 .createFromXmlInner(context.getResources(), parser, attrs, theme);
792 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) {
795 .createFromXmlInner(context, context.getResources(), parser, attrs, theme);
69 createFromXmlInner(@onNull Context context, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) argument
773 createFromXmlInner(@onNull Context context, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) argument
791 createFromXmlInner(@onNull Context context, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DOnboardingFragment.java126 * OnboardingFragment must have access to an appropriate theme. Specifically, the fragment must
127 * receive {@link R.style#Theme_Leanback_Onboarding}, or a theme whose parent is set to that theme.
130 * <li>The simplest way is to set the theme for the host Activity to the Onboarding theme or a theme
132 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the
133 * existing Activity theme can have an entry added for the attribute
134 * {@link R.styleable#LeanbackOnboardingTheme_onboardingTheme}. If present, this theme wil
[all...]
H A DOnboardingSupportFragment.java129 * OnboardingSupportFragment must have access to an appropriate theme. Specifically, the fragment must
130 * receive {@link R.style#Theme_Leanback_Onboarding}, or a theme whose parent is set to that theme.
133 * <li>The simplest way is to set the theme for the host Activity to the Onboarding theme or a theme
135 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the
136 * existing Activity theme can have an entry added for the attribute
137 * {@link R.styleable#LeanbackOnboardingTheme_onboardingTheme}. If present, this theme wil
[all...]
H A DGuidedStepFragment.java86 * GuidedActionsStylist} is responsible for the right actions view. The stylists use theme
91 * GuidedStepFragments must have access to an appropriate theme in order for the stylists to
93 * android.support.v17.leanback.R.style#Theme_Leanback_GuidedStep}, or a theme whose parent is
94 * is set to that theme. Themes can be provided in one of three ways:
96 * <li>The simplest way is to set the theme for the host Activity to the GuidedStep theme or a
97 * theme that derives from it.</li>
98 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the
99 * existing Activity theme ca
[all...]
H A DGuidedStepSupportFragment.java89 * GuidedActionsStylist} is responsible for the right actions view. The stylists use theme
94 * GuidedStepSupportFragments must have access to an appropriate theme in order for the stylists to
96 * android.support.v17.leanback.R.style#Theme_Leanback_GuidedStep}, or a theme whose parent is
97 * is set to that theme. Themes can be provided in one of three ways:
99 * <li>The simplest way is to set the theme for the host Activity to the GuidedStep theme or a
100 * theme that derives from it.</li>
101 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the
102 * existing Activity theme ca
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java209 int theme = ta.getResourceId(0, 0);
211 return theme;
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java456 * Applies the specified theme to this Drawable and its children.
463 * Whether a theme can be applied to this Drawable and its children.
486 * Inflate this Drawable from an XML resource optionally styled by a theme.
491 * @param theme Theme to apply, may be null
497 @Nullable Resources.Theme theme)
499 IMPL.inflate(drawable, res, parser, attrs, theme);
495 inflate(@onNull Drawable drawable, @NonNull Resources res, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java48 com.android.internal.R.attr.theme };
91 // Apply a theme wrapper, if requested. This is sort of a weird
94 // included View has a theme attribute, we'll need to ignore it.
103 // If the layout is pointing to a theme attribute, we have to
119 // The layout might be referencing a theme attribute.
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java156 * Set the theme to be used for inflating drawables.
158 public void setTheme(Theme theme) { argument
159 mTheme = theme;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java82 * Obtains styled attributes from the theme, if available, or unstyled resources if the theme is
86 Resources res, Theme theme, AttributeSet set, int[] attrs) {
87 if (theme == null) {
90 return theme.obtainStyledAttributes(set, attrs, 0, 0);
85 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestWindowManagerPolicy.java195 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, argument

Completed in 855 milliseconds

123456