Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_native_color_space_manager.md71 Defines an enum for the color space names.
126 Enumerates the color space names.
132 | NONE | Unknown color space.|
133 | ADOBE_RGB | Color space based on Adobe RGB.|
137 | BT709 | Color space based on ITU-R BT.709.|
138 | BT601_EBU | Color space based on ITU-R BT.601.|
140 | BT2020_HLG | Color space based on ITU-R BT.2020.|
141 | BT2020_PQ | Color space based on ITU-R BT.2020.|
162 | CUSTOM | Custom color space.|
186 | colorSpaceName | Name of the color space.|
[all …]
H A Djs-apis-colorSpaceManager.md3 … module provides APIs for creating and managing color space objects and obtaining basic color spac…
17 Enumerates the color space types.
78 Creates a standard color space object.
118 Creates a custom color space object.
133 | [ColorSpaceManager](#colorspacemanager) | Color space object created.<br>The color space type is…
168 Implements management of color space objects.
176 Obtains the color space type.
184 | [ColorSpace](#colorspace) | Color space type. |
208 Obtains the coordinates of the white point in the color space.
240 Obtains the gamma of the color space.
[all …]
H A Djs-apis-sendableColorSpaceManager.md30 Creates a standard color space object that is sendable.
38 …space)| Yes | Type of the color space.<br>**UNKNOWN** and **CUSTOM** cannot be used when creating…
67 Creates a custom color space object that is sendable.
76 | gamma | number | Yes | Gamma of the color space. …
114 Implements management of color space objects.
116 …ng APIs, you must use [create()](#sendablecolorspacemanagercreate) to create a color space manager.
122 Obtains the color space type.
130 | [colorSpaceManager.ColorSpace](js-apis-colorSpaceManager.md#colorspace) | Color space type.|
150 Obtains the coordinates of the white point in the color space.
179 Obtains the gamma of the color space.
[all …]
H A Dnative__color__space__manager_8h.md6 … **native_color_space_manager.h** file declares the functions for creating and using a color space.
26 | struct [ColorSpacePrimaries](_color_space_primaries.md) | Describes the color space primaries.|
27 …white point array. Each white point indicates the coordinates of white in the active color space.|
35 …Name](_native_color_space_manager.md#colorspacename) | Defines an enum for the color space names.|
37 …white point array. Each white point indicates the coordinates of white in the active color space.|
44 …SPLAY_P3_HLG = P3_HLG, DISPLAY_P3_PQ = P3_PQ, CUSTOM = 5<br>} | Enumerates the color space names.|
51 …me) | Creates an **OH_NativeColorSpaceManager** instance based on a color space name. A new **OH_N…
54 …manager.md#oh_nativecolorspacemanager) \*nativeColorSpaceManager) | Obtains the color space name.|
/ohos5.0/commonlibrary/ets_utils/js_util_module/json/src/
H A Djson_js.ts41 stringifyBigInt(value: Object, replacer?: TransformsFunc, space?: string | number): string;
42 …stringifyBigInt(value: Object, replacer?: (number | string)[] | null, space?: string | number): st…
66 space?: string | number): string {
70 return JSON.stringify(value, replacer, space);
78 return (JSON as unknown as JSON).stringifyBigInt(value, replacer, space);
112 function stringify(value: Object, replacer?: ReplacerType, space?: string | number): string {
122 if (space) {
123 if (!isSpaceType(space)) {
127 } else if (space === null) {
138 return stringfyFun(value, replacer, space);
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-focus.md252 Row({ space: 20 }) {
323 Row({ space: 5 }) {
337 Row({ space: 5 }) {
407 Column({ space:20 }){
408 Row({space: 5}) {
417 Row({space: 5}) {
425 Row({space: 5}) {
433 Row({space: 5}) {
488 Column({ space: 30 }) {
523 Row({ space: 20 }) {
[all …]
H A Dts-animatorproperty.md28 @State space: number = 10;
30 Column({ space: this.space }) // 改变Column构造器中的space动画不生效
35 this.space = 20; // 改变this.space动画不生效
39 this.space = 10; // 改变this.space动画不生效
H A Dts-container-flex.md63 …(../js-apis-arkui-graphics.md#lengthmetrics12) | 否 | 是 | Flex容器主轴上的space。<br/> space: {main: Leng…
64 …(../js-apis-arkui-graphics.md#lengthmetrics12) | 否 | 是 | Flex容器交叉轴上的space。<br/> space: {cross: Len…
77 Column({ space: 5 }) {
142 Column({ space: 5 }) {
206 Column({ space: 5 }) {
257 Column({ space: 5 }) {
308 Column({ space: 5 }) {
347 该示例通过设置space为单/多行排列的子组件确定在主/交叉轴上的间距。
356 Column({ space: 5 }) {
358 …Flex({ wrap: FlexWrap.Wrap, space: {main: LengthMetrics.px(50), cross: LengthMetrics.px(50)} }) { …
[all …]
H A Dts-container-row.md17 Row(value?:{space?: string&nbsp;|&nbsp;number })
29 | value | {space?: string&nbsp;\|&nbsp;number } | 否 | 横向布局元素间距。<br/>从API version 9开始,space为负数或者jus…
112 Column({ space: 5 }) {
114 Text('space').width('90%')
115 Row({ space: 5 }) {
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-basic-memory-virtual.md6space. The size of the virtual address space is determined by the number of CPU bits. The maximum …
50 | LOS_CurrSpaceGet | Obtains the pointer to the current process space structure.|
52 | LOS_GetKVmSpace | Obtains the pointer to the kernel process space structure.|
53 | LOS_GetVmallocSpace | Obtains the pointer to the vmalloc space structure.|
54 | LOS_GetVmSpaceList | Obtains the pointer to the process space linked list.|
64 | LOS_RegionFree | Releases a specific region in the process space.|
80 | LOS_IsUserAddress | Checks whether the address is in the user space.|
82 | LOS_IsKernelAddress | Checks whether the address is in the kernel space.|
84 | LOS_IsRangeInSpace | Checks whether the address region is in the process space.|
109 | LOS_VmSpaceReserve | Reserves a memory space in the process space. |
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/
H A Ddump_log.cpp31 std::string space = " "; in Print() local
33 ostream_->write(space.c_str(), space.length()); in Print()
35 ostream_->write(space.c_str(), space.length()); in Print()
43 ostream_->write(space.c_str(), space.length()); in Print()
66 std::string space = " "; in Print() local
68 ostream_->write(space.c_str(), space.length()); in Print()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/
H A Dcolumn_model_ng.cpp30 void ColumnModelNG::Create(const std::optional<Dimension>& space, AlignDeclaration*, const std::str… in Create() argument
40 CHECK_NULL_VOID(space); in Create()
41 if (GreatOrEqual(space->Value(), 0.0)) { in Create()
42 ACE_UPDATE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value()); in Create()
48 void ColumnModelNG::SetSpace(FrameNode* frameNode, const std::optional<Dimension>& space) in SetSpace() argument
50 CHECK_NULL_VOID(space); in SetSpace()
51 if (GreatOrEqual(space->Value(), 0.0)) { in SetSpace()
52 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value(), frameNode); in SetSpace()
H A Drow_model_ng.cpp26 void RowModelNG::Create(const std::optional<Dimension>& space, AlignDeclaration*, const std::string… in Create() argument
36 CHECK_NULL_VOID(space); in Create()
37 if (GreatOrEqual(space->Value(), 0.0)) { in Create()
38 ACE_UPDATE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value()); in Create()
44 void RowModelNG::SetSpace(FrameNode* frameNode, const std::optional<Dimension>& space) in SetSpace() argument
46 CHECK_NULL_VOID(space); in SetSpace()
47 if (GreatOrEqual(space->Value(), 0.0)) { in SetSpace()
48 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearLayoutProperty, Space, space.value(), frameNode); in SetSpace()
H A Dlinear_layout_utils.cpp146 …linearMeasureProperty.space = ConvertToPx(spaceDimension, layoutConstraint->scaleProperty).value_o… in Measure()
162 …linearMeasureProperty.space * (static_cast<float>(linearMeasureProperty.relativeNodes.size()) - 1); in Measure()
180 linearMeasureProperty.allocatedSize += linearMeasureProperty.space; in Measure()
208 auto space = ConvertToPx(spaceDimension, layoutConstraint->scaleProperty).value_or(0); in Layout() local
231 yPos += space; in Layout()
236 space }; in Layout()
248 xPos += space; in Layout()
272 … (layoutConditions.size.Height() - frameHeightSum - (childNum - 1) * layoutConditions.space) / 2; in LayoutCondition()
303 yPos += layoutConditions.space; in LayoutCondition()
325 …blankSpace = layoutConditions.size.Width() - frameWidthSum - layoutConditions.space * (childNum - … in LayoutCondition()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_model_ng.cpp293 void FlexModelNG::SetMainSpace(const std::optional<Dimension>& space) in SetMainSpace() argument
295 CHECK_NULL_VOID(space); in SetMainSpace()
296 if (GreatOrEqual(space->Value(), 0.0)) { in SetMainSpace()
297 ACE_UPDATE_LAYOUT_PROPERTY(FlexLayoutProperty, Space, space.value()); in SetMainSpace()
301 void FlexModelNG::SetCrossSpace(const std::optional<Dimension>& space) in SetCrossSpace() argument
303 CHECK_NULL_VOID(space); in SetCrossSpace()
304 if (GreatOrEqual(space->Value(), 0.0)) { in SetCrossSpace()
311 CHECK_NULL_VOID(space); in SetMainSpace()
312 if (GreatOrEqual(space->Value(), 0.0)) { in SetMainSpace()
319 CHECK_NULL_VOID(space); in SetCrossSpace()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.cpp29 … int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty) in ChainAnimationNode() argument
30 : springProperty_(std::move(springProperty)), index_(index), space_(space), maxSpace_(maxSpace), in ChainAnimationNode()
31 minSpace_(minSpace), curPosition_(space) in ChainAnimationNode()
33 spring_ = AceType::MakeRefPtr<SpringMotion>(space, space, 0.0, springProperty_); in ChainAnimationNode()
69 ChainAnimation::ChainAnimation(float space, float maxSpace, float minSpace, RefPtr<SpringProperty> … in ChainAnimation() argument
70 : springProperty_(springProperty), space_(space), maxSpace_(maxSpace), minSpace_(minSpace) in ChainAnimation()
73 …nodes_.emplace(i, AceType::MakeRefPtr<ChainAnimationNode>(i, space, maxSpace, minSpace, springProp… in ChainAnimation()
212 void ChainAnimation::SetSpace(float space, float maxSpace, float minSpace) in SetSpace() argument
214 space_ = space; in SetSpace()
218 nodes_[i]->SetSpace(space, maxSpace, minSpace); in SetSpace()
[all …]
H A Dchain_animation.h39 …int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty);
48 void SetSpace(float space, float maxSpace, float minSpace) in SetSpace() argument
50 space_ = space; in SetSpace()
71 …ChainAnimation(float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty);
104 void SetSpace(float space, float maxSpace, float minSpace);
/ohos5.0/docs/en/application-dev/file-management/
H A Dapp-fs-space-statistics.md3 …describes how to obtain statistics on the space occupied by your application and the free space an…
9 **Table 1** APIs for application and file system space statistics
13 | \@ohos.file.storageStatistics | getCurrentBundleStats | Obtains the storage space of the current …
14 | \@ohos.file.statvfs | getFreeSize | Obtains the free space of a file system, in bytes.|
15 | \@ohos.file.statvfs | getTotalSize | Obtains the total space of a file system, in bytes.|
17 **Table 2** Attributes for application space statistics
27 - Obtain the free space of **/data** of the file system.
45 - Obtain the space occupied by the current application.
/ohos5.0/base/startup/init/services/param/manager/
H A Dparam_persist.c41 WorkSpace *space = GetWorkSpace(WORKSPACE_INDEX_DAC); in GetPersistCommitId() local
42 if (space == NULL) { in GetPersistCommitId()
45 PARAMSPACE_AREA_RD_LOCK(space); in GetPersistCommitId()
46 …long long globalCommitId = ATOMIC_UINT64_LOAD_EXPLICIT(&space->area->commitPersistId, MEMORY_ORDE… in GetPersistCommitId()
47 PARAMSPACE_AREA_RW_UNLOCK(space); in GetPersistCommitId()
56 WorkSpace *space = GetWorkSpace(WORKSPACE_INDEX_DAC); in UpdatePersistCommitId() local
57 if (space == NULL) { in UpdatePersistCommitId()
60 PARAMSPACE_AREA_RW_LOCK(space); in UpdatePersistCommitId()
61 ATOMIC_SYNC_ADD_AND_FETCH(&space->area->commitPersistId, 1, MEMORY_ORDER_RELEASE); in UpdatePersistCommitId()
62 PARAMSPACE_AREA_RW_UNLOCK(space); in UpdatePersistCommitId()
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-storage-statistics.md3 …ing storage space information, including the space of built-in and plug-in memory cards, space occ…
19 Obtains the storage space of this application, in bytes. This API uses a promise to return the resu…
27 …dlestats](#bundlestats9)&gt; | Promise used to return the application storage space obtained. |
54 Obtains the storage space of this application, in bytes. This API uses an asynchronous callback to …
62 …bundlestats9)&gt; | Yes | Callback used to return the application space obtained. |
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-extend.md54 Row({ space: 10 }) {
82 Row({ space: 10 }) {
103 Row({ space: 10 }) {
137 Row({ space: 10 }) {
158 Row({ space: 10 }) {
179 Row({ space: 10 }) {
218 Row({ space: 10 }) {
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-trace-other-lastwords.md14 typedef VOID (*log_read_write_fn)(UINT32 startAddr, UINT32 space, UINT32 rwFlag, CHAR *buf);
16 VOID LOS_ExcInfoRegHook(UINT32 startAddr, UINT32 space, CHAR *buf, log_read_write_fn hook);
27 | space | 存取的空间大小 |
36 | space | 存取的空间大小 |
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_component.cpp69 RefPtr<BoxComponent> space = AceType::MakeRefPtr<BoxComponent>(); in Initialize() local
70 space->SetDeliverMinToChild(false); in Initialize()
71 space->SetAlignment(Alignment::CENTER); in Initialize()
78 space->SetPadding(spaceEdge); in Initialize()
79 space->SetChild(icon); in Initialize()
124 row->AppendChild(space); in Initialize()
128 row->AppendChild(space); in Initialize()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-asset-store-kit/
H A Djs-apis-asset-sys.md84 console.info(`Asset added to user space successfully.`);
86 …console.error(`Failed to add Asset to user space. Code is ${err.code}, message is ${err.message}`);
90 …console.error(`Failed to add Asset to user space. Code is ${err.code}, message is ${err.message}`);
154 console.info(`Asset removed from user space successfully.`);
160 …console.error(`Failed to remove Asset from user space. Code is ${err.code}, message is ${err.messa…
229 console.info(`Asset updated in user space successfully.`);
231 …console.error(`Failed to update Asset in user space. Code is ${err.code}, message is ${err.message…
235 …console.error(`Failed to update Asset in user space. Code is ${err.code}, message is ${err.message…
302 console.info(`Succeeded in pre-querying Asset from user space.`);
379 console.info(`Succeeded in querying Asset from user space.`);
[all …]
/ohos5.0/docs/en/application-dev/graphics/
H A Dnative-buffer-guidelines.md9 …tance, obtain memory properties, and map the corresponding ION memory to the process address space.
19 … | Maps the ION memory allocated to an **OH_NativeBuffer** instance to the process address space.|
20 …nmaps the ION memory allocated to an **OH_NativeBuffer** instance from the process address space.|
27 …tance, obtain memory properties, and map the corresponding ION memory to the process address space.
55 …access the memory space of the **OH_NativeBuffer** instance, map the ION memory allocated to the i…
57 // Map the ION memory to the process address space.
64 // Unmap the ION memory from the process address space when it is no longer needed.

12345678910>>...44