/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/ |
D | FloatWindowFun.ts | 15 import window from '@ohos.window'; 26 …window.createWindow({ctx:globalThis.abilityContext, name:'sp_floatingWindow', windowType:window.Wi… 45 window.findWindow("sp_floatingWindow").moveWindowTo(xx, yy); 49 window.findWindow('sp_floatingWindow').destroyWindow().then(() => { 60 window.findWindow("sp_floatingWindow").hide().then(() => { 66 window.findWindow("sp_floatingWindow").showWindow().then(() => {
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
D | native_xcomponent.cpp | 29 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument 32 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceCreatedCB() 50 int32_t xSize = OH_NativeXComponent_GetXComponentSize(component, window, &width, &height); in OnSurfaceCreatedCB() 52 if (render->eglCore_->EglContextInit(window, width, height)) { in OnSurfaceCreatedCB() 58 void OnSurfaceChangedCB(OH_NativeXComponent* component, void* window) in OnSurfaceChangedCB() argument 61 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceChangedCB() 78 render->OnSurfaceChanged(component, window); in OnSurfaceChangedCB() 82 void OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) in OnSurfaceDestroyedCB() argument 85 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceDestroyedCB() 103 void DispatchTouchEventCB(OH_NativeXComponent* component, void* window) in DispatchTouchEventCB() argument [all …]
|
D | native_xcomponent.h | 42 void OnSurfaceChanged(OH_NativeXComponent* component, void* window); 43 void OnTouchEvent(OH_NativeXComponent* component, void* window); 44 void OnMouseEvent(OH_NativeXComponent* component, void* window); 46 void OnFocusEvent(OH_NativeXComponent* component, void* window); 47 void OnBlurEvent(OH_NativeXComponent* component, void* window); 48 void OnKeyEvent(OH_NativeXComponent* component, void* window);
|
D | plugin_render.cpp | 47 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument 60 render->OnSurfaceCreated(component, window); in OnSurfaceCreatedCB() 63 void OnSurfaceChangedCB(OH_NativeXComponent* component, void* window) in OnSurfaceChangedCB() argument 75 render->OnSurfaceChanged(component, window); in OnSurfaceChangedCB() 78 void OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) in OnSurfaceDestroyedCB() argument 90 render->OnSurfaceDestroyed(component, window); in OnSurfaceDestroyedCB() 93 void DispatchTouchEventCB(OH_NativeXComponent* component, void* window) in DispatchTouchEventCB() argument 105 render->DispatchTouchEvent(component, window); in DispatchTouchEventCB() 108 void DispatchMouseEventCB(OH_NativeXComponent* component, void* window) in DispatchMouseEventCB() argument 120 render->DispatchMouseEvent(component, window); in DispatchMouseEventCB() [all …]
|
D | plugin_render.h | 60 void OnSurfaceCreated(OH_NativeXComponent* component, void* window); 62 void OnSurfaceChanged(OH_NativeXComponent* component, void* window); 64 void OnSurfaceDestroyed(OH_NativeXComponent* component, void* window); 66 void DispatchTouchEvent(OH_NativeXComponent* component, void* window); 68 void DispatchMouseEvent(OH_NativeXComponent* component, void* window);
|
/test/xts/acts/arkui/ace_ets_web_napis/entry/src/ohosTest/ets/test/ |
D | webRegisterJavaScriptProxyJsunit.test.ets | 56 *@tc.desc Injects the JavaScript object into window and invoke the function in window 70 *@tc.desc Injects the JavaScript object into window and invoke the function in window 84 *@tc.desc Injects the JavaScript object into window and invoke the function in window 98 *@tc.desc Injects the JavaScript object into window and invoke the function in window 113 *@tc.desc Injects the JavaScript object into window and invoke the function in window 127 *@tc.desc Injects the JavaScript object into window and invoke the function in window 141 *@tc.desc Injects the JavaScript object into window and invoke the function in window
|
/test/xts/acts/graphic/windowStage/entry/src/main/ets/test/ |
D | displayAndWindowRefactorInterface.test.ets | 16 import ohosWindow from '@ohos.window'; 143 * @tc.desc : Verify the scenario of creating the application type window 183 * @tc.desc : Verify the scenario of creating a window with duplicate IDs 214 … console.error(msgStr + 'Failed to create the window. Cause: ' + JSON.stringify(exception)); 218 console.error(msgStr + 'Failed to create the window. Cause: ' + JSON.stringify(exception)); 225 * @tc.desc : Verify the scenario of creating the application type window 260 console.info('Succeeded in creating the window. Data: ' + JSON.stringify(data)); 264 … console.error(msgStr + 'Failed to create the window. Cause: ' + JSON.stringify(exception)); 291 console.error(msgStr + 'Failed to create the window. Cause: ' + JSON.stringify(exception)); 298 * @tc.desc : Verify the scenario of creating the system type window [all …]
|
D | windowRichScene.test.ets | 16 import ohosWindow from '@ohos.window'; 105 * @tc.desc : Find the window corresponding to name 214 * @tc.desc : Find the window corresponding to name 282 console.info(msgStr + 'Succeeded in finding the window. Data: ' + JSON.stringify(data)); 294 * @tc.desc : Gets the last window displayed in the current app 305 console.error(msgStr + 'Failed to obtain the top window. Cause: ' + JSON.stringify(err)); 314 … console.info(msgStr + 'Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); 317 … console.error(msgStr + 'Failed to obtain the top window. Cause: ' + JSON.stringify(err)); 326 … console.info(msgStr + 'Succeeded in obtaining the top window. Data: ' + JSON.stringify(data)); 345 console.error(msgStr + 'Failed to obtain the top window. Cause: ' + JSON.stringify(err)); [all …]
|
/test/xts/acts/graphic/windowstandard/src/main/js/test/ |
D | window.test.js | 17 import window from '@ohos.window' 42 window.getTopWindow().then(wnd => { 94 window.getTopWindow().then(wnd => { 135 window.getTopWindow().then(wnd => { 177 window.getTopWindow().then(wnd => { 180 wnd.getAvoidArea(window.AvoidAreaType.TYPE_SYSTEM).then((data) => { 208 window.getTopWindow().then(wnd => { 211 wnd.getAvoidArea(window.AvoidAreaType.TYPE_CUTOUT).then((data) => { 239 window.getTopWindow().then(wnd => { 270 window.getTopWindow().then(wnd => { [all …]
|
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/comSizeAbility/ |
D | WindowAnimationControllerImpl.ets | 21 console.log(`remote window animaion onStartAppFromLauncher`); 26 console.log(`remote window animaion onStartAppFromRecent`); 31 console.log(`remote window animaion onStartAppFromOther`); 37 console.log(`remote window animaion onAppTransition`); 42 console.log(`remote window animaion onMinimizeWindow`); 47 console.log(`remote window animaion onCloseWindow`); 51 console.log(`remote window animaion onScreenUnlock`);
|
D | comSizeAbilityTest_21.ets | 28 console.log(`RemoteWindowExample: remote window animaion onStartAppFromLauncher`); 34 console.log(`RemoteWindowExample: remote window animaion onStartAppFromRecent`); 40 console.log(`RemoteWindowExample: remote window animaion onStartAppFromOther`); 46 console.log(`RemoteWindowExample: remote window animaion onAppTransition`); 52 console.log(`RemoteWindowExample: remote window animaion onMinimizeWindow`); 58 console.log(`RemoteWindowExample: remote window animaion onCloseWindow`);
|
/test/testfwk/arkxtest/uitest/core/ |
D | select_strategy.cpp | 171 void LocateNode(const Window &window, in LocateNode() argument 178 SetAndCalcSelectWindowRect(window.bounds_, window.invisibleBoundsVec_); in LocateNode() 184 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode() 206 LocateNodeAfterAnchor(window, elementNodeRef, visitWidgets, targetWidgets); in LocateNode() 210 void LocateNodeAfterAnchor(const Window &window, in LocateNodeAfterAnchor() argument 220 myselfWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNodeAfterAnchor() 259 void LocateNode(const Window &window, in LocateNode() argument 266 SetAndCalcSelectWindowRect(window.bounds_, window.invisibleBoundsVec_); in LocateNode() 272 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); in LocateNode() 333 void LocateNode(const Window &window, in LocateNode() argument [all …]
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/onopendlpfile/ |
D | OnOpenDlpFile.ets | 19 import window from '@ohos.window'; 33 onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 45 // Main window is destroyed, release UI related resources
|
/test/xts/acts/arkui/ace_ets_webView/entry/src/main/resources/rawfile/js/ |
D | main.js | 71 $(window).scroll(function(){ 72 var scTop = $(window).scrollTop(), 76 rW = ($(window).width() - 1190)/2; 95 wW = $(window).width(), 98 $(window).scroll(function(){ 99 scTop = $(window).scrollTop(); 243 $(window).scroll( function() { //滚动时触发 245 height = $(window).height(); //获得可视浏览器的高度
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getdlppermissioninfocallback/ |
D | GetDLPPermissionInfoCallback.ets | 19 import window from '@ohos.window'; 33 onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 47 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getRetentionSandboxListpromise/ |
D | GetRetentionSandboxListPromise.ets | 19 import window from '@ohos.window'; 33 async onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 46 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getDLPFileAccessRecordspromise/ |
D | GetDLPFileAccessRecordsPromise.ets | 19 import window from '@ohos.window'; 33 async onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 46 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getDLPFileAccessRecordscallback/ |
D | GetDLPFileAccessRecordsCallback.ets | 19 import window from '@ohos.window'; 33 onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 47 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getRetentionSandboxListcallback/ |
D | GetRetentionSandboxListCallback.ets | 19 import window from '@ohos.window'; 33 onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 47 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/getdlppermissioninfopromise/ |
D | GetDLPPermissionInfoPromise.ets | 19 import window from '@ohos.window'; 33 async onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 46 // Main window is destroyed, release UI related resources
|
/test/xts/tools/sample/AppSampleF/entry/src/main/ets/entryability/ |
D | EntryAbility.ets | 18 import window from '@ohos.window'; 38 onWindowStageCreate(windowStage: window.WindowStage) { 39 // Main window is created, set main page for this ability 41 windowStage.getMainWindow().then((win: window.Window) => { 54 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/isinsandboxpromise/ |
D | IsInSandboxPromise.ets | 19 import window from '@ohos.window'; 33 async onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 51 // Main window is destroyed, release UI related resources
|
/test/xts/acts/security/dlp_permission_service/entry/src/main/ets/isinsandboxcallback/ |
D | IsInSandboxCallback.ets | 19 import window from '@ohos.window'; 33 onWindowStageCreate(windowStage: window.WindowStage) { 34 // Main window is created, set main page for this ability 52 // Main window is destroyed, release UI related resources
|
/test/xts/acts/ability/ability_runtime/actsautofilltest/AutoFillAutomaticRely/entry/src/main/ets/entryability/ |
D | EntryAbility.ts | 20 import window from '@ohos.window'; 34 onWindowStageCreate(windowStage: window.WindowStage): void { 48 windowStage.getMainWindow((err: BusinessError, data: window.Window) => {
|
/test/xts/acts/ability/ability_runtime/actswindowvisibilitychangedtest/windowVisibilityTest/entry/src/main/ets/multipleserviceextability/ |
D | MultipleServiceExtAbility.ts | 18 import window from '@ohos.window'; 54 win = await window.createWindow(configuration); 74 win = await window.createWindow(configuration); 107 globalThis.createWindow4('uiPages1', window.WindowType.TYPE_FLOAT, navigationBarRect); 117 await globalThis.createWindow5('uiPages2', window.WindowType.TYPE_FLOAT, navigationBarRect);
|