Home
last modified time | relevance | path

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

12345

/frameworks/base/libs/androidfw/tests/
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
87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld() local
DTheme_test.cpp60 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
73 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
97 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
130 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
164 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
199 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
DAttributeResolution_test.cpp69 ResTable::Theme theme(table_); in TEST_F() local
174 ResTable::Theme theme(table_); in TEST_F() local
/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.java39 /*package*/ static void deleteTheme(AssetManager manager, long theme) { in deleteTheme()
/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/support/compat/java/android/support/v4/content/res/
DResourcesCompat.java76 @Nullable Theme theme) throws NotFoundException { in getDrawable()
109 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
138 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
169 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DButtonFooterMixin.java72 public Button addButton(CharSequence text, @StyleRes int theme) { in addButton()
89 public Button addButton(@StringRes int text, @StyleRes int theme) { in addButton()
168 private Button createThemedButton(Context context, @StyleRes int theme) { in createThemedButton()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java197 final String theme = intent.getStringExtra(EXTRA_THEME); in isLightTheme() local
209 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme()
233 final String theme = intent.getStringExtra(EXTRA_THEME); in getThemeRes() local
256 public static @StyleRes int getThemeRes(String theme, @StyleRes int defaultTheme) { in getThemeRes()
DFallbackThemeWrapper.java50 protected void onApplyThemeResource(Theme theme, int resId, boolean first) { in onApplyThemeResource()
/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()
124 @NonNull AttributeSet attrs, int density, @Nullable Theme theme) in inflateFromXmlForDensity()
/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/support/v7/appcompat/src/android/support/v7/view/
DContextThemeWrapper.java82 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
187 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
195 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme() local
/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/base/core/java/android/app/
DPresentation.java185 public Presentation(Context outerContext, Display display, int theme) { in Presentation()
186 super(createPresentationContext(outerContext, display, theme), theme, false); in Presentation() local
304 Context outerContext, Display display, int theme) { in createPresentationContext()
/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()
/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
639 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
646 private static Animator createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, in createAnimatorFromXml()
716 private static PropertyValuesHolder[] loadValues(Resources res, Theme theme, in loadValues()
774 private static int inferValueTypeOfKeyframe(Resources res, Theme theme, AttributeSet attrs) { in inferValueTypeOfKeyframe()
830 private static PropertyValuesHolder loadPvh(Resources res, Theme theme, XmlPullParser parser, in loadPvh()
953 private static Keyframe loadKeyframe(Resources res, Theme theme, AttributeSet attrs, in loadKeyframe()
1007 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs, in loadObjectAnimator()
[all …]
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatorInflaterCompat.java116 public static Animator loadAnimator(Context context, Resources resources, Theme theme, in loadAnimator()
124 public static Animator loadAnimator(Context context, Resources resources, Theme theme, in loadAnimator()
497 private static Animator createAnimatorFromXml(Context context, Resources res, Theme theme, in createAnimatorFromXml()
505 private static Animator createAnimatorFromXml(Context context, Resources res, Theme theme, in createAnimatorFromXml()
574 private static PropertyValuesHolder[] loadValues(Context context, Resources res, Theme theme, in loadValues()
633 private static int inferValueTypeOfKeyframe(Resources res, Theme theme, AttributeSet attrs, in inferValueTypeOfKeyframe()
687 private static PropertyValuesHolder loadPvh(Context context, Resources res, Theme theme, in loadPvh()
813 private static Keyframe loadKeyframe(Context context, Resources res, Theme theme, in loadKeyframe()
869 private static ObjectAnimator loadObjectAnimator(Context context, Resources res, Theme theme, in loadObjectAnimator()
887 private static ValueAnimator loadAnimator(Context context, Resources res, Theme theme, in loadAnimator()
/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/java/android/widget/
DThemedSpinnerAdapter.java42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
/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/service/wallpaper/
DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme(); in onCreate() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java146 @NonNull BridgeContext context, @Nullable Theme theme, boolean allowGradients) { in getInternalComplexColor()
278 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { in getDrawable()
375 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean in getFont()
446 public static Typeface getFont(ResourceValue value, BridgeContext context, Theme theme) { in getFont()

12345