Home
last modified time | relevance | path

Searched refs:buttonNum_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_dialog.cpp81 buttonNum_(0), in UIDialog()
223 buttonNum_++; in AddButton()
336 if (buttonNum_ > 1) { in AddComponents()
348 if (buttonNum_ == 3) { // 3: three buttons in AddComponents()
367 if (buttonNum_ > 0) { in MeasureSize()
369 …t16_t buttonWidth = (width - 2 * BUTTON_PADDING - (buttonNum_ - 1) * BUTTON_MID_PADDING) / buttonN… in MeasureSize()
371 … width = static_cast<uint32_t>(buttonWidth) * buttonNum_ + (buttonNum_ - 1) * BUTTON_MID_PADDING + in MeasureSize()
426 if (buttonNum_ > 0) { in MeasureMaxWidth()
428 … static_cast<uint32_t>(MeasureButtonWidth()) * buttonNum_ + (buttonNum_ - 1) * BUTTON_MID_PADDING; in MeasureMaxWidth()
470 if (buttonNum_ == 0) { in MeasureButtonWidth()
[all …]
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_dialog.h222 uint8_t buttonNum_; variable