/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___placeholder_span.md | 6 The **OH_Drawing_PlaceholderSpan** struct describes the placeholder that acts as a span. 20 | double [width](#width) | Width of a placeholder.| 21 | double [height](#height) | Height of a placeholder.| 22 …h_drawing_placeholderverticalalignment) [alignment](#alignment) | Alignment mode of a placeholder.| 23 …tBaseline](_drawing.md#oh_drawing_textbaseline) [baseline](#baseline) | Baseline of a placeholder.| 24 | double [baselineOffset](#baselineoffset) | Baseline offset of a placeholder.| 38 Alignment mode of a placeholder. 49 Baseline of a placeholder. 60 Baseline offset of a placeholder. 71 Height of a placeholder. [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 32 if (item->placeholder) { in CreateSpanItem() 33 auto* drawingPlaceholder = reinterpret_cast<Rosen::PlaceholderSpan*>(item->placeholder); in CreateSpanItem() 34 auto placeholder = AceType::MakeRefPtr<PlaceholderSpanItem>(); in CreateSpanItem() local 35 placeholder->run_.width = drawingPlaceholder->width; in CreateSpanItem() 36 placeholder->run_.height = drawingPlaceholder->height; in CreateSpanItem() 37 … placeholder->run_.alignment = static_cast<PlaceholderAlignment>(drawingPlaceholder->alignment); in CreateSpanItem() 38 placeholder->run_.baseline = static_cast<TextBaseline>(drawingPlaceholder->baseline); in CreateSpanItem() 39 placeholder->run_.baseline_offset = drawingPlaceholder->baselineOffset; in CreateSpanItem() 40 return placeholder; in CreateSpanItem()
|
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | media_library_adapter.cpp | 157 char placeholder = '0'; in CreateDisplayName() local 160 …ss << prefix << std::setw(yearWidth) << std::setfill(placeholder) << currentTime.tm_year + startYe… in CreateDisplayName() 161 << std::setw(otherWidth) << std::setfill(placeholder) << (currentTime.tm_mon + 1) in CreateDisplayName() 162 << std::setw(otherWidth) << std::setfill(placeholder) << currentTime.tm_mday in CreateDisplayName() 163 << connector << std::setw(otherWidth) << std::setfill(placeholder) << currentTime.tm_hour in CreateDisplayName() 164 << std::setw(otherWidth) << std::setfill(placeholder) << currentTime.tm_min in CreateDisplayName() 165 << std::setw(otherWidth) << std::setfill(placeholder) << currentTime.tm_sec; in CreateDisplayName()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
H A D | hilog_cmd.h | 144 char placeholder; // Query tasks needn't any parameter, this is just a placeholder member 163 char placeholder; // Clear tasks needn't any parameter, this is just a placeholder member 167 char placeholder; member 252 char placeholder; member 256 char placeholder; member 264 char placeholder; member 280 char placeholder; member
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | customize-the-input-box.md | 42 Text(this.placeholder) 83 InputFloatHint({placeholder: '请输入用户名'}) 85 InputFloatHint({placeholder: '请输入密码'}) 120 placeholder: string 142 Text(this.placeholder) 181 InputFloatHint({placeholder: '账号'}) 183 InputFloatHint({placeholder: '密码'})
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subManualApiTest/ |
H A D | wifiManagerInterfaceTest.ets | 82 TextInput({ text : this.isAllowed.toString() , placeholder : "1" }) 100 TextInput({ text : this.wifiDeviceConfigManager.ssid , placeholder : "TP-LINK_6365" }) 122 … TextInput({ text : this.wifiDeviceConfigManager.bssid , placeholder : "6c:b1:58:75:63:67" }) 140 … TextInput({ text : this.wifiDeviceConfigManager.preSharedKey , placeholder : "12345678" }) 158 … TextInput({ text : String(this.wifiDeviceConfigManager.isHiddenSsid) , placeholder : "false" }) 241 … TextInput({ text : this.wifiDeviceConfigManager?.netId?.toString() ?? "" , placeholder : "1" }) 315 placeholder : "3232235880" 336 placeholder : "3232235777" 357 placeholder : "3716386629" 382 placeholder : "0, 1, 2" [all …]
|
H A D | wifiInterfaceTest.ets | 83 TextInput({ text : this.w_ssid , placeholder : "TP-LINK_6365" }) //TP-LINK_6365 103 TextInput({ text : this.w_bssid , placeholder : "6c:b1:58:75:63:67" }) 135 TextInput({ text : String(this.w_isHiddenSsid) , placeholder : "false" }) 184 TextInput({ text : this.w_creatorUid.toString() , placeholder : "1" }) 203 TextInput({ text : this.w_disableReason.toString() , placeholder : "0" }) 222 TextInput({ text : this.w_netId.toString() , placeholder : "100" }) 241 TextInput({ text : this.w_randomMacType.toString() , placeholder : "0" }) 260 TextInput({ text : this.w_randomMacAddr , placeholder : "08:fb:ea:1b:38:aa" }) 279 TextInput({ text : this.w_ipType.toString() , placeholder : "1" }) //DHCP 362 placeholder : "0, 1, 2" [all …]
|
H A D | p2pInterfaceTest.ets | 54 TextInput({ text : this.deviceAddress , placeholder : "input peripheral deviceId." }) 76 TextInput({ text : this.netId.toString() , placeholder : "-2" }) 95 TextInput({ text : this.passphrase , placeholder : "input passphrase" }) 113 TextInput({ text : this.groupName , placeholder : "testGroup" }) 131 TextInput({ text : this.goBand.toString() , placeholder : "0" }) 150 TextInput({ text : this.deviceName , placeholder : "MyTestDevice" }) 231 TextInput({ text : this.p2pDeviceName , placeholder : "请在右侧输入p2p的配置" })
|
H A D | p2pManagerInterfaceTest.ets | 54 TextInput({ text : this.deviceAddressManager , placeholder : '6c:96:d7:3d:87:6f' }) 76 TextInput({ text : this.netIdManager.toString() , placeholder : "-2" }) 95 TextInput({ text : this.passphraseManager , placeholder : "input passphrase" }) 113 TextInput({ text : this.groupNameManager , placeholder : "testGroup" }) 131 TextInput({ text : this.goBandManager.toString() , placeholder : "0" }) 149 TextInput({ text : this.devNameManager , placeholder : "MyTestDevice" }) 229 TextInput({ text : this.p2pManagerDeviceName , placeholder : "请在右侧输入p2p的配置" })
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-components-input.md | 53 <input type="date" class="flex" placeholder="Enter data"></input> 119 <input class="input" type="text" onsearch="search" placeholder="search"> </input> 120 <input class="input" type="text" ontranslate="translate" placeholder="translate"> </input> 137 placeholder-color: gray; 175 …<input id="input" class="input" type="text" maxlength="20" placeholder="Please input text" onchan… 193 placeholder-color: gray; 254 <input class="flex" id="input1" placeholder="Enter content" /> 258 <input class="flex" id="input3" type="date" placeholder="Enter data" /> 262 <input class="flex" id="input4" type="time" placeholder="Enter time" />
|
H A D | ui-js-components-search.md | 65 通过color、placeholder-color和caret-color样式来设置搜索框的文本颜色、提示文本颜色和光标颜色。 88 placeholder-color: black; 191 …<textarea class="field" id="textarea1" extend="true" placeholder="textarea1" onchange="change" ></… 192 …<textarea class="field" id="textarea2" extend="true" placeholder="textarea2" onchange="change" sho… 195 <input type="text" class="field" id="input1" placeholder="input1" onchange="change" ></input> 196 …<input type="text" class="field" id="input2" placeholder="input2" onchange="change" show="{{showse… 208 placeholder-color: orangered;
|
H A D | arkts-common-components-text-input.md | 12 TextInput(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextInputController}) 16 TextArea(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextAreaController}) 76 TextInput({ placeholder: '我是提示文本' }) 85 TextInput({ placeholder: '我是提示文本', text: '我是当前文本内容' }) 93 TextInput({ placeholder: '我是提示文本', text: '我是当前文本内容' }) 126 TextInput({ placeholder: 'input your username' }).margin({ top: 20 }) 130 TextInput({ placeholder: 'input your password' }).type(InputType.Password).margin({ top: 20 }) 156 ForEach(this.placeHolderArr, (placeholder: string) => { 157 TextInput({ placeholder: 'TextInput ' + placeholder })
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/input/edittext/ |
H A D | index.js | 27 placeholder:"placeholder", 59 this.placeholder = "input here"; 61 this.placeholder = "placeholder";
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_node_extented.cpp | 538 if (item->placeholder) { in OH_ArkUI_StyledString_Destroy() 539 delete reinterpret_cast<OH_Drawing_PlaceholderSpan*>(item->placeholder); in OH_ArkUI_StyledString_Destroy() 540 item->placeholder = nullptr; in OH_ArkUI_StyledString_Destroy() 604 …I_StyledString_AddPlaceholder(ArkUI_StyledString* storage, OH_Drawing_PlaceholderSpan* placeholder) in OH_ArkUI_StyledString_AddPlaceholder() argument 607 reinterpret_cast<OH_Drawing_TypographyCreate*>(storage->builder), placeholder); in OH_ArkUI_StyledString_AddPlaceholder() 609 if (placeholder) { in OH_ArkUI_StyledString_AddPlaceholder() 610 spanItem->placeholder = new OH_Drawing_PlaceholderSpan { in OH_ArkUI_StyledString_AddPlaceholder() 611 placeholder->width, placeholder->height, in OH_ArkUI_StyledString_AddPlaceholder() 612 placeholder->alignment, placeholder->baseline, in OH_ArkUI_StyledString_AddPlaceholder() 613 placeholder->baselineOffset }; in OH_ArkUI_StyledString_AddPlaceholder() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-text-input.md | 12 TextInput(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextInputController}) 16 TextArea(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextAreaController}) 72 - Set the placeholder text displayed when there is no input. 76 TextInput({placeholder:'I am placeholder text'}) 85 TextInput({placeholder:'I am placeholder text',text:'I am current text input'}) 93 TextInput({placeholder:'I am placeholder text',text:'I am current text input'}) 126 TextInput({ placeholder: 'input your username' }).margin({ top: 20 }) 130 TextInput({ placeholder: 'input your password' }).type(InputType.Password).margin({ top: 20 }) 156 ForEach(this.placeHolderArr, (placeholder: string) => { 157 TextInput({ placeholder: 'TextInput ' + placeholder })
|
H A D | ui-js-components-input.md | 54 <input type="date" class="flex" placeholder="Enter data"></input> 122 <input class="input" type="text" onsearch="search" placeholder="search"> </input> 123 <input class="input" type="text" ontranslate="translate" placeholder="translate"> </input> 140 placeholder-color: gray; 178 …<input id="input" class="input" type="text" maxlength="20" placeholder="Please input text" onchan… 196 placeholder-color: gray; 257 <input class="flex" id="input1" placeholder="Enter content" /> 261 <input class="flex" id="input3" type="date" placeholder="Enter data" /> 265 <input class="flex" id="input4" type="time" placeholder="Enter time" />
|
H A D | ui-js-components-search.md | 65 Set **color**, **placeholder-color**, and **caret-color** to set the text color, hint text color, a… 88 placeholder-color: black; 191 …<textarea class="field" id="textarea1" extend="true" placeholder="textarea1" onchange="change" ></… 192 …<textarea class="field" id="textarea2" extend="true" placeholder="textarea2" onchange="change" sho… 195 <input type="text" class="field" id="input1" placeholder="input1" onchange="change" ></input> 196 …<input type="text" class="field" id="input2" placeholder="input2" onchange="change" show="{{showse… 208 placeholder-color: orangered;
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-framework-localization.md | 39 …placeholder, for example, {name}. The actual content must be of the object type, for example, **$t… 46 <!-- Display Hello world! without using a placeholder. --> 48 <!-- Replace named placeholder {name} with Hello world and display it. --> 50 <!-- Replace digit placeholder {0} with Hello world and display it. --> 54 …<!-- Obtain the resource content from the .js file, replace named placeholder {name} with Hello wo… 56 …<!-- Obtain the resource content from the .js file, replace digit placeholder {0} with Hello world…
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_edittext_component.cpp | 80 char *placeholder = MallocStringOf(attrValue); in SetPrivateAttribute() local 81 if (placeholder == nullptr) { in SetPrivateAttribute() 85 edittext_.SetPlaceholder(placeholder); in SetPrivateAttribute() 86 ACE_FREE(placeholder); in SetPrivateAttribute()
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTest/subGattTest/ |
H A D | gattServer.ets | 84 TextInput({ text : this.curServiceUUID , placeholder : "input service UUID" }) 139 TextInput({ text : this.curDescriptorUUID , placeholder : "input descriptor UUID" }) 155 … TextInput({ text : this.curDescriptorValue , placeholder : "input descriptor Value" }) 225 TextInput({ text : this.advSettings_interval , placeholder : "32~1600" }) 311 placeholder : "input manufactureId(less than 8 digi)" 322 placeholder : "input manufactureValue(less than 8 char)" 354 placeholder : "input manufactureValue(less than 8 char)" 415 placeholder : "input manufactureId(less than 8 char)" }) 427 placeholder : "input manufactureValue(less than 8 char)" }) 449 placeholder : "input serviceUuid" [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/subGattTestManager/ |
H A D | gattServerManager.ets | 83 TextInput({ text : this.curServiceUUID , placeholder : "input service UUID" }) 138 TextInput({ text : this.curDescriptorUUID , placeholder : "input descriptor UUID" }) 154 … TextInput({ text : this.curDescriptorValue , placeholder : "input descriptor Value" }) 224 TextInput({ text : this.advSettings_interval , placeholder : "32~1600" }) 310 placeholder : "input manufactureId(less than 8 digi)" 321 placeholder : "input manufactureValue(less than 8 char)" 352 placeholder : "input manufactureValue(less than 8 char)" 413 placeholder : "input manufactureId(less than 8 char)" }) 425 placeholder : "input manufactureValue(less than 8 char)" }) 447 placeholder : "input serviceUuid" [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-textarea.md | 25 | placeholder | string | - | 否 | 多行文本框的提示文本内容。 … 54 | placeholder-color | <color> | \#99000000 | 否 | 多行文本框的提示文本颜色,type为tex… 84 headericon="/common/navigation_menu1_icon.svg" placeholder="Please input text" 92 placeholder-color: gray;
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/ |
H A D | filterTable.ets | 60 TextInput({ text : this.h_ssid , placeholder : "testApp1" }) 76 TextInput({ text : this.h_securityType.toString() , placeholder : "3" }) 118 TextInput({ text : this.h_band.toString() , placeholder : "2" }) 135 TextInput({ text : this.h_preSharedKey , placeholder : "12345678" }) 150 TextInput({ text : this.h_channel.toString() , placeholder : "36" })
|
H A D | filterTableManager.ets | 60 TextInput({ text : this.h_ssid1 , placeholder : "testApp123" }) 76 TextInput({ text : this.h_securityType1.toString() , placeholder : "3" }) 118 TextInput({ text : this.h_band1.toString() , placeholder : "2" }) 134 TextInput({ text : this.h_preSharedKey1 , placeholder : "12345678" }) 149 TextInput({ text : this.h_channel1.toString() , placeholder : "36" })
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | view_data_wrap_ohos.h | 87 void SetPlaceholder(const std::string& placeholder) override in SetPlaceholder() argument 89 pageNodeInfo_.placeholder = placeholder; in SetPlaceholder() 94 return pageNodeInfo_.placeholder; in GetPlaceholder()
|