Searched refs:btnIndex (Results 1 – 2 of 2) sorted by relevance
282 void DialogPattern::RecordEvent(int32_t btnIndex) const in RecordEvent()288 if (btnIndex >= 0 && static_cast<size_t>(btnIndex) < dialogProperties_.buttons.size()) { in RecordEvent()289 btnText = dialogProperties_.buttons.at(btnIndex).text; in RecordEvent()292 if (btnIndex == -1) { in RecordEvent()1270 int32_t btnIndex = 0; in UpdateButtonsProperty() local1284 ParseButtonFontColorAndBgColor(dialogProperties_.buttons[btnIndex], textColorStr, bgColor); in UpdateButtonsProperty()1295 buttonTextLayoutProperty->UpdateContent(dialogProperties_.buttons[btnIndex].text); in UpdateButtonsProperty()1299 ++btnIndex; in UpdateButtonsProperty()
368 void RecordEvent(int32_t btnIndex) const;