Home
last modified time | relevance | path

Searched refs:styleId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/res/
DStringBlock.java122 int styleId = style[styleIndex]; in get() local
124 if (styleId == mStyleIDs.boldId || styleId == mStyleIDs.italicId in get()
125 || styleId == mStyleIDs.underlineId || styleId == mStyleIDs.ttId in get()
126 || styleId == mStyleIDs.bigId || styleId == mStyleIDs.smallId in get()
127 || styleId == mStyleIDs.subId || styleId == mStyleIDs.supId in get()
128 || styleId == mStyleIDs.strikeId || styleId == mStyleIDs.listItemId in get()
129 || styleId == mStyleIDs.marqueeId) { in get()
134 String styleTag = nativeGetString(mNative, styleId); in get()
137 mStyleIDs.boldId = styleId; in get()
139 mStyleIDs.italicId = styleId; in get()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java131 int styleId = context.getDynamicIdByStyle(((StyleResourceValue) actionBarTheme)); in getInflater() local
132 if (styleId != 0) { in getInflater()
133 themedContext = new ContextThemeWrapper(context, styleId); in getInflater()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java138 int styleId = bridgeContext.getDynamicIdByStyle(((StyleResourceValue) preferenceTheme)); in getThemedContext() local
139 if (styleId != 0) { in getThemedContext()
140 return new ContextThemeWrapper(bridgeContext, styleId); in getThemedContext()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java268 public void setStyle(int styleId) { in setStyle() argument
272 if (styleId == CaptionStyle.PRESET_CUSTOM) { in setStyle()
275 style = CaptionStyle.PRESETS[styleId]; in setStyle()