/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | render_loading_progress.cpp | 76 if (loading) { in UpdateRingAnimation() 77 loading->ringOffset_.SetY(value * loading->scale_); in UpdateRingAnimation() 78 if (loading->GetVisible() && !loading->GetHidden()) { in UpdateRingAnimation() 110 if (loading) { in UpdateCometAnimation() 126 if (loading) { in UpdateCometAnimation() 140 if (loading) { in DoCometTailAnimation() 142 if (loading->moveStopId_ != 0 && loading->cometController_) { in DoCometTailAnimation() 151 if (loading) { in DoCometTailAnimation() 152 double step = loading->cometTailLen_ / loading->cometCount_; in DoCometTailAnimation() 195 double step = loading->cometTailLen_ / loading->cometCount_; in DoCometLoopAnimation() [all …]
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | swiper_optimization.md | 15 This is where the pre-loading mechanism of the **Swiper ** component comes into picture. By allowin… 19 The pre-loading mechanism of the **Swiper ** component is preferred where time-consuming loading is… 29 ## Understanding Pre-loading of Swiper 31 …loading mechanism of **Swiper ** is designed to offer an uninterrupted swiping experience, by allo… 37 Below shows the pre-loading result of the **Swiper ** component that contains five pages and its **… 41 …Below shows the pre-loading result of the **Swiper ** component that contains five pages and its *… 150 … the performance improvements brought by the **Swiper ** component's pre-loading mechanism, the fo… 156 Under these prerequisites, using the **Swiper ** component's pre-loading mechanism can save about 4… 316 - A tie-in of the **Swiper ** component's pre-loading mechanism and **LazyForEach** delivers optima… 318 - The value of **cachedCount** for pre-loading must be set appropriately based on the loading durat… [all …]
|
H A D | performance-dynamic-import.md | 5 …loading, and it is often the case that these modules are not all needed. For example, when the hom… 14 …ort of the **Navigation** component to describe how to trigger on-demand loading during redirectio… 20 …ded when the user accesses the home page, loading these subpages is redundant and slows down home … 64 If the **Navigation** component loads all modules statically at a time, the loading of the home pag… 159 // Trigger dynamic loading. 172 …ng static import to load all subpages at once can significantly slow the loading of the home page.…
|
H A D | reduce-redundant-operations-when-render-first-frame.md | 9 …application and ability initialization, ability lifecycle, and home page loading and drawing, as s… 13 Home page loading and drawing is not only one of the four phases of application cold start, but als… 19 You can reduce your page load time by loading pages on demand or reducing the lifecycle time of cus… 23 On-demand loading, as its name implies, loads resources only when they are needed. It avoids initia… 25 …umber is intended to make it easier to observe the benefits of on-demand loading). If each of the … 46 **Optimization**: Replace **ForEach** with **LazyForEach** to avoid initializing and loading all el… 257 Reducing layout time can be achieved by asynchronous loading and reduced nesting. 261 …loading, images are loaded in the main thread. This means that, page layout needs to wait until th… 291 **Optimization**: The **Image** component is loaded in the default asynchronous loading mode, which…
|
H A D | improve-application-response.md | 10 …recommended that non-UI, time-consuming tasks (such as long-time content loading) be executed thro… 14 …loading feature enabled by default. When an application loads a batch of local images to be displa… 38 Recommendation: If it takes a short time to load an image, the benefits of asynchronous loading wil…
|
H A D | common-trace-using-instructions.md | 87 Figure 4 shows the traces for a frame during lazy loading. 89 **Figure 4** Trace lanes for lazy loading 91  106 When page loading is triggered, the system creates a new page instance and calls the lifecycle func… 108 Figure 5 shows the traces for a frame during page loading. 110 Figure 5 Trace lanes for page loading 112  143 Text ('Example of lazy loading') 198 …ile and generate a trace lane diagram, helping you better understand the loading process of the sa… 208 **Figure 7** Lane for loading the LazyForEach page [all …]
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-mini-extend-dynamic-loading.md | 6 … time. The LiteOS-M kernel uses the Executable and Linkable Format (ELF) loading because it is eas… 8 …d required algorithm libraries by using the APIs provided by the dynamic loading module. As shown … 10 The dynamic loading component supports only the Arm architecture. In addition, the signature and so… 12 **Figure 1** LiteOS-M kernel dynamic loading architecture 14 …
|
H A D | kernel-small-bundles-linking.md | 6 The OpenHarmony dynamic loading and linking mechanism includes a kernel loader and a dynamic linker… 10 - Dynamic linking allows multiple applications to share code. The minimum loading unit is page. Dyn… 14 - The loading address can be randomized to prevent attacks and ensure security. 19 **Figure 1** Dynamic loading process 21 
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | module-principle.md | 5 … of splitting ArkTS/TS/JS into multiple modules (files or fragments) and loading, parsing, combini… 7 …loading modes, including dynamic loading (arkts-dynamic-import.md), delayed loading (arkts-lazy-im… 17 …entry file, that is, the file is an execution start point. Some built-in loading interfaces, such … 58 The loading of the ETS, TS, and JS modules complies with [ECMAScript](#ecmascript-module) and [Comm… 72 …mporting and exporting the native module (.so) are the same as those for loading the ETS, TS, and … 103 // The ns object cannot be obtained during dynamic loading.
|
H A D | arkts-lazy-import.md | 3 …n is caused. Therefore, measures urgently need to be taken to simplify a loading process and elimi… 18 …r the invoking points of these files. Notice that subsequent synchronous loading may block the tas… 147 …Incomplete labeling will cause lazy loading to fail and increase the overhead of identifying lazy … 156 - In the same ETS file, lazy loading variables are not used and exported again. Lazy loading variab… 199 - Developers need to evaluate the impact of lazy loading.
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-component-overview.md | 16 - Web page loading: declarative loading and off-screen loading of web pages. 18 - Lifecycle management: component lifecycle status change and web page loading status change notifi…
|
H A D | web-page-loading-with-web-components.md | 4 …loading is a basic capability of the **Web** component. Depending on the data source, page loading… 59 …ge to be loaded by default when creating a **Web** component. After page loading is complete, you … 61 To reference a local CSS file when loading a local HTML file, perform the following steps: 130 Example of loading local page files in the sandbox:
|
H A D | web-event-sequence.md | 9 …controller to the **Web** component, the start, progress and end of page loading, and page to be v… 11 **Figure 1** Callback events during the normal web page loading of the **Web** component 21 … a URL, which is used to determine whether to block the access. By default, the loading is allowed. 23 …btain the control right. If the callback returns **true**, the web stops loading the URL. If the c… 29 …nents-web.md#onprogresschange): This callback is triggered to notify the loading progress of the p… 33 …about to be visible in the rendering process. In this case, the document loading is still in the e… 86 // If true is returned, the loading is blocked. Otherwise, the loading is allowed. 177 Pay attention to some important performance indicators during web page loading. Such as First Conte…
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ndk-loading-long-list.md | 24 2. Implement lazy loading adapter functionality. 27 // Code for lazy loading functionality in a text list. 47 // Initialize lazy loading data. 51 // Set lazy loading data. 53 // Register the event receiver for lazy loading. 242 // Import the lazy loading module. 275 4. Write code for lazy loading of a list. 278 // Sample code for lazy loading a list. 297 // 2: Create ListItem child components for lazy loading and mount them to the List component. 301 // 3: Simulate lazy loading operations. [all …]
|
/ohos5.0/docs/zh-cn/design/ux-design/ |
H A D | multimodal-pull-to-refresh.md | 14 - 下拉过程中显示loading转圈动画。 18 - 下拉超过规定距离时并松手,触发刷新动画,仅显示loading转圈动画,不显示文字。
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-atomicservice-AtomicServiceWeb.md | 351 Represents the callback invoked when an error occurs during web page loading. 364 Represents the callback invoked when an HTTP error occurs during web page resource loading. 377 Represents the callback invoked when the web page loading begins. 389 Represents the callback invoked when the web page loading ends. 401 Represents the event triggered when resource loading is intercepted. 413 Represents the callback invoked when the web page loading progress changes. 427 Represents the callback invoked when resource loading is intercepted. 591 This example sets the web page loading event callbacks. 614 // Invoked when an error occurs during web page loading. 623 // Invoked when an HTTP error occurs during web page resource loading. [all …]
|
H A D | ts-basic-components-loadingprogress.md | 3 The **LoadingProgress** component is used to create a loading animation. 5 The loading animation stops when the component is invisible. The component's visibility is determin… 55 …loading animation. The component still takes up space in the layout when the loading animation is … 66 | value | boolean | Yes | Whether to show the loading animation.<br>Default value: **true**| 98 | enableLoading | boolean | No| No|Whether to show the loading animation.<br>Default value: **true*…
|
H A D | ts-basic-components-mediacachedimage-sys.md | 3 …t from [Image](ts-basic-components-image.md) and the added capability of loading texture resources… 25 …ype, see [Loading Image Resources](../../../ui/arkts-graphics-display.md#loading-image-resources).… 57 MediaCachedImage($r('app.media.loading'))
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/ |
H A D | device_info_hcs.template | 3 …fault value 100 is recommended. If the priorities are the same, the host loading sequence is rando… 7 …ult value 100 is recommended. If the priorities are the same, the device loading sequence is rando… 8 …preload = 0; // On-demand loading of the driver. For details, see "NOTE" at the…
|
H A D | exists_model_hcs_info.template | 4 …ult value 100 is recommended. If the priorities are the same, the device loading sequence is rando… 5 …preload = 0; // On-demand loading of the driver. For details, see "…
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-security-selinux-compile.md | 5 … after the init process is started. The following figure shows the compilation and loading process. 7 **Figure 1** OpenHarmony SELinux compilation and loading process 27 The OpenHarmony SELinux policy loading process is as follows: 37 **Figure 2** OpenHarmony SELinux context compilation and loading process 49 The loading of OpenHarmony SELinux contexts varies with the context type.
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-arkts-module.md | 80 …or indicating loading failure is not explicitly thrown. You can check whether the exported object … 86 | Static loading| The VM automatically throws an error and the process exits.| No error is thrown, … 87 | Dynamic loading| No error is proactively thrown and the program reaches the reject branch. You ca… 89 **Example 1: Static loading of the system library/application .so file fails.** 104 **Example 2: Dynamic loading of the system library/application .so file fails.** 151 If only the loading sequence of **file1** is changed: 163 Note that modular build uses depth-first loading.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-web.md | 34 | pagestart | {url: string} | Triggered when web page loading starts.| 35 | pagefinish | {url: string} | Triggered when web page loading is completed. | 36 …umber, description: string} | Triggered when an error occurs during web page loading or opening. |
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | pageability-switch.md | 27 3. Adjust the migrated code, since the methods of loading pages are different. 29 - In the FA model, page loading is configured by setting page information in **config.json**. 30 …- In the stage model, page loading is triggered through **windowStage.loadContent** in the **onWin… 58 hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s',
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | multimodal-pull-to-refresh.md | 14 - The loading animation is displayed during the pull-down process. 18 … refresh animation is triggered after users lift their fingers. Only the loading animation is disp…
|