/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_edittext_component.cpp | 97 bool InputEditTextComponent::SetMaxLength(const jerry_value_t& attrValue) in SetMaxLength() function in OHOS::ACELite::InputEditTextComponent 101 edittext_.SetMaxLength(maxLenth); in SetMaxLength() 118 return SetMaxLength(attrValue); in SetPrivateAttribute()
|
H A D | input_edittext_component.h | 62 bool SetMaxLength(const jerry_value_t& attrValue);
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_edit_text_unit_test.cpp | 141 * @tc.desc: Verify SetMaxLength function. 149 editText->SetMaxLength(length1); in HWTEST_F() 153 editText->SetMaxLength(length2); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_update_test.cpp | 65 model.SetMaxLength(1000023); in HWTEST_F() 287 model.SetMaxLength(26); in HWTEST_F() 698 model.SetMaxLength(DEFAULT_MAX_LENGTH); in HWTEST_F() 976 CreateTextField(DEFAULT_TEXT, "", [](TextFieldModelNG model) { model.SetMaxLength(1000023); }); in HWTEST_F() 1068 CreateTextField(DEFAULT_TEXT, "", [](TextFieldModelNG model) { model.SetMaxLength(1000023); }); in HWTEST_F() 1116 CreateTextField(DEFAULT_TEXT, "", [](TextFieldModelNG model) { model.SetMaxLength(1000023); }); in HWTEST_F()
|
H A D | text_input_test.cpp | 823 model.SetMaxLength(5); in HWTEST_F() 852 model.SetMaxLength(0); in HWTEST_F() 902 model.SetMaxLength(-1); in HWTEST_F() 931 model.SetMaxLength(1000023); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_search.h | 73 static void SetMaxLength(const JSCallbackInfo& info);
|
H A D | js_textarea.cpp | 62 JSClass<JSTextArea>::StaticMethod("maxLength", &JSTextField::SetMaxLength); in JSBind()
|
H A D | js_textfield.h | 46 static void SetMaxLength(const JSCallbackInfo& info);
|
H A D | js_textinput.cpp | 55 JSClass<JSTextInput>::StaticMethod("maxLength", &JSTextField::SetMaxLength); in JSBind()
|
/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | ui_test_edit_text.cpp | 98 editText3->SetMaxLength(8); // 8: max length in UIKitUIEditTextTestDisplay001()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_edit_text.h | 174 void SetMaxLength(uint16_t maxLength);
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | text_field_component.cpp | 275 void TextFieldComponent::SetMaxLength(uint32_t maxLength) in SetMaxLength() function in OHOS::Ace::TextFieldComponent 277 declaration_->SetMaxLength(maxLength); in SetMaxLength()
|
H A D | text_field_component.h | 121 void SetMaxLength(uint32_t maxLength);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_model_ng.h | 76 void SetMaxLength(uint32_t value) override; 143 static void SetMaxLength(FrameNode* frameNode, uint32_t value);
|
H A D | search_model.h | 86 virtual void SetMaxLength(uint32_t value);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | search_model_impl.h | 79 void SetMaxLength(uint32_t value) override {};
|
H A D | text_field_model_impl.h | 49 void SetMaxLength(uint32_t value) override;
|
H A D | text_field_model_impl.cpp | 289 void TextFieldModelImpl::SetMaxLength(uint32_t value) in SetMaxLength() function in OHOS::Ace::Framework::TextFieldModelImpl 294 component->SetMaxLength(value); in SetMaxLength()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_search_bridge.h | 74 static ArkUINativeModuleValue SetMaxLength(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
H A D | arkts_native_text_input_bridge.h | 66 static ArkUINativeModuleValue SetMaxLength(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
H A D | arkts_native_text_area_bridge.h | 48 static ArkUINativeModuleValue SetMaxLength(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_model_ng.h | 48 void SetMaxLength(uint32_t value) override; 162 static void SetMaxLength(FrameNode* frameNode, uint32_t value);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_textfield_ffi.cpp | 214 TextFieldModel::GetInstance()->SetMaxLength(value); in FfiOHOSAceFrameworkTextFieldSetMaxLength()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_test_ng.cpp | 1394 searchModelInstance.SetMaxLength(19); in HWTEST_F() 1396 searchModelInstance.SetMaxLength(0); in HWTEST_F() 1587 searchModelInstance.SetMaxLength(5); in HWTEST_F() 1609 searchModelInstance.SetMaxLength(0); in HWTEST_F() 1627 searchModelInstance.SetMaxLength(-1); in HWTEST_F() 1635 searchModelInstance.SetMaxLength(1000012); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.cpp | 131 declaration.SetMaxLength(tmp >= 0 ? (uint32_t)(tmp) : std::numeric_limits<uint32_t>::max()); in SetSpecializedAttr()
|