/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-common-components-richeditor.md | 250 this.controller1.addTextSpan(JSON.stringify(value), { 285 this.controller1.addTextSpan('组件内图文变化前,触发回调:\n' + JSON.stringify(value), { 294 …this.controller1.addTextSpan('\n图文变化后,触发回调:\nrangeBefore:' + JSON.stringify(rangeBefore) + '\nrang… 330 this.controller1.addTextSpan('输入法输入内容前,触发回调:\n'+JSON.stringify(value), { 339 this.controller1.addTextSpan('输入法完成输入后,触发回调:\n'+ JSON.stringify(value), { 375 this.controller1.addTextSpan('触发onPaste回调\n', { 404 this.controller1.addTextSpan('触发onCut回调\n', { 433 this.controller1.addTextSpan('触发onCopy回调\n', { 660 controller1: RichEditorController = new RichEditorController(); 661 options1: RichEditorOptions = { controller: this.controller1 } [all …]
|
H A D | arkts-styled-string.md | 20 controller1: TextController = new TextController(); 24 this.controller1.setStyledString(this.styledString1); 31 Text(undefined, { controller: this.controller1 })
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textclock.md | 495 controller1: TextClockController = new TextClockController() 503 TextClock({ timeZoneOffset: this.timeZoneOffset, controller: this.controller1 }) 518 this.controller1.start() 525 this.controller1.stop()
|
H A D | ts-universal-styled-string.md | 1142 controller1: TextController = new TextController(); 1147 this.controller1.setStyledString(this.styledString2) 1157 Text(undefined, { controller: this.controller1 }) 2010 controller1 : TextController = new TextController 2034 Text(undefined, { controller: this.controller1 }).height(100) 2051 this.controller1.setStyledString(mutableStyledString1)
|
H A D | ts-basic-components-richeditor.md | 4239 controller1: RichEditorController = new RichEditorController() 4240 options1: RichEditorOptions = { controller: this.controller1 }; 4322 this.controller1.addTextSpan("把这些文字转换成属性字符串"); 4404 …this.controller1.addTextSpan("调用fromStyledString:" +JSON.stringify(this.controller1.fromStyledStri… 4408 this.controller.setStyledString(this.controller1.toStyledString({start:0,end:13})) 4565 controller1: RichEditorController = new RichEditorController() 4566 options1: RichEditorOptions = { controller: this.controller1 }; 4585 …this.controller1.addTextSpan("\n" + "触发了onDidIMEInput回调,输入法本次输入内容范围为:(" + value.start + "," + valu… 4593 …this.controller1.addTextSpan("\n" + "触发了onSelectionChange回调,起始范围信息为:(" + value.start + "," + value… 4630 … this.controller1.addTextSpan("\n获取预上屏信息:" + JSON.stringify(this.controller.getPreviewText()))
|
H A D | ts-container-tabs.md | 842 private controller1: TabsController = new TabsController() 851 Tabs({ controller: this.controller1 }) { 954 private controller1: TabsController = new TabsController() 1012 Tabs({ barPosition: BarPosition.Start, controller: this.controller1 }) {
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-richeditor.md | 197 this.controller1.addTextSpan(JSON.stringify(value), { 232 …this.controller1.addTextSpan('The callback is invoked before the text or image change: \n' + JSON.… 241 …this.controller1.addTextSpan('\nThe callback is invoked after the text or image change: \nrangeBef… 277 …this.controller1.addTextSpan('The callback is invoked before content input in the input method: \n… 286 …this.controller1.addTextSpan('The callback is invoked when text input in the input method is compl… 322 this.controller1.addTextSpan('The onPaste callback is invoked.\n', { 351 this.controller1.addTextSpan('The onCut callback is invoked.\n', { 380 this.controller1.addTextSpan('The onCopy callback is invoked.\n', { 626 this.controller1.addTextSpan(JSON.stringify(this.controller.getSpans()), {
|
H A D | arkts-styled-string.md | 20 controller1: TextController = new TextController(); 24 this.controller1.setStyledString(this.styledString1) 31 Text(undefined, { controller: this.controller1 })
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/ |
H A D | counter.js | 321 this.controller1 = new TextInputController(); 498 if (v20.controller1 !== undefined) { 499 this.controller1 = v20.controller1; 2147 controller: this.controller1 2277 … this.controller1.caretPosition(this.value.toString().length); 2287 … this.controller1.caretPosition(this.value.toString().length); 2306 controller: this.controller1 2423 … this.controller1.caretPosition(this.value.toString().length); 2628 controller: this.controller1 2733 this.controller1.caretPosition(this.getYear().length); [all …]
|
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_remote_test.cpp | 516 auto controller1 = avsession_->GetController(); variable 518 ASSERT_NE(controller1, nullptr); 520 EXPECT_EQ(controller1->Destroy(), ERR_CONTROLLER_NOT_EXIST);
|
H A D | avsession_test.cpp | 596 auto controller1 = avsession_->GetController(); variable 598 EXPECT_NE(controller1, nullptr); 600 EXPECT_EQ(controller1->Destroy(), ERR_CONTROLLER_NOT_EXIST);
|
H A D | avsession_manager_test.cpp | 499 std::shared_ptr<AVSessionController> controller1; variable 500 ret = AVSessionManager::GetInstance().CreateController(session->GetSessionId(), controller1);
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/source/ |
H A D | counter.ets | 252 private controller1: TextInputController = new TextInputController(); 1371 controller: this.controller1 1500 this.controller1.caretPosition(this.value.toString().length); 1510 this.controller1.caretPosition(this.value.toString().length); 1524 controller: this.controller1 1640 this.controller1.caretPosition(this.value.toString().length); 1650 this.controller1.caretPosition(this.value.toString().length); 1807 controller: this.controller1 1915 this.controller1.caretPosition(this.getYear().length); 1926 this.controller1.caretPosition(this.getYear().length);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textclock.md | 470 controller1: TextClockController = new TextClockController() 478 TextClock({ timeZoneOffset: this.timeZoneOffset, controller: this.controller1 }) 493 this.controller1.start() 500 this.controller1.stop()
|
H A D | ts-universal-styled-string.md | 1140 controller1: TextController = new TextController(); 1145 this.controller1.setStyledString(this.styledString2) 1155 Text(undefined, { controller: this.controller1 }) 2008 controller1 : TextController = new TextController 2032 Text(undefined, { controller: this.controller1 }).height(100) 2049 this.controller1.setStyledString(mutableStyledString1)
|
H A D | ts-basic-components-richeditor.md | 4228 controller1: RichEditorController = new RichEditorController() 4229 options1: RichEditorOptions = { controller: this.controller1 }; 4311 this.controller1.addTextSpan("Convert into Styled String"); 4393 …this.controller1.addTextSpan("Call fromStyledString: " +JSON.stringify(this.controller1.fromStyled… 4397 this.controller.setStyledString(this.controller1.toStyledString({start:0,end:13})) 4556 controller1: RichEditorController = new RichEditorController() 4557 options1: RichEditorOptions = { controller: this.controller1 }; 4576 …this.controller1.addTextSpan("\n" + "onDidIMEInput callback triggered. Input range: (" + value.sta… 4584 …this.controller1.addTextSpan("\n" + "onSelectionChange callback triggered. Input range: (" + value… 4621 …this.controller1.addTextSpan("\nObtained preview text: " + JSON.stringify(this.controller.getPrevi…
|
H A D | ts-container-tabs.md | 842 private controller1: TabsController = new TabsController() 851 Tabs({ controller: this.controller1 }) { 954 private controller1: TabsController = new TabsController() 1012 Tabs({ barPosition: BarPosition.Start, controller: this.controller1 }) {
|