Home
last modified time | relevance | path

Searched refs:buttonText (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_dialog_unit_test.cpp140 const char* buttonText = "button"; variable
141 dialog_->SetButton(UIDialog::DialogButtonType::BUTTON_LEFT, buttonText, listener_);
144 if (strcmp(buttonText0, buttonText) != 0) {
206 const char* buttonText = "button"; variable
207 dialog_->SetButton(UIDialog::DialogButtonType::BUTTON_LEFT, buttonText, listener_);
210 if (strcmp(buttonText0, buttonText) != 0) {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-ProgressButton.md60 @State buttonText: string = 'Download'
66 Button(this.buttonText)
79 this.buttonText = 'Pending'
97 this.buttonText = 'Installing'
99 this.buttonText = 'Open'
138 this.buttonText = 'Installing'
140 this.buttonText = 'Open'
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-events-device-input-event.md127 @State buttonText: string = '';
158 Text(this.buttonText).fontColor(Color.Green)
207 buttonText:string = ''
209 this.buttonText = val
351 @State buttonText: string = '';
369 this.buttonText = 'Button: \n' +
377 Text(this.buttonText).fontColor(Color.Green)
423 @State buttonText: string = '';
445 this.buttonText = 'Button: \n' +
453 Text(this.buttonText).fontColor(Color.Green)
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/candidateWifiModel/view/
H A DProgressEditPanel.ets52 buttonText : $r('app.string.cancel_button')
56 buttonText : $r('app.string.confirm_button')
73 buttonText!: Resource;
76 Text(this.buttonText)
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/manager/
H A DStateManager.ets62 return OtaUpdateManager.getInstance().getStateObj(status).buttonText;
221 public buttonText: string | Resource = $r('app.string.btn_download');
314 this.buttonText = $r('app.string.cancel');
343 this.buttonText = $r('app.string.continue');
388 this.buttonText = $r('app.string.cancel');
419 this.buttonText = $r('app.string.btn_upgrade');
467 this.buttonText = $r('app.string.btn_upgrade')
498 this.buttonText = $r('app.string.btn_reboot');
525 this.buttonText = $r('app.string.btn_upgrade');
577 this.buttonText = $r('app.string.btn_upgrade');
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/dialog/
H A Djs_dialog.cpp129 char *buttonText = JSI::GetStringProperty(buttonObject, buttonTextKey); in ParseButton() local
138 JSI::ReleaseString(buttonText); in ParseButton()
143 … dialog->SetButton(static_cast<UIDialog::DialogButtonType>(index), buttonText, dialogListener_); in ParseButton()
145 JSI::ReleaseString(buttonText); in ParseButton()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Drosen_render_search.cpp89 auto buttonText = renderSearchBox_->GetFirstChild(); in Paint() local
90 if (buttonText) { in Paint()
91 auto textSize = buttonText->GetLayoutSize(); in Paint()
94 buttonText->Paint(context, offset + searchBoxOffset_ + Offset(xOffset, yOffset)); in Paint()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-events-device-input-event.md127 @State buttonText: string = '';
158 Text(this.buttonText).fontColor(Color.Green)
207 buttonText:string = ''
209 this.buttonText = val
351 @State buttonText: string = '';
369 this.buttonText = 'Button: \n' +
377 Text(this.buttonText).fontColor(Color.Green)
423 @State buttonText: string = '';
445 this.buttonText = 'Button: \n' +
453 Text(this.buttonText).fontColor(Color.Green)
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_arc_label/
H A Dui_test_arc_label.h98 UILabelButton* GetTestUIButton(const char* buttonText, int16_t x, int16_t y, const char* id);
H A Dui_test_arc_label.cpp181 UILabelButton* UITestArcLabel::GetTestUIButton(const char* buttonText, int16_t x, int16_t y, const … in GetTestUIButton() argument
183 if (buttonText == nullptr) { in GetTestUIButton()
190 labelButton->SetText(buttonText); in GetTestUIButton()
/ohos5.0/base/update/update_app/product/oh/base/src/main/ets/pages/
H A Dindex.ets67 @State private buttonText: string = '';
233 …this.buttonText = FormatUtils.toUpperCase(globalThis.abilityContext, $r('app.string.btn_check_new_…
304 Text(this.buttonText)
H A DnewVersion.ets64 @State private buttonText: string = '';
174 this.buttonText = FormatUtils.toUpperCase(globalThis.abilityContext, stateButtonText);
303 Text(this.buttonText)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_component.cpp773 std::string buttonText; in BuildButtonsForWatch() local
780 buttonText = Localization::GetInstance()->GetEntryLetters(DIALOG_CANCEL); in BuildButtonsForWatch()
783 buttonText = Localization::GetInstance()->GetEntryLetters(DIALOG_OK); in BuildButtonsForWatch()
786 data += buttonText + SEPARATE; in BuildButtonsForWatch()
804 buttonComponent->SetAccessibilityText(buttonText); in BuildButtonsForWatch()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_button/
H A Dui_test_button.cpp637 UILabelButton* GetTestUIButton(const char* buttonText, int16_t x, int16_t y, UIButton* button, cons… in GetTestUIButton() argument
639 if (buttonText == nullptr) { in GetTestUIButton()
647 labelButton->SetText(buttonText); in GetTestUIButton()