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>>

  /packages/apps/Settings/src/com/android/settings/
SetupChooseLockPattern.java 28 * only overload base methods for minor theme and behavior differences specific to Setup Wizard.
67 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
69 super.onApplyThemeResource(theme, resid, first);
SetupEncryptionInterstitial.java 28 * class should only overload base methods for minor theme and behavior differences specific to
58 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
60 super.onApplyThemeResource(theme, resid, first);
SetupRedactionInterstitial.java 30 * should only overload base methods for minor theme and behavior differences specific to Setup
64 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
66 super.onApplyThemeResource(theme, resid, first);
SetupChooseLockPassword.java 29 * only overload base methods for minor theme and behavior differences specific to Setup Wizard.
81 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
83 super.onApplyThemeResource(theme, resid, first);
  /packages/apps/Settings/src/com/android/settings/fingerprint/
SetupFingerprintEnrollFindSensor.java 47 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
49 super.onApplyThemeResource(theme, resid, first);
SetupFingerprintEnrollFinish.java 44 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
46 super.onApplyThemeResource(theme, resid, first);
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
MediaAppInfo.java 39 fetchAppColors(packageName, appInfo.theme, context);
54 Resources.Theme theme = packageContext.getTheme(); local
55 ta = theme.obtainStyledAttributes(new int[]{ android.R.attr.colorAccent });
  /frameworks/base/core/java/android/content/res/
ColorStateList.java 23 import android.content.res.Resources.Theme;
101 * an HTML-style hex color, a reference to a color resource, or -- in API 23 and above -- a theme
106 * between 0 and 1 or a theme attribute that resolves as such. The item's overall color is
108 * example, the following item represents the theme's accent color at 50% opacity:
220 * @deprecated Use #createFromXml(Resources, XmlPullParser parser, Theme)
231 * {@link Resources} and a {@link Theme}.
235 * @param theme Optional theme to apply to the color state list, may be
241 @Nullable Theme theme) throws XmlPullParserException, IOException
    [all...]
  /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.
  /frameworks/support/compat/java/android/support/v4/graphics/drawable/
DrawableCompat.java 105 public void applyTheme(Drawable drawable, Resources.Theme t) {
121 AttributeSet attrs, Resources.Theme t)
254 public void applyTheme(Drawable drawable, Resources.Theme t) {
298 AttributeSet attrs, Resources.Theme t)
456 * Applies the specified theme to this Drawable and its children.
458 public static void applyTheme(@NonNull Drawable drawable, @NonNull Resources.Theme t) {
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 nul
    [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,
  /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...]

Completed in 2138 milliseconds

1 23 4 5 6 7 8 91011>>