Home
last modified time | relevance | path

Searched defs:theme (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/support/compat/java/android/support/v4/content/res/
DResourcesCompat.java58 @Nullable Theme theme) throws NotFoundException { in getDrawable()
91 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
120 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
151 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DContextThemeWrapper.java46 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
99 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
107 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme() local
/frameworks/support/compat/api23/android/support/v4/content/res/
DResourcesCompatApi23.java25 public static int getColor(Resources res, int id, Theme theme) throws NotFoundException { in getColor()
29 public static ColorStateList getColorStateList(Resources res, int id, Theme theme) in getColorStateList()
/frameworks/support/compat/api21/android/support/v4/content/res/
DResourcesCompatApi21.java25 public static Drawable getDrawable(Resources res, int id, Theme theme) in getDrawable()
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) in getDrawableForDensity()
/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/tools/layoutlib/bridge/src/android/content/res/
DComplexColor_Accessor.java36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createGradientColorFromXmlInner()
42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createColorStateListFromXmlInner()
DAssetManager_Delegate.java37 /*package*/ static void deleteTheme(AssetManager manager, long theme) { in deleteTheme()
/frameworks/base/core/java/android/app/
DPresentation.java176 public Presentation(Context outerContext, Display display, int theme) { in Presentation()
177 super(createPresentationContext(outerContext, display, theme), theme, false); in Presentation() local
290 Context outerContext, Display display, int theme) { in createPresentationContext()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java73 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { in onApplyThemeResource()
193 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme() local
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemedSpinnerAdapter.java51 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
122 public void setDropDownViewTheme(@Nullable Resources.Theme theme) { in setDropDownViewTheme()
/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java47 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()
DGradientColor.java251 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()
521 public GradientColor newInstance(Resources res, Theme theme) { in newInstance()
DConstantState.java60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance()
DConfigurationBoundResourceCache.java37 public T getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
DDrawableCache.java34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
DAssetManager.java261 final boolean getThemeValue(long theme, @AnyRes int resId, @NonNull TypedValue outValue, in getThemeValue()
546 /*package*/ final void releaseTheme(long theme) { in releaseTheme()
805 /*package*/ native static final boolean applyStyle(long theme, in applyStyle()
808 /*package*/ native static final boolean resolveAttrs(long theme, in resolveAttrs()
844 private native final void deleteTheme(long theme); in deleteTheme()
845 /*package*/ native static final void applyThemeStyle(long theme, int styleRes, boolean force); in applyThemeStyle()
847 /*package*/ native static final void clearTheme(long theme); in clearTheme()
848 /*package*/ native static final int loadThemeAttributeValue(long theme, int ident, in loadThemeAttributeValue()
851 …/*package*/ native static final void dumpTheme(long theme, int priority, String tag, String prefix… in dumpTheme()
852 /*package*/ native static final @NativeConfig int getThemeChangingConfigurations(long theme); in getThemeChangingConfigurations()
DResources.java264 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null; in setImpl() local
765 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) in getDrawable()
823 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) { in getDrawableForDensity()
856 Drawable loadDrawable(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadDrawable()
918 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor()
987 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList()
1000 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadColorStateList()
1009 public ComplexColor loadComplexColor(@NonNull TypedValue value, int id, @Nullable Theme theme) { in loadComplexColor()
1732 Theme theme = new Theme(); in newTheme() local
2145 Resources res, Theme theme, AttributeSet set, int[] attrs) { in obtainAttributes()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java104 public static Animator loadAnimator(Resources resources, Theme theme, int id) in loadAnimator()
110 public static Animator loadAnimator(Resources resources, Theme theme, int id, in loadAnimator()
162 final Theme theme = context.getTheme(); in loadStateListAnimator() local
635 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
642 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
712 private static PropertyValuesHolder[] loadValues(Resources res, Theme theme, in loadValues()
770 private static int inferValueTypeOfKeyframe(Resources res, Theme theme, AttributeSet attrs) { in inferValueTypeOfKeyframe()
826 private static PropertyValuesHolder loadPvh(Resources res, Theme theme, XmlPullParser parser, in loadPvh()
949 private static Keyframe loadKeyframe(Resources res, Theme theme, AttributeSet attrs, in loadKeyframe()
1003 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs, in loadObjectAnimator()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java76 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) { in loadDrawable()
113 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateFromXml()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java78 @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/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java171 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
185 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
194 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
/frameworks/base/core/java/android/widget/
DThemedSpinnerAdapter.java42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme(); in onCreate() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DNavigationBar.java58 int theme = attributes.getResourceId(0, 0); in getNavbarTheme() local
74 final int theme = getNavbarTheme(context); in getThemedContext() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java193 final String theme = intent.getStringExtra(EXTRA_THEME); in isLightTheme() local
205 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme()

12345