/ohos5.0/base/hiviewdfx/faultloggerd/frameworks/allocator/ |
H A D | dfx_allocator.c | 82 *pageList = page; in AddPage() 90 if (page->prev) { in RemovePage() 91 page->prev->next = page->next; in RemovePage() 93 if (page->next) { in RemovePage() 94 page->next->prev = page->prev; in RemovePage() 131 if (memcpy_s(page->tag.tagInfo, sizeof(page->tag.tagInfo), in MempoolAllocPage() 171 if (page == NULL || page->freeBlockList == NULL) { in MempoolAlloc() 275 return page; in GetPage() 298 if (memcpy_s(page->tag.tagInfo, sizeof(page->tag.tagInfo), in AllocMmap() 350 if (page == NULL || (page->tag.type != DFX_MMAP_TYPE && in GetChunkSize() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | input_event_tdd_test.cpp | 929 DestroyPage(page); in InputBindingTest001Extra() 986 DestroyPage(page); 1028 DestroyPage(page); 1083 DestroyPage(page); 1120 DestroyPage(page); 1201 DestroyPage(page); 1271 DestroyPage(page); 1360 DestroyPage(page); 1413 DestroyPage(page); 1471 DestroyPage(page); [all …]
|
H A D | marquee_event_tdd_test.cpp | 63 JSValue page = CreatePage(BUNDLE, strlen(BUNDLE)); in MarqueeEvent001() local 66 JSValue value = JSObject::Get(page, "speed"); in MarqueeEvent001() 77 ClickAgain(ret, page, value, speed); in MarqueeEvent001() 82 DestroyPage(page); in MarqueeEvent001() 91 ClickAgain(ret, page, value, speed); in MarqueeEvent001() 97 DestroyPage(page); in MarqueeEvent001() 105 ClickAgain(ret, page, value, speed); in MarqueeEvent001() 110 DestroyPage(page); in MarqueeEvent001() 118 DestroyPage(page); in MarqueeEvent001() 124 ret = JSObject::Call(page, FUNC_NAME); in ClickAgain() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/test/unittest/common/ |
H A D | timer_module_tdd_test.cpp | 632 if (!JSObject::Has(page, "value")) { in TriggerTimer() 669 DestroyPage(page); 698 DestroyPage(page); 727 DestroyPage(page); 773 DestroyPage(page); 819 DestroyPage(page); 848 DestroyPage(page); 877 DestroyPage(page); 915 DestroyPage(page); 972 DestroyPage(page); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/ |
H A D | dialog_tdd_test.cpp | 290 DestroyPage(page); in DialogTest001() 306 DestroyPage(page); in DialogTest001() 320 DestroyPage(page); in DialogTest002() 339 DestroyPage(page); in DialogTest002() 354 DestroyPage(page); in DialogTest002() 368 DestroyPage(page); in DialogTest003() 387 DestroyPage(page); in DialogTest003() 405 DestroyPage(page); in DialogTest003() 420 DestroyPage(page); in DialogTest003() 486 DestroyPage(page); in DialogTest004() [all …]
|
H A D | dfx_tdd_test.cpp | 559 DestroyPage(page); in DfxTest001() 572 DestroyPage(page); in DfxTest001() 591 DestroyPage(page); in DfxTest001() 601 DestroyPage(page); in DfxTest002() 614 DestroyPage(page); in DfxTest002() 645 DestroyPage(page); in DfxTest002() 667 DestroyPage(page); in DfxTest003() 701 DestroyPage(page); in DfxTest004() 727 DestroyPage(page); in DfxTest005() 753 DestroyPage(page); in DfxTest006() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-page-transition-animation.md | 5 …page redirection, one page enters and the other page exits. You can customize the [page transition… 33 …page navigation. Each page transition involves exit of one page and entrance of the other. If you … 42 // page A 54 // page B 71 …page A to a new instance of page B| The page exits. The animation defined by **PageTransitionExit*… 72 …page B back to page A | The page enters. The animation defined by **PageTransitionEnter** is … 74 …page A back to page B | The page exits. The animation defined by **PageTransitionExit** is ap… 86 // page A 104 // page B 137 > 2. If no page transition style is defined, a page uses the default page transition style. [all …]
|
H A D | js-framework-lifecycle.md | 17 You can define the following page lifecycle functions in the .js file of the page. 22 … onReady | () => void | Listens for page creation. | A page is created. This function is called on… 23 | onShow | () => void | Listens for page display. | The page is displayed. | 24 | onHide | () => void | Listens for page disappearance. | The page disappears. | 25 | onDestroy | () => void | Listens for page destruction. | The page is destroyed. | 27 | onActive()<sup>5+</sup> | () => void | Listens for page activation. | The page is activated. | 28 | onInactive()<sup>5+</sup> | () => void | Listens for page suspension. | The page is suspended. | 32 - Open page A: onInit() -> onReady() -> onShow() 34 - Open page B on page A: onHide() 36 - Go back to page A from page B: onShow() [all …]
|
H A D | arkts-routing.md | 6 - [Page Return](#page-return) 25 …page replaces and destroys the current page. In this mode, the resources of the current page can b… 38 …page already exists in the page stack, the page closest to the top of the stack with the same URL … 53 // On the Home page 76 // On the Login page 94 …page and a **Theme** page. After a theme option on the **Setting** page is clicked, the **Theme** … 99 // On the Setting page 150 // On the Home page 195 …plement the page return feature so that users can return to the previous page or a specified page.… 219 …to the position of the previous page in the page stack. For this method to work, the previous page… [all …]
|
H A D | ui-js-building-ui-routes.md | 3 …page. For example, a music application may come with a music list page and a playback page. You ne… 6 The page router finds the target page based on the page URI. The following describes how to impleme… 9 …he **pages** folder and choose **NewJS Page** from the shortcut menu to create the **detail** page. 11 2. Call **router.push()** to navigate users to the **detail** page. 13 3. Call **router.back()** to navigate users to the **index** page. 18 …ail** pages each contains a **Text** component that specifies the current page, and a **Button** c… 23 <text class="title">This is the index page.</text> 24 <button type="capsule" value="Go to the second page" class="button" onclick="launch"></button> 31 <text class="title">This is the detail page.</text> 61 … in the **.js** file of the page. Call **router.push()** to add the page URI to the route stack, t…
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | app-page-structure-design.md | 12 …[one-to-many-application-architecture-launch-page](figures/one-to-many-application-architecture-la… 48 …on-architecture-common-page-structure-multi-choice-page](figures/application-architecture-common-p… 54 …ication-architecture-common-page-structure-details-page](figures/application-architecture-common-p… 58 Use a blank page if there is no data on the page. 95 - Music playback page 97 - Album details page 99 - Video details page 101 - Video playback page 107 …chitecture-vertical-page-structure-music-playback-page](figures/application-architecture-vertical-… 113 …rchitecture-vertical-page-structure-album-details-page](figures/application-architecture-vertical-… [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_command.cpp | 29 auto domDocument = page ? page->GetDomDocument() : nullptr; in GetNodeFromPage() 40 if (!page) { in GetAccessibilityManager() 159 if (!page) { in CreateDomNode() 236 if (!page) { in CreateDomElement() 367 auto domDocument = page ? page->GetDomDocument() : nullptr; in Execute() 411 auto domDocument = page ? page->GetDomDocument() : nullptr; in Execute() 425 auto domDocument = page ? page->GetDomDocument() : nullptr; in Execute() 485 auto domDocument = page ? page->GetDomDocument() : nullptr; in Execute() 519 auto domDocument = page ? page->GetDomDocument() : nullptr; in Execute() 701 if (!page) { in Execute() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-framework-lifecycle.md | 15 You can define the following page lifecycle functions in the **.js** file of the page. 23 …() => void | Listens for page initialization. | Page initialization is complete. This function is… 24 …nReady | () => void | Listens for page creation.| A page is created. This function is called onl… 25 | onShow | () => void | Listens for page display. | The page is displayed. … 26 | onHide | () => void | Listens for page hiding. | The page is hidden. | 27 | onDestroy | () => void | Listens for page destruction. | The page is destroyed. … 32 - Open page B on page A: onHide() -> onDestroy() 33 - Go back to page A from page B: onInit() -> onReady() -> onShow() 34 - Exit page A: onHide() -> onDestroy() 35 - Hide page A: onHide() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/event_bubble/ |
H A D | event_bubble_tdd_test.cpp | 1022 DestroyPage(page); in EventBubbleTest001() 1049 DestroyPage(page); in EventBubbleTest002() 1079 DestroyPage(page); in EventBubbleTest003() 1103 DestroyPage(page); in EventBubbleTest004() 1126 DestroyPage(page); in EventBubbleTest005() 1153 DestroyPage(page); in EventBubbleTest006() 1177 DestroyPage(page); in EventBubbleTest007() 1201 DestroyPage(page); in EventBubbleTest008() 1228 DestroyPage(page); in EventBubbleTest009() 1260 DestroyPage(page); in EventBubbleTest010() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_page_router.cpp | 29 CHECK_NULL_VOID(page); in SetCjPageCallbackClassic() 96 page->SetPageCreated(); in LoadNativeViewClassic() 103 loadingPage_ = page; in PushLoadingPage() 136 PushLoadingPage(page); in LoadPage() 152 page->FlushCommands(); in LoadPage() 382 auto page = GetTopPage(); in SetCurrentPage() local 383 CHECK_NULL_VOID(page); in SetCurrentPage() 391 OnPageUpdate(page, false); in SetCurrentPage() 449 [weak, page]( in OnPageReady() 456 pipelineContext->PushPage(page->BuildPage(url), page->GetStageElement()); in OnPageReady() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/directive/ |
H A D | directive_tdd_test.cpp | 220 JSValue page = CreatePage(BUNDLE01, strlen(BUNDLE01)); in DirectiveTest001() local 224 ClickByRef(page, "btn"); in DirectiveTest001() 225 label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in DirectiveTest001() 227 ClickByRef(page, "btn"); in DirectiveTest001() 231 DestroyPage(page); in DirectiveTest001() 238 JSValue page = CreatePage(BUNDLE02, strlen(BUNDLE02)); in DirectiveTest002() local 246 ClickByRef(page, "addBtn"); in DirectiveTest002() 249 ClickByRef(page, "popBtn"); in DirectiveTest002() 253 DestroyPage(page); in DirectiveTest002() 260 JSValue page = CreatePage(BUNDLE03, strlen(BUNDLE03)); in DirectiveTest003() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/image_animator/ |
H A D | image_animator_tdd_test.cpp | 278 JSValue page = CreatePage(BUNDLE01, strlen(BUNDLE01)); in ImageAnimatorTest001() local 296 DestroyPage(page); in ImageAnimatorTest001() 304 JSValue page = CreatePage(BUNDLE02, strlen(BUNDLE02)); in ImageAnimatorTest002() local 327 DestroyPage(page); in ImageAnimatorTest002() 335 JSValue page = CreatePage(BUNDLE03, strlen(BUNDLE03)); in ImageAnimatorTest003() local 356 JSRelease(JSObject::Call(page, methodPause)); in ImageAnimatorTest003() 357 state = CallFuncAsString(page, methodGetState); in ImageAnimatorTest003() 361 JSRelease(JSObject::Call(page, methodResume)); in ImageAnimatorTest003() 366 JSRelease(JSObject::Call(page, methodStop)); in ImageAnimatorTest003() 372 JSRelease(JSObject::Call(page, methodStart)); in ImageAnimatorTest003() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend.cpp | 155 page->SetPageParams(params); in LoadPage() 156 page->SetFlushCallback([weak = WeakClaim(this)](const RefPtr<Framework::JsAcePage>& page) { in LoadPage() argument 159 front->OnPageLoaded(page); in LoadPage() 190 page->FlushCommands(); in ParsePage() 201 page->PopAllCommands(*jsCommands); in OnPageLoaded() 209 command->Execute(page); in OnPageLoaded() 219 page->ClearShowCommand(); in OnPageLoaded() 246 page->ClearAllDirtyNodes(); in OnPageLoaded() 254 pipelineContext->PushPage(page->BuildPage(page->GetUrl())); in OnPageLoaded() 313 auto page = delegate_->GetPage(); in RebuildAllPages() local [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_common_test.cpp | 95 int32_t page = 1; variable 104 int32_t page = 1; variable 115 int32_t page = 1; variable 135 int32_t page = 1; variable 144 int32_t page = 1; variable 155 int32_t page = 1; variable 168 int32_t page = 1; variable 190 int32_t page = 1; variable 199 int32_t page = 1; variable 210 int32_t page = 1; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/data_binding/ |
H A D | data_binding_tdd_test.cpp | 192 JSValue page = CreatePage(BUNDLE_OF_ATTR_BINDING, strlen(BUNDLE_OF_ATTR_BINDING)); in AttrBindingTest001() local 193 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in AttrBindingTest001() 197 ClickByRef(page, "increaseBtn"); in AttrBindingTest001() 199 ClickByRef(page, "decreaseBtn"); in AttrBindingTest001() 202 DestroyPage(page); in AttrBindingTest001() 209 JSValue page = CreatePage(BUNDLE_OF_STYLE_BINDING, strlen(BUNDLE_OF_STYLE_BINDING)); in StyleBindingTest002() local 210 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in StyleBindingTest002() 214 ClickByRef(page, "redBgColorBtn"); in StyleBindingTest002() 216 ClickByRef(page, "greenBgColorBtn"); in StyleBindingTest002() 218 ClickByRef(page, "blueBgColorBtn"); in StyleBindingTest002() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | basic_tdd_test.cpp | 123 if (JSError::Is(page)) { in CreatePage() 126 JSGlobal::Set("$root", page); in CreatePage() 127 CallLifecycle(page, "onInit"); in CreatePage() 132 JSRelease(page); in CreatePage() 135 CallLifecycle(page, "onReady"); in CreatePage() 140 JSRelease(page); in CreatePage() 152 JSRelease(page); in CreatePage() 158 CallLifecycle(page, "onShow"); in CreatePage() 159 return page; in CreatePage() 167 CallLifecycle(page, "onHide"); in DestroyPage() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_element.cpp | 24 auto page = pageElement_.Upgrade(); in ~TransformElement() local 25 if (page) { in ~TransformElement() 26 page->RemoveCardTransition(GetRetakeId()); in ~TransformElement() 44 auto page = SearchParentPage(); in AddCardTransform() local 45 if (!page) { in AddCardTransform() 48 pageElement_ = page; in AddCardTransform() 49 page->AddCardTransition(AceType::Claim(this)); in AddCardTransform() 57 auto page = AceType::DynamicCast<PageElement>(parent); in SearchParentPage() local 58 if (page) { in SearchParentPage() 59 return page; in SearchParentPage()
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-router-flash-optimization.md | 2 …n** component to navigate to a **Web** component page, the bottom of the page may flash during web… 6 …t page, the application determines whether to hide the native navigation bar on the application si… 10 …ted to the web page. The top of the page is the native navigation bar, and the bottom is the **Web… 12 …page loading, the system invokes a callback to notify the application to hide the native navigatio… 14 3. The web page continues to be loaded and displayed based on the new size. The background color of… 16 4. Finally, the web page content is completely loaded, and the complete HTML web page content is di… 18 … page, there is a possibility that the **Web** component flashes during the redirection. The flash… 22 …f the **Web** component to be the same as the background color of the web page to avoid visual fla… 24 …he background color of the web page is gray, the web page may flash white when the application nav…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-system-router.md | 37 // Current page 57 // routerpage2 page 77 Replaces the current page with another one in the application and destroys the current page. 90 // Current page 107 // detail page 121 Returns to the previous page or a specified page. 134 // index page 148 // detail page 162 // Navigate from the mall page to the detail page through router.back(). 174 // Navigate from the detail page to the index page through router.back(). [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-MultiNavigation.md | 115 …current top page on the stack with the specified navigation destination page. The new page inherit… 141 …t top page on the stack with the navigation destination page specified by **name**. The new page i… 308 > 1. If the found page is the topmost home page or a full-screen page, no action is taken. 310 > 2. If the found page is a detail page corresponding to the topmost home page, it is moved to the … 314 …the found page is a non-topmost detail page, the home page and all corresponding detail pages are … 316 > 5. If the found page is a non-topmost full-screen page, it is moved to the top. 339 > 1. If the found page is the topmost home page or a full-screen page, no action is taken. 341 > 2. If the found page is a detail page corresponding to the topmost home page, it is moved to the … 347 > 5. If the found page is a non-topmost full-screen page, it is moved to the top. 513 Sets a placeholder page. [all …]
|