Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 25 of 242) sorted by relevance

12345678910

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/ime/
H A Dime_test.cpp676 TextEditingValue newValue; variable
698 TextEditingValue newValue; variable
722 TextEditingValue newValue; variable
746 TextEditingValue newValue; variable
769 TextEditingValue newValue; variable
787 TextEditingValue newValue; variable
792 newValue.text = "abc123";
808 TextEditingValue newValue; variable
828 TextEditingValue newValue; variable
840 newValue.text = "abc123";
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/full_update/
H A Dfu_observed_property_object.ts49 hasChanged(newValue: T): void {
68 private setValueInternal(newValue: T): boolean {
69 if (typeof newValue !== 'object') {
76 if (ObservedObject.IsObservedObject(newValue)) {
78 ObservedObject.addOwningProperty(newValue, this);
79 this.wrappedValue_ = newValue;
82 this.wrappedValue_ = newValue;
97 public set(newValue: T): void {
98 if (this.wrappedValue_ == newValue) {
103 this.setValueInternal(newValue);
[all …]
H A Dfu_synced_property_simple_two_way.ts48 hasChanged(newValue: T): void {
50 …ropertySimpleTwoWay[${this.id__()}, '${this.info() || 'unknown'}']: hasChanged to '${newValue}'.`);
51 this.notifyHasChanged(newValue);
67 public set(newValue: T): void {
72 if (this.source_.get() === newValue) {
73 …his.id__()}IP, '${this.info() || 'unknown'}']: set with unchanged value '${newValue}'- ignoring.`);
77 …tySimpleTwoWay[${this.id__()}IP, '${this.info() || 'unknown'}']: set to newValue: '${newValue}'.`);
82 this.source_.set(newValue);
83 this.notifyHasChanged(newValue);
H A Dfu_synced_property_object_two_way.ts62 private setObject(newValue: C): void {
64 this.linkedParentProperty_.set(newValue);
70 hasChanged(newValue: C): void {
86 public set(newValue: C): void {
87 if (this.getObject() === newValue) {
88 …his.id__()}IP, '${this.info() || 'unknown'}']: set with unchanged value '${newValue}'- ignoring.`);
92 …ertyObjectTwoWay[${this.id__()}, '${this.info() || 'unknown'}']: set to newValue: '${newValue}'.`);
99 this.setObject(newValue);
101 this.notifyHasChanged(newValue);
H A Dfu_observed_property_simple.ts42 hasChanged(newValue: T): void {
52 private setValueInternal(newValue: T): void {
54 this.wrappedValue_ = newValue;
64 public set(newValue: T): void {
65 if (this.wrappedValue_ === newValue) {
69 …'}']: set, changed from '${JSON.stringify(this.wrappedValue_)}' to '${JSON.stringify(newValue)}.`);
70 this.setValueInternal(newValue);
71 this.notifyHasChanged(newValue);
H A Dfu_synced_property_simple_one_way.ts48 public set(newValue: T): void {
49 if (this.wrappedValue_ == newValue) {
54 …{this.id__()}, '${this.info() || 'unknown'}']: set from '${this.wrappedValue_} to '${newValue}'.`);
55 this.wrappedValue_ = newValue;
56 this.notifyHasChanged(newValue);
100 hasChanged(newValue: T): void {
102 this.set(newValue);
H A Dfu_synced_property_object_nested.ts58 hasChanged(newValue: C): void {
73 public set(newValue: C): void {
74 if (this.obsObject_ === newValue) {
75 …his.id__()}IP, '${this.info() || 'unknown'}']: set with unchanged value '${newValue}'- ignoring.`);
79 …pertyNesedObject[${this.id__()}, '${this.info() || 'unknown'}']: set to newValue: '${newValue}'.`);
84 this.obsObject_ = newValue;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/
H A Dpu_observed_property.ts89 private setValueInternal(newValue: T): boolean {
91 if (newValue === this.wrappedValue_) {
97 if (!this.checkIsSupportedValue(newValue)) {
103 if (!newValue || typeof newValue !== 'object') {
106 this.wrappedValue_ = newValue;
109 this.wrappedValue_ = newValue;
113 ObservedObject.addOwningProperty(newValue, this);
115 this.wrappedValue_ = newValue;
145 public set(newValue: T): void {
146 if (this.wrappedValue_ === newValue) {
[all …]
H A Dpu_synced_property_two_way.ts63 private setObject(newValue: C): void {
69 if (this.getUnmonitored() === newValue) {
76 if (this.checkIsSupportedValue(newValue)) {
78 this.source_.set(newValue);
79 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(newValue);
131 public set(newValue: C): void {
133 if (this.getUnmonitored() === newValue) {
144 this.setObject(newValue);
145 TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ newValue,
H A Dpu_synced_property_object_nested.ts79 public set(newValue: C): void {
80 if (this.obsObject_ === newValue) {
87 if (this.setValueInternal(newValue)) {
88 this.createSourceDependency(newValue);
120 private setValueInternal(newValue: C): boolean {
121 if (!this.checkIsObject(newValue)) {
139 this.obsObject_ = newValue;
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dtimer_event_handler.cpp53 struct itimerspec newValue = {{0, 0}, {0, 0}}; in Initialize() local
61 newValue.it_value.tv_sec = now.tv_sec + interval_ / MILLI_TO_BASE; in Initialize()
62 newValue.it_value.tv_nsec = now.tv_nsec + (interval_ % MILLI_TO_BASE) * MILLI_TO_NANO; in Initialize()
63 if (newValue.it_value.tv_nsec >= NANO_TO_BASE) { in Initialize()
64 newValue.it_value.tv_sec += 1; in Initialize()
65 newValue.it_value.tv_nsec = newValue.it_value.tv_nsec % NANO_TO_BASE; in Initialize()
70 newValue.it_interval.tv_sec = 0; in Initialize()
71 newValue.it_interval.tv_nsec = 0; in Initialize()
74 newValue.it_interval.tv_sec = interval_ / MILLI_TO_BASE; in Initialize()
75 newValue.it_interval.tv_nsec = (interval_ % MILLI_TO_BASE) * MILLI_TO_NANO; in Initialize()
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js675 set multiColor(newValue) {
814 set focusIndex(newValue) {
842 set index(newValue) {
1040 set press(newValue) {
1048 set hover(newValue) {
1235 set focusIndex(newValue) {
1267 set pressArray(newValue) {
1275 set hoverArray(newValue) {
1978 set focusIndex(newValue) {
2002 set pressArray(newValue) {
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/
H A Dchip.js752 set chipSize(newValue) {
753 this.n2.set(newValue);
759 this.o2.set(newValue);
765 this.q2.set(newValue);
771 this.s2.set(newValue);
777 this.t2.set(newValue);
783 this.u2.set(newValue);
788 set label(newValue) {
789 this.v2.set(newValue);
795 this.w2.set(newValue);
[all …]
/ohos5.0/foundation/distributeddatamgr/data_object/interfaces/jskits/
H A Ddistributed_data_object.js99 set: function (newValue) { argument
101 result.__proxy[key] = newValue;
111 set: function (newValue) { argument
153 if (typeof newValue === 'object') {
157 let value = STRING_TYPE + newValue;
159 } else if (newValue == null) {
163 object.put(key, newValue);
194 set: function (newValue) { argument
215 set: function (newValue) { argument
224 if (!isAsset(newValue)) {
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_input_formatter.cpp25 void BlackListCharsFormatter::Format(const TextEditingValue& oldValue, TextEditingValue& newValue) … in Format()
27 newValue.SelectionAwareTextManipulation( in Format()
47 void LengthLimitingFormatter::Format(const TextEditingValue& oldValue, TextEditingValue& newValue) … in Format()
49 auto text = newValue.GetWideText(); in Format()
52 int32_t removeBeforeExtent = std::min(exceedLen, newValue.selection.extentOffset); in Format()
55 int32_t eraseStart = newValue.selection.extentOffset - removeBeforeExtent; in Format()
67 newValue.selection.Update(eraseStart); in Format()
81 newValue.text = StringUtils::ToString(text); in Format()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-state-management-sys.md148 |newValue |T |是 |更改后的新值。 |
250 hasChanged(newValue: T): void;
260 |newValue |T |是 |T类型实例。 |
278 set(newValue: T): void;
288 |newValue |T |是 |T类型实例。 |
344 hasChanged(newValue: T): void;
354 |newValue |T |是 |T类型实例。 |
372 set(newValue: T): void;
382 |newValue |T |是 |T类型实例。 |
392 hasChanged(newValue: T): void;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dradio_group_component.h50 const std::function<void(T)> groupValueChangedListener_ = [this](T newValue) {
56 if (newValue == refPtr->GetValue()) {
68 refPtr->SetGroupValue(newValue);
69 refPtr->UpdateGroupValue(newValue);
72 refPtr->SetGroupValue(newValue);
78 refPtr->SetGroupValue(newValue);
79 refPtr->UpdateGroupValue(newValue);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/
H A Dcustomtitle.js71 set textColor(newValue) {
72 this.__textColor.set(newValue);
77 set appLabel(newValue) {
78 this.__appLabel.set(newValue);
83 set appTitle(newValue) {
84 this.__appTitle.set(newValue);
89 set pixelMap(newValue) {
90 this.__pixelMap.set(newValue);
95 set iconOpacity(newValue) {
96 this.__iconOpacity.set(newValue);
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Danimatable_float.h73 AnimatableFloat& operator=(const AnimatableFloat& newValue)
75 SetAnimationOption(newValue.GetAnimationOption());
77 … if (NearEqual(value_, std::numeric_limits<float>::max()) || NearEqual(value_, newValue.GetValue())
79 SetValue(newValue.GetValue());
89 if (NearEqual(animateToEndValue_, newValue.GetValue()) && explicitAnim.IsValid()) {
96 AnimateTo(newValue.GetValue());
98 AnimateTo(newValue.GetValue());
100 SetValue(newValue.GetValue());
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/sdk/
H A Dpersistent_storage.ts438 let newValue: T = PersistentStorage.storage_.get(propName);
439 if (newValue instanceof Object) {
440 if (MapInfo.isObject(newValue) === ObjectVersion.NewVersion) {
441 newValue = MapInfo.toMap(newValue as unknown as MapInfo<any, any>) as unknown as T;
442 } else if (MapInfo.isObject(newValue) === ObjectVersion.CompatibleVersion) {
443newValue = MapInfo.toMapCompatible(newValue as unknown as MapInfo<any, any>) as unknown as T;
444 } else if (SetInfo.isObject(newValue)) {
445 newValue = SetInfo.toSet(newValue) as unknown as T;
446 } else if (DateInfo.isObject(newValue)) {
447 newValue = DateInfo.toDate(newValue) as unknown as T;
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js234 set imageSize(newValue) {
242 set isChecked(newValue) {
250 set textAlignment(newValue) {
266 set fontSizeScale(newValue) {
1626 set isChecked(newValue) {
1642 set textAlign(newValue) {
2025 set textAlign(newValue) {
2414 set titleHeight(newValue) {
2695 set titleHeight(newValue) {
4107 set visible(newValue) {
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Danimatable_double.h70 AnimatableDouble& operator=(double newValue)
73 value_ = newValue;
77 AnimatableDouble& operator=(const AnimatableDouble& newValue)
79 SetAnimationOption(newValue.GetAnimationOption());
82 SetValue(newValue.GetValue());
88 AnimateTo(newValue.GetValue());
90 AnimateTo(newValue.GetValue());
93 SetValue(newValue.GetValue());
/ohos5.0/foundation/communication/netmanager_base/bpf/bpf_progs/
H A Dnetstats.c83 stats_value newValue = {}; in bpf_cgroup_skb_uid_ingress() local
84 bpf_map_update_elem(&app_uid_stats_map, &sock_uid, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_ingress()
104 stats_value newValue = {}; in bpf_cgroup_skb_uid_egress() local
105 bpf_map_update_elem(&app_uid_stats_map, &sock_uid, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_egress()
125 stats_value newValue = {}; in bpf_socket_iface_ingress() local
126 bpf_map_update_elem(&iface_stats_map, &key, &newValue, BPF_NOEXIST); in bpf_socket_iface_ingress()
145 stats_value newValue = {}; in bpf_socket_iface_egress() local
146 bpf_map_update_elem(&iface_stats_map, &key, &newValue, BPF_NOEXIST); in bpf_socket_iface_egress()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dvalue_change_notifier.h62 void SetValue(U&& newValue, bool needFireChangeEvent = true)
64 if (newValue == value_) {
69 value_ = std::move(newValue);
73 void SetValue(const U& newValue, bool needFireChangeEvent = true)
75 if (newValue == value_) {
80 value_ = newValue;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/full_update/
H A Dview_test.ts30 public set forLink_(newValue: boolean) {
31 this.__forLink_.set(newValue);
42 public set forProp_(newValue: string) {
43 this.__forProp_.set(newValue);
127 /* private changed to for testing: */ public set num_(newValue: number) {
128 this["__num_"].set(newValue);
137 /* private changed to for testing: */ public set link_(newValue: boolean) {
138 this.__link_.set(newValue);
147 /* private changed to for testing: */ public set prop_(newValue: string) {
148 this.__prop_.set(newValue);

12345678910