Home
last modified time | relevance | path

Searched full:label (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/docs/zh-cn/device-dev/subsystems/
Dsubsys-graphics-common-guide.md161 标签(label)是在一块区域上显示文本字符串的组件,可设置区域背景色、文字的显示样式和长文本的显示效果等。
199 UILabel* label = new UILabel();
200 label->SetPosition(x, y);
201 label->Resize(width, height);
207 label->SetFont("SourceHanSansSC-Regular.otf", 30);
213 label->SetText("label");
228 UILabel* label = new UILabel();
229 label->SetPosition(x, y);
230 label->Resize(width, height);
236 label->SetFont("SourceHanSansSC-Regular.otf", 30);
[all …]
Dsubsys-dfx-hilog-rich.md18 | HiLog | int Debug(const HiLogLabel &label, const char \*fmt,&nb…
19 | | int Info(const HiLogLabel &label, const char \*fmt, ...…
20 | | int Warn(const HiLogLabel &label, const char \*fmt, ...…
21 | | int Error(const HiLogLabel &label, const char \*fmt, ..…
22 | | int Fatal(const HiLogLabel &label, const char \*fmt, ..…
31 …p;HiLogLabel &label, const char \*fmt, ...) | 功能:输出 debug 级…
32 | | int Info(const HiLogLabel &label, const char \*fmt, ...…
33 | | int Warn(const HiLogLabel &label, const char \*fmt, ...…
34 | | int Error(const HiLogLabel &label, const char \*fmt, ..…
35 | | int Fatal(const HiLogLabel &label, const char \*fmt, ..…
[all …]
Dsubsys-dfx-hitracemeter.md112 | void StartTrace(uint64_t label, const std::string& value, float limit = -1); | 启动同步trace | label:…
113 | void FinishTrace(uint64_t label); | 关闭同步trace | label:…
121 | void StartAsyncTrace(uint64_t label, const std::string& value, int32_t taskId, float limit = -1);…
122 | void FinishAsyncTrace(uint64_t label, const std::string& value, int32_t taskId); …
132 | void CountTrace(uint64_t label, const std::string& name, int64_t); | 计数trace | label: Trace categ…
156 uint64_t label = BYTRACE_TAG_OHOS;
158 CountTrace(label, "count number", 2000); // 整数跟踪
160 StartTrace(label, "func1Trace", -1); // func1Start的跟踪起始点
162 StartTrace(label, "func2Trace", -1); // func2Start的跟踪起始点
164 FinishTrace(label); // func2Trace的结束点
[all …]
/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.38/
Dchangelogs-securityLable.md11 …SecurityLabel()** method does not verify the security label passed in. Changing the security label
19 The application data security label can be changed to a lower level by using the following API afte…
23 If the application data security label is set to a lower lever, error 13900020 will be thrown.
32 console.log( "set security label s3 success");
34 console.log( "set security label s3 fail, " + err.message + err.code);
50 …; | The data security label can be changed from a higher level to a lower one.| An error will be t…
51 … | The data security label can be changed from a higher level to a lower one.| An error will be t…
52 … | The data security label can be changed from a higher level to a lower one.| An error will be t…
56label frequently, no adaptation is required. Otherwise, ensure that the data security label settin…
66 If no security label has been set for application data, calling **getSecurityLabel** returns an emp…
[all …]
/docs/.gitcode/ISSUE_TEMPLATE/
D1_bug-report.yml12 label: 发生了什么问题?
19 label: 期望行为是什么?
26 label: 如何复现该缺陷
32 label: 其他补充信息
38 label: 版本或分支信息
41 - label: master
42 - label: OpenHarmony-6.0-Beta1
43 - label: OpenHarmony-5.1.0-Release
44 - label: OpenHarmony-5.0.3-Release
45 - label: OpenHarmony-5.0.2-Release
[all …]
D4_security-issue.yml12 label: 漏洞编号:
19 label: 漏洞归属组件
26 label: 漏洞归属版本
33 label: CVSS V3.0分值
40 label: 漏洞简述
47 label: 影响性分析说明
54 label: 原理分析
61 label: 受影响版本
68 label: 规避方案或消减措施
/docs/en/application-dev/application-models/
Dapplication-component-configuration-fa.md19 …d together. There are four types: application icon, application label, entry icon, and entry label.
21 The application icon and application label are used to identify an application, and they are usuall…
27label are displayed on the device's home screen after an application is installed. The entry icon …
31 ### Configuring the Application Icon and Application Label
32label of a PageAbility that meet the rules are used as the application icon and application label.…
34 ### Configuring the Entry Icon and Entry Label
38 In the FA model, the entry icon and entry label are the values of **icon** and **label** configured…
42 * **label**: index of the resource file. It identifies the name of the ability presented to users. …
44label of this PageAbility is used as the application icon and label. If multiple PageAbilities add…
70 "label": "$string:MainAbility_label",
[all …]
/docs/en/device-dev/subsystems/
Dsubsys-security-selinux-sample-file.md7 …from being corrupted. Generally, these files are assigned with an SELinux label in the compilation…
10 1. In **file_contexts**, define the mapping between the absolute path of the file and the label. Re…
23 …By default, these files inherit the label of their parent directory. For security purposes, you ca…
27 1. In **file_contexts**, define the mapping between the absolute path of the file and the label. Re…
37 3. Make the label take effect.
39 …th and the label. The label cannot be automatically assigned to the file. The process needs to pro…
41 | Scenario| Label Update|
43 … the .cfg file has integrated the **Restorecon** API. Therefore, **mkdir** updates the file label.|
44 … the .cfg file has integrated the **Restorecon** API. Therefore, **mkdir** updates the file label.|
45 …ile is created by a process in running.| Use **Restorecon** to update the label after the director…
[all …]
Dsubsys-security-selinux-sample-param.md5 To implement access control for a system parameter, you can configure an SELinux label for the para…
11 The following is an example of the mapping between a label and a wildcard parameter. The label for …
15 The following is an example of the mapping between a label and a fixed parameter. The label for the…
26 - The label of the **init.a** parameter is **u:object_r:init_param:s0**.
27 - The label of the **init.svc** parameter is **u:object_r:init_param:s0**.
28 - The label of the **init.svc.a** parameter is **u:object_r:init_svc_param:s0**.
31 For example, to assign the label **init_svc_param** for parameters prefixed with **init.svc.**, do …
33 1. Add the parameter-label mapping in the **parameter_contexts** file.
38 2. Add **init_svc_param** in **type.te** to make the label valid.
Dsubsys-graphics-common-guide.md231 …ea. You can set the background color, text display style, and long text display effect for a label.
246 …p757119532556"><a name="p757119532556"></a><a name="p757119532556"></a>Sets text for the label.</p>
251 …3105514"><a name="p85721653105514"></a><a name="p85721653105514"></a>Obtains text of the label.</p>
256 …16557"><a name="p1757215316557"></a><a name="p1757215316557"></a>Sets the label mode, such as trun…
261 …572853175514"><a name="p4572853175514"></a><a name="p4572853175514"></a>Obtains the label mode.</p>
363 UILabel* label = new UILabel();
364 label->SetPosition(x, y);
365 label->Resize(width, height);
371 label->SetFont("SourceHanSansSC-Regular.otf", 30);
377 label->SetText("label");
[all …]
Dsubsys-security-selinux-sample-sa.md7 …provider does not assign an SELinux label for the SA, SELinux will assign the **u:object_r:default…
11 1. In the **service_contexts** file, add the mapping between the SAID and the SA label.
16 2. In the **type.te** file, add the type, for example, **isa_render_service**, to make the label va…
25 …r does not assign an SELinux label for the HDF service, SELinux will assign the **u:object_r:hdf_d…
30 1. In the **service_contexts** file, add the mapping between the HDF service name and the HDF label.
35 …e.te** file, add the type, for example, **hdf_thermal_interface_service**, to make the label valid.
/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
Dohos-arkui-advanced-FoldSplitContainer.md326 @Prop label: string = ""
332 Text(this.label)
347 label: string;
354 @Prop label: string;
360 Text(this.label)
366 group: this.label,
375 Text(option.label)
415 label: "折叠态垂直高度度比",
419 label: "1:1",
426 label: "2:3",
[all …]
Dohos-arkui-advanced-ChipGroup.md80 | label | [LabelOptions](#labeloptions) | 是 | 文本属性。<br> **原子化服务API:** 从API version 12开始,该接…
271 label: { text: "操作块1" },
277 label: { text: "操作块2" },
282 label: { text: "操作块3" },
287 label: { text: "操作块4" },
292 label: { text: "操作块5" },
297 label: { text: "操作块6" },
363 label: { text: "操作块1" },
369 label: { text: "操作块2" },
374 label: { text: "操作块3" },
[all …]
/docs/en/application-dev/ui/state-management/
Darkts-builderparam.md80 label: string = 'Child';
97 label: string = 'Parent';
100 Text(`${this.label}`)
105 …o the Parent component decorated by the @Entry. That is, the value of the label variable is Parent.
108 …f the Child component. this points to the Child, that is, the value of the label variable is Child.
111 …// this of the arrow function points to the host object, so the value of the label variable is Par…
139 label: string = '';
143 Text($$.label)
151 label: string = 'Child';
161 this.customOverBuilderParam({label: 'global Builder label' } )
[all …]
Darkts-extend.md84 @State label: string = 'Hello World';
87 this.label = 'Hello ArkUI';
92 Text(`${this.label}`)
189 @State label: string = 'Hello World';
193 Text(`${this.label}`)
197 Text(`${this.label}`)
201 Text(`${this.label}`)
229 @State label: string = 'Hello World';
233 Text(`${this.label}`)
235 Text(`${this.label}`)
[all …]
/docs/zh-cn/application-dev/ui/
Dui-js-components-input.md249 <div class="label-item">
250 <label>memorandum</label>
252 <div class="label-item">
253 <label class="lab" target="input1">content:</label>
256 <div class="label-item">
257 <label class="lab" target="input3">date:</label>
260 <div class="label-item">
261 <label class="lab" target="input4">time:</label>
264 <div class="label-item">
265 <label class="lab" target="checkbox1">Complete:</label>
[all …]
Dui-js-components-form.md89 <label>Option 1</label>
91 <label>Option 2</label>
160 <label target="checkbox1">Option 1</label>
162 <label target="checkbox2">Option 2</label>
168 <label target="radio1">Option 1</label>
170 <label target="radio2">Option 2</label>
199 label{
/docs/en/application-dev/reference/apis-arkui/arkui-ts/
Dohos-arkui-advanced-FoldSplitContainer.md326 @Prop label: string = ""
332 Text(this.label)
347 label: string;
354 @Prop label: string;
360 Text(this.label)
366 group: this.label,
375 Text(option.label)
415 label: "Height ratio",
419 label: "1:1",
426 label: "2:3",
[all …]
Dohos-arkui-advanced-ChipGroup.md80 | label | [LabelOptions](#labeloptions) | Yes | Text of the chip.<br> **Atomic service API*…
163 …r](ts-types.md#resourcestr) | No| Accessibility text, that is, accessible label name, of the suffi…
270 label: { text: "Chip 1" },
276 label: { text: "Chip 2" },
281 label: { text: "Chip 3" },
286 label: { text: "Chip 4" },
291 label: { text: "Chip 5" },
296 label: { text: "Chip 6" },
361 label: { text: "Chip 1" },
367 label: { text: "Chip 2" },
[all …]
/docs/zh-cn/application-dev/ui/state-management/
Darkts-builderparam.md95 label: string = 'Child';
119 label: string = 'Parent';
123 Text(`${this.label}`)
164 label: string = '';
169 Text($$.label)
177 label: string = 'Child';
191 this.customOverBuilderParam({ label: 'global Builder label' })
199 label: string = 'Parent';
203 Text(`${this.label}`)
328 @Local label: string = 'Parent Page';
[all …]
Darkts-extend.md85 @State label: string = 'Hello World';
88 this.label = 'Hello ArkUI';
93 Text(`${this.label}`)
190 @State label: string = 'Hello World';
194 Text(`${this.label}`)
198 Text(`${this.label}`)
202 Text(`${this.label}`)
230 @State label: string = 'Hello World';
234 Text(`${this.label}`)
236 Text(`${this.label}`)
[all …]
/docs/en/application-dev/quick-start/
Dlayered-image.md1 # Configuring an Application Icon and Label
9label. Application icons are classified into single-layer icons and layered icons. A single-layer …
27label** fields under **abilities** of the [module.json5](module-configuration-file.md) file are co…
29 …icon** and **label** fields under **abilities** of the **module.json5** file are not configured, t…
31 …ot contain UIAbility configuration, the system returns the **icon** and **label** configured in **…
46 ## Configuring a Single-Layer Icon and Label
50 …ity or **icon** and **label** under the **abilities** tag of the UIAbility are not set. (You can m…
56 …"label": "$string:app_name" // Configure the resource whose name is app_name in AppScope/resources…
64 …In addition to configuring the **icon** and **label** fields, you need to add **entity.system.home…
73 …"label": "$string:EntryAbility_label", // Configure the resource whose name is EntryAbility_label …
[all …]
/docs/en/application-dev/reference/apis-core-file-kit/
Djs-apis-file-securityLabel.md1 # @ohos.file.securityLabel (Data Label)
52 Sets a security label for a file. The security label cannot be changed from a higher level to a low…
61 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**, …
100 Sets a security label for a file. The security label cannot be changed from a higher level to a low…
109 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**…
110 | callback | AsyncCallback&lt;void&gt; | Yes | Callback used to return the security label set. …
145 Sets a security label for a file. This API returns the result synchronously. The security label can…
154 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**, …
182 Obtains the security label. If no security label has been set for the file, **s3** is returned by d…
196 | Promise&lt;string&gt; | Security label obtained.|
[all …]
/docs/en/application-dev/ui/
Dui-js-components-input.md252 <div class="label-item">
253 <label>memorandum</label>
255 <div class="label-item">
256 <label class="lab" target="input1">content:</label>
259 <div class="label-item">
260 <label class="lab" target="input3">date:</label>
263 <div class="label-item">
264 <label class="lab" target="input4">time:</label>
267 <div class="label-item">
268 <label class="lab" target="checkbox1">Complete:</label>
[all …]
/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.31/
Dchangelogs-bundlemanager.md11label), configured under **abilities** in the **module.json5** file, are the icon and name display…
17label configured, that entry icon and entry label are displayed. If an application is not configur…
31label configured, the entry icon and entry label are displayed. If an application does not have an…
47 You are advised to keep the application icon, application label, entry icon, and entry label consis…

12345678910>>...17