/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-theme.md | 37 | brand | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 38 | warning | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 39 | alert | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 40 | confirm | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 41 | fontPrimary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 42 | fontSecondary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 43 | fontTertiary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 44 | fontFourth | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 45 | fontEmphasize | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… 46 | fontOnPrimary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | 否 | 否 |… [all …]
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | arkoptions-guide.md | 5 **表1** arkOptions的types字段配置文件标签说明 9 | types | 通过types字段将指定的类型声明文件作为全局引入,从而避免在每个源码文件中单独引入 | 数组 | 该标签可缺省,缺省值为空 | 11 ## arkOptions中的types字段配置说明 13 arkOptions中types字段示例 15 在模块build-profile.json5配置文件buildOption标签的arkOptions属性中添加types字段。 20 "types": ["chai", "./oh_modules/@types/mocha", "./src/main/ets/pages/global"] 26 (1)填写包名方式:通过包名到oh_modules/@types/目录查找包名中定义的声明文件,如"chai"。<br /> 32 如果在types字段中填写包名或者包所在位置的相对路径,需要在工程文件/entry/oh-package.json5中dependencies作如下配置, 35 "@types/chai": "latest", 36 "@types/mocha": "latest" [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-theme.md | 37 | brand | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 38 | warning | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 39 | alert | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 40 | confirm | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 41 | fontPrimary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 42 | fontSecondary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 43 | fontTertiary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 45 | fontEmphasize | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 50 | iconPrimary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… 65 | compForegroundPrimary | [ResourceColor](arkui-ts/ts-types.md#resourcecolor) | No | No |… [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-outline.md | 138 | left | [Dimension](ts-types.md#dimension10) | 否 | 左侧外描边宽度。 | 139 | right | [Dimension](ts-types.md#dimension10) | 否 | 右侧外描边宽度。 | 140 | top | [Dimension](ts-types.md#dimension10) | 否 | 上侧外描边宽度。 | 141 | bottom | [Dimension](ts-types.md#dimension10) | 否 | 下侧外描边宽度。 | 155 | left | [ResourceColor](ts-types.md#resourcecolor) | 否 | 左侧外描边颜色。 | 156 | right | [ResourceColor](ts-types.md#resourcecolor) | 否 | 右侧外描边颜色。 | 157 | top | [ResourceColor](ts-types.md#resourcecolor) | 否 | 上侧外描边颜色。 | 185 | topLeft | [Dimension](ts-types.md#dimension10) | 否 | 左上角圆角半径。 | 186 | topRight | [Dimension](ts-types.md#dimension10) | 否 | 右上角圆角半径。 | 187 | bottomLeft | [Dimension](ts-types.md#dimension10) | 否 | 左下角圆角半径。 | [all …]
|
H A D | ts-securitycomponent-attributes.md | 26 | value | [Dimension](ts-types.md#dimension10) | 是 |安全控件上图标的尺寸。<br/>默认值:16vp| 70 | value | [Position](ts-types.md#position) |是 |安全控件的左上角相对于父容器左上角的偏移位置。<br/>默认值:<br/>{<br/>x: 0,<br/… 114 … value | [Position](ts-types.md#position) \| [Edges<sup>12+</sup>](ts-types.md#edges12) \| [Locali… 136 | value | [Dimension](ts-types.md#dimension10) |是 |安全控件上文字的尺寸。<br/>默认值:16fp| 202 | value | string \| [Resource](ts-types.md#resource) |是 |安全控件上文字的字体。<br/>默认字体:'HarmonyOS Sans'| 224 | value | [ResourceColor](ts-types.md#resourcecolor) |是 |安全控件上文字的颜色。<br/>默认值:$r('sys.color.font_on_… 312 | value | [Dimension](ts-types.md#dimension10) |是 |安全控件的边框的宽度。<br/>默认不设置边框宽度| 334 | value | [ResourceColor](ts-types.md#resourcecolor) |是 |安全控件的边框的颜色。<br/>默认不设置边框颜色| 356 | value | [Dimension](ts-types.md#dimension10) |是 |安全控件的边框圆角半径。| 378 | value | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dimension10) |是 |安全控件的内边距。<br/>… [all …]
|
H A D | ts-universal-attributes-border.md | 125 | left | [Length](ts-types.md#length) | 否 | 左侧边框宽度。 | 126 | right | [Length](ts-types.md#length) | 否 | 右侧边框宽度。 | 127 | top | [Length](ts-types.md#length) | 否 | 上侧边框宽度。 | 128 | bottom | [Length](ts-types.md#length) | 否 | 下侧边框宽度。 | 154 | left | [ResourceColor](ts-types.md#resourcecolor) | 否 | 左侧边框颜色。 | 155 | right | [ResourceColor](ts-types.md#resourcecolor) | 否 | 右侧边框颜色。 | 156 | top | [ResourceColor](ts-types.md#resourcecolor) | 否 | 上侧边框颜色。 | 186 | topLeft | [Length](ts-types.md#length) | 否 | 左上角圆角半径。 | 187 | topRight | [Length](ts-types.md#length) | 否 | 右上角圆角半径。 | 188 | bottomLeft | [Length](ts-types.md#length) | 否 | 左下角圆角半径。 | [all …]
|
H A D | ohos-arkui-advanced-SegmentButton.md | 64 | buttonPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim… 65 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim… 140 | [PX](ts-types.md#px10) | 长度类型,用于描述以px像素单位为单位的长度。 | 141 | [VP](ts-types.md#vp10) | 长度类型,用于描述以vp像素单位为单位的长度。 | 142 | [FP](ts-types.md#fp10) | 长度类型,用于描述以fp像素单位为单位的长度。 | 143 | [LPX](ts-types.md#lpx10) | 长度类型,用于描述以lpx像素单位为单位的长度。 | 144 | [Resource](ts-types.md#resource) | 资源引用类型,用于设置组件属性的值。 | 167 | buttonPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim… 168 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim… 462 | text | [ResourceStr](ts-types.md#resourcestr) | 是 | 按钮文本。<br/>**原子化服务API:** 从API version 12开始,该… [all …]
|
H A D | ts-basic-components-menuitem.md | 25 | value | [MenuItemOptions](#menuitemoptions对象说明) \| [CustomBuilder](ts-types.md#customb… 35 | startIcon | [ResourceStr](ts-types.md#resourcestr) | 否 | item中显示在左侧的图标信息路径。 | 36 | content | [ResourceStr](ts-types.md#resourcestr) | 否 | item的内容信息。 | 37 | endIcon | [ResourceStr](ts-types.md#resourcestr) | 否 | item中显示在右侧的图标信息路径。 | 38 | labelInfo | [ResourceStr](ts-types.md#resourcestr) | 否 | 定义结束标签信息,如快捷方式Ctrl+C等。 | 39 | builder | [CustomBuilder](ts-types.md#custombuilder8) | 否 | 用于构建二级菜单。 | 80 | value | boolean \| [ResourceStr](ts-types.md#resourcestr)<sup>10+</sup>\| [Symbol… 95 | value | [Font](ts-types.md#font) | 是 | 菜单项中内容信息的字体样式。 | 111 | value | [ResourceColor](ts-types.md#resourcecolor) | 是 | 菜单项中内容信息的字体颜色。<br />默认值:'#E5000000' | 127 | value | [Font](ts-types.md#font) | 是 | 菜单项中标签信息的字体样式。 | [all …]
|
H A D | ts-uicommonevent.md | 23 | callback | [Callback](./ts-types.md#callback12)<[ClickEvent](./ts-universal-events-click.md#clic… 39 | callback | [Callback](./ts-types.md#callback12)<[TouchEvent](./ts-universal-events-touch.md#touc… 56 | callback | [Callback](./ts-types.md#callback12)\<void> \| undefined | 是 | onAppear事件的回调函数。 | 73 | callback | [Callback](./ts-types.md#callback12)\<void> \| undefined | 是 | onDisappear事件的回调。 | 89 | callback | [Callback](./ts-types.md#callback12)<[KeyEvent](./ts-universal-events-key.md#keyevent… 105 | callback | [Callback](./ts-types.md#callback12)\<void> \| undefined | 是 | onFocus事件的回调。 | 121 | callback | [Callback](./ts-types.md#callback12)\<void> \| undefined | 是 | onBlur事件的回调。 | 137 | callback | [HoverCallback](./ts-types.md#hovercallback12) \| undefined | 是 | onHover事件的回调函数。 | 153 | callback | [Callback](./ts-types.md#callback12)<[MouseEvent](./ts-universal-mouse-key.md#mousee… 185 | options | [VisibleAreaEventOptions](./ts-types.md#visibleareaeventoptions12) | 是 | 可见区域变化相关的参数… [all …]
|
H A D | ts-uigestureevent.md | 86 allowedTypes(types: Array\<SourceTool>): T 98 | types | Array\<[SourceTool](ts-gesture-settings.md#sourcetool枚举说明9)> | 是 |设置手势处理器所支持的事件输入源。| 132 | event | [Callback](./ts-types.md#callback12)<[GestureEvent](ts-gesture-settings.md#gestureevent对… 230 | event | [Callback](./ts-types.md#callback12)\<void> | 是 | LongPress手势识别成功,接收到触摸取消事件触发回调。 | 285 | event | [Callback](./ts-types.md#callback12)<[GestureEvent](ts-gesture-settings.md#gestureevent对… 351 | event | [Callback](./ts-types.md#callback12)\<void> | 是 | Pan手势识别成功,接收到触摸取消事件触发回调。 | 405 | event | [Callback](./ts-types.md#callback12)<[GestureEvent](ts-gesture-settings.md#gestureevent对… 460 | event | [Callback](./ts-types.md#callback12)<[GestureEvent](ts-gesture-settings.md#gestureevent对… 526 | event | [Callback](./ts-types.md#callback12)\<void> | 是 | Pinch手势识别成功,接收到触摸取消事件触发回调。 | 646 | event | [Callback](./ts-types.md#callback12)\<void> | 是 | Rotation手势识别成功,接收到触摸取消事件触发回调。 | [all …]
|
H A D | ts-universal-attributes-border-image.md | 33 | source | string \| [Resource](ts-types.md#resource) \| [linearGradient](ts-universal-attributes-g… 34 …types.md#length) \| [EdgeWidths](ts-types.md#edgewidths9) \| [LocalizedEdgeWidths](ts-types.md#lo… 35 …types.md#length) \| [EdgeWidths](ts-types.md#edgewidths9) \| [LocalizedEdgeWidths](ts-types.md#loc… 36 …types.md#length) \| [EdgeWidths](ts-types.md#edgewidths9) \| [LocalizedEdgeWidths](ts-types.md#loc… 191 borderImage接口中的slice、width、outset属性值使用[LocalizedEdgeWidths](ts-types.md#localizededgewidths12)类型。
|
H A D | ohos-arkui-advanced-Popup.md | 50 | showClose | boolean \| [Resource](ts-types.md#resource) | 否 | 设置popup关闭按钮。<br />… 65 | text | [ResourceStr](ts-types.md#resourcestr) | 是 | 设置文本内容。 | 66 | fontSize | number \| string \| [Resource](ts-types.md#resource) | 否 | 设置文本字体大小。<br />… 67 | fontColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置文本字体颜色。<br />… 80 | text | [ResourceStr](ts-types.md#resourcestr) | 是 | 设置按钮内容。 | 82 | fontSize | number \| string \| [Resource](ts-types.md#resource) | 否 | 设置按钮文本字体大小。 <br />默认值:`$… 95 | image | [ResourceStr](ts-types.md#resourcestr) | 是 | 设置图标内容。 … 96 | width | [Dimension](ts-types.md#dimension10) | 否 | 设置图标宽度。<br />… 97 | height | [Dimension](ts-types.md#dimension10) | 否 | 设置图标高度。<br />… 98 | fillColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置图标填充颜色。 <br… [all …]
|
H A D | ts-methods-alert-dialog-box.md | 38 | subtitle<sup>10+</sup> | [ResourceStr](ts-types.md#resourcestr) … 51 …mension](ts-types.md#dimension10) \| [BorderRadiuses](ts-types.md#borderradiuses9) … 55 … | [Dimension](ts-types.md#dimension10) \| [EdgeWidths](ts-types.md#edgewidths9) \|… 56 …esourceColor](ts-types.md#resourcecolor) \| [EdgeColors](ts-types.md#edgecolors9) \… 128 | value | [ResourceStr](ts-types.md#resourcestr) | 是 | Button的文本内容,若值为null,则该按钮不显示。<b… 129 | fontColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | Button的文本颜色。<br/>**原子化… 130 | backgroundColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | Button背景颜色。<br/>… 177 | x | [Length](ts-types.md#length) | 否 | 弹窗遮蔽层区域相对于窗口左上角的x轴坐标。<br/>默认值:0vp | 178 | y | [Length](ts-types.md#length) | 否 | 弹窗遮蔽层区域相对于窗口左上角的y轴坐标。<br/>默认值:0vp | 179 | width | [Length](ts-types.md#length) | 否 | 弹窗遮蔽层区域的宽度。<br/>默认值:'100%' | [all …]
|
H A D | ts-universal-attributes-size.md | 27 | value | [Length](ts-types.md#length) | 是 | 要设置的组件宽度。<br/>单位:vp | 53 | value | [Length](ts-types.md#length) | 是 | 要设置的组件高度。<br/>单位:vp | 97 …alue | [Padding](ts-types.md#padding) \| [Length](ts-types.md#length) \| … 117 | value | [Margin](ts-types.md#margin) \| [Length](ts-types.md#length) \| [Loc… 135 …ts-types.md#padding) \| [LengthMetrics](../js-apis-arkui-graphics.md#lengthmetrics… 197 | width | [Length](ts-types.md#length) | 否 | 设置组件宽度。 | 198 | height | [Length](ts-types.md#length) | 否 | 设置组件高度。 | 208 | minWidth | [Length](ts-types.md#length) | 否 | 设置组件最小宽度。 | 209 | maxWidth | [Length](ts-types.md#length) | 否 | 设置组件最大宽度。 | 210 | minHeight | [Length](ts-types.md#length) | 否 | 设置组件最小高度。 | [all …]
|
H A D | ohos-arkui-advanced-ComposeListItem.md | 49 | icon | [ResourceStr](ts-types.md#resourcestr) | 否 | 左侧元素的图标资源。<br/>**原子化服务API:** 从API version 11开… 50 | primaryText | [ResourceStr](ts-types.md#resourcestr) | 否 | 中间元素的标题内容。<br/>**文字处理规则:** 文本超长后无限换行显示… 51 | secondaryText | [ResourceStr](ts-types.md#resourcestr) | 否 | 中间元素的副标题内容。<br/>**文字处理规则:** 文本超长后无限换… 52 | description | [ResourceStr](ts-types.md#resourcestr) | 否 | 中间元素的描述内容。<br/>**文字处理规则:** 文本超长后无限换行显示… 86 | image | [ResourceStr](ts-types.md#resourcestr) | 否 | 右侧元素为图片,大小为48\*48vp。 | 87 | text | [ResourceStr](ts-types.md#resourcestr) | 否 | 右侧元素为文字。 | 97 | value | [ResourceStr](ts-types.md#resourcestr) | 是 | 右侧图标/箭头资源。 | 108 | text | [ResourceStr](ts-types.md#resourcestr) | 否 | 右侧按钮文字。 |
|
H A D | ts-custom-component-layout.md | 25 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | 父组件constraint信息。 | 233 | borderWidth | [EdgeWidth](ts-types.md#edgewidths9) | 父组件边框宽度。<br>单位:vp | 234 | margin | [Margin](ts-types.md#margin) | 父组件margin信息。 <br>单位:vp | 235 | padding | [Padding](ts-types.md#padding) | 父组件padding信息。<br>单位:vp | 453 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | 父组件constraint信息。 | 468 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | 父组件constraint信息。 | 495 | borderWidth | [EdgeWidths](ts-types.md#edgewidths9) | 边框宽度类型,用于描述组件边框不同方向的宽度。 | 496 | margin | [Margin](ts-types.md#margin) | 外边距类型,用于描述组件不同方向的外边距。 | 497 | padding | [Padding](ts-types.md#padding) | 内边距类型,用于描述组件不同方向的内边距。 | 507 | position | [Position](ts-types.md#position) | 子组件位置坐标。 | [all …]
|
H A D | ts-universal-attributes-popup.md | 41 | targetSpace<sup>10+</sup> | [Length](ts-types.md#length) … 43 | offset<sup>10+</sup> | [Position](ts-types.md#position) … 50 | arrowHeight<sup>11+</sup> | [Dimension](ts-types.md#dimension10) | 否… 51 | radius<sup>11+</sup> | [Dimension](ts-types.md#dimension10) | 否 | … 64 | textColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置弹窗信息文本颜色。 … 65 | font | [Font](ts-types.md#font) | 否 | 设置弹窗信息字体属性。<br/>**说明:** <br/>不支持设置… 90 … | number \| [Color](ts-types.md#color) \| string \| [Resour… 96 …cated)</sup> | [Resource](ts-types.md#resource) \| string \| number \|&nb… 98 | targetSpace<sup>10+</sup> | [Length](ts-types.md#length) | 否 | 设置popup与目标的间隙。<b… 99 | offset<sup>10+</sup> | [Position](ts-types.md#position) | 否 … [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arkoptions-guide.md | 5 **Table 1** types field in the arkOptions tag 9 | types | Type declaration files to import globally. Using this field can avoid individual imports … 11 ## types Field Configuration in arkOptions 15 Add the **types** field to the **arkOptions** attribute of the **buildOption** tag in the **build-p… 20 "types": ["chai", "./oh_modules/@types/mocha", "./src/main/ets/pages/global"] 26 …me is specified, it is used to search for the declaration files in **oh_modules/@types/**, xxx.<br> 27 …le at the relative path of **build-profile.json5**, for example, **./oh_modules/@types/mocha**.<br> 32 If you input the package name or the relative path of the package location in the **types** field, … 35 "@types/chai": "latest", 36 "@types/mocha": "latest" [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/ |
H A D | types_8h.md | 1 # types.h 6 Provides the model file types and device types supported by MindSpore Lite. 22 | [OH_AI_ModelType](_mind_spore.md#oh_ai_modeltype) | Defines model file types.| 23 | [OH_AI_DeviceType](_mind_spore.md#oh_ai_devicetype) | Defines the supported device types.| 24 | [OH_AI_NNRTDeviceType](_mind_spore.md#oh_ai_nnrtdevicetype) | Defines NNRt device types.| 36 … {<br>OH_AI_MODELTYPE_MINDIR = 0,<br>OH_AI_MODELTYPE_INVALID = 0xFFFFFFFF<br>} | Model file types.| 37 …U,<br>OH_AI_DEVICETYPE_NNRT = 60,<br>OH_AI_DEVICETYPE_INVALID = 100<br>} | Supported device types.| 38 …PU = 1,<br>OH_AI_NNRTDEVICE_GPU = 2,<br>OH_AI_NNRTDEVICE_ACCELERATOR = 3<br>} | NNRt device types.| 42 …ANT = 1,<br>OH_AI_FULL_QUANT = 2,<br>OH_AI_UNKNOWN_QUANT_TYPE = 0xFFFFFFFF } | Quantization types.|
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_data.cpp | 99 std::string types; in GetTypes() local 102 types.append("-").append(type); in GetTypes() 105 return types; in GetTypes() 110 std::vector<std::string> types; in GetTypesLabels() local 112 types.push_back(UtdUtils::GetUtdIdFromUtdEnum(record->GetType())); in GetTypesLabels() 114 return types; in GetTypesLabels() 131 auto types = record->GetUtdIds(); in GetEntriesTypes() local 132 labels.insert(types.begin(), types.end()); in GetEntriesTypes() 140 auto types = record->GetUtdIds(); in HasTypeInEntries() local 141 if (types.find(type) != types.end()) { in HasTypeInEntries()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkGesture.ts | 57 allowedTypes(types: Array<SourceTool>) { 58 this.allowedTypes = types; 101 allowedTypes(types: Array<SourceTool>) { 102 this.allowedTypes = types; 151 allowedTypes(types: Array<SourceTool>) { 152 this.allowedTypes = types; 183 allowedTypes(types: Array<SourceTool>) { 184 this.allowedTypes = types; 231 allowedTypes(types: Array<SourceTool>) { 232 this.allowedTypes = types; [all …]
|
/ohos5.0/base/msdp/device_status/utils/common/src/ |
H A D | preview_style_packer.cpp | 31 std::vector<int32_t> types; in Marshalling() local 32 for (const auto &elem : previewStyle.types) { in Marshalling() 33 types.push_back(static_cast<int32_t>(elem)); in Marshalling() 35 WRITEINT32VECTOR(data, types, ERR_INVALID_VALUE); in Marshalling() 45 std::vector<int32_t> types; in UnMarshalling() local 46 READINT32VECTOR(data, types, ERR_INVALID_VALUE); in UnMarshalling() 47 for (const auto &elem : types) { in UnMarshalling() 48 previewStyle.types.push_back(static_cast<PreviewType>(elem)); in UnMarshalling()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-document.md | 16 choose(types?: string[]): Promise<string> 26 | types | string[] | 否 | 限定文件选择的类型 | 37 let types: Array<string> = []; 38 document.choose(types); 64 choose(types:string[], callback:AsyncCallback<string>): void 74 | types | string[] | 是 | 限定选择文件的类型 | 80 let types: Array<string> = []; 82 document.choose(types, (err: TypeError, uri: string) => {
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | paste_data_record_test.cpp | 280 ASSERT_EQ(types.size(), 0); 283 types = record->GetValidTypes(inputTypes); 284 … auto it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); 285 ASSERT_NE(it, types.end()); 288 types = record->GetValidTypes(inputTypes); 289 it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); 290 ASSERT_NE(it, types.end()); 294 … it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HYPERLINK)); 295 ASSERT_NE(it, types.end()); 299 …it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::SYSTEM_DEFINE… [all …]
|
/ohos5.0/foundation/arkui/advanced_ui_component/doc/ |
H A D | ts-composite-components-arkdialog.md | 44 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resource) | 是 … 45 …//docs.openharmony.cn/pages/v4.0/en/application-dev/reference/arkui-ts/ts-types.md/#sizeoptions) |… 46 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 47 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 69 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 70 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 91 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 114 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 128 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… 137 …ocs.openharmony.cn/pages/v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) |… [all …]
|