/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | hardware_acceleration_unit_test.cpp | 137 rootView->SetPosition(0, 0); 139 rootView->Invalidate(); 162 rootView->SetPosition(0, 0); 169 rootView->Add(imageView); 170 rootView->Invalidate(); 202 rootView->Add(label); 203 rootView->Invalidate(); 239 rootView->Add(imageView); 240 rootView->Invalidate(); 279 rootView->Add(imageView); [all …]
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/render/ |
H A D | render_uni_test.cpp | 43 config.rect = rootView->GetRect(); in CreateDefaultWindow() 90 rootView->SetPosition(0, 0); 93 rootView->Add(vg1); 96 rootView->Invalidate(); 103 rootView->RemoveAll(); 106 RenderTest::DestroyWindow(rootView); 121 rootView->SetPosition(0, 0); 124 rootView->Add(vg1); 128 rootView->Invalidate(); 136 rootView->RemoveAll(); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | scroll_layer.cpp | 83 RootView *rootView = RootView::GetInstance(); in Hide() local 84 if (rootView == nullptr) { in Hide() 89 rootView->Invalidate(); in Hide() 97 RootView *rootView = RootView::GetInstance(); in DetachFromRootView() local 98 if (rootView == nullptr) { in DetachFromRootView() 101 rootView->Remove(pageRootView_); in DetachFromRootView() 106 RootView *rootView = RootView::GetInstance(); in Show() local 107 if (rootView == nullptr) { in Show() 111 rootView->SetPosition(0, 0); in Show() 114 rootView->Add(pageRootView_); in Show() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/dfx/ |
H A D | view_bounds_unit_test.cpp | 50 config.rect = rootView->GetRect(); in CreateDefaultWindow() 54 window->BindRootView(rootView); in CreateDefaultWindow() 58 static void DestroyWindow(RootView* rootView) in DestroyWindow() argument 152 rootView->SetWidth(600); // 600: width 153 rootView->SetHeight(500); // 500: height 154 rootView->SetPosition(0, 0); 157 rootView->Add(vg1); 159 rootView->Invalidate(); 179 rootView->RemoveAll(); 182 ViewBoundsTest::DestroyWindow(rootView); [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/core/ |
H A D | render_manager.cpp | 52 RootView* rootView = RootView::GetInstance(); in Callback() 53 rootView->Measure(); in Callback() 54 rootView->Render(); in Callback() 172 if (rootView->GetBoundWindow()) { in RenderRect() 173 Rect winRect = rootView->GetBoundWindow()->GetRect(); in RenderRect() 179 rootView->DrawInvalidMap(mask); in RenderRect() 181 UIView* topView = rootView->GetTopUIView(mask); in RenderRect() 182 rootView->DrawTop(topView, mask); in RenderRect() 192 RootView* rootView = windowImpl->GetRootView(); in RefreshScreen() local 193 if (rootView == nullptr) { in RefreshScreen() [all …]
|
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_window.cpp | 21 void AbilityWindow::SetRootView(RootView *rootView, int16_t x, int16_t y) in SetRootView() argument 23 if (rootView == nullptr) { in SetRootView() 29 config.rect = rootView->GetRect(); in SetRootView() 36 Rect rect = rootView->GetRect(); in SetRootView() 42 window_->BindRootView(rootView); in SetRootView() 43 rootView->Invalidate(); in SetRootView()
|
H A D | ability_slice.cpp | 51 void AbilitySlice::SetUIContent(RootView *rootView) in SetUIContent() argument 57 curRootView_ = rootView; in SetUIContent() 58 abilitySliceManager_->SetUIContent(rootView); in SetUIContent()
|
H A D | ability_slice_manager.cpp | 80 void AbilitySliceManager::SetUIContent(RootView *rootView) in SetUIContent() argument 82 ability_.SetUIContent(rootView); in SetUIContent()
|
H A D | ability.cpp | 157 void Ability::SetUIContent(RootView *rootView) in SetUIContent() argument 164 abilityWindow_->SetRootView(rootView); in SetUIContent()
|
/ohos5.0/foundation/window/window_manager_lite/test/ |
H A D | sample_window.cpp | 45 void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow() argument 47 if (rootView != nullptr) { in CreateDefaultWindow() 49 config.rect = rootView->GetRect(); in CreateDefaultWindow() 53 window->BindRootView(rootView); in CreateDefaultWindow() 247 RootView* rootView = RootView::GetWindowRootView(); in TestWindowNumLimit() local 248 g_rootViewList[i] = rootView; in TestWindowNumLimit() 249 rootView->SetWidth(10); // 10: width in TestWindowNumLimit() 250 rootView->SetHeight(10); // 10: height in TestWindowNumLimit() 251 rootView->SetPosition(0, 0); in TestWindowNumLimit() 253 rootView->Invalidate(); in TestWindowNumLimit() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | basic_tdd_test.cpp | 61 RootView *rootView = RootView::GetInstance(); in SetUpTestCase() local 62 rootView->SetPosition(0, 0); in SetUpTestCase() 63 rootView->SetWidth(width); in SetUpTestCase() 64 rootView->SetHeight(height); in SetUpTestCase() 65 window_->BindRootView(rootView); in SetUpTestCase() 155 RootView *rootView = RootView::GetInstance(); in CreatePage() local 156 rootView->Add(view); in CreatePage() 157 rootView->Invalidate(); in CreatePage() 164 RootView *rootView = RootView::GetInstance(); in DestroyPage() local 165 rootView->RemoveAll(); in DestroyPage() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | pointer_input_device.cpp | 41 UIViewGroup* rootView = window->GetRootView(); in DispatchEvent() local 43 UIViewGroup* rootView = RootView::GetInstance(); in DispatchEvent() local 45 if (rootView == nullptr) { in DispatchEvent() 51 DispatchPressEvent(rootView); in DispatchEvent() 53 DispatchReleaseEvent(rootView); in DispatchEvent() 59 void PointerInputDevice::DispatchPressEvent(UIViewGroup* rootView) in DispatchPressEvent() argument 63 rootView->GetTargetView(curPos_, &touchableView_, &targetView_); in DispatchPressEvent() 80 rootView->GetTargetView(curPos_, &tempView, &targetView_); in DispatchPressEvent() 155 void PointerInputDevice::DispatchReleaseEvent(UIViewGroup* rootView) in DispatchReleaseEvent() argument 165 rootView->GetTargetView(curPos_, &tempView, &targetView_); in DispatchReleaseEvent()
|
H A D | pointer_input_device.h | 56 void DispatchPressEvent(UIViewGroup* rootView); 57 void DispatchReleaseEvent(UIViewGroup* rootView);
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | ace_ability.cpp | 52 RootView *rootView = RootView::GetInstance(); in REGISTER_AA() local 53 if (rootView == nullptr) { in REGISTER_AA() 57 SetUIContent(rootView); in REGISTER_AA()
|
H A D | fatal_handler.cpp | 127 RootView *rootView = RootView::GetInstance(); in HandleFatalInternal() local 128 if ((rootView != nullptr) && (pageRootView_ != nullptr)) { in HandleFatalInternal() 129 rootView->Remove(pageRootView_); in HandleFatalInternal()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | root_view.h | 100 static bool DestroyWindowRootView(RootView* rootView) in DestroyWindowRootView() argument 102 if (rootView == RootView::GetInstance()) { in DestroyWindowRootView() 105 delete rootView; in DestroyWindowRootView() local
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/window/ |
H A D | window_impl.cpp | 66 void WindowImpl::BindRootView(RootView* rootView) in BindRootView() argument 68 if (rootView == nullptr) { in BindRootView() 73 rootView_ = rootView; in BindRootView()
|
H A D | window_impl.h | 30 void BindRootView(RootView* rootView) override;
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dfx/ |
H A D | ui_dump_dom_tree.cpp | 383 RootView* rootView = RootView::GetInstance(); in DumpDomNode() local 384 UIView* currView = static_cast<UIView*>(rootView); in DumpDomNode() 401 RootView* rootView = RootView::GetInstance(); in DumpDomTree() local 402 UIView* currView = static_cast<UIView*>(rootView); in DumpDomTree()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | dfx_module.cpp | 66 RootView* rootView = RootView::GetInstance(); in IsEventInjectorRegistered() local 67 if (rootView == nullptr) { in IsEventInjectorRegistered() 71 Window *window = rootView->GetBoundWindow(); in IsEventInjectorRegistered()
|
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/include/ |
H A D | ability_window.h | 29 void SetRootView(RootView *rootView, int16_t x = 0, int16_t y = 0);
|
H A D | ability_slice_manager.h | 42 void SetUIContent(RootView *rootView);
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_canvas_unit_test.cpp | 263 RootView* rootView = RootView::GetInstance(); variable 264 UIViewGroup* viewGroup = static_cast<UIViewGroup*>(rootView); 291 RootView* rootView = RootView::GetInstance(); variable 292 UIViewGroup* viewGroup = static_cast<UIViewGroup*>(rootView); 869 RootView* rootView = RootView::GetInstance(); variable 870 UIViewGroup* viewGroup = static_cast<UIViewGroup*>(rootView); 908 RootView* rootView = RootView::GetInstance(); variable 909 UIViewGroup* viewGroup = static_cast<UIViewGroup*>(rootView); 962 RootView* rootView = RootView::GetInstance(); variable 1012 RootView* rootView = RootView::GetInstance(); variable [all …]
|
/ohos5.0/foundation/ability/ability_lite/interfaces/kits/ability_lite/ |
H A D | ability_slice.h | 141 void SetUIContent(RootView *rootView);
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_view.cpp | 480 RootView* rootView = reinterpret_cast<RootView*>(cur); in InvalidateRect() local 481 rootView->AddInvalidateRectWithLock(trunc, view); in InvalidateRect() 1336 RootView* rootView = RootView::GetInstance(); in GetBitmap() local 1337 rootView->SaveDrawContext(); in GetBitmap() 1338 rootView->UpdateBufferInfo(&bufInfo); in GetBitmap() 1339 rootView->MeasureView(this); in GetBitmap() 1340 rootView->DrawTop(this, mask); in GetBitmap() 1341 rootView->RestoreDrawContext(); in GetBitmap()
|