Home
last modified time | relevance | path

Searched refs:textValue (Results 1 - 23 of 23) sorted by relevance

/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/common/js/
H A Dpicker_view.js33 this.textValue = e.newValue;
37 this.textValue = e.hour + ":" + e.minute;
40 textValue: "time",
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_event_tdd_test.cpp891 const char *textValue = button->GetText(); in HWTEST_F() local
892 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "english"))); in HWTEST_F()
955 char *textValue = JSObject::GetString(page, "value"); in HWTEST_F() local
956 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "clickOne"))); in HWTEST_F()
957 ACE_FREE(textValue); in HWTEST_F()
964 textValue = JSObject::GetString(page, "value"); in HWTEST_F()
965 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "pressOn in HWTEST_F()
1117 char *textValue = JSObject::GetString(page, "value"); HWTEST_F() local
[all...]
H A Dmarquee_tdd_test.cpp258 jerry_value_t textValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>(textVal)); in ComponentMarqueeStyleSetTest011() local
259 jerry_release_value(jerry_set_property(attrsObj_, textKey, textValue)); in ComponentMarqueeStyleSetTest011()
285 jerry_release_value(textValue); in ComponentMarqueeStyleSetTest011()
303 jerry_value_t textValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>(textVal)); in ComponentMarqueeStyleSetTest012() local
304 jerry_release_value(jerry_set_property(attrsObj_, textKey, textValue)); in ComponentMarqueeStyleSetTest012()
330 jerry_release_value(textValue); in ComponentMarqueeStyleSetTest012()
348 jerry_value_t textValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>(textVal)); in ComponentMarqueeStyleSetTest013() local
349 jerry_release_value(jerry_set_property(attrsObj_, textKey, textValue)); in ComponentMarqueeStyleSetTest013()
381 jerry_release_value(textValue); in ComponentMarqueeStyleSetTest013()
H A Djsbundle_tdd_test.cpp117 JSValue textValue = JSString::Create(message); in CreateElementAttributeLength003() local
118 JSObject::Set(textAttrs, ARG_VALUE, textValue); in CreateElementAttributeLength003()
147 ReleaseJerryValue(divEl, divChildren, divTag, textEl, textOptions, textAttrs, textValue, textTag, VA_ARG_END_FLAG); in CreateElementAttributeLength003()
156 JSValue textValue = JSString::Create(message); in CreateElementAttributeLength004() local
157 JSObject::Set(textAttrs, ARG_VALUE, textValue); in CreateElementAttributeLength004()
199 textAttrs, textValue, textTag, VA_ARG_END_FLAG); in CreateElementAttributeLength004()
H A Dtext_tdd_test.cpp43 jerry_value_t textValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>(expectTextValue)); in ComponentTextAttributeSetValueTest001() local
44 jerry_set_property(attrsObj_, textKey, textValue); in ComponentTextAttributeSetValueTest001()
48 jerry_release_value(textValue); in ComponentTextAttributeSetValueTest001()
/foundation/arkui/ace_engine/frameworks/core/components/text_span/
H A Drosen_render_text_span.cpp29 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue) in UpdateText()
32 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue) in UpdateText()
59 textValue.append(displayText); in UpdateText()
63 rosenRenderTextSpan->UpdateText(builder, touchRegions, textValue); in UpdateText()
28 UpdateText(txt::ParagraphBuilder& builder, std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue) UpdateText() argument
H A Drosen_render_text_span.h40 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue);
43 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue);
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Devent_listener.cpp157 jerry_value_t textValue = jerry_create_string(reinterpret_cast<const jerry_char_t *>(value)); in OnChange() local
158 jerry_value_t args[1] = {textValue}; in OnChange()
162 ReleaseJerryValue(textValue, VA_ARG_END_FLAG); in OnChange()
H A Dcanvas_component.cpp1247 char *textValue = MallocStringOf(args[ArgsIndex::IDX_0]); in FillText() local
1248 if (textValue == nullptr) { in FillText()
1274 component->canvas_.DrawLabel(startPoint, textValue, maxWidth, component->fontStyle_, component->paint_); in FillText()
1276 ACE_FREE(textValue); in FillText()
1300 char *textValue = MallocStringOf(args[ArgsIndex::IDX_0]); in StrokeText() local
1301 if (textValue == nullptr) { in StrokeText()
1327 component->canvas_.StrokeText(textValue, startPoint, component->fontStyle_, component->paint_); in StrokeText()
1400 char *textValue = MallocStringOf(args[ArgsIndex::IDX_0]); in MeasureText() local
1401 if (textValue == nullptr) { in MeasureText()
1412 Point ponit = component->canvas_.MeasureText(textValue, componen in MeasureText()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtool_bar_pattern.cpp183 auto textValue = textLayoutProperty->GetContent(); in ShowDialogWithNode() local
184 if (!textValue.value().empty()) { in ShowDialogWithNode()
185 message = textValue.value(); in ShowDialogWithNode()
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp530 std::string textValue = ""; in UpdateParagraph() local
545 textSpan->UpdateText(*builder, touchRegions_, textValue); in UpdateParagraph()
548 textValue_.text = textValue; in UpdateParagraph()
549 textForDisplay_ = textValue; in UpdateParagraph()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_textfield.cpp142 JSRef<JSVal> textValue = paramObject->GetProperty("text"); in CreateTextInput() local
143 if (textValue->IsObject()) { in CreateTextInput()
144 JSRef<JSObject> valueObj = JSRef<JSObject>::Cast(textValue); in CreateTextInput()
147 textValue = valueObj->GetProperty("value"); in CreateTextInput()
150 if (ParseJsString(textValue, text)) { in CreateTextInput()
154 if (ParseJsString(textValue, text)) { in CreateTextInput()
157 if (textValue->IsUndefined()) { in CreateTextInput()
192 JSRef<JSVal> textValue = paramObject->GetProperty("text"); in CreateTextArea() local
193 if (textValue->IsObject()) { in CreateTextArea()
194 JSRef<JSObject> valueObj = JSRef<JSObject>::Cast(textValue); in CreateTextArea()
[all...]
H A Djs_search.cpp211 JSRef<JSVal> textValue = param->GetProperty("value"); in Create() local
212 if (textValue->IsObject()) { in Create()
213 JSRef<JSObject> valueObj = JSRef<JSObject>::Cast(textValue); in Create()
216 textValue = valueObj->GetProperty("value"); in Create()
218 if (ParseJsString(textValue, text)) { in Create()
221 } else if (param->HasProperty("value") && textValue->IsUndefined()) { in Create()
224 if (ParseJsString(textValue, text)) { in Create()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_paint_method.cpp68 auto textValue = textFieldPattern->GetTextValue(); in UpdateContentModifier() local
79 TextFieldPattern::CreateDisplayText(textValue, textFieldPattern->GetNakedCharPosition(), in UpdateContentModifier()
H A Dtext_field_model_ng.cpp55 auto textValue = pattern->GetTextValue(); in CreateNode() local
56 if (value.has_value() && value.value() != textValue) { in CreateNode()
109 auto textValue = pattern->GetTextValue(); in CreateFrameNode() local
110 if (value.has_value() && value.value() != textValue) { in CreateFrameNode()
1320 auto textValue = pattern->GetTextValue(); in SetTextFieldText() local
1321 if (value != textValue) { in SetTextFieldText()
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Daccessibility_property_test_ng.cpp824 const std::string textValue = "textValue"; in HWTEST_F() local
827 accessibilityProperty.SetUserTextValue(textValue); in HWTEST_F()
829 EXPECT_EQ(accessibilityProperty.GetUserTextValue(), textValue); in HWTEST_F()
840 const std::string textValue = "textValue"; in HWTEST_F() local
841 accessibilityProperty.SetUserTextValue(textValue); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_pattern.h262 bool IsEventEnabled(const std::string& textValue, int16_t style);
H A Dsearch_pattern.cpp70 void SearchPattern::UpdateChangeEvent(const std::string& textValue, int16_t style) in UpdateChangeEvent() argument
89 if (IsEventEnabled(textValue, style)) { in UpdateChangeEvent()
101 if (IsEventEnabled(textValue, style)) { in UpdateChangeEvent()
121 bool SearchPattern::IsEventEnabled(const std::string& textValue, int16_t style) in IsEventEnabled() argument
124 ((style == static_cast<int16_t>(CancelButtonStyle::INPUT)) && !textValue.empty()); in IsEventEnabled()
H A Dsearch_model_ng.cpp757 auto textValue = pattern->GetTextValue(); in CreateTextField() local
759 if (value.has_value() && value.value() != textValue) { in CreateTextField()
1060 auto textValue = pattern->GetTextValue(); in SetTextValue() local
1062 if (value.has_value() && value.value() != textValue) { in SetTextValue()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.cpp686 void AccessibilityProperty::SetUserTextValue(const std::string& textValue) in SetUserTextValue() argument
688 textValue_ = textValue; in SetUserTextValue()
H A Daccessibility_property.h554 void SetUserTextValue(const std::string& textValue);
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_modify_test.cpp1940 auto textValue = pattern->GetTextValue(); in HWTEST_F()
1941 EXPECT_EQ(textValue, HELLO_TEXT); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp1279 auto textValue = textLayoutProperty->GetContent(); in ShowDialogWithNode() local
1281 dialogNode_ = AgingAdapationDialogUtil::ShowLongPressDialog(textValue.value_or(""), imageNode); in ShowDialogWithNode()
1286 dialogNode_ = AgingAdapationDialogUtil::ShowLongPressDialog(textValue.value_or(""), imageSourceInfo); in ShowDialogWithNode()

Completed in 39 milliseconds