/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_list_item_ffi.cpp | 27 const std::vector<V2::StickyMode> STICKY_MODES = { V2::StickyMode::NONE, V2::StickyMode::NORMAL, 28 V2::StickyMode::OPACITY };
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_item_component.h | 36 enum class StickyMode { enum 224 StickyMode GetStickyMode() const in GetStickyMode() 229 void SetStickyMode(StickyMode mode) in SetStickyMode() 435 StickyMode stickyMode_ = StickyMode::NONE;
|
H A D | render_list_item.h | 127 StickyMode GetStickyMode() const in GetStickyMode() 367 StickyMode stickyMode_ = StickyMode::NONE;
|
H A D | rosen_render_list_item.cpp | 363 if (GetStickyMode() != StickyMode::OPACITY) { in PaintCurrentSticky() 372 if (offset.GetY() < 0.0 || GetStickyMode() == StickyMode::OPACITY) { in PaintCurrentSticky() 406 if (stickyMode_ != StickyMode::OPACITY || !node || node->GetChildren().empty()) { in PaintFadeOutEffect()
|
H A D | rosen_render_list.cpp | 88 if (listItem && listItem->GetStickyMode() == StickyMode::OPACITY) { in PaintStickyItem()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_layout_property.cpp | 42 auto sticky = propStickyMode_.value_or(V2::StickyMode::NONE); in ToJsonValue() 43 if (sticky == V2::StickyMode::NORMAL) { in ToJsonValue() 45 } else if (sticky == V2::StickyMode::OPACITY) { in ToJsonValue()
|
H A D | list_item_layout_property.h | 54 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(StickyMode, V2::StickyMode, PROPERTY_UPDATE_MEASURE);
|
H A D | list_item_model.h | 42 virtual void SetSticky(V2::StickyMode stickyMode) = 0;
|
H A D | list_item_model_ng.h | 34 void SetSticky(V2::StickyMode stickyMode) override;
|
H A D | list_item_model_ng.cpp | 93 void ListItemModelNG::SetSticky(V2::StickyMode stickyMode) in SetSticky() 95 ACE_UPDATE_LAYOUT_PROPERTY(ListItemLayoutProperty, StickyMode, stickyMode); in SetSticky()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | list_item_composed_element.cpp | 61 if (stickyMode == StickyMode::NORMAL) { in GetSticky() 63 } else if (stickyMode == StickyMode::OPACITY) { in GetSticky()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | list_item_component.h | 43 ACE_DEFINE_COMPONENT_PROP(Sticky, StickyMode, StickyMode::NONE);
|
H A D | render_list_item.h | 70 StickyMode GetSticky() const in GetSticky() 72 return component_ ? component_->GetSticky() : StickyMode::NONE; in GetSticky()
|
H A D | list_properties.h | 54 enum class StickyMode { enum
|
H A D | list_element.cpp | 154 if (listItem->GetSticky() != StickyMode::NONE) { in FindPreviousStickyListItem()
|
H A D | render_list.cpp | 881 if (fixedMainSize_ && itemSet[0]->GetSticky() != StickyMode::NONE) { in SetItemsPositionForLaneList() 1021 if (fixedMainSize_ && child->GetSticky() != StickyMode::NONE) { in SetItemsPosition()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_list_item.h | 92 StickyMode stickyMode_ = StickyMode::NONE;
|
H A D | dom_list_item.cpp | 56 stickyMode_ = StickyMode::NORMAL; in SetSpecializedAttr() 59 stickyMode_ = StickyMode::OPACITY; in SetSpecializedAttr() 62 stickyMode_ = StickyMode::NONE; in SetSpecializedAttr() 413 if (sticky_ && stickyMode_ == StickyMode::OPACITY) { in CompositeSpecializedComponent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | list_item_model_impl.h | 34 void SetSticky(V2::StickyMode stickyMode) override;
|
H A D | list_item_model_impl.cpp | 70 void ListItemModelImpl::SetSticky(V2::StickyMode stickyMode) in SetSticky()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_attr_test_ng.cpp | 240 EXPECT_EQ(static_cast<V2::StickyMode>(json->GetInt("sticky")), V2::StickyMode::NONE); 251 itemModel.SetSticky(V2::StickyMode::NORMAL); 268 itemModel.SetSticky(V2::StickyMode::OPACITY);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_list_item.cpp | 138 ListItemModel::GetInstance()->SetSticky(static_cast<V2::StickyMode>(sticky)); in SetSticky()
|