Home
last modified time | relevance | path

Searched refs:sticky (Results 1 – 25 of 100) sorted by relevance

1234

/ohos5.0/docs/en/application-dev/basic-services/common-event/
H A Dcommon-event-remove-sticky.md6sticky common events that have been sent. If the events are no longer forwarded, the event publish…
14 | removeStickyCommonEvent(event: string, callback: AsyncCallback\<void>): void | Removes a sticky c…
31 …ys.md#commoneventmanagerremovestickycommonevent10) to remove the corresponding sticky common event.
35 …> The sticky common event to be removed must have been released by the application. For details ab…
38 // Remove the sticky common event. Replace the event field with the actual event name.
40 // sticky_event indicates the name of the target sticky common event.
42 …hilog.error(DOMAIN_NUMBER, TAG, `Failed to remove sticky common event. Code is ${err.code}, messag…
46 hilog.info(DOMAIN_NUMBER, TAG, `Succeeded in removing sticky event.`);
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESCESpublishInfoTest/
H A DactsCESCESpublishInfoTest.cpp85 bool sticky = false; variable
118 bool sticky = true; variable
150 bool sticky = false; variable
182 bool sticky = true; variable
244 bool sticky = true; variable
252 sticky = false;
262 sticky = true;
288 sticky = true;
298 sticky = false;
324 sticky = true;
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dmatching_skills_test.cpp401 bool sticky = true; variable
403 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token);
419 bool sticky = true; variable
421 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token);
439 bool sticky = true; variable
441 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token);
459 bool sticky = true; variable
461 AsyncCommonEventResult asyncCommonEventResult(resultCode, resultData, ordered, sticky, token);
480 bool sticky = true; variable
499 bool sticky = true; variable
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event_listener.cpp35 …tener::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
47 std::function<void()> onReceiveEventFunc = [wp, commonEventData, ordered, sticky] () { in NotifyEvent()
53 sThis->OnReceiveEvent(commonEventData, ordered, sticky); in NotifyEvent()
129 const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in OnReceiveEvent() argument
138 std::make_shared<AsyncCommonEventResult>(code, data, ordered, sticky, this); in OnReceiveEvent()
H A Devent_receive_stub.cpp44 bool sticky = data.ReadBool(); in OnRemoteRequest() local
49 NotifyEvent(*eventData, ordered, sticky); in OnRemoteRequest()
H A Devent_receive_proxy.cpp31 …Proxy::NotifyEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky) in NotifyEvent() argument
60 if (!data.WriteBool(sticky)) { in NotifyEvent()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-container-list-item.md28 | sticky | string | none | No| Whether the current item sticks in place at the top, and the effect …
47sticky | { state: boolean } | Callback event for a sticky component.<br>**value: false**: The curr…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-container-list-item.md27 | sticky | string | none | 否 | 设置当前item是否为吸顶item以及其吸顶消失的效果,当前仅支持纵向list,group内部的item不可吸顶,设置该属性无效。<br…
50sticky | {&nbsp;state:&nbsp;boolean&nbsp;} | 吸顶组件回调事件。<br/>value:&nbsp;false表示当前item处于非吸顶状态;<br/>…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_layout_property.cpp42 auto sticky = propStickyMode_.value_or(V2::StickyMode::NONE); in ToJsonValue() local
43 if (sticky == V2::StickyMode::NORMAL) { in ToJsonValue()
45 } else if (sticky == V2::StickyMode::OPACITY) { in ToJsonValue()
H A Dlist_layout_property.cpp74 auto sticky = propStickyStyle_.value_or(V2::StickyStyle::NONE); in ToJsonValue() local
75 if (sticky == V2::StickyStyle::HEADER) { in ToJsonValue()
77 } else if (sticky == V2::StickyStyle::FOOTER) { in ToJsonValue()
79 } else if (sticky == V2::StickyStyle::BOTH) { in ToJsonValue()
H A Dlist_item_group_layout_algorithm.cpp541 V2::StickyStyle sticky = listLayoutProperty_->GetStickyStyle().value_or(V2::StickyStyle::NONE); in GetItemGroupPosition() local
553 if (sticky == V2::StickyStyle::HEADER || sticky == V2::StickyStyle::BOTH) { in GetItemGroupPosition()
564 if (sticky == V2::StickyStyle::FOOTER || sticky == V2::StickyStyle::BOTH) { in GetItemGroupPosition()
767 V2::StickyStyle sticky = listLayoutProperty_->GetStickyStyle().value_or(V2::StickyStyle::NONE); in MeasureStart() local
769 if (sticky == V2::StickyStyle::HEADER || sticky == V2::StickyStyle::BOTH) { in MeasureStart()
796 V2::StickyStyle sticky = listLayoutProperty_->GetStickyStyle().value_or(V2::StickyStyle::NONE); in MeasureEnd() local
798 if (sticky == V2::StickyStyle::FOOTER || sticky == V2::StickyStyle::BOTH) { in MeasureEnd()
1130 if (sticky == V2::StickyStyle::BOTH || sticky == V2::StickyStyle::FOOTER) { in LayoutHeaderFooterRTL()
1145 …if (Positive(listMainSize) && (sticky == V2::StickyStyle::BOTH || sticky == V2::StickyStyle::HEADE… in LayoutHeaderFooterRTL()
1176 if (sticky == V2::StickyStyle::BOTH || sticky == V2::StickyStyle::HEADER) { in LayoutHeaderFooterLTR()
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/core/include/
H A Dcommon_event_listener.h48 void NotifyEvent(const CommonEventData &data, const bool &ordered, const bool &sticky) override;
65 …id OnReceiveEvent(const CommonEventData &commonEventData, const bool &ordered, const bool &sticky);
/ohos5.0/docs/zh-cn/application-dev/basic-services/common-event/
H A Dcommon-event-remove-sticky.md42 …hilog.error(DOMAIN_NUMBER, TAG, `Failed to remove sticky common event. Code is ${err.code}, messag…
46 hilog.info(DOMAIN_NUMBER, TAG, `Succeeded in removeing sticky event.`);
/ohos5.0/base/notification/common_event_service/services/include/
H A Dhistory_event_record.h54 bool sticky; member
76 sticky(false), in HistoryEventRecord()
/ohos5.0/base/notification/common_event_service/frameworks/native/src/
H A Dasync_common_event_result.cpp24 const bool &ordered, const bool &sticky, const wptr<IRemoteObject> &token) in AsyncCommonEventResult() argument
30 sticky_ = sticky; in AsyncCommonEventResult()
H A Dcommon_event_publish_info.cpp46 void CommonEventPublishInfo::SetSticky(bool sticky) in SetSticky() argument
48 sticky_ = sticky; in SetSticky()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/wants_info_test/
H A Dwants_info_test.cpp47 … const AAFwk::WantParams& extras, bool serialized, bool sticky, int sendingUser) override;
56 const AAFwk::WantParams& extras, bool serialized, bool sticky, int sendingUser) in PerformReceive() argument
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dwant_receiver_proxy.cpp52 const WantParams &extras, bool serialized, bool sticky, int sendingUser) in PerformReceive() argument
65 msgData.WriteBool(sticky); in PerformReceive()
H A Dwant_receiver_stub.cpp72 bool sticky = data.ReadBool(); in PerformReceiveInner() local
74 PerformReceive(*want, resultCode, bundleName, *wantParams, serialized, sticky, sendingUser); in PerformReceiveInner()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/sender_info_test/
H A Dsender_info_test.cpp45 … const AAFwk::WantParams& extras, bool serialized, bool sticky, int sendingUser) override;
53 const AAFwk::WantParams& extras, bool serialized, bool sticky, int sendingUser) in PerformReceive() argument
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_control_manager_test.cpp65 bool sticky = commonEventControlManager.PublishStickyCommonEvent(eventRecord, subscriberRecord); in HWTEST_F() local
66 EXPECT_EQ(false, sticky); in HWTEST_F()
80 bool sticky = commonEventControlManager.NotifyUnorderedEvent(eventRecord); in HWTEST_F() local
81 EXPECT_EQ(false, sticky); in HWTEST_F()
95 bool sticky = commonEventControlManager.EnqueueUnorderedRecord(eventRecordPtr); in HWTEST_F() local
96 EXPECT_EQ(false, sticky); in HWTEST_F()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.h122 void SetSticky(bool sticky) in SetSticky() argument
124 sticky_ = sticky; in SetSticky()
313 void HandleStickyEvent(bool sticky);
H A Dlist_element.cpp214 auto sticky = stickyElement_->GetRenderNode()->GetParent().Upgrade(); in ResetStickyItem() local
215 auto listItem = RenderListItem::GetRenderListItem(sticky); in ResetStickyItem()
236 RefPtr<Element> sticky; in BuildStickyItem() local
243 sticky = stickyNextElement_; in BuildStickyItem()
250 sticky = stickyElement_; in BuildStickyItem()
252 … RefPtr<RenderListItem> renderItem = AceType::DynamicCast<RenderListItem>(sticky->GetRenderNode()); in BuildStickyItem()
258 return sticky->GetRenderNode()->GetParent().Upgrade(); in BuildStickyItem()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_receiver_stub_test/
H A Dwant_receiver_stub_test.cpp190 bool sticky = true; variable
200 data.WriteBool(sticky);
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-arkui-layout.md37 可以通过List组件的sticky属性配合ListItemGroup组件来实现。通过给List组件设置sticky属性为StickyStyle.Header,设置ListItemGroup中head…

1234