/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_bench.cpp | 41 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 D | Theme_test.cpp | 67 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 D | AttributeResolution_test.cpp | 74 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 D | AttributeResolution_bench.cpp | 65 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 D | Presentation.java | 192 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 D | ContextThemeWrapper.java | 80 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 D | DrawableInflater.java | 77 @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 D | StateListDrawable.java | 118 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 D | Drawable.java | 1329 @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 D | MediaRouteDialogPresenter.java | 72 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 D | GradientColor.java | 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() 526 public GradientColor newInstance(Resources res, Theme theme) { in newInstance()
|
H A D | ThemedResourceCache.java | 53 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 D | ConstantState.java | 60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance()
|
H A D | DrawableCache.java | 42 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
|
H A D | ConfigurationBoundResourceCache.java | 43 public T getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
|
H A D | ColorStateList.java | 262 @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 D | AnimatorInflater.java | 104 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 D | AnimationScaleListDrawable.java | 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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ConfigurationBoundResourceCacheTest.java | 183 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 D | AttributeResolution.cpp | 66 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 D | ThemedSpinnerAdapter.java | 42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
|
/aosp14/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperSettingsActivity.java | 40 Resources.Theme theme = getTheme(); in onCreate() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
H A D | AlphaTintDrawableWrapper.java | 67 @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 D | SplashScreenStartingData.java | 28 SplashScreenStartingData(WindowManagerService service, int theme, in SplashScreenStartingData()
|
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
H A D | AdaptiveIconShapeDrawable.java | 47 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
|