Searched refs:Theme (Results 1 - 25 of 152) sorted by relevance

1234567

/frameworks/base/core/java/android/widget/
H A DThemedSpinnerAdapter.java21 import android.content.res.Resources.Theme;
30 * {@link #setDropDownViewTheme(Theme)} when creating views in
35 * Sets the {@link Resources.Theme} against which drop-down views are
42 void setDropDownViewTheme(@Nullable Resources.Theme theme);
46 * {@link #setDropDownViewTheme(Theme)}.
48 * @return the {@link Resources.Theme} against which drop-down views are
52 Resources.Theme getDropDownViewTheme();
/frameworks/base/core/java/android/content/res/
H A DComplexColor.java20 import android.content.res.Resources.Theme;
57 public abstract ComplexColor obtainForTheme(Theme t);
H A DConstantState.java22 * depending on the current {@link Resources.Theme} or {@link Configuration}.
60 public T newInstance(Resources res, Resources.Theme theme) {
H A DConfigurationBoundResourceCache.java37 public T getInstance(long key, Resources resources, Resources.Theme theme) {
H A DDrawableCache.java34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) {
H A DThemedResourceCache.java22 import android.content.res.Resources.Theme;
47 public void put(long key, @Nullable Theme theme, @NonNull T entry) {
61 public void put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) {
87 public T get(long key, @Nullable Theme theme) {
144 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DFallbackThemeWrapper.java20 import android.content.res.Resources.Theme;
50 protected void onApplyThemeResource(Theme theme, int resId, boolean first) {
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DThemedSpinnerAdapter.java22 import android.content.res.Resources.Theme;
37 * {@link #setDropDownViewTheme(Theme)} when creating views in
45 * Sets the {@link Resources.Theme} against which drop-down views are
52 void setDropDownViewTheme(@Nullable Resources.Theme theme);
56 * {@link #setDropDownViewTheme(Theme)}.
58 * @return the {@link Resources.Theme} against which drop-down views are
62 Resources.Theme getDropDownViewTheme();
93 * public void setDropDownViewTheme(@Nullable Resources.Theme theme) {
99 * public Resources.Theme getDropDownViewTheme() {
118 * {@link ThemedSpinnerAdapter#setDropDownViewTheme(Theme)}
[all...]
/frameworks/layoutlib/bridge/src/android/content/res/
H A DComplexColor_Accessor.java24 import android.content.res.Resources.Theme;
31 * XmlPullParser, AttributeSet, Theme)} and {@link ColorStateList#createFromXmlInner(Resources,
32 * XmlPullParser, AttributeSet, Theme)} methods
36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme)
42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme)
H A DResources_Theme_Delegate.java29 import android.content.res.Resources.Theme;
35 * Delegate used to provide new implementation of a select few methods of {@link Resources.Theme}
37 * Through the layoutlib_create tool, the original methods of Theme have been replaced
56 Resources thisResources, Theme thisTheme,
68 Resources thisResources, Theme thisTheme,
81 Resources thisResources, Theme thisTheme,
93 Resources thisResources, Theme thisTheme,
104 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme,
112 private static boolean setupResources(Theme thisTheme) {
/frameworks/base/libs/androidfw/tests/data/lib_one/
H A DR.h36 Theme = 0x02020000, // default
/frameworks/base/libs/androidfw/tests/data/libclient/
H A DR.h36 Theme = 0x7f020000, // default
/frameworks/av/packages/MediaComponents/src/com/android/media/update/
H A DApiHelper.java25 import android.content.res.Resources.Theme;
45 private static Theme sLibTheme;
61 public static Theme getLibTheme(Context context) {
67 public static Theme getLibTheme(Context context, int themeId) {
68 Theme theme = getLibResources(context).newTheme();
77 public static LayoutInflater getLayoutInflater(Context context, Theme theme) {
117 public static View inflateLibLayout(Context context, Theme theme, int libResId) {
121 public static View inflateLibLayout(Context context, Theme theme, int libResId,
128 private static synchronized Theme getLibThemeSynchronized(Context context) {
/frameworks/base/libs/androidfw/include/androidfw/
H A 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,
H A DAssetManager2.h35 class Theme;
234 // Creates a new Theme from this AssetManager.
235 std::unique_ptr<Theme> NewTheme();
338 class Theme { class in namespace:android
342 ~Theme();
352 // Sets this Theme to be a copy of `o` if `o` has the same AssetManager as this Theme.
354 bool SetTo(const Theme& o);
392 DISALLOW_COPY_AND_ASSIGN(Theme);
395 explicit Theme(AssetManager
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTheme_bench.cpp27 constexpr const static uint32_t kStyleId = 0x01030237u; // android:style/Theme.Material.Light
58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)};
87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)};
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java32 private Resources.Theme mTheme;
73 public ContextThemeWrapper(Context base, Resources.Theme theme) {
151 public Resources.Theme getTheme() {
176 * resource to the current Theme object. May be overridden to change the
185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) {
193 final Resources.Theme theme = getBaseContext().getTheme();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DContextThemeWrapper.java35 private Resources.Theme mTheme;
76 public ContextThemeWrapper(Context base, Resources.Theme theme) {
141 public Resources.Theme getTheme() {
167 * resource to the current Theme object. Can override to change the
171 * @param theme The Theme object being modified.
176 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
184 Resources.Theme theme = getBaseContext().getTheme();
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme();
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java21 import android.content.res.Resources.Theme;
63 public AccelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DAnticipateInterpolator.java21 import android.content.res.Resources.Theme;
55 public AnticipateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DCycleInterpolator.java21 import android.content.res.Resources.Theme;
46 public CycleInterpolator(Resources resources, Theme theme, AttributeSet attrs) {
H A DDecelerateInterpolator.java21 import android.content.res.Resources.Theme;
56 public DecelerateInterpolator(Resources res, Theme theme, AttributeSet attrs) {
H A DOvershootInterpolator.java21 import android.content.res.Resources.Theme;
56 public OvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) {
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DAppWindowContainerControllerTests.java108 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true,
126 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true,
143 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true,
147 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(),
164 android.R.style.Theme, null, "Test", 0, 0, 0, 0, controller1.mToken.asBinder(),
168 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true,
188 android.R.style.Theme, null, "Test", 0, 0, 0, 0, null, true, true, false, true,

Completed in 6451 milliseconds

1234567