Home
last modified time | relevance | path

Searched refs:Theme (Results 1 – 25 of 166) sorted by relevance

1234567

/frameworks/support/v7/appcompat/
DTHEMES24 Platform.AppCompat <- android:Theme.Holo
35 Platform.AppCompat <- Base.V7.Theme.AppCompat <- Base.V21.Theme.AppCompat
49 Names: Theme.Base.AppCompat, Theme.Base.AppCompat.Light and Theme.Base.AppCompat.Light.DarkActionBar
53 Theme.V21.Base.AppCompat <- Theme.Base.AppCompat
61 Names: Theme.AppCompat, Theme.AppCompat.Light and Theme.AppCompat.Light.DarkActionBar
65 Theme.AppCompat <- Theme.Base.AppCompat
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemedSpinnerAdapter.java22 import android.content.res.Resources.Theme;
51 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
61 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
122 public void setDropDownViewTheme(@Nullable Resources.Theme theme) { in setDropDownViewTheme()
138 public Resources.Theme getDropDownViewTheme() { in getDropDownViewTheme()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java29 import android.content.res.Resources.Theme;
56 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
67 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
80 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
92 Resources thisResources, Theme thisTheme, in resolveAttribute()
103 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes()
111 private static boolean setupResources(Theme thisTheme) { in setupResources()
DComplexColor_Accessor.java24 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/
DContextThemeWrapper.java32 private Resources.Theme mTheme;
73 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
151 public Resources.Theme getTheme() { in getTheme()
185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { in onApplyThemeResource()
193 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/base/core/java/android/widget/
DThemedSpinnerAdapter.java21 import android.content.res.Resources.Theme;
42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
52 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DContextThemeWrapper.java41 private Resources.Theme mTheme;
82 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
152 public Resources.Theme getTheme() { in getTheme()
187 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
195 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/base/libs/androidfw/tests/
DTheme_bench.cpp58 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()
DTheme_test.cpp60 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
73 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
97 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
130 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
164 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
199 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
200 ASSERT_TRUE(theme->ApplyStyle(libclient::R::style::Theme, false /*force*/)); in TEST_F()
228 std::unique_ptr<Theme> theme_one = assetmanager.NewTheme(); in TEST_F()
245 std::unique_ptr<Theme> theme_two = assetmanager.NewTheme(); in TEST_F()
/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java22 import android.content.res.Resources.Theme;
47 public void put(long key, @Nullable Theme theme, @NonNull T entry) { in put()
61 public void put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) { in put()
87 public T get(long key, @Nullable Theme theme) { in get()
144 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) { in getThemedLocked()
DGradientColor.java24 import android.content.res.Resources.Theme;
251 public static GradientColor createFromXml(Resources r, XmlResourceParser parser, Theme theme) in createFromXml()
277 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
294 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
317 @NonNull AttributeSet attrs, @NonNull Theme theme) in inflateChildElements()
389 private void applyItemsAttrsTheme(Theme t) { in applyItemsAttrsTheme()
521 public GradientColor newInstance(Resources res, Theme theme) { in newInstance()
536 public GradientColor obtainForTheme(Theme t) { in obtainForTheme()
559 private void applyTheme(Theme t) { in applyTheme()
569 private void applyRootAttrsTheme(Theme t) { in applyRootAttrsTheme()
DComplexColor.java20 import android.content.res.Resources.Theme;
57 public abstract ComplexColor obtainForTheme(Theme t); in obtainForTheme()
DResources.java127 private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>();
145 com.android.internal.R.style.Theme, in selectDefaultTheme()
266 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i); in setImpl()
267 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null; in setImpl()
816 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) in getDrawable()
871 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) { in getDrawableForDensity()
883 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) in loadDrawable()
945 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor()
1014 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList()
1027 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadColorStateList()
[all …]
DColorStateList.java23 import android.content.res.Resources.Theme;
241 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml()
266 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
301 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
411 private void applyTheme(Theme t) { in applyTheme()
477 public ColorStateList obtainForTheme(Theme t) { in obtainForTheme()
695 public ColorStateList newInstance(Resources res, Theme theme) { in newInstance()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h35 class Theme; variable
229 std::unique_ptr<Theme> NewTheme();
289 class Theme {
303 bool SetTo(const Theme& o);
337 DISALLOW_COPY_AND_ASSIGN(Theme);
340 explicit inline Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) {} in Theme() function
DAttributeResolution.h45 bool ResolveAttrs(ResTable::Theme* theme, uint32_t def_style_attr, uint32_t def_style_res,
51 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowContainerControllerTests.java109 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testCreateRemoveStartingWindow()
127 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testAddRemoveRace()
142 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testTransferStartingWindow()
146 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(), in testTransferStartingWindow()
163 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(), in testTransferStartingWindowWhileCreating()
167 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testTransferStartingWindowWhileCreating()
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java59 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColor()
65 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColor()
90 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColorStateList()
104 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColorStateList()
130 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawable()
138 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawable()
227 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
230 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DFallbackThemeWrapper.java20 import android.content.res.Resources.Theme;
50 protected void onApplyThemeResource(Theme theme, int resId, boolean first) { in onApplyThemeResource()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java27 import android.content.res.Resources.Theme;
76 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) { in loadDrawable()
113 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateFromXml()
124 @NonNull AttributeSet attrs, int density, @Nullable Theme theme) in inflateFromXmlForDensity()
DDrawable.java33 import android.content.res.Resources.Theme;
892 public void applyTheme(@NonNull @SuppressWarnings("unused") Theme t) { in applyTheme()
1228 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml()
1239 @NonNull XmlPullParser parser, int density, @Nullable Theme theme) in createFromXmlForDensity()
1282 @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
1294 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXmlInnerForDensity()
1344 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
1433 @Nullable @SuppressWarnings("unused") Theme theme) { in newDrawable()
1498 @Nullable Theme theme, @NonNull AttributeSet set, @NonNull int[] attrs) { in obtainAttributes()
/frameworks/support/compat/java/android/support/v4/content/res/
DResourcesCompat.java26 import android.content.res.Resources.Theme;
76 @Nullable Theme theme) throws NotFoundException { in getDrawable()
109 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
138 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
169 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatColorStateListInflater.java54 @Nullable Resources.Theme theme) throws XmlPullParserException, IOException { in createFromXml()
80 @Nullable Resources.Theme theme) in createFromXmlInner()
95 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) in inflate()
162 private static TypedArray obtainAttributes(Resources res, Resources.Theme theme, in obtainAttributes()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java23 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/support/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java105 public void applyTheme(Drawable drawable, Resources.Theme t) { in applyTheme()
121 AttributeSet attrs, Resources.Theme t) in inflate()
254 public void applyTheme(Drawable drawable, Resources.Theme t) { in applyTheme()
298 AttributeSet attrs, Resources.Theme t) in inflate()
458 public static void applyTheme(@NonNull Drawable drawable, @NonNull Resources.Theme t) { in applyTheme()
497 @Nullable Resources.Theme theme) in inflate()

1234567