/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | string_utils_test.cpp | 116 std::string inputValue; variable 133 std::string inputValue = "length is %d"; variable 150 std::string inputValue = "length is %d"; variable 156 EXPECT_EQ(inputValue, "length is 1"); 158 inputValue = "length is %d"; 162 EXPECT_EQ(inputValue, "length is 1"); 174 std::string inputValue = "percent is %f"; variable 180 EXPECT_EQ(inputValue, "percent is 0.5"); 290 std::string inputValue = "percent is %.0f"; variable 296 EXPECT_EQ(inputValue, "percent is 60"); [all …]
|
/ohos5.0/base/telephony/core_service/utils/common/src/ |
H A D | telephony_common_utils.cpp | 42 bool IsValidDecValue(const std::string &inputValue) in IsValidDecValue() argument 44 if (inputValue.length() > INPUT_VALUE_LENGTH) { in IsValidDecValue() 45 TELEPHONY_LOGE("The value entered is out of range, value:%{public}s", inputValue.c_str()); in IsValidDecValue() 48 bool isValueNumber = regex_match(inputValue, std::regex("(-[\\d+]+)|(\\d+)")); in IsValidDecValue() 50 int64_t numberValue = std::stoll(inputValue); in IsValidDecValue() 59 bool IsValidHexValue(const std::string &inputValue) in IsValidHexValue() argument 61 if (inputValue.length() > INPUT_VALUE_LENGTH) { in IsValidHexValue() 62 TELEPHONY_LOGE("The value entered is out of range, value:%{public}s", inputValue.c_str()); in IsValidHexValue() 65 bool isValueNumber = regex_match(inputValue, std::regex("(0[xX][0-9a-fA-F]+)|([0-9a-fA-F]+)")); in IsValidHexValue() 67 int64_t numberValue = std::stoll(inputValue, nullptr, HEX_TYPE); in IsValidHexValue()
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-arkui-component.md | 34 @Link inputValue: string 41 this.inputValue = value 50 @State inputValue: string = 'click me' 53 inputValue: $inputValue 59 Button(this.inputValue) 73 private inputValue: string 93 inputValue: this.inputValue, 95 this.inputValue = val 102 Button(this.inputValue) 124 this.inputValue = value; [all …]
|
/ohos5.0/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | injection_event_dispatch.cpp | 178 bool InjectionEventDispatch::CheckValue(const std::string &inputValue) in CheckValue() argument 180 if ((inputValue.length()) > INPUT_VALUE_LENGTH) { in CheckValue() 181 MMI_HILOGE("The value entered is out of range, value:%{public}s", inputValue.c_str()); in CheckValue() 184 bool isValueNumber = regex_match(inputValue, std::regex("(-[\\d+]+)|(\\d+)")); in CheckValue() 186 int32_t numberValue = stoi(inputValue); in CheckValue() 227 const std::string &inputValue) in CheckEventValue() argument 237 if (!(CheckValue(inputValue))) { in CheckEventValue() 238 MMI_HILOGE("Input error in value, value:%{public}s", inputValue.c_str()); in CheckEventValue()
|
/ohos5.0/foundation/communication/wifi/wifi/application/wifi_direct_demo/entry/src/main/ets/MainAbility/pages/component/dialog/ |
H A D | inputComponent.ets | 27 @State inputValue: string = ''; 45 TextInput({ placeholder: this.inputHint, text: this.inputValue }) 59 this.inputValue = value; 93 if (this.inputValue == '') { 95 } else if (this.inputValue.length > this.inputValLength) { 99 this.eventConnect(this.inputValue);
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-building-ui-layout-comment.md | 6 …mentText的状态标记此时显示的组件(通过if属性控制)。在包含文本完成和删除的text组件中关联click事件,更新commentText状态和inputValue的内容。具体的实现示例如下: 14 <input class="comment" value="{{inputValue}}" onchange="updateValue()"></input> 18 <text class="comment-text" focusable="true">{{inputValue}}</text> 71 inputValue: '', 78 this.inputValue = e.text;
|
H A D | arkts-common-components-custom-dialog.md | 279 @State inputValue: string = 'click me' 307 Button(this.inputValue) 340 @State inputValue: string = 'click me' 365 Button(this.inputValue) 431 @State inputValue: string = 'Click Me' 470 Button(this.inputValue)
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/ |
H A D | contentTable.ets | 35 @Link inputValue: string 84 this.confirm(this.inputValue) 106 @Link inputValue: string 169 this.confirm(this.inputValue) 183 @Link inputValue: string 224 this.confirm(this.inputValue) 244 @Link inputValue: string 319 inputValue : $localName , 333 inputValue : $localName , 347 inputValue : $localName , [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/ |
H A D | counter.js | 345 if (v20.inputValue !== undefined) { 346 this.inputValue = v20.inputValue; 645 get inputValue() { 649 set inputValue(m20) { 1505 if (this.inputValue == undefined) { 1506 this.inputValue = ''; 2228 … if (this.inputValue !== '' && Number(this.inputValue) <= this.max && 2242 … if (this.inputValue !== '' && Number(this.inputValue) <= this.max && 2262 … if (Number(this.inputValue) >= this.min && Number(this.inputValue) <= this.max) { 2374 … if (this.inputValue !== '' && Number(this.inputValue) <= this.max && [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-building-ui-layout-comment.md | 7 …nent that contains Done and Delete to update the **commentText** and **inputValue**. The following… 14 <input class="comment" value="{{inputValue}}" onchange="updateValue()"></input> 18 <text class="comment-text" focusable="true">{{inputValue}}</text> 71 inputValue: '', 78 this.inputValue = e.text;
|
H A D | arkts-common-components-custom-dialog.md | 279 @State inputValue: string = 'click me' 307 Button(this.inputValue) 340 @State inputValue: string = 'Click Me' 365 Button(this.inputValue) 431 @State inputValue: string = 'Click Me' 470 Button(this.inputValue)
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/source/ |
H A D | counter.ets | 201 @State inputValue: string = '0'; 839 if (this.inputValue == undefined) { 840 this.inputValue = '' 1447 this.inputValue = c; 1453 if (this.inputValue !== '' && Number(this.inputValue) <= this.max && 1466 if (this.inputValue !== '' && Number(this.inputValue) <= this.max && 1486 if (Number(this.inputValue) >= this.min && Number(this.inputValue) <= this.max) { 1587 this.inputValue = c; 1593 if (this.inputValue !== '' && Number(this.inputValue) <= this.max && 1606 if (this.inputValue !== '' && Number(this.inputValue) <= this.max && [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/model/ |
H A D | bowser.ets | 47 inputValue: string = "" 103 setInputVal(inputValue: string) { 104 this.inputValue = inputValue 108 return this.inputValue
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-ExceptionPrompt.md | 127 @Link inputValue: string; 162 this.inputValue = this.textValue; 193 @State inputValue: string = 'click me'; 199 inputValue: $inputValue,
|
H A D | ts-methods-custom-dialog-box.md | 166 @Link inputValue: string 207 this.inputValue = this.textValue 229 @State inputValue: string = 'click me' 235 inputValue: $inputValue 274 Button(this.inputValue) 474 @Link inputValue: string; 495 this.inputValue = this.textValue; 511 @State inputValue: string = 'click me'; 515 inputValue: $inputValue 549 Button(this.inputValue)
|
H A D | ts-universal-attributes-focus.md | 248 @State inputValue: string = '' 313 TextInput({placeholder: 'input', text: this.inputValue}) 315 this.inputValue = value 519 @State inputValue: string = '' 581 TextInput({placeholder: 'input', text: this.inputValue}) 583 this.inputValue = value
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | diverse-dialogues.md | 157 this.inputValue = this.textValue 173 inputValue: $inputValue 265 @Link inputValue: string 282 this.inputValue = this.textValue 296 @State inputValue: string = ''; 303 inputValue: $inputValue
|
/ohos5.0/drivers/peripheral/clearplay/ |
H A D | README_zh.md | 158 std::vector<uint8_t> inputValue; 177 inputValue.push_back('v'); 178 inputValue.push_back('a'); 179 inputValue.push_back('l'); 180 inputValue.push_back('u'); 181 inputValue.push_back('e'); 182 media_key_system->SetConfiguration(CONFIG_TYPE_KEY_SESSION, "name1", inputValue); 183 media_key_system->SetConfiguration(CONFIG_TYPE_KEY_SESSION, "name2", inputValue); 184 media_key_system->SetConfiguration(CONFIG_TYPE_KEY_SESSION, "name3", inputValue);
|
/ohos5.0/base/telephony/core_service/utils/common/include/ |
H A D | telephony_common_utils.h | 36 bool IsValidDecValue(const std::string &inputValue); 44 bool IsValidHexValue(const std::string &inputValue);
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-arkui-component.md | 34 @Link inputValue: string 41 this.inputValue = value 50 @State inputValue: string = 'click me' 53 inputValue: $inputValue 59 Button(this.inputValue) 73 private inputValue: string 93 inputValue: this.inputValue, 95 this.inputValue = val 102 Button(this.inputValue) 124 this.inputValue = value; [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-ExceptionPrompt.md | 123 @Link inputValue: string 154 this.inputValue = this.textValue 182 @State inputValue: string = 'click me' 188 inputValue: $inputValue
|
/ohos5.0/foundation/multimodalinput/input/tools/event_inject/include/ |
H A D | injection_event_dispatch.h | 77 bool CheckValue(const std::string &inputValue); 79 const std::string &inputValue);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | size.h | 35 inline static bool IsValueInfinite(double inputValue) in IsValueInfinite() argument 37 return NearEqual(inputValue, INFINITE_SIZE); in IsValueInfinite()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.24/ |
H A D | changelogs-arkui.md | 322 @State inputValue: string = 'Click Me'; 326 Text(this.inputValue).fontSize(35) 360 Button(this.inputValue)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/ |
H A D | loading_progress_utill.h | 141 …static float CalculateValue(float inputValue, float minInput, float maxInput, float minOutPut, flo… in CalculateValue() argument 143 auto inputScale = (inputValue - minInput) / (maxInput - minInput); in CalculateValue()
|