/foundation/arkui/ace_engine/test/unittest/core/common/ime/ |
H A D | ime_test.cpp | 676 TextEditingValue newValue; in HWTEST_F() local 679 newValue.text = TEXT_TEST_VALUE; in HWTEST_F() 681 lengthLimitingFormatter.Format(oldValue, newValue); in HWTEST_F() 682 EXPECT_EQ(newValue.text, TEXT_TEST_VALUE); in HWTEST_F() 683 EXPECT_EQ(newValue.selection.baseOffset, -1); in HWTEST_F() 684 EXPECT_EQ(newValue.selection.extentOffset, -1); in HWTEST_F() 698 TextEditingValue newValue; in HWTEST_F() local 701 newValue.text = TEXT_TEST_VALUE; in HWTEST_F() 702 newValue.selection.baseOffset = LESS_THAN_TEXT_LENGTH; in HWTEST_F() 703 newValue in HWTEST_F() 722 TextEditingValue newValue; HWTEST_F() local 746 TextEditingValue newValue; HWTEST_F() local 769 TextEditingValue newValue; HWTEST_F() local 787 TextEditingValue newValue; HWTEST_F() local 808 TextEditingValue newValue; HWTEST_F() local 828 TextEditingValue newValue; HWTEST_F() local 854 TextEditingValue newValue; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | text_input_formatter.cpp | 25 void BlackListCharsFormatter::Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const in Format() 27 newValue.SelectionAwareTextManipulation( in Format() 47 void LengthLimitingFormatter::Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const 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()
|
H A D | text_input_formatter.h | 33 * @param[out] newValue The value after formatting. 35 virtual void Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const = 0; 43 void Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const override; 51 void Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const override {} 88 void Format(const TextEditingValue& oldValue, TextEditingValue& newValue) const override;
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | radio_group_component.h | 50 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);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 71 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); [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animatable_double.h | 70 AnimatableDouble& operator=(double newValue) in operator =() argument 73 value_ = newValue; in operator =() 77 AnimatableDouble& operator=(const AnimatableDouble& newValue) in operator =() argument 79 SetAnimationOption(newValue.GetAnimationOption()); in operator =() 82 SetValue(newValue.GetValue()); in operator =() 88 AnimateTo(newValue.GetValue()); in operator =() 90 AnimateTo(newValue.GetValue()); in operator =() 93 SetValue(newValue.GetValue()); in operator =()
|
H A D | animatable_path.cpp | 25 AnimatablePath& AnimatablePath::operator=(const AnimatablePath& newValue) in operator =() argument 27 SetAnimationOption(newValue.GetAnimationOption()); in operator =() 30 SetValue(newValue.GetValue()); in operator =() 36 AnimateTo(newValue.GetValue()); in operator =() 38 AnimateTo(newValue.GetValue()); in operator =() 40 SetValue(newValue.GetValue()); in operator =()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | animatable_float.h | 73 AnimatableFloat& operator=(const AnimatableFloat& newValue) in operator =() argument 75 SetAnimationOption(newValue.GetAnimationOption()); in operator =() 77 if (NearEqual(value_, std::numeric_limits<float>::max()) || NearEqual(value_, newValue.GetValue()) in operator =() 79 SetValue(newValue.GetValue()); in operator =() 89 if (NearEqual(animateToEndValue_, newValue.GetValue()) && explicitAnim.IsValid()) { in operator =() 96 AnimateTo(newValue.GetValue()); in operator =() 98 AnimateTo(newValue.GetValue()); in operator =() 100 SetValue(newValue.GetValue()); in operator =()
|
H A D | vec3.h | 100 Vec3& operator=(const Vec3& newValue) in operator =() argument 102 animationOption_ = newValue.GetAnimationOption(); in operator =() 103 x_ = AnimatableFloat(newValue.GetX(), animationOption_); in operator =() 104 y_ = AnimatableFloat(newValue.GetY(), animationOption_); in operator =() 105 z_ = AnimatableFloat(newValue.GetZ(), animationOption_); in operator =()
|
/foundation/communication/netmanager_base/bpf/bpf_progs/ |
H A D | netstats.c | 83 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()
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 384 set buttonBorderRadius(newValue) { 385 this.q2.set(newValue); 392 set buttonItemsSize(newValue) { 393 this.s2.set(newValue); 500 set selectedIndexes(newValue) { 501 this.t2.set(newValue); 508 set buttonItemsSize(newValue) { 509 this.s2.set(newValue); 516 set selectedItemPosition(newValue) { 517 this.u2.set(newValue); [all...] |
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | value_change_notifier.h | 62 void SetValue(U&& newValue, bool needFireChangeEvent = true) in SetValue() argument 64 if (newValue == value_) { in SetValue() 69 value_ = std::move(newValue); in SetValue() 73 void SetValue(const U& newValue, bool needFireChangeEvent = true) in SetValue() argument 75 if (newValue == value_) { in SetValue() 80 value_ = newValue; in SetValue()
|
/foundation/distributeddatamgr/data_object/interfaces/jskits/ |
H A D | distributed_data_object.js | 99 set: function (newValue) {
101 result.__proxy[key] = newValue;
111 set: function (newValue) {
112 result.__proxy[SESSION_ID] = newValue;
151 function setObjectValue(object, key, newValue) {
153 if (typeof newValue === 'object') {
154 let value = COMPLEX_TYPE + JSON.stringify(newValue);
156 } else if (typeof newValue === 'string') {
157 let value = STRING_TYPE + newValue;
159 } else if (newValue [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 759 set chipSize(newValue) { 760 this.n2.set(newValue); 765 set allowClose(newValue) { 766 this.o2.set(newValue); 771 set closeOptions(newValue) { 772 this.q2.set(newValue); 777 set chipDirection(newValue) { 778 this.s2.set(newValue); 783 set prefixIcon(newValue) { 784 this.t2.set(newValue); [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/metadata_test/ |
H A D | metadata_test.cpp | 87 std::string oldValue, newValue; in HWTEST_F() local 88 newmetadata->GetValue("ImageLength", newValue); in HWTEST_F() 90 EXPECT_EQ(newValue, oldValue); in HWTEST_F() 105 std::string oldValue, newValue; in HWTEST_F() local 107 newmetadata->GetValue("ImageLength", newValue); in HWTEST_F() 109 EXPECT_NE(newValue, oldValue); in HWTEST_F()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | samgr_time_handler.cpp | 133 struct itimerspec newValue = {}; in PostTask() local 134 newValue.it_value.tv_sec = static_cast<int64_t>(delayTime); in PostTask() 135 newValue.it_value.tv_nsec = 0; in PostTask() 136 newValue.it_interval.tv_sec = 0; in PostTask() 137 newValue.it_interval.tv_nsec = 0; in PostTask() 139 if (timerfd_settime(timerfd, 0, &newValue, NULL) == -1) { in PostTask()
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | hal_atomic.h | 52 static inline bool HalAtomicCmpAndSwap32(volatile uint32_t* ptr, uint32_t oldValue, uint32_t newValue) in HalAtomicCmpAndSwap32() argument 55 uint32_t initial = InterlockedCompareExchange(ptr, newValue, oldValue); in HalAtomicCmpAndSwap32() 58 return __sync_bool_compare_and_swap(ptr, oldValue, newValue); in HalAtomicCmpAndSwap32()
|
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/ |
H A D | selecttitlebar.js | 104 set selected(newValue) { 105 this.__selected.set(newValue); 112 set selectMaxWidth(newValue) { 113 this.__selectMaxWidth.set(newValue); 120 set fontSize(newValue) { 121 this.__fontSize.set(newValue); 140 Flex.onAreaChange((_oldValue, newValue) => { 141 let newWidth = Number(newValue.width); 580 set isPopupShown(newValue) { 581 this.__isPopupShown.set(newValue); [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/selectionmenu/interfaces/ |
H A D | selectionmenu.js | 242 set showExpandedMenuOptions(newValue) { 243 this.__showExpandedMenuOptions.set(newValue); 250 set showCustomerIndex(newValue) { 251 this.__showCustomerIndex.set(newValue); 258 set customerChange(newValue) { 259 this.__customerChange.set(newValue); 266 set cutAndCopyEnable(newValue) { 267 this.__cutAndCopyEnable.set(newValue); 274 set pasteEnable(newValue) { 275 this.__pasteEnable.set(newValue); [all...] |
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_atomic.h | 62 static inline bool SoftBusAtomicCmpAndSwap32(volatile uint32_t* ptr, int32_t oldValue, int32_t newValue) in SoftBusAtomicCmpAndSwap32() argument 65 uint32_t initial = _InterlockedCompareExchange(ptr, newValue, oldValue); in SoftBusAtomicCmpAndSwap32() 70 return __sync_bool_compare_and_swap(ptr, oldValue, newValue); in SoftBusAtomicCmpAndSwap32()
|
/foundation/arkui/ace_engine/advanced_ui_component/chipgroup/interfaces/ |
H A D | chipgroup.js | 208 set chipSize(newValue) { 209 this.n2.set(newValue); 214 set items(newValue) { 215 this.n4.set(newValue); 486 set items(newValue) { 487 this.n4.set(newValue); 492 set itemStyle(newValue) { 493 this.o4.set(newValue); 498 set chipSize(newValue) { 499 this.n2.set(newValue); [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/ |
H A D | filter.js | 691 set arrowBgColorRow(newValue) { 692 this.__arrowBgColorRow.set(newValue); 699 set isArrowBgHoverRow(newValue) { 700 this.__isArrowBgHoverRow.set(newValue); 1066 Row.onAreaChange((_oldValue, newValue) => { 1067 this.filterColumnWidth = vp2px(parseInt(newValue.width.toString(), 0)); 1458 set multiFilters(newValue) { 1459 this.__multiFilters.set(newValue); 1466 set additionFilters(newValue) { 1467 this.__additionFilters.set(newValue); [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | intercepted_data_impl.cpp | 143 DBStatus InterceptedDataImpl::ModifyValue(size_t index, const Value &newValue) in ModifyValue() argument 152 if (!CheckValue(newValue, checkSchema_)) { in ModifyValue() 159 size_t newLength = totalLength_ - Parcel::GetVectorCharLen(oldValue) + Parcel::GetVectorCharLen(newValue); in ModifyValue() 168 entry->SetValue(newValue); in ModifyValue()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/ |
H A D | camera_ability.cpp | 271 bool newValue = IsMacroSupported(); in FilterByZoomRatio() local 272 MEDIA_INFO_LOG("CameraAbilityContainer macroValue %{public}d", static_cast<int32_t>(newValue)); in FilterByZoomRatio() 273 if (oldValue != newValue) { in FilterByZoomRatio() 284 std::vector<float> newValue = GetZoomRatioRange(); in FilterByMacro() local 285 MEDIA_INFO_LOG("CameraAbilityContainer zoomValue %{public}f %{public}f", newValue[0], newValue[1]); in FilterByMacro() 286 if (oldValue[0] != newValue[0] || oldValue[1] != newValue[1]) { in FilterByMacro()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | netsys.c | 116 iface_stats_value newValue = {}; in socket_iface_stats() local 117 bpf_map_update_elem(&iface_stats_map, &ifindex, &newValue, BPF_NOEXIST); in socket_iface_stats() 293 app_uid_stats_value newValue = {}; in bpf_cgroup_skb_uid_ingress() local 294 bpf_map_update_elem(&app_uid_stats_map, &sock_uid, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_ingress() 304 app_cookie_stats_value newValue = {}; in bpf_cgroup_skb_uid_ingress() local 305 bpf_map_update_elem(&app_cookie_stats_map, &sock_cookie, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_ingress() 317 app_uid_if_stats_value newValue = {}; in bpf_cgroup_skb_uid_ingress() local 318 bpf_map_update_elem(&app_uid_if_stats_map, &key, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_ingress() 331 app_uid_sim_stats_value newValue = {}; in bpf_cgroup_skb_uid_ingress() local 332 bpf_map_update_elem(&app_uid_sim_stats_map, &key_sim, &newValue, BPF_NOEXIS in bpf_cgroup_skb_uid_ingress() 383 app_uid_stats_value newValue = {}; bpf_cgroup_skb_uid_egress() local 394 app_cookie_stats_value newValue = {}; bpf_cgroup_skb_uid_egress() local 407 app_uid_if_stats_value newValue = {}; bpf_cgroup_skb_uid_egress() local 421 app_uid_sim_stats_value newValue = {}; bpf_cgroup_skb_uid_egress() local [all...] |