Home
last modified time | relevance | path

Searched refs:styleString (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Drelative_time_format.cpp112 styleString = configs["style"]; in ParseConfigs()
114 if (relativeFormatStyle.count(styleString) > 0) { in ParseConfigs()
115 style = relativeFormatStyle[styleString]; in ParseConfigs()
213 if (!styleString.empty()) { in GetResolvedOptions()
214 map.insert(std::make_pair("style", styleString)); in GetResolvedOptions()
231 styleString = defaultFormatStyle[deviceType]; in SetDefaultStyle()
H A Dnumber_format.cpp162 if (!styleString.empty() && styleString == "percent") { in InitProperties()
167 if (!styleString.empty() && styleString == "unit") { in InitProperties()
245 styleString = configs["style"]; in ParseConfigs()
247 if (styleString == "unit" && configs.count("unit") > 0) { in ParseConfigs()
259 if (styleString == "currency" && configs.count("currency") > 0) { in ParseConfigs()
386 if (!styleString.empty()) { in GetResolvedOptions()
387 map.insert(std::make_pair("style", styleString)); in GetResolvedOptions()
500 return styleString; in GetStyle()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Drelative_time_format.h59 std::string styleString = "long"; variable
H A Dnumber_format.h70 std::string styleString; variable
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1966 styleString: MutableStyledString = new MutableStyledString("hello world", [{
1974 this.controller.setStyledString(this.styleString)
1981 let arr = this.styleString.getStyles(0, this.styleString.length)
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_textfield.cpp356 auto styleString = info[0]->ToString(); in SetInputStyle() local
357 if (styleString == "Inline") { in SetInputStyle()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1964 styleString: MutableStyledString = new MutableStyledString("hello world", [{
1972 this.controller.setStyledString(this.styleString)
1979 let arr = this.styleString.getStyles(0, this.styleString.length)