/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeListItem/ |
H A D | ComposeListItem.ets | 87 title: string = null 104 if (this.subtitle == null && this.description == null) { 124 if (this.icon == null && this.iconStyle == null) { 135 if (this.icon != null && this.iconStyle != null) { 211 text: string = null 228 if ((this.button == null && this.image == null && this.icon != null && this.text != null) || 229 …(this.button == null && this.image == null && this.icon == null && this.arrow != null && this.text… 288 Radio({ value: null, group: null }) 329 else if (this.icon != null && this.text != null) { 333 else if (this.arrow != null && this.text == null) { [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-renderNode.md | 41 private rootNode: FrameNode | null = null; 98 private rootNode: FrameNode | null = null; 164 private rootNode: FrameNode | null = null; 225 private rootNode: FrameNode | null = null; 276 private rootNode: FrameNode | null = null; 346 private rootNode: FrameNode | null = null; 419 private rootNode: FrameNode | null = null; 488 private rootNode: FrameNode | null = null; 559 private rootNode: FrameNode | null = null; 639 private rootNode: FrameNode | null = null; [all …]
|
H A D | js-apis-arkui-builderNode.md | 250 private textNode: BuilderNode<[Params]> | null = null; 313 private rootNode: FrameNode | null = null; 314 private textNode: BuilderNode<[Params]> | null = null; 381 private rootNode: FrameNode | null = null; 382 private textNode: BuilderNode<[Params]> | null = null; 486 private rootNode: FrameNode | null = null; 487 private textNode: BuilderNode<[Params]> | null = null; 606 private rootNode: BuilderNode<[Params]> | null = null; 702 private rootNode: FrameNode | null = null; 703 private builderNode: BuilderNode<[]> | null = null; [all …]
|
H A D | js-apis-arkui-graphics.md | 281 private rootNode: FrameNode | null = null; 909 private rootNode: FrameNode | null = null; 977 private rootNode: FrameNode | null = null; 1036 private rootNode: FrameNode | null = null; 1095 private rootNode: FrameNode | null = null; 1154 private rootNode: FrameNode | null = null; 1207 private rootNode: FrameNode | null = null; 1261 private rootNode: FrameNode | null = null; 1315 private rootNode: FrameNode | null = null; 1392 private rootNode: FrameNode | null = null; [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.13/ |
H A D | changelogs-arkui.md | 115 …torageLink为例,当前应用存在误用null和undefined作为初始值或目标值在AppStorage中保存的情况。在更改前的语义中,null和undefined作为初始值或目标值的调用并… 124 AppStorage.setOrCreate("PropA", null); 125 AppStorage.has("PropA");// 不支持设置null或undefined,会返回false 147 AppStorage.setOrCreate("PropA", null); 148 AppStorage.has("PropA");// 支持设置null或undefined,会返回true 206 1、在初始化值的时候不使用null或者undefined的值来初始化,使用有意义的值来初始化。 208 2、将原有的值改为null或undefined会触发UI刷新。 217 AppStorage.setOrCreate("PropA", null); 218 AppStorage.has("PropA"); // 支持设置null或undefined,会返回true 229 Button("Set propA to null") [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | btmProfileModel.ets | 60 getA2DPSourceProfile(): btm.A2dpSourceProfile | null { 64 return null 73 return null 77 getHidHostProfile(): btm.HidHostProfile | null { 78 if ( this.profiles[ this.PROFILE_HID_HOST ] != null ) { 81 return null 85 getPanNetworkProfile(): btm.PanProfile | null { 89 return null 94 if ( this.profiles[ type ] != null ) { 97 console.log("This.profiles[ type ] = null") [all …]
|
H A D | btProfileModel.ets | 74 return null; 81 return null; 84 getHidHostProfile(): hid.HidHostProfile | null { 88 return null; 91 getPanNetworkProfile(): pan.PanProfile | null { 95 return null; 98 getOppProfile(): bt.OppProfile | null { 99 if ( this.profiles[ this.PROFILE_OPP ] != null ) { 102 return null; 106 if ( this.profiles[ type ] != null ) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/source/ |
H A D | composelistitem.ets | 131 @Prop @Watch('onPropChange') iconStyle: IconType | null = null; 132 @Prop @Watch('onPropChange') icon: ResourceStr | null = null; 152 if (this.icon == null && this.iconStyle == null) { 268 @Prop @Watch('onPropChange') arrow: OperateIcon | null = null; 269 @Prop @Watch('onPropChange') icon: OperateIcon | null = null; 276 @Prop @Watch('onPropChange') text: ResourceStr | null = null; 310 if ((this.button == null && this.image == null && this.icon != null && this.text != null) || 311 …(this.button == null && this.image == null && this.icon == null && this.arrow != null && this.text… 650 } else if (this.icon != null && this.text != null) { 653 } else if (this.arrow != null && this.text == null) { [all …]
|
/ohos5.0/commonlibrary/rust/ylong_json/src/ |
H A D | adapter.rs | 1098 use std::ptr::{null, null_mut}; 1255 ylong_json_delete(null); in ut_ylong_json_delete() 1339 let null = null_mut(); in ut_ylong_json_is_null() localVariable 1797 let str = null(); in ut_ylong_json_create_string() 1901 let str = null(); in ut_ylong_json_set_value_to_string() 2691 let str = null(); in ut_ylong_json_has_object_item() 2738 let str = null(); in ut_ylong_json_get_object_item() 2789 let str = null(); in ut_ylong_json_add_item_to_object() 2855 let str = null(); in ut_ylong_json_replace_object_item_by_index() 2922 let str = null(); in ut_ylong_json_remove_object_item_by_index() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-renderNode.md | 41 private rootNode: FrameNode | null = null; 98 private rootNode: FrameNode | null = null; 164 private rootNode: FrameNode | null = null; 225 private rootNode: FrameNode | null = null; 276 private rootNode: FrameNode | null = null; 346 private rootNode: FrameNode | null = null; 419 private rootNode: FrameNode | null = null; 488 private rootNode: FrameNode | null = null; 559 private rootNode: FrameNode | null = null; 639 private rootNode: FrameNode | null = null; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-user-defined-arktsNode-frameNode.md | 86 public frameNode: FrameNode | null = null; 88 public rootNode: FrameNode | null = null; 89 private uiContext: UIContext | null = null; 344 public frameNode: FrameNode | null = null; 345 public rootNode: FrameNode | null = null; 576 public rootNode: MyFrameNode | null = null; 654 public frameNode: FrameNode | null = null; 655 private rootNode: FrameNode | null = null; 784 private rootNode: FrameNode | null = null; 1289 rootNode: FrameNode | null = null; [all …]
|
H A D | arkts-user-defined-arktsNode-builderNode.md | 81 private textNode: BuilderNode<[Params]> | null = null; 143 private rootNode: FrameNode | null = null; 144 private textNode: BuilderNode<[Params]> | null = null; 245 private textNode: BuilderNode<[Params]> | null = null; 340 private rootNode: BuilderNode<[Params]> | null = null; 391 private listener: DataChangeListener | null = null 572 private textNode: BuilderNode<[Params]> | null = null; 697 private rootNode: FrameNode | null = null; 698 private textNode: BuilderNode<[]> | null = null; 814 private rootNode: FrameNode | null = null; [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.13/ |
H A D | changelogs-arkui.md | 124 AppStorage.setOrCreate("PropA", null); 147 AppStorage.setOrCreate("PropA", null); 148 AppStorage.has("PropA");// Because null and undefined are supported, true is returned. 208 2. Changing a value to **null** or **undefined** will trigger UI re-render. 210 3. Add a null check to the invoking position. 217 AppStorage.setOrCreate("PropA", null); 218 AppStorage.has("PropA"); // Because null and undefined are supported, true is returned. 223 @StorageLink('PropA') propA: PropA | null | undefined = new PropA(); 227 …this.propA?.num.toString())// Check whether the value is null to prevent crashes caused by null an… 229 Button("Set propA to null") [all …]
|
/ohos5.0/build/build_scripts/ |
H A D | build.sh | 128 cat $HOME/.npmrc | grep 'lockfile=false' > /dev/null || echo 'lockfile=false' >> $HOME/.npmrc > /de… 142 ${OHPM_HOME}/init > /dev/null 147 popd > /dev/null 155 npm install --silent > /dev/null 156 popd > /dev/null 159 pushd $HOME/.ohpm > /dev/null 161 ohpm install > /dev/null 162 popd > /dev/null 181 pushd ${ROOT_PATH} > /dev/null 204 popd > /dev/null [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/utils/ |
H A D | BreakpointSystem.ets | 32 private smListener: mediaQuery.MediaQueryListener | null = null; 33 private mdListener: mediaQuery.MediaQueryListener | null = null; 34 private lgListener: mediaQuery.MediaQueryListener | null = null; 35 private callback: triggerFunc | null = null; 69 if (BREAKPOINT_VALUE === null || BREAKPOINT_VALUE.length !== 3) { 81 if (this.smListener !== null) { 84 if (this.mdListener !== null) { 87 if (this.lgListener !== null) {
|
/ohos5.0/foundation/window/window_manager/resources/abc/pip/source/ |
H A D | PiPContent.ets | 24 private node: FrameNode | null = null; 31 makeNode(uiContext: UIContext): FrameNode | null { 46 private nodeController: NodeController | null = null; 47 private mXCNodeController: XCNodeController | null = null; 49 private xComponent: TypedFrameNode<XComponentInterface, XComponentAttribute> | null = null; 56 if (this.xComponent === null || this.xComponent === undefined) { 57 console.error(TAG, `xComponent node is null`); 89 if (this.nodeController !== null) {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-MultiNavigation.md | 674 if (this.pageStack !== undefined && this.pageStack !== null) { 684 if (this.pageStack !== undefined && this.pageStack !== null) { 694 if (this.pageStack !== undefined && this.pageStack !== null) { 716 if (this.pageStack !== undefined && this.pageStack !== null) { 726 if (this.pageStack !== undefined && this.pageStack !== null) { 735 if (this.pageStack !== undefined && this.pageStack !== null) { 744 if (this.pageStack !== undefined && this.pageStack !== null) { 754 if (this.pageStack !== undefined && this.pageStack !== null) { 763 if (this.pageStack !== undefined && this.pageStack !== null) { 772 if (this.pageStack !== undefined && this.pageStack !== null) { [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-migration-background.md | 46 // 类型为"string",不可能为"null"或者"undefined" 101 在大多数情况下,函数`notify`会接受两个`string`类型的变量作为输入,产生一个新的字符串。但是,如果将一些特殊值作为输入,例如`notify(null, undefined)`,情况会怎… 102 程序仍会正常运行,输出预期值:`Dear null, a message for you: undefined`。一切看起来正常,但是请注意,为了保证该场景下程序的正确性,引擎总是在运行时进行类型检… 110 if (s === null) 111 return 'null' 118 …(不会是其他值,例如`null`或者`undefined`)可以被传入函数`notify`呢?在这种情况下,因为可以确保没有其他边界情况,像`__internal_tostring`的检查就是多余… 126 notify(null, undefined) // 编译时错误 129 …`来实现此特性。但是TS是被编译成JS的,而JS没有这个特性,因此严格`null`检查只在编译时起作用。从程序稳定性和性能角度考虑,ArkTS将“null-safety”视为一个重要的特性。这就是…
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | explicit-implicit-want-mappings.md | 59 …n** in the passed **want** parameter is null and **actions** under **skills** of an application co… 61 …in the passed **want** parameter is not null but **actions** under **skills** of an application co… 63 …* in the passed **want** parameter is null but **actions** under **skills** of an application comp… 77 … in the passed **want** parameter is null but **entities** under **skills** of an application comp… 79 …** in the passed **want** parameter is null but **entities** under **skills** of an application co… 81 …n the passed **want** parameter is not null but **entities** under **skills** of an application co… 97 - Both **uri** and **type** are null in the **want** parameter. 102 - Only **uri** is not null in the **want** parameter. 107 - Only **type** is not null in the **want** parameter. 133 - If **scheme** of **s_uri** is null and **w_uri** is null, the matching is successful. Otherwise, … [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-graphic.md | 53 | webgl2 | WebGL2RenderingContextBase | deleteSync(sync: WebGLSync \| null): void; | 新增 | 54 | webgl2 | WebGL2RenderingContextBase | isSync(sync: WebGLSync \| null): GLboolean; | 新增 | 62 | webgl2 | WebGL2RenderingContextBase | createSampler(): WebGLSampler \| null; | 新增 | 67 | webgl2 | WebGL2RenderingContextBase | isQuery(query: WebGLQuery \| null): GLboolean; | 新增 | 68 | webgl2 | WebGL2RenderingContextBase | deleteQuery(query: WebGLQuery \| null): void; | 新增 | 69 | webgl2 | WebGL2RenderingContextBase | createQuery(): WebGLQuery \| null; | 新增 | 483 | webgl | WebGLRenderingContextBase | createTexture(): WebGLTexture \| null; | 新增 | 486 | webgl | WebGLRenderingContextBase | createProgram(): WebGLProgram \| null; | 新增 | 487 | webgl | WebGLRenderingContextBase | createFramebuffer(): WebGLFramebuffer \| null; | 新增 | 488 | webgl | WebGLRenderingContextBase | createBuffer(): WebGLBuffer \| null; | 新增 | [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics3d/ |
H A D | js-apis-inner-scene-nodes.md | 41 let node : Node | null = result.getNodeByPath("rootNode_"); 74 let node : Node | null = result.getNodeByPath("rootNode/Scene/"); 129 insertAfter(item: T, sibling: T | null): void 139 | sibling | T \| null | 是 | 兄弟结点。 | 152 result.root?.children.get(0)?.children.insertAfter(node, null); 188 get(index: number): T | null 202 | T \| null | 返回获取到的对象,获取不到则返回空值。 | 266 let node : Node | null = result.getNodeByPath("rootNode_"); 293 | parent | [Node](#node) \| null | 是 | 否 | 结点的父结点,不存在则为空值。 | 297 getNodeByPath(path: string): Node | null [all …]
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-component-migrate.md | 51 webController: webview.WebviewController | null = null; 73 private builderNode: BuilderNode<[Data]> | null | undefined = null; 74 private webController : webview.WebviewController | null | undefined = null; 75 private rootNode : FrameNode | null = null; 85 makeNode(uiContext: UIContext): FrameNode | null { 93 let frameNode : FrameNode | null = this.builderNode.getFrameNode(); 94 if (frameNode?.getParent() != null) { 105 this.rootNode = null; 108 getWebController() : webview.WebviewController | null | undefined {
|
/ohos5.0/docs/zh-cn/application-dev/accessibility/ |
H A D | accessibilityextensionability.md | 77 currentPageElementArray: Array<AccessibilityElement> | null = null; 128 Promise<string | null> { 130 if (accessibilityElement === null) { 131 console.error(`AccessibilityUtils accessibilityElement is null`); 132 return null; 136 let value: attributeValues | null; 145 Promise<attributeValues | null> { 163 return null; 168 if (this.currentPageElementArray === null || this.currentPageElementArray.length === 0) { 169 console.error(`AccessibilityManager currentPageElementArray is null`); [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-user-defined-arktsNode-frameNode.md | 86 public frameNode: FrameNode | null = null; 88 public rootNode: FrameNode | null = null; 89 private uiContext: UIContext | null = null; 344 public frameNode: FrameNode | null = null; 345 public rootNode: FrameNode | null = null; 576 public rootNode: MyFrameNode | null = null; 654 public frameNode: FrameNode | null = null; 655 private rootNode: FrameNode | null = null; 784 private rootNode: FrameNode | null = null; 1289 rootNode: FrameNode | null = null; [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-avsession-kit/ |
H A D | _o_h_a_v_session.md | 567 1. **builder** is a null pointer. 598 1. **builder** is a null pointer. 600 2. **album** is a null pointer. 629 1. **builder** is a null pointer. 631 2. **artist** is a null pointer. 661 1. **builder** is a null pointer. 663 2. **assetId** is a null pointer. 695 2. **author** is a null pointer. 846 2. **lyric** is a null pointer. 973 2. **title** is a null pointer. [all …]
|