/frameworks/base/libs/androidfw/tests/ |
D | Theme_bench.cpp | 45 auto theme = assets.NewTheme(); in BM_ThemeApplyStyleFramework() local 62 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeApplyStyleFrameworkOld() local 83 const auto theme = assets.NewTheme(); in BM_ThemeRebaseFramework() local 100 auto theme = assets.NewTheme(); in BM_ThemeGetAttribute() local 114 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld() local
|
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
|
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
|
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
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 196 public Presentation(Context outerContext, Display display, int theme) { in Presentation() 221 public Presentation(@NonNull Context outerContext, @NonNull Display display, int theme, in Presentation() 223 super(createPresentationContext(outerContext, display, theme, type), theme, false); in Presentation() local 323 int theme) { in createPresentationContext() 328 Context outerContext, Display display, int theme, @WindowType int type) { in createPresentationContext()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | ThemeResolver.java | 72 public int resolve(@Nullable String theme) { in resolve() 77 private int resolve(@Nullable String theme, boolean suppressDayNight) { in resolve() 102 private static int getDayNightThemeRes(@Nullable String theme) { in getDayNightThemeRes() 129 private static int getThemeRes(@Nullable String theme) { in getThemeRes() 164 private static int getThemeVersion(String theme) { in getThemeVersion()
|
D | WizardManagerHelper.java | 247 final String theme = intent.getStringExtra(EXTRA_THEME); in isLightTheme() local 260 public static boolean isLightTheme(String theme, boolean def) { in isLightTheme() 346 String theme, @StyleRes int defaultTheme, @Nullable String oldestSupportedTheme) { in getThemeRes() 377 public static @StyleRes int getThemeRes(@Nullable String theme, @StyleRes int defaultTheme) { in getThemeRes()
|
/frameworks/base/core/java/android/view/ |
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
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | Theme.java | 49 public Theme(int theme) { in Theme() 101 public static void apply(@NonNull WireBuffer buffer, int theme) { in apply() 113 int theme = buffer.readInt(); in read() local
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ButtonFooterMixin.java | 68 public Button addButton(CharSequence text, @StyleRes int theme) { in addButton() 84 public Button addButton(@StringRes int text, @StyleRes int theme) { in addButton() 163 private Button createThemedButton(Context context, @StyleRes int theme) { in createThemedButton()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | ComplexColor_Accessor.java | 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createGradientColorFromXmlInner() 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createColorStateListFromXmlInner()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
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()
|
/frameworks/base/core/java/com/android/internal/app/ |
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()
|
D | MediaRouteChooserDialog.java | 49 public MediaRouteChooserDialog(Context context, int theme) { in MediaRouteChooserDialog() 53 public MediaRouteChooserDialog(Context context, int theme, boolean showProgressBarWhenEmpty) { in MediaRouteChooserDialog()
|
/frameworks/base/core/java/android/content/res/ |
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()
|
D | ThemedResourceCache.java | 55 public void put(long key, @Nullable Theme theme, @NonNull T entry, int generation) { in put() 70 public void put(long key, @Nullable Theme theme, @NonNull T entry, int generation, in put() 107 public T get(long key, @Nullable Theme theme) { in get()
|
/frameworks/base/core/java/android/animation/ |
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 …]
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
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()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | PointerIconLoadingTest.kt | 87 val theme: Resources.Theme = context.getResources().newTheme() in testPointerFillStyle() constant 118 val theme: Resources.Theme = context.getResources().newTheme() in testPointerStrokeStyle() constant 149 val theme: Resources.Theme = context.getResources().newTheme() in testPointerScale() constant
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 193 @NonNull BridgeContext context, @Nullable Theme theme, boolean allowGradients) { in getInternalComplexColor() 271 @NonNull BridgeContext context, @Nullable Resources.Theme theme) { in getColorStateList() 286 @NonNull BridgeContext context, @Nullable Resources.Theme theme) { in getComplexColor() 347 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { in getDrawable() 484 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean in getFont() 504 public static Typeface getFont(ResourceValue value, BridgeContext context, Theme theme) { in getFont()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 103 public SystemUIDialog(Context context, int theme) { in SystemUIDialog() 107 public SystemUIDialog(Context context, int theme, boolean dismissOnDeviceLock) { in SystemUIDialog() 181 public SystemUIDialog create(Delegate delegate, Context context, @StyleRes int theme) { in create() 191 Context context, @StyleRes int theme, boolean shouldAcsdDismissDialog) { in create() 207 int theme, in SystemUIDialog() 228 int theme, in SystemUIDialog() 249 int theme, in SystemUIDialog()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 194 final Resources.Theme theme = i == 0 ? mContext.getTheme() : null; in testConfigChangeMultipleThemes() local 210 final Resources.Theme theme = i == 0 ? mContext.getTheme() : null; in testConfigChangeMultipleThemes() local 219 final Resources.Theme theme = i == 0 ? mContext.getTheme() : null; in testConfigChangeMultipleThemes() local
|
/frameworks/base/libs/androidfw/ |
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()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ButtonItem.java | 42 private int theme = R.style.SuwButtonItem; field in ButtonItem 79 public void setTheme(int theme) { in setTheme()
|
/frameworks/base/core/java/android/widget/ |
D | ThemedSpinnerAdapter.java | 42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
|