Home
last modified time | relevance | path

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

123456789

/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/av/packages/MediaComponents/src/com/android/media/update/
DApiHelper.java25 import android.content.res.Resources.Theme;
45 private static Theme sLibTheme;
61 public static Theme getLibTheme(Context context) { in getLibTheme()
67 public static Theme getLibTheme(Context context, int themeId) { in getLibTheme()
68 Theme theme = getLibResources(context).newTheme(); in getLibTheme()
77 public static LayoutInflater getLayoutInflater(Context context, Theme theme) { in getLayoutInflater()
117 public static View inflateLibLayout(Context context, Theme theme, int libResId) { in inflateLibLayout()
121 public static View inflateLibLayout(Context context, Theme theme, int libResId, in inflateLibLayout()
128 private static synchronized Theme getLibThemeSynchronized(Context context) { in getLibThemeSynchronized()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DThemedSpinnerAdapter.java22 import android.content.res.Resources.Theme;
52 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
62 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
123 public void setDropDownViewTheme(@Nullable Resources.Theme theme) { in setDropDownViewTheme()
139 public Resources.Theme getDropDownViewTheme() { in getDropDownViewTheme()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java29 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()
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/support/v7/appcompat/src/main/java/androidx/appcompat/view/
DContextThemeWrapper.java35 private Resources.Theme mTheme;
76 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
141 public Resources.Theme getTheme() { in getTheme()
176 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
184 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/base/libs/androidfw/include/androidfw/
DAssetManager2.h35 class Theme; variable
235 std::unique_ptr<Theme> NewTheme();
338 class Theme {
342 ~Theme();
354 bool SetTo(const Theme& o);
392 DISALLOW_COPY_AND_ASSIGN(Theme);
395 explicit Theme(AssetManager2* asset_manager);
DAttributeResolution.h46 bool ResolveAttrs(Theme* theme, uint32_t def_style_attr, uint32_t def_style_resid,
52 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
/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.cpp65 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
78 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
102 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
135 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
147 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
181 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
216 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F()
217 ASSERT_TRUE(theme->ApplyStyle(libclient::R::style::Theme, false /*force*/)); in TEST_F()
245 std::unique_ptr<Theme> theme_one = assetmanager.NewTheme(); in TEST_F()
262 std::unique_ptr<Theme> theme_two = assetmanager.NewTheme(); in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowContainerControllerTests.java108 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testCreateRemoveStartingWindow()
126 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testAddRemoveRace()
143 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testTransferStartingWindow()
147 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(), in testTransferStartingWindow()
164 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(), in testTransferStartingWindowWhileCreating()
168 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testTransferStartingWindowWhileCreating()
188 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true, in testTryTransferStartingWindowFromHiddenAboveToken()
/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;
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()
DComplexColor.java20 import android.content.res.Resources.Theme;
57 public abstract ComplexColor obtainForTheme(Theme t); in obtainForTheme()
DResources.java128 private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>();
154 com.android.internal.R.style.Theme, in selectDefaultTheme()
275 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i); in setImpl()
276 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null; in setImpl()
825 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) in getDrawable()
883 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) { in getDrawableForDensity()
895 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) in loadDrawable()
957 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor()
1026 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList()
1039 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/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()
/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/support/compat/src/androidTest/java/androidx/core/content/res/
DResourcesCompatTest.java68 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColor()
74 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColor()
99 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColorStateList()
113 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColorStateList()
139 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawable()
147 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawable()
236 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
239 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/
DAppCompatColorStateListInflater.java55 @Nullable Resources.Theme theme) throws XmlPullParserException, IOException { in createFromXml()
81 @Nullable Resources.Theme theme) in createFromXmlInner()
96 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) in inflate()
163 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/src/main/java/androidx/core/content/res/
DResourcesCompat.java27 import android.content.res.Resources.Theme;
80 @Nullable Theme theme) throws NotFoundException { in getDrawable()
113 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
142 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
173 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/support/graphics/drawable/static/api/
Dcurrent.txt4 …ctorDrawableCompat create(android.content.res.Resources, int, android.content.res.Resources.Theme);
5 …1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme) throws java.io.IO…

123456789