/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Theme_Delegate.java | 29 import android.content.res.Resources.Theme; 56 Resources thisResources, Theme thisTheme, in obtainStyledAttributes() 68 Resources thisResources, Theme thisTheme, in obtainStyledAttributes() 81 Resources thisResources, Theme thisTheme, in obtainStyledAttributes() 93 Resources thisResources, Theme thisTheme, in resolveAttribute() 104 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes() 112 private static boolean setupResources(Theme thisTheme) { in setupResources()
|
D | ComplexColor_Accessor.java | 24 import android.content.res.Resources.Theme; 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createGradientColorFromXmlInner() 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createColorStateListFromXmlInner()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 37 private Resources.Theme mTheme; 80 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper() 156 public void setTheme(@Nullable Resources.Theme theme) { in setTheme() 168 public Resources.Theme getTheme() { in getTheme() 202 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { in onApplyThemeResource() 211 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
|
/frameworks/base/core/java/android/widget/ |
D | ThemedSpinnerAdapter.java | 21 import android.content.res.Resources.Theme; 42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme() 52 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 35 class Theme; variable 80 friend Theme; variable 258 std::unique_ptr<Theme> NewTheme(); 414 class Theme { 418 ~Theme(); 431 void SetTo(const Theme& o); 471 DISALLOW_COPY_AND_ASSIGN(Theme); 474 explicit Theme(AssetManager2* asset_manager);
|
D | AttributeResolution.h | 48 bool ResolveAttrs(Theme* theme, uint32_t def_style_attr, uint32_t def_style_resid, 54 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_bench.cpp | 58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeApplyStyleFrameworkOld() 87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld()
|
D | Theme_test.cpp | 67 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 80 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 104 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 137 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 149 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 183 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 218 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() 219 ASSERT_TRUE(theme->ApplyStyle(libclient::R::style::Theme, false /*force*/)); in TEST_F() 247 std::unique_ptr<Theme> theme_one = assetmanager.NewTheme(); in TEST_F() 264 std::unique_ptr<Theme> theme_two = assetmanager.NewTheme(); in TEST_F() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | ThemedResourceCache.java | 23 import android.content.res.Resources.Theme; 49 public void put(long key, @Nullable Theme theme, @NonNull T entry) { in put() 63 public void put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) { in put() 89 public T get(long key, @Nullable Theme theme) { in get() 147 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) { in getThemedLocked()
|
D | GradientColor.java | 24 import android.content.res.Resources.Theme; 256 public static GradientColor createFromXml(Resources r, XmlResourceParser parser, Theme theme) in createFromXml() 282 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner() 299 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate() 322 @NonNull AttributeSet attrs, @NonNull Theme theme) in inflateChildElements() 394 private void applyItemsAttrsTheme(Theme t) { in applyItemsAttrsTheme() 526 public GradientColor newInstance(Resources res, Theme theme) { in newInstance() 541 public GradientColor obtainForTheme(Theme t) { in obtainForTheme() 564 private void applyTheme(Theme t) { in applyTheme() 574 private void applyRootAttrsTheme(Theme t) { in applyRootAttrsTheme()
|
D | ComplexColor.java | 20 import android.content.res.Resources.Theme; 57 public abstract ComplexColor obtainForTheme(Theme t); in obtainForTheme()
|
D | Resources.java | 141 private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>(); 168 com.android.internal.R.style.Theme, in selectDefaultTheme() 292 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i); in setImpl() 293 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null; in setImpl() 843 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) in getDrawable() 901 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) { in getDrawableForDensity() 914 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) in loadDrawable() 978 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor() 1047 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList() 1060 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadColorStateList() [all …]
|
D | ColorStateList.java | 24 import android.content.res.Resources.Theme; 246 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml() 271 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner() 306 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate() 417 private void applyTheme(Theme t) { in applyTheme() 484 public ColorStateList obtainForTheme(Theme t) { in obtainForTheme() 706 public ColorStateList newInstance(Resources res, Theme theme) { in newInstance()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableInflater.java | 25 import android.content.res.Resources.Theme; 78 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) { in loadDrawable() 115 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateFromXml() 126 @NonNull AttributeSet attrs, int density, @Nullable Theme theme) in inflateFromXmlForDensity()
|
D | Drawable.java | 29 import android.content.res.Resources.Theme; 961 public void applyTheme(@NonNull @SuppressWarnings("unused") Theme t) { in applyTheme() 1335 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml() 1346 @NonNull XmlPullParser parser, int density, @Nullable Theme theme) in createFromXmlForDensity() 1389 @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner() 1401 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXmlInnerForDensity() 1450 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate() 1540 @Nullable @SuppressWarnings("unused") Theme theme) { in newDrawable() 1619 @Nullable Theme theme, @NonNull AttributeSet set, @NonNull int[] attrs) { in obtainAttributes()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | FallbackThemeWrapper.java | 20 import android.content.res.Resources.Theme; 47 protected void onApplyThemeResource(Theme theme, int resId, boolean first) { in onApplyThemeResource()
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
D | AnimationScaleListDrawable.java | 23 import android.content.res.Resources.Theme; 78 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate() 94 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateChildElements() 239 public void applyTheme(@NonNull Theme theme) { in applyTheme()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIconShapeDrawable.java | 20 import android.content.res.Resources.Theme; 47 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
|
/frameworks/base/core/java/android/view/animation/ |
D | CycleInterpolator.java | 21 import android.content.res.Resources.Theme; 46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) { in CycleInterpolator()
|
D | OvershootInterpolator.java | 21 import android.content.res.Resources.Theme; 56 public OvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) { in OvershootInterpolator()
|
D | DecelerateInterpolator.java | 21 import android.content.res.Resources.Theme; 56 public DecelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) { in DecelerateInterpolator()
|
D | AnticipateInterpolator.java | 21 import android.content.res.Resources.Theme; 55 public AnticipateInterpolator(Resources res, Theme theme, AttributeSet attrs) { in AnticipateInterpolator()
|
D | AccelerateInterpolator.java | 21 import android.content.res.Resources.Theme; 63 public AccelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) { in AccelerateInterpolator()
|
D | AnticipateOvershootInterpolator.java | 25 import android.content.res.Resources.Theme; 72 public AnticipateOvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) { in AnticipateOvershootInterpolator()
|
/frameworks/base/core/java/android/net/ |
D | NetworkBadging.java | 25 import android.content.res.Resources.Theme; 65 @IntRange(from=0, to=4) int signalLevel, @Badging int badging, @Nullable Theme theme) { in getWifiIcon()
|