Home
last modified time | relevance | path

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

12345

/aosp14/frameworks/base/libs/androidfw/tests/
H A DTheme_bench.cpp41 auto theme = assets.NewTheme(); in BM_ThemeApplyStyleFramework() local
58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeApplyStyleFrameworkOld() local
70 auto theme = assets.NewTheme(); in BM_ThemeGetAttribute() local
84 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld() local
H A DTheme_test.cpp67 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
77 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
97 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
126 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
135 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
165 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
195 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
265 auto theme = am.NewTheme(); in TEST_F() local
H A DAttributeResolution_test.cpp74 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST() local
104 std::unique_ptr<Theme> theme = assetmanager_.NewTheme(); in TEST_F() local
209 std::unique_ptr<Theme> theme = assetmanager_.NewTheme(); in TEST_F() local
H A DAttributeResolution_bench.cpp65 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in BM_ApplyStyle() local
138 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in BM_ApplyStyleFramework() local
/aosp14/frameworks/base/core/java/android/app/
H A DPresentation.java192 public Presentation(Context outerContext, Display display, int theme) { in Presentation()
217 public Presentation(@NonNull Context outerContext, @NonNull Display display, int theme, in Presentation()
219 super(createPresentationContext(outerContext, display, theme, type), theme, false); in Presentation() local
314 int theme) { in createPresentationContext()
319 Context outerContext, Display display, int theme, @WindowType int type) { in createPresentationContext()
/aosp14/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java80 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
156 public void setTheme(@Nullable Resources.Theme theme) { in setTheme()
202 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { in onApplyThemeResource()
211 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme() local
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableInflater.java77 @Nullable Theme theme, @DrawableRes int id) { in loadDrawable()
113 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateFromXml()
123 @NonNull AttributeSet attrs, int density, @Nullable Theme theme) in inflateFromXmlForDensity()
H A DStateListDrawable.java118 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
162 Theme theme) throws XmlPullParserException, IOException { in inflateChildElements()
383 public void applyTheme(Theme theme) { in applyTheme()
H A DDrawable.java1329 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml()
1340 @NonNull XmlPullParser parser, int density, @Nullable Theme theme) in createFromXmlForDensity()
1382 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
1393 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXmlInnerForDensity()
1441 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
1530 public @NonNull Drawable newDrawable(@Nullable Resources res, in newDrawable()
1610 @Nullable Theme theme, @NonNull AttributeSet set, @NonNull int[] attrs) { in obtainAttributes()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteDialogPresenter.java72 int theme = MediaRouteChooserDialog.isLightTheme(context) in createDialog() local
80 int routeTypes, View.OnClickListener extendedSettingsClickListener, int theme) { in createDialog()
87 View.OnClickListener extendedSettingsClickListener, int theme, in createDialog()
/aosp14/frameworks/base/core/java/android/content/res/
H A DGradientColor.java256 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()
526 public GradientColor newInstance(Resources res, Theme theme) { in newInstance()
H A DThemedResourceCache.java53 public void put(long key, @Nullable Theme theme, @NonNull T entry, int generation) { in put()
68 public void put(long key, @Nullable Theme theme, @NonNull T entry, int generation, in put()
105 public T get(long key, @Nullable Theme theme) { in get()
H A DConstantState.java60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance()
H A DDrawableCache.java42 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
H A DConfigurationBoundResourceCache.java43 public T getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
H A DColorStateList.java262 @Nullable Theme theme) throws XmlPullParserException, IOException { in createFromXml()
287 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
340 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
755 public ColorStateList newInstance(Resources res, Theme theme) { in newInstance()
/aosp14/frameworks/base/core/java/android/animation/
H A 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()
163 final Theme theme = context.getTheme(); in loadStateListAnimator() local
642 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
649 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
719 private static PropertyValuesHolder[] loadValues(Resources res, Theme theme, in loadValues()
777 private static int inferValueTypeOfKeyframe(Resources res, Theme theme, AttributeSet attrs) { in inferValueTypeOfKeyframe()
833 private static PropertyValuesHolder loadPvh(Resources res, Theme theme, XmlPullParser parser, in loadPvh()
956 private static Keyframe loadKeyframe(Resources res, Theme theme, AttributeSet attrs, in loadKeyframe()
1010 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs, in loadObjectAnimator()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/graphics/drawable/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java183 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
199 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
208 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; in testConfigChangeMultipleThemes() local
/aosp14/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp66 base::expected<const ResolvedBag*, NullOrIOError> GetStyleBag(Theme* theme, in GetStyleBag()
90 base::expected<const ResolvedBag*, NullOrIOError> GetXmlStyleBag(Theme* theme, in GetXmlStyleBag()
121 base::expected<std::monostate, IOError> ResolveAttrs(Theme* theme, uint32_t def_style_attr, in ResolveAttrs()
220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle()
/aosp14/frameworks/base/core/java/android/widget/
H A DThemedSpinnerAdapter.java42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
/aosp14/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme(); in onCreate() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DAlphaTintDrawableWrapper.java67 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
157 public Drawable newDrawable(Resources res, Theme theme) { in newDrawable()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSplashScreenStartingData.java28 SplashScreenStartingData(WindowManagerService service, int theme, in SplashScreenStartingData()
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A DAdaptiveIconShapeDrawable.java47 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()

12345