Home
last modified time | relevance | path

Searched refs:buttonTypeIntValue (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_calendar_picker.cpp94 auto buttonTypeIntValue = pickerButtonParamObject->GetProperty("type")->ToNumber<int32_t>(); in ParseButtonStyle() local
95 if (buttonTypeIntValue == static_cast<int32_t>(ButtonType::CAPSULE) || in ParseButtonStyle()
96 buttonTypeIntValue == static_cast<int32_t>(ButtonType::CIRCLE) || in ParseButtonStyle()
97 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ARC) || in ParseButtonStyle()
98 buttonTypeIntValue == static_cast<int32_t>(ButtonType::NORMAL) || in ParseButtonStyle()
99 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ROUNDED_RECTANGLE)) { in ParseButtonStyle()
100 buttonInfo.type = static_cast<ButtonType>(buttonTypeIntValue); in ParseButtonStyle()
H A Djs_datepicker.cpp214 auto buttonTypeIntValue = pickerButtonParamObject->GetProperty("type")->ToNumber<int32_t>(); in ParseButtonStyle() local
215 if (buttonTypeIntValue == static_cast<int32_t>(ButtonType::CAPSULE) || in ParseButtonStyle()
216 buttonTypeIntValue == static_cast<int32_t>(ButtonType::CIRCLE) || in ParseButtonStyle()
217 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ARC) || in ParseButtonStyle()
218 buttonTypeIntValue == static_cast<int32_t>(ButtonType::NORMAL) || in ParseButtonStyle()
219 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ROUNDED_RECTANGLE)) { in ParseButtonStyle()
220 buttonInfo.type = static_cast<ButtonType>(buttonTypeIntValue); in ParseButtonStyle()
H A Djs_textpicker.cpp134 auto buttonTypeIntValue = pickerButtonParamObject->GetProperty("type")->ToNumber<int32_t>(); in ParseButtonStyle() local
135 if (buttonTypeIntValue == static_cast<int32_t>(ButtonType::CAPSULE) || in ParseButtonStyle()
136 buttonTypeIntValue == static_cast<int32_t>(ButtonType::CIRCLE) || in ParseButtonStyle()
137 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ARC) || in ParseButtonStyle()
138 buttonTypeIntValue == static_cast<int32_t>(ButtonType::NORMAL) || in ParseButtonStyle()
139 buttonTypeIntValue == static_cast<int32_t>(ButtonType::ROUNDED_RECTANGLE)) { in ParseButtonStyle()
140 buttonInfo.type = static_cast<ButtonType>(buttonTypeIntValue); in ParseButtonStyle()

Completed in 9 milliseconds