/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_textinput/src/main/ets/TestAbility/pages/ |
D | Index.ets | 37 TextInput({ placeholder: "input your word...", controller: this.controller }) 49 TextInput({ text: "input your word...", controller: this.controller }) 61 TextInput({ text: "input your word...", controller: this.controller }) 73 TextInput({ text: "input your word...", controller: this.controller }) 85 TextInput({ text: "input your word...", controller: this.controller }) 97 TextInput({ text: "input your word...", controller: this.controller }) 109 TextInput({ text: "input your word...", controller: this.controller }) 121 TextInput({ text: "input your word...", controller: this.controller }) 133 TextInput({ text: "input your word...", controller: this.controller }) 145 TextInput({ text: "input your word...", controller: this.controller }) [all …]
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_two/entry/src/main/ets/MainAbility/pages/ |
D | WebViewControllerPart3.ets | 28 controller: webView.WebviewController = new webView.WebviewController(); 67 if (this.controller) { 68 this.controller.loadUrl("resource://rawfile/index.html"); 69 this.controller.clearHistory() 104 Utils.emitEvent(this.controller.accessForward(), 50520) 112 this.controller.loadUrl("resource://rawfile/second.html"); 114 this.controller.backward() 116 Utils.emitEvent(this.controller.accessForward(), 50522) 124 this.controller.loadUrl("resource://rawfile/second.html"); 126 this.controller.backward() [all …]
|
D | WebMediaPlayGestureAccess.ets | 23 controller: webView.WebviewController = new webView.WebviewController(); 68 this.controller.requestFocus(); 69 this.controller.runJavaScript("play()") 71 this.controller.runJavaScript("pause()") 73 this.controller.runJavaScript("isPlaying()", (error, result) => { 75 console.log(`The controller.isPlaying() return error is: ${error}`); 79 console.log(`The controller.isPlaying() return value is: ${result}`); 85 this.controller.runJavaScript("test()", () => { 95 this.controller.requestFocus(); 96 this.controller.runJavaScript("play()") [all …]
|
D | WebViewEnumAndSetWebController.ets | 23 controller?: CustomDialogController 28 Web({ src: "", controller: this.webViewController1 }) 33 if (this.controller) { 34 this.controller.close() 63 controller: webView.WebviewController = new webView.WebviewController(); 95 this.controller.loadUrl("resource://rawfile/overView.html") 97 this.controller.runJavaScript("getViewResult()", (error, result) => { 106 this.controller.loadUrl($rawfile("openNewWindow.html")); 108 this.controller.runJavaScript('openWindowAll()', (error, result) => { 111 this.controller.loadUrl("resource://rawfile/indexTwo.html") [all …]
|
D | WebViewControllerZoom.ets | 27 controller: webView.WebviewController = new webView.WebviewController(); 61 this.controller.zoom(this.zoom) 69 this.controller.zoom(this.zoom) 79 this.controller.zoom(this.zoom) 85 this.controller.zoom(1) 93 this.controller.zoomIn() 101 this.controller.zoom(this.zoom) 104 this.controller.zoomIn() 109 this.controller.zoom(0.2) 117 this.controller.zoom(1.25) [all …]
|
/test/xts/acts/arkui/ace_ets_web_enhanced_stress/ace_ets_web_enhanced_stress_one/entry/src/main/ets/MainAbility/pages/ |
D | WebViewControllerBackOrForwardTest.ets | 23 controller: webView.WebviewController = new webView.WebviewController(); 55 this.controller.clearHistory() 56 this.controller.loadUrl($rawfile('backOrForward.html')); 58 this.controller.loadUrl($rawfile('backOrForwardOriginal.html')); 62 this.controller.backward(); 63 this.controller.backOrForward(1); 75 this.controller.clearHistory() 76 this.controller.loadUrl($rawfile('backOrForward.html')); 78 this.controller.loadUrl($rawfile('backOrForwardOriginal.html')); 82 this.controller.backOrForward(-1); [all …]
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_three/entry/src/main/ets/MainAbility/pages/ |
D | webViewControllerPart2.ets | 26 controller: webView.WebviewController = new webView.WebviewController(); 88 this.controller.clearHistory() 90 let accessStep = this.controller.accessStep(-1); 100 this.controller.refresh() 102 let title = this.controller.getTitle() 112 this.controller.loadData( 119 let title = this.controller.getTitle(); 129 this.controller.loadUrl("www.OpenHarmony.cn") 131 let title = this.controller.getTitle(); 141 this.controller.loadUrl("resource://rawfile/second.html"); [all …]
|
D | WebViewControllerZoom.ets | 27 controller: webView.WebviewController = new webView.WebviewController(); 61 this.controller.zoom(this.zoom) 69 this.controller.zoom(this.zoom) 79 this.controller.zoom(this.zoom) 85 this.controller.zoom(1) 93 this.controller.zoomIn() 101 this.controller.zoom(this.zoom) 104 this.controller.zoomIn() 109 this.controller.zoom(0.2) 117 this.controller.zoom(1.25) [all …]
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_one/entry/src/main/ets/MainAbility/pages/ |
D | webController.ets | 23 controller: WebController = new WebController() 108 let isCan = this.controller.accessStep(1) 118 this.controller.loadUrl({ url: $rawfile("second.html") }); 120 this.controller.backward() 122 Utils.emitEvent(this.controller.accessStep(1), 100089) 130 this.controller.clearHistory() 132 Utils.emitEvent(this.controller.accessStep(-1), 100090) 140 this.controller.loadUrl({ url: $rawfile("second.html") }); 142 Utils.emitEvent(this.controller.accessStep(-1), 100091) 151 this.controller.loadData({ [all …]
|
D | webViewController.ets | 26 controller: webView.WebviewController = new webView.WebviewController(); 87 this.controller.scrollTo(10, 10) 101 this.controller.scrollBy(100, 100) 114 this.controller.scrollBy(100, 100) 117 this.controller.scrollBy(-50, -50) 130 this.controller.loadUrl("resource://rawfile/HistoryItem.html"); 132 let list = this.controller.getBackForwardEntries(); 150 this.controller.loadUrl("resource://rawfile/HistoryItem.html"); 152 let list = this.controller.getBackForwardEntries(); 167 this.controller.loadUrl("resource://rawfile/HistoryItem.html"); [all …]
|
D | WebAttributeTest.ets | 44 controller: webView.WebviewController = new webView.WebviewController(); 96 this.controller.loadUrl("resource://rawfile/index.html"); 124 this.controller.loadUrl("resource://rawfile/index.html"); 138 this.controller.loadUrl("resource://rawfile/index.html"); 152 this.controller.loadUrl("resource://rawfile/index.html") 163 this.controller.clearHistory() 165 this.controller.loadUrl("resource://rawfile/second.html") 176 this.controller.clearHistory() 178 this.controller.loadUrl("resource://rawfile/iframe.html") 180 this.controller.runJavaScript("createIframe()", (error, result) => { [all …]
|
D | sslErrorHandler.ets | 23 controller: webView.WebviewController = new webView.WebviewController(); 77 this.controller.clearSslCache(); 79 this.controller.loadUrl("https://expired.badssl.com"); 93 this.controller.clearSslCache(); 95 this.controller.loadUrl("https://expired.badssl.com"); 97 this.controller.searchAllAsync('expired.'); 111 this.controller.clearSslCache(); 113 this.controller.loadUrl("https://expired.badssl.com"); 115 title = this.controller.getTitle() 131 this.controller.clearClientAuthenticationCache() [all …]
|
/test/xts/acts/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/ |
D | web.ets | 25 controller:WebController = new WebController() 104 this.controller.runJavaScript({script:"getUserAgent()",callback:(res)=>{ 110 this.controller.runJavaScript({script:"test()"}) 114 this.controller.loadUrl({url:"https://gitee.com/"}) 121 this.controller.loadUrl({url:"chrome://crash/"}) 125 this.controller.loadUrl({url:"resource://rawfile/second.html"}); 132 this.controller.loadUrl({url:"resource://rawfile/index.html"}) 134 this.controller.runJavaScript({script:"gettitle()",callback:(res)=>{ 142 this.controller.loadUrl({url:"resource://rawfile/index.html"}); 144 … this.controller.runJavaScript({script:"testRunJavaScript()",callback:(res)=>{ [all …]
|
/test/xts/acts/arkui/ace_ets_web_error_code/entry/src/main/ets/MainAbility/pages/ |
D | webMessageExtErrorCode.ets | 34 async function sendMessageToApp(controller: webView.WebviewController, functionName: string, callBa… 36 controller.runJavaScript( 58 controller: webView.WebviewController = new webView.WebviewController(); 116 await sendMessageToApp(this.controller, 'postNumberToApp()', this.callBackCode) 122 await sendMessageToApp(this.controller, 'postBooleanToApp()', this.callBackCode) 128 await sendMessageToApp(this.controller, 'postArrayBufferToApp()', this.callBackCode) 134 await sendMessageToApp(this.controller, 'postArrayToApp()', this.callBackCode) 140 await sendMessageToApp(this.controller, 'postErrorToApp()', this.callBackCode) 146 await sendMessageToApp(this.controller, 'postStringToApp()', this.callBackCode) 152 await sendMessageToApp(this.controller, 'postBooleanToApp()', this.callBackCode) [all …]
|
/test/xts/acts/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/ |
D | AVSessionControllerJSTest.js | 27 let controller = null; 108 controller.destroy(); 133 controller = data 290 controller.on('sessionEvent', dynamicLyricsCallback1); 321 controller.on('sessionEvent', dynamicLyricsCallback1); 322 controller.on('sessionEvent', dynamicLyricsCallback2); 358 controller.on('sessionEvent', dynamicLyricsCallback1); 359 controller.on('sessionEvent', dynamicLyricsCallback2); 360 controller.off('sessionEvent', dynamicLyricsCallback2); 391 controller.on('sessionEvent', dynamicLyricsCallback1); [all …]
|
D | AVSessionControllerErrorCode.test.js | 25 let controller; 63 await controller.destroy().then(async () => { 66 controller = null; 78 controller.off(eventName, callback1, callback2); 88 controller.off(eventName); 121 controller.on(eventName, callback1); 131 controller.on(eventName); 162 controller = await session.getController(); 176 if (controller) { 177 await controller.destroy().then(() => { [all …]
|
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/TextNewInterFace/ |
D | search_caret.ets | 22 controller: SearchController = new SearchController() 27 … Search({ value: this.changeValue, placeholder: 'Type to search...', controller: this.controller }) 43 this.controller.caretPosition(1) 44 this.positionInfo = this.controller.getCaretOffset() 50 this.controller.caretPosition(5) 51 this.positionInfo = this.controller.getCaretOffset() 57 this.controller.caretPosition(3) 58 this.positionInfo = this.controller.getCaretOffset() 66 this.controller.caretPosition(20) 67 this.positionInfo = this.controller.getCaretOffset() [all …]
|
/test/xts/acts/arkui/ace_ets_component_api_three/src/main/ets/TestAbility/pages/ |
D | TextAreaSelect.ets | 21 controller: TextAreaController = new TextAreaController() 35 this.controller.setTextSelection(-2, -1) 41 this.controller.setTextSelection(-1, 0) 44 this.controller.setTextSelection(0, 3) 48 this.controller.setTextSelection(1, 3) 51 this.controller.setTextSelection(-1, 6) 54 this.controller.setTextSelection(0, 6) 57 this.controller.setTextSelection(-1, 8) 60 this.controller.setTextSelection(0, 8) 63 this.controller.setTextSelection(null, null) [all …]
|
/test/xts/acts/communication/nfc_Controller/src/main/js/test/ |
D | Controller.test.js | 18 import controller from '@ohos.nfc.controller'; 61 controller.on(NFC_STATE_NOTIFY, recvNfcStateNotifyFunc); 62 controller.off(NFC_STATE_NOTIFY, recvNfcStateNotifyFunc); 74 let nfcisAvailable = controller.isNfcAvailable(); 88 let nfcswitchis = controller.isNfcOpen(); 102 let nfcisAvailable1 = controller.isNfcAvailable(); 105 let nfcenable1 = controller.isNfcOpen(); 119 let checkopennfc = controller.getNfcState();
|
/test/xts/acts/arkui/ace_ets_web_dev_webviewController/entry/src/main/ets/MainAbility/pages/ |
D | webViewScrollBy.ets | 25 controller: web_webview.WebviewController = new web_webview.WebviewController(); 53 this.controller.loadUrl($rawfile('theScroll.html')) 58 this.controller.scrollBy(this.xNum, this.yNum); 63 this.controller.runJavaScript("getScroll()", (error, result) => { 81 this.controller.loadUrl($rawfile('theScroll.html')); 86 this.controller.scrollBy(this.xNum, this.yNum); 91 this.controller.runJavaScript("getScroll()", (error, result) => { 109 this.controller.loadUrl($rawfile('theScroll.html')); 114 this.controller.scrollBy(this.xNum, this.yNum); 119 this.controller.runJavaScript("getScroll()", (error, result) => { [all …]
|
D | webViewScrollTo.ets | 26 controller: web_webview.WebviewController = new web_webview.WebviewController(); 54 this.controller.loadUrl($rawfile('theScroll.html')); 59 this.controller.scrollTo(this.xNum, this.yNum); 64 this.controller.runJavaScript("getScroll()",(error, result) => { 77 this.controller.loadUrl($rawfile('theScroll.html')); 82 this.controller.scrollTo(this.xNum, this.yNum); 87 this.controller.runJavaScript("getScroll()",(error, result) => { 105 this.controller.loadUrl($rawfile('theScroll.html')); 110 this.controller.scrollTo(this.xNum, this.yNum); 115 this.controller.runJavaScript("getScroll()",(error, result) => { [all …]
|
D | webViewSetAudioMuted.ets | 27 controller: web_webview.WebviewController = new web_webview.WebviewController(); 64 this.controller.runJavaScript("enableMute()",(error, result) => { 66 … console.log(`The controller.enableMute() return value is: ${result}`); 68 this.controller.runJavaScript("checkMute()",(error, result) => { 70 … console.log(`The controller.checkMute() return value is: ${result}`); 75 this.controller.runJavaScript("test()",(res) => { 83 this.controller.runJavaScript("disableMute()",(error, result) => { 85 … console.log(`The controller.disableMute() return value is: ${result}`); 87 this.controller.runJavaScript("checkMute()",(error, result) => { 89 … console.log(`The controller.checkMute() return value is: ${result}`); [all …]
|
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_textarea/src/main/ets/TestAbility/pages/ |
D | Index.ets | 143 controller: TextAreaController = new TextAreaController() 149 controller: this.controller 166 controller: this.controller 179 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 185 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 191 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 197 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 204 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 210 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea 216 text: "test",placeholder: 'input your word...',controller: this.controllerTextArea [all …]
|
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_seven_special/entry/src/main/ets/MainAbility/pages/ |
D | tabsSecond.ets | 71 private controller: TabsController = new TabsController() 81 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 105 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 129 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 153 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 169 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 194 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 223 Tabs({ barPosition: BarPosition.End, controller: this.controller }) { 246 Tabs({ barPosition: BarPosition.End, controller: this.controller }) {
|
/test/xts/acts/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/ |
D | web.ets | 48 controller: web_webview.WebviewController = new web_webview.WebviewController(); 136 this.controller.loadUrl($rawfile("index.html")); 138 let title = this.controller.getTitle(); 149 this.controller.loadData( 155 let title1 = this.controller.getTitle(); 165 this.controller.backward(); 167 let title2 = this.controller.getTitle(); 177 this.controller.forward(); 179 let title3 = this.controller.getTitle(); 189 let result0 = this.controller.accessBackward(); [all …]
|