/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | native_xcomponent.cpp | 29 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument 32 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceCreatedCB() 34 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceCreatedCB: component or window is null"); 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() 63 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceChangedCB: component or window is null"); in OnSurfaceChangedCB() 78 render->OnSurfaceChanged(component, window); in OnSurfaceChangedCB() 82 void OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) in OnSurfaceDestroyedCB() argument 103 DispatchTouchEventCB(OH_NativeXComponent* component, void* window) DispatchTouchEventCB() argument 127 DispatchMouseEventCB(OH_NativeXComponent* component, void* window) DispatchMouseEventCB() argument 163 OnFocusEventCB(OH_NativeXComponent* component, void* window) OnFocusEventCB() argument 180 OnKeyEventCB(OH_NativeXComponent* component, void* window) OnKeyEventCB() argument 196 OnFrameEventCB(OH_NativeXComponent* component, void* window) OnFrameEventCB() argument 213 UnOnFrameEventCB(OH_NativeXComponent* component, void* window) UnOnFrameEventCB() argument 331 OnSurfaceChanged(OH_NativeXComponent* component, void* window) OnSurfaceChanged() argument 355 OnTouchEvent(OH_NativeXComponent* component, void* window) OnTouchEvent() argument 401 OnMouseEvent(OH_NativeXComponent* component, void* window) OnMouseEvent() argument 421 OnFocusEvent(OH_NativeXComponent* component, void* window) OnFocusEvent() argument 426 OnBlurEvent(OH_NativeXComponent* component, void* window) OnBlurEvent() argument 431 OnKeyEvent(OH_NativeXComponent* component, void* window) OnKeyEvent() argument [all...] |
H A 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);
|
H A D | plugin_render.cpp | 51 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument 64 render->OnSurfaceCreated(component, window); in OnSurfaceCreatedCB() 69 void OnSurfaceChangedCB(OH_NativeXComponent* component, void* window) in OnSurfaceChangedCB() argument 81 render->OnSurfaceChanged(component, window); in OnSurfaceChangedCB() 84 void OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) in OnSurfaceDestroyedCB() argument 96 render->OnSurfaceDestroyed(component, window); in OnSurfaceDestroyedCB() 99 void DispatchTouchEventCB(OH_NativeXComponent* component, void* window) in DispatchTouchEventCB() argument 111 render->DispatchTouchEvent(component, window); in DispatchTouchEventCB() 114 void DispatchMouseEventCB(OH_NativeXComponent* component, void* window) in DispatchMouseEventCB() argument 126 render->DispatchMouseEvent(component, window); in DispatchMouseEventCB() 173 OnSurfaceCreated(OH_NativeXComponent* component, void* window) OnSurfaceCreated() argument 193 OnSurfaceChanged(OH_NativeXComponent* component, void* window) OnSurfaceChanged() argument 217 OnSurfaceDestroyed(OH_NativeXComponent* component, void* window) OnSurfaceDestroyed() argument 224 DispatchTouchEvent(OH_NativeXComponent* component, void* window) DispatchTouchEvent() argument 683 DispatchMouseEvent(OH_NativeXComponent* component, void* window) DispatchMouseEvent() argument [all...] |
H A D | plugin_render.h | 70 void OnSurfaceCreated(OH_NativeXComponent* component, void* window); 72 void OnSurfaceChanged(OH_NativeXComponent* component, void* window); 74 void OnSurfaceDestroyed(OH_NativeXComponent* component, void* window); 76 void DispatchTouchEvent(OH_NativeXComponent* component, void* window); 78 void DispatchMouseEvent(OH_NativeXComponent* component, void* window);
|
H A D | egl_core.cpp | 67 void EGLCore::GLContextInit(void* window, int w, int h) in GLContextInit() argument 69 LOGD("EGLCore::GLContextInit window = %{public}p, w = %{public}d, h = %{public}d.", window, w, h); in GLContextInit() 72 mEglWindow = reinterpret_cast<EGLNativeWindowType>(window); in GLContextInit()
|
H A D | egl_core.h | 28 void GLContextInit(void* window, int w, int h);
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | select_strategy.cpp | 49 // calc bounds with its window in CalcWidgetVisibleBounds() 52 LOG_D("Widget %{public}s bounds is %{public}s, without window bounds %{public}s, widget info is %{public}s", in CalcWidgetVisibleBounds() 148 void LocateNode(const Window &window, 155 SetAndCalcSelectWindowRect(window.bounds_, window.invisibleBoundsVec_); 158 if (!elementNodeRef.DFSNext(anchorWidget, window.id_)) { 161 anchorWidget.SetAttr(UiAttr::HOST_WINDOW_ID, std::to_string(window.id_)); 189 LocateNodeAfterAnchor(window, elementNodeRef, visitWidgets, targetWidgets); 193 void LocateNodeAfterAnchor(const Window &window, in LocateNodeAfterAnchor() argument 200 if (!elementNodeRef.DFSNext(myselfWidget, window in LocateNodeAfterAnchor() 371 LocateNodeWithInAnchor(const Window &window, ElementNodeIterator &elementNodeRef, std::vector<Widget> &visitWidgets, std::vector<int> &targetWidgets) LocateNodeWithInAnchor() argument [all...] |
H A D | widget_selector.cpp | 112 void WidgetSelector::Select(const Window window, in Select() argument 117 if (appLocator_ != "" && window.bundleName_ != appLocator_) { in Select() 118 LOG_D("skip window(%{public}s), it is not target window %{public}s", window.bundleName_.data(), in Select() 124 visitStrategy->LocateNode(window, elementNodeRef, visitWidgets, targetWidgets); in Select()
|
H A D | frontend_api_handler.cpp | 739 auto matcher = [&filterJson](const Window &window) -> bool { in RegisterUiDriverWindowFinder() 742 match = match && (filterJson["bundleName"].get<string>() == window.bundleName_); in RegisterUiDriverWindowFinder() 745 match = match && (filterJson["title"].get<string>() == window.title_); in RegisterUiDriverWindowFinder() 748 match = match && (filterJson["focused"].get<bool>() == window.focused_); in RegisterUiDriverWindowFinder() 751 match = match && (filterJson["actived"].get<bool>() == window.actived_); in RegisterUiDriverWindowFinder() 754 match = match && (filterJson["active"].get<bool>() == window.actived_); in RegisterUiDriverWindowFinder() 758 auto window = driver.FindWindow(matcher, out.exception_, filterJson.contains("title")); in RegisterUiDriverWindowFinder() 759 if (window == nullptr) { in RegisterUiDriverWindowFinder() 760 LOG_W("There is no match window by %{public}s", filterJson.dump().data()); in RegisterUiDriverWindowFinder() 763 out.resultValue_ = StoreBackendObject(move(window), driverRe in RegisterUiDriverWindowFinder() [all...] |
H A D | window_operator.h | 24 WindowOperator(UiDriver &driver, const Window &window, UiOpArgs &options); 26 /**Focus the window.*/ 38 /**Maximize this window.*/ 41 /**Resume this window.*/ 44 /**Minimize this window.*/ 47 /**Close this window.*/ 55 /**Exhale the decoration bar of the current window.*/ 58 /**Click on the decoration bar of this window.*/
|
H A D | widget_selector.h | 58 void Select(const Window window,
|
H A D | ui_driver.cpp | 81 error = ApiCallErr(ERR_INTERNAL, "Get window nodes failed"); in UpdateUIWindows() 90 LOG_E("Get Widget from window[%{public}d] failed, set it's title as null", cacheModel.window_.id_); in UpdateUIWindows() 94 ss << "window rect is "; in UpdateUIWindows() 96 ss << "overplay window rects are:["; in UpdateUIWindows() 102 LOG_D("window id is %{public}d, rect info is %{public}s", win.id_, ss.str().data()); in UpdateUIWindows() 104 // actice or focus window move to top in UpdateUIWindows() 118 LOG_W("Get Widget from window[%{public}d] failed, skip the window", winCache.window_.id_); in DumpWindowsInfo() 211 // If not a actived window, get all. in GetHostApp() 243 LOG_W("Get Widget from window[ in RetrieveWidget() 419 RetrieveWindow(const Window &window, ApiCallErr &err, bool updateTitle) RetrieveWindow() argument [all...] |
H A D | select_strategy.h | 48 virtual void LocateNode(const Window &window, ElementNodeIterator &elementNodeRef,
|
H A D | ui_driver.h | 43 /**Find window matching the given matcher.*/ 50 /**Retrieve window from updated UI.*/ 51 const Window *RetrieveWindow(const Window &window, ApiCallErr &err, bool updateTitle = false);
|
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/ |
H A D | popoverCheckBox.js | 59 if (!window.emitter) { 60 window.emitter = new window.EventEmitter(); 62 window.emitter.addListener("filter-name", (data) => {
|
/test/xts/acts/arkui/ace_ets_web_dev_webviewControllerError/entry/src/ohosTest/resources/rawfile/ |
H A D | index.js | 18 window.addEventListener('message', function(event) { 138 window.opener = null 139 window.open('', '_self',) 140 window.close()
|
/test/testfwk/arkxtest/uitest/server/ |
H A D | system_ui_controller.cpp | 370 // window wrapper in GetUiWindows() 375 LOG_I("window is covered, windowId : %{public}d, layer is %{public}d", win.GetWindowId(), in GetUiWindows() 379 LOG_I("window is visible, windowId: %{public}d, active: %{public}d, focus: %{public}d, layer: %{public}d", in GetUiWindows() 404 AccessibilityWindowInfo window; in GetWidgetsInWindow() local 406 if (AccessibilityUITestAbility::GetInstance()->GetWindow(winInfo.id_, window) != RET_OK) { in GetWidgetsInWindow() 410 LOG_D("Start Get nodes from window by WindowId %{public}d", winInfo.id_); in GetWidgetsInWindow() 411 if (AccessibilityUITestAbility::GetInstance()->GetRootByWindowBatch(window, elementInfos) != RET_OK) { in GetWidgetsInWindow() 415 LOG_I("End Get nodes from window by WindowId %{public}d, node size is %{public}zu, appId: %{public}s", in GetWidgetsInWindow()
|
/test/testfwk/arkxtest/uitest/test/ |
H A D | ui_driver_test.cpp | 299 auto windowMatcher = [&filterBundle](const Window &window) -> bool { in TEST_F() 301 match = match && window.bundleName_ == filterBundle["bundleName"].get<string>(); in TEST_F() 311 auto windowMatcher2 = [&filterBundleNotFind](const Window &window) -> bool { in TEST_F() 313 match = match && window.bundleName_ == filterBundleNotFind["bundleName"].get<string>(); in TEST_F() 374 auto windowMatcher = [&filterActive](const Window &window) -> bool { in TEST_F() 376 match = match && window.actived_ == filterActive["actived"].get<bool>(); in TEST_F()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | pointer_tracker.h | 89 void SetWindow(Rect window) in SetWindow() argument 91 windowBounds = window; in SetWindow()
|
/test/xts/acts/multimedia/media/media_js_standard/avPlayerNdk/entry/src/main/cpp/ |
H A D | avplayerndk.cpp | 745 OHNativeWindow *window = OH_NativeImage_AcquireNativeWindow(image);
in OhAvPlayerSetVideoSurface() local 746 if (window != nullptr) {
in OhAvPlayerSetVideoSurface() 749 OH_AVErrCode errCode = OH_AVPlayer_SetVideoSurface(player, window);
in OhAvPlayerSetVideoSurface() 754 OH_NativeWindow_DestroyNativeWindow(window);
in OhAvPlayerSetVideoSurface() 797 OHNativeWindow *window = OH_NativeImage_AcquireNativeWindow(image);
in OhAvPlayerSetVideoSurfaceAbnormalThree() local 798 if (window != nullptr) {
in OhAvPlayerSetVideoSurfaceAbnormalThree() 799 OH_AVErrCode errCode = OH_AVPlayer_SetVideoSurface(nullptr, window);
in OhAvPlayerSetVideoSurfaceAbnormalThree() 803 OH_NativeWindow_DestroyNativeWindow(window);
in OhAvPlayerSetVideoSurfaceAbnormalThree() 990 OHNativeWindow *window = nullptr;
member 1035 ndkAVPlayerUser->window in CreateSurface() [all...] |
/test/xts/acts/multimedia/media/media_ndk_standard/AVPlayerNDK/entry/src/main/cpp/ |
H A D | avplayer_ndk_test.cpp | 138 OHNativeWindow *window = OH_NativeImage_AcquireNativeWindow(image); in GetAVPlayer() local 139 if (window != nullptr) { in GetAVPlayer() 140 OH_AVPlayer_SetVideoSurface(player, window); in GetAVPlayer() 557 OHNativeWindow *window = OH_NativeImage_AcquireNativeWindow(image); in OhAvPlayerSetVideoSurface() local 558 OH_AVErrCode avErrCode = OH_AVPlayer_SetVideoSurface(mainPlayer, window); in OhAvPlayerSetVideoSurface()
|
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/src/ |
H A D | hdrcodec_ndk_sample.cpp | 346 ret = OH_VideoEncoder_GetSurface(venc_, &window); in Configure() 350 ret = OH_VideoDecoder_SetSurface(vdec_, window); in Configure() 401 ret = OH_VideoDecoder_SetSurface(vdec_, window); in ReConfigure()
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_four/entry/src/ohosTest/resources/rawfile/ |
H A D | index.js | 17 window.addEventListener('message', function (event) {
|
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/include/ |
H A D | hdrcodec_ndk_sample.h | 36 #include "surface/window.h" 91 OHNativeWindow *window = nullptr; member in OHOS::Media::HDRCodecNdkSample
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_one/entry/src/ohosTest/resources/rawfile/ |
H A D | onMessageEventExt.js | 16 window.addEventListener('message', function (event) {
|