Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DMatrix.js17 elements;
25 this.elements[0] = 1;
26 this.elements[5] = 1;
27 this.elements[10] = 1;
28 this.elements[15] = 1;
35 this.elements[i] = elements[i];
48 this.elements[0] = x;
49 this.elements[5] = y;
114 e = this.elements;
165 e = this.elements;
[all …]
/ohos5.0/docs/en/application-dev/performance/
H A Dflex-development-performance-boost.md4 …t is a container whose child elements are automatically laid out to create a flexible layout. By d…
7elements expand or shrink as required in a second layout to fit in the container. This can happen …
15 - If the total main axis size of the child elements is equal to the main axis size of the container…
23 … total main axis size of the child elements is greater than the main axis size of the container, t…
29 The child elements in the flex container have **displayPriority** set, but not **layoutWeight**.
32elements are laid out by group in descending order of the **displayPriority** values, with those s…
38 …he total main axis size of the child elements is less than the main axis size of the container, th…
44 Some child elements in the flex container have **layoutWeight** set.
46elements whose **displayPriority** values are the same and whose **layoutWeight** attribute is not…
49 The remaining space in the container is filled by the child elements whose **layoutWeight** attribu…
[all …]
/ohos5.0/docs/en/design/ux-design/
H A Dtransition-animation.md51 - **Incoming elements**
53 New elements that will show on the screen after the transition.
55 - **Outgoing elements**
57 …Elements that will disappear after the transition. They are usually elements on the previous scree…
59 - **Persistent elements**
63 - **Static elements**
76 - Shared elements
85 …d elements, which are persistent elements described earlier, are elements that are displayed befor…
94elements have clear boundaries, you can apply a container to these elements to create a sense of c…
98 A shared container groups elements before and after the transition, creating a sense of continuity.
[all …]
H A Danimation-design-principles.md3elements, facilitate transitions to create a seamless user experience, and promote your brand imag…
13 The motions of UI elements should be kept as simple as possible. The more complex the elements, the…
20 Keep the displacements of elements short so the animations will not take excessive time to play. Fo…
34 …ng intuitive, eye-pleasing graphical elements and also smooth the transitions between different sc…
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-flex-layout.md26elements can be arranged in any direction. You can set the **direction** parameter to define the d…
103elements can be laid on a single line or on multiple lines. By default, child elements in the flex…
105 …lexWrap.NoWrap** (default value): Child elements are laid out on a single line. This may cause the…
121 - **FlexWrap.Wrap**: Child elements break into multiple lines and are aligned along the main axis.
156 Use the **justifyContent** parameter to set alignment of child elements on the main axis.
212 …ceBetween**: The child elements are evenly distributed within the container along the main axis. T…
266 …cross axis can be set for both the container and child elements, with that set for child elements
274 - **ItemAlign.Auto**: The child elements are automatically aligned in the flex container.
342 …ItemAlign.Stretch**: The child elements are stretched along the cross axis. If no constraints are …
359 - **ItemAlign.Baseline**: The child elements are aligned at the baseline of the cross axis.
[all …]
H A Darkts-layout-development-linear.md11 ![arrangement-child-elements-column](figures/arrangement-child-elements-column.png)
16 ![arrangement-child-elements-row](figures/arrangement-child-elements-row.png)
21 …hat is able to lay out other elements as its child elements. The layout container calculates the s…
29 - Spacing: distance between child elements.
88 - **HorizontalAlign.Start**: Child elements are left aligned horizontally.
122 - **HorizontalAlign.End**: Child elements are right-aligned horizontally.
142 **Figure 6** Vertical alignment of child elements in Row container
146 - **VerticalAlign.Top**: Child elements are top-aligned vertically.
163 - **VerticalAlign.Center**: Child elements are center-aligned vertically.
260elements are evenly distributed vertically. The space between any two adjacent elements is the sam…
[all …]
H A Dui-js-building-ui-layout-intro.md12elements include title, text, and image areas. Each basic element may contain multiple sub-element…
17 - Overlapping with other elements
21 - Sub-elements and their positions
25elements on the page first and then implement them in sequence. This reduces visual confusion and …
H A Darkts-layout-development-stack-layout.md6elements in a component and allows the elements to be stacked. You can implement a stack layout th…
10 In the **Stack** component shown in Figure 1, the sequence of child elements is Item1 -> Item2 -> I…
20 …tain various child elements, which are stacked in the center by default. While respecting the cons…
47 Alignment of elements in the **Stack** component is set through the [alignContent](../reference/api…
70 The stacking order of child elements in the **Stack** component is set through the [zIndex](../refe…
92 …eater than that of all the elements before it. Therefore, the first two elements are completely hi…
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dser_nodes.h46 MapNode(BASE_NS::vector<NamedNode> elements) : elements(BASE_NS::move(elements)) {} in META_BEGIN_NAMESPACE()
50 return elements; in META_BEGIN_NAMESPACE()
55 for (auto&& v : elements) { in META_BEGIN_NAMESPACE()
65 elements.push_back(NamedNode { BASE_NS::string(name), BASE_NS::move(n) }); in META_BEGIN_NAMESPACE()
74 BASE_NS::vector<NamedNode> elements; in META_BEGIN_NAMESPACE()
80 ArrayNode(BASE_NS::vector<ISerNode::Ptr> elements) : elements(BASE_NS::move(elements)) {} in META_BEGIN_NAMESPACE()
84 return elements; in META_BEGIN_NAMESPACE()
89 elements.push_back(node); in META_BEGIN_NAMESPACE()
98 BASE_NS::vector<ISerNode::Ptr> elements; in META_BEGIN_NAMESPACE()
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_uuid.cpp132 bool res = GenerateUuid(uuid.elements, sizeof(uuid.elements)); in GetUUID()
138 res = GenerateUuid(uuid.elements, sizeof(uuid.elements)); in GetUUID()
162 for (size_t i = 0; i < sizeof(uuid.elements); i++) { in GetFormatUUID()
163 unsigned char value = uuid.elements[i]; in GetFormatUUID()
186 size_t bufferSize = sizeof(uuid.elements); in GetBinaryUUID()
188 if (memcpy_s(data, bufferSize, uuid.elements, bufferSize) != EOK) { in GetBinaryUUID()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/page/
H A Dpage_element.cpp156 std::queue<RefPtr<Element>> elements; in GetComponentsCount() local
157 elements.push(AceType::Claim(this)); in GetComponentsCount()
158 while (!elements.empty()) { in GetComponentsCount()
159 auto& element = elements.front(); in GetComponentsCount()
166 elements.push(child); in GetComponentsCount()
168 elements.pop(); in GetComponentsCount()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dmulti_composed_element.cpp109 std::unordered_multimap<ComposeId, RefPtr<Element>> elements; in UpdateChildrenForRebuild() local
114 elements.emplace(composedElement->GetId(), child); in UpdateChildrenForRebuild()
130 auto it = elements.find(composedComponent->GetId()); in UpdateChildrenForRebuild()
131 if (it == elements.end()) { in UpdateChildrenForRebuild()
150 elements.erase(it); in UpdateChildrenForRebuild()
154 for (const auto& node : elements) { in UpdateChildrenForRebuild()
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dlinear-container.md13 …ich occupies a continuous memory space. This method is recommended when elements need to be freque…
17 | Queue | A queue is used to insert elements from the tail of a container and pop elements from the…
38 | Delete| removeByRange(fromIndex: number, toIndex:number) | Removes elements in a specified range …
60 …mber, list?: List&lt;T&gt;)=&gt; void,thisArg?: Object) | Traverses the elements of the entire lis…
64 …index?: number,list?: List&lt;T&gt;)=&gt;T,thisArg?: Object) | Replaces elements in a list one by …
103 …allows you to add or delete elements at both ends. Queue allows you to delete elements only at the…
105elements in between. When compared with **Vector**, **Deque** is more efficient in inserting and r…
107 You are advised to use **Deque** when you need to frequently insert or remove elements at both the …
198 …index?: number,list?: List&lt;T&gt;)=&gt;T,thisArg?: Object) | Replaces elements in a vector one b…
202 | Delete| removeByRange(fromIndex:number,toIndex:number) | Removes elements in a specified range fr…
[all …]
H A Darkts-collections-introduction.md80 …T \| undefined | Supported| It is not allowed to add, delete, or modify elements during traversal …
85 …T \| undefined | Supported| It is not allowed to add, delete, or modify elements during traversal …
95 …ex: number]: T | Supported| It is not allowed to add, delete, or modify elements during traversal …
142 …umber]: number | Supported| It is not allowed to add, delete, or modify elements during traversal …
159 …y size: number | Supported| It is not allowed to add, delete, or modify elements during traversal …
160 | clear(): void | clear(): void | Supported| It is not allowed to add, delete, or modify elements d…
161 …y: K): boolean | Supported| It is not allowed to add, delete, or modify elements during traversal …
164 …y: K): boolean | Supported| It is not allowed to add, delete, or modify elements during traversal …
176 …: Set&lt;T&gt; | Supported| It is not allowed to add, delete, or modify elements during traversal …
177 | clear(): void | clear(): void | Supported| It is not allowed to add, delete, or modify elements d…
[all …]
H A Dnonlinear-container.md38 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
39 …ey?: K, map?: HashMap<K, V>) => void, thisArg?: Object) | Traverses the elements of the entire map…
54 You are advised to use **HashSet** when you need a set that has only unique elements or need to ded…
62 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
89 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
90 …ey?: K, map?: TreeMap<K, V>) => void, thisArg?: Object) | Traverses the elements of the entire map…
115 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
144 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
165 You are advised to use **LightWeightSet** when you need a set that has only unique elements or need…
175 | Read| entries() | Use **entries()** to return an iterator that contains all the elements in this …
[all …]
/ohos5.0/foundation/communication/nfc/services/src/external_deps/
H A Dtag_ability_dispatcher.cpp95 …std::vector<ElementName> elements = AppDataParser::GetInstance().GetDispatchTagAppsByTech(techList… in DispatchTagAbility() local
98 if (elements.size() == 0 && vendorElements.size() == 0) { in DispatchTagAbility()
113 if ((vendorElementNameList.size() + elements.size()) > TAG_APP_MATCHED_SIZE_SINGLE) { in DispatchTagAbility()
116 } else if (elements.size() == TAG_APP_MATCHED_SIZE_SINGLE) { in DispatchTagAbility()
117 want.SetElement(elements[0]); in DispatchTagAbility()
124 if (elements.size() == 0) { in DispatchTagAbility()
130 if (elements.size() == TAG_APP_MATCHED_SIZE_SINGLE) { in DispatchTagAbility()
131 want.SetElement(elements[0]); in DispatchTagAbility()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Daudit_log_parser.cpp57 std::vector<std::string> elements; in SplitStr() local
59 StringUtil::SplitStr(log, sep, elements); in SplitStr()
60 return elements; in SplitStr()
73 auto elements = SplitStr(log); in StartParse() local
74 if (elements.size() < LOG_ELEMENT_MIN_COUNT) { in StartParse()
79 StringUtil::ConvertStringTo<int>(elements[LOG_ELEMENT_EVENT_TYPE_POS], eventType); in StartParse()
80 if (std::to_string(eventType) != elements[LOG_ELEMENT_EVENT_TYPE_POS]) { in StartParse()
88 ParseNormalAuditEvent(eventType, elements); in StartParse()
90 ParsePipelineAuditEvent(eventType, elements); in StartParse()
/ohos5.0/base/security/selinux_adapter/scripts/selinux_check/
H A Dcheck_partition_label_use.py37 elements = line.split()
38 if len(elements) < 2:
40 path = elements[0]
41 label = elements[1]
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/test/
H A Dtest_convertxml.cpp147 napi_value elements = nullptr; variable
150 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements);
151 napi_get_element(env, elements, 0, &element);
185 napi_value elements = nullptr; variable
190 napi_get_named_property(env, jsObj, op.elements.c_str(), &elements);
225 napi_value elements = nullptr; variable
229 …EXPECT_EQ(napi_get_named_property(env, jsObj, op.elements.c_str(), &elements), napi_status::napi_o…
263 napi_value elements = nullptr; variable
267 …EXPECT_EQ(napi_get_named_property(env, jsObj, op.elements.c_str(), &elements), napi_status::napi_o…
301 napi_value elements = nullptr; variable
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-vector.md33 | length | number | Yes| No| Number of elements in a vector (called container later).|
91 Inserts an element within the length range and moves its subsequent elements rightwards.
302 Replaces all elements in this container with new elements, and returns the new ones.
340 Uses a callback to traverse the elements in this container and obtain their position indexes.
376 Sorts elements in this container.
410 …ns elements within a range in this container, including the element at the start position but not …
446 Clears all elements in this container and sets its length to **0**.
540 Checks whether this container is empty (contains no elements).
610 Uses commas (,) to concatenate elements in this container into a string.
635 Copies elements in this container into an array to overwrite elements of the same position indexes.
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/
H A DREADME.md11 │   ├── ability_info_utils.h # to provide some function to set the elements of Abili…
14 │   ├── bundle_info_utils.h # to provide some functions to set the elements of Bund…
17 │   └── module_info_utils.h # to provide some function to set the elements of Modul…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Devent_controller.cpp125 std::queue<RefPtr<NG::UINode>> elements; in GetMatchedNodes() local
127 elements.push(root); in GetMatchedNodes()
128 while (!elements.empty()) { in GetMatchedNodes()
129 auto current = elements.front(); in GetMatchedNodes()
130 elements.pop(); in GetMatchedNodes()
142 elements.push(child); in GetMatchedNodes()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector.cpp43 std::queue<RefPtr<Element>> elements; in GetInspectorByKey() local
44 elements.push(root); in GetInspectorByKey()
46 while (!elements.empty()) { in GetInspectorByKey()
47 auto current = elements.front(); in GetInspectorByKey()
48 elements.pop(); in GetInspectorByKey()
57 elements.push(child); in GetInspectorByKey()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/platform/src/
H A Dhdf_wlan_queue.c32 void *elements[0]; member
90 result = impl->elements[headIndex++]; in PopQueue()
125 impl->elements[tailIndex++] = context; in PushQueue()
/ohos5.0/drivers/interface/nnrt/v2_1/
H A DNnrtTypes.idl816 …/** Use the average value of all elements of a dimension to replace other elements of the dimensio…
818 …/** Use the maximum value of all elements of a dimension to replace other elements of the dimensio…
820 …/** Use the minimum value of all elements of a dimension to replace other elements of the dimensio…
822 … /** Use the product of all elements of a dimension to replace other elements of the dimension. */
824 /** Use the sum of all elements of a dimension to replace other elements of the dimension. */
826 …/** Use the sum of squares of all elements of a dimension to replace other elements of the dimensi…
828 …/** Use the sum of absolute values of all elements of a dimension to replace other elements of the…
830 …/** Use the logical AND of all elements of a dimension to replace other elements of the dimension.…
832 …/** Use the L2-Normalization of all elements of a dimension to replace other elements of the dimen…
844 /** Product of the elements of two tensors */
[all …]

12345678910>>...14