/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_lanes_layout_algorithm.cpp | 63 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in MeasureAndGetChildHeight() local 65 if (isGroup) { in MeasureAndGetChildHeight() 117 bool isGroup = false; in LayoutALineForward() local 130 for (int32_t i = 0; i < lanes && currentIndex + 1 <= GetMaxListItemIndex() && !isGroup; i++) { in LayoutALineForward() 135 isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in LayoutALineForward() 136 if (isGroup && cnt > 0) { in LayoutALineForward() 138 isGroup = false; in LayoutALineForward() 143 if (isGroup) { in LayoutALineForward() 156 SetItemInfo(currentIndex - i, { id, startPos, endPos, isGroup }); in LayoutALineForward() 167 bool isGroup in LayoutALineBackward() local 220 CheckCurRowMeasureFinished(LayoutWrapper* layoutWrapper, int32_t curIndex, bool isGroup) CheckCurRowMeasureFinished() argument 453 bool isGroup = false; LayoutCachedALineForward() local 501 bool isGroup = false; LayoutCachedALineBackward() local 575 bool isGroup = false; LayoutCachedForward() local 627 bool isGroup = false; LayoutCachedBackward() local [all...] |
H A D | list_position_map.h | 185 std::optional<bool> isGroup; in GetLazyForEachChildIsGroup() local 194 isGroup = frameNode->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in GetLazyForEachChildIsGroup() 197 if (!(isGroup.has_value())) { in GetLazyForEachChildIsGroup() 199 CHECK_NULL_RETURN(listNode, isGroup); in GetLazyForEachChildIsGroup() 201 CHECK_NULL_RETURN(wrapper, isGroup); in GetLazyForEachChildIsGroup() 202 isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in GetLazyForEachChildIsGroup() 204 return isGroup; in GetLazyForEachChildIsGroup() 213 std::optional<bool> isGroup = GetLazyForEachChildIsGroup(node); in CalculateLazyForEachNode() local 214 if (!(isGroup.has_value())) { in CalculateLazyForEachNode() 217 isGroup in CalculateLazyForEachNode() [all...] |
H A D | list_paint_method.cpp | 109 nextIsPressed = nextId < 0 || lastIsItemGroup || child.second.isGroup ? false : itemPosition_[nextId].isPressed;
in UpdateDividerList() 113 if (laneIdx == 0 || child.second.isGroup) {
in UpdateDividerList() 117 lastIsItemGroup = child.second.isGroup;
in UpdateDividerList() 118 laneIdx = (lanes <= 1 || (laneIdx + 1) >= lanes || child.second.isGroup) ? 0 : laneIdx + 1;
in UpdateDividerList() 156 if (dividerInfo.lanes > 1 && !lastIsGroup && !itemPosition_.at(index).isGroup) {
in HandleDividerList() 185 if (dividerInfo.lanes > 1 && !itemPosition_.at(index).isGroup) {
in HandleLastLineIndex()
|
H A D | list_layout_algorithm.cpp | 217 bool isGroup = layoutWrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in CheckNeedMeasure() local 218 return isGroup ? constraint.value() != GetGroupLayoutConstraint() : constraint.value() != childLayoutConstraint_; in CheckNeedMeasure() 317 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in HandleJumpAuto() local 318 if (isGroup && jumpIndexInGroup_) { in HandleJumpAuto() 361 bool isGroup = wrapper && wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in HandleJumpCenter() local 362 if (isGroup && jumpIndexInGroup_.has_value()) { in HandleJumpCenter() 391 bool isGroup = wrapper && wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in HandleJumpStart() local 392 if (isGroup && jumpIndexInGroup_.has_value()) { in HandleJumpStart() 413 bool isGroup = wrapper && wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; in HandleJumpEnd() local 414 if (isGroup in HandleJumpEnd() 591 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; MeasureAndGetChildHeight() local 682 CheckAndMeasureStartItem(LayoutWrapper* layoutWrapper, int32_t startIndex, float& startPos, bool isGroup, bool forwardLayout) CheckAndMeasureStartItem() argument 944 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; LayoutALineForward() local 984 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; LayoutALineBackward() local 1782 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; LayoutCachedALine() local 1835 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; PredictBuildItem() local 1968 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; LayoutCachedForward() local 2007 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; LayoutCachedBackward() local 2161 bool isGroup = wrapper->GetHostTag() == V2::LIST_ITEM_GROUP_ETS_TAG; PredictBuildV2() local [all...] |
H A D | list_lanes_layout_algorithm.h | 71 bool CheckCurRowMeasureFinished(LayoutWrapper* layoutWrapper, int32_t curIndex, bool isGroup);
|
H A D | list_height_offset_calculator.h | 126 if (!itor->second.isGroup) { in GetLazyForEachIndexAverageHeight() 163 while (itor != itemPosition_.end() && itor->second.isGroup) { in CalculateOffset()
|
H A D | list_layout_algorithm.h | 48 bool isGroup; member 472 float& startPos, bool isGroup, bool forwardLayout);
|
H A D | list_pattern.cpp | 708 if (startIndex_ == 0 && itemPosition_.begin()->second.isGroup) { in GetListItemGroupEdge() 712 if (endIndex_ == maxListItemIndex_ && itemPosition_.rbegin()->second.isGroup) { in GetListItemGroupEdge() 1537 if (iter->second.isGroup) { 2531 DumpLog::GetInstance().AddDesc("isGroup:" + std::to_string(item.second.isGroup)); 2642 if (count < 0 && lanes_ > 1 && !(itemPosition_.begin()->second.isGroup)) { 2664 child->Put("isGroup", std::to_string(item.second.isGroup).c_str());
|
/foundation/window/window_manager/dmserver/src/ |
H A D | display_dumper.cpp | 227 std::string isGroup = screen->isScreenGroup_ ? "true" : "false"; in DumpSpecifiedScreenInfo() local 234 oss << "IsGroup: " << isGroup << std::endl; in DumpSpecifiedScreenInfo() 337 std::string isGroup = screen->isScreenGroup_ ? "true" : "false"; in GetScreenInfo() local 344 << std::left << std::setw(W_GROUP_TYPE) << isGroup in GetScreenInfo()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_test_ng_for_property_config.cpp | 615 bool isGroup = true; in HWTEST_F() local 617 ViewAbstract::SetFocusScopeId(focusScopeId, isGroup, true); in HWTEST_F() 676 bool isGroup = true; in HWTEST_F() local 678 ViewAbstract::SetFocusScopeId(AceType::RawPtr(frameNode), focusScopeId, isGroup, true); in HWTEST_F() local
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.h | 747 static void SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut); 749 static void SetFocusScopeId(FrameNode* frameNode, const std::string& focusScopeId, bool isGroup,
|
H A D | view_abstract_model.h | 332 virtual void SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut) {} in SetFocusScopeId() argument
|
H A D | view_abstract_model_ng.h | 1434 void SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut) override 1436 ViewAbstract::SetFocusScopeId(focusScopeId, isGroup, arrowKeyStepOut);
|
H A D | view_abstract.cpp | 4916 void ViewAbstract::SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut) in SetFocusScopeId() argument 4920 focusHub->SetFocusScopeId(focusScopeId, isGroup, arrowKeyStepOut); in SetFocusScopeId() 4930 void ViewAbstract::SetFocusScopeId(FrameNode* frameNode, const std::string& focusScopeId, bool isGroup, in SetFocusScopeId() argument 4936 focusHub->SetFocusScopeId(focusScopeId, isGroup, arrowKeyStepOut); in SetFocusScopeId()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | focus_hub.cpp | 2427 void FocusHub::SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut) 2448 isGroup_ = isGroup; 2455 isGroup_ = isGroup;
|
H A D | focus_hub.h | 1013 void SetFocusScopeId(const std::string& focusScopeId, bool isGroup, bool arrowKeyStepOut = true);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 5846 void SetFocusScopeId(ArkUINodeHandle node, ArkUI_CharPtr id, ArkUI_Bool isGroup, ArkUI_Bool arrowKeyStepOut) in SetFocusScopeId() argument 5851 ViewAbstract::SetFocusScopeId(frameNode, idStr, isGroup, arrowKeyStepOut); in SetFocusScopeId() 5859 bool isGroup = false; in ResetFocusScopeId() local 5861 ViewAbstract::SetFocusScopeId(frameNode, id, isGroup, arrowKeyStepOut); in ResetFocusScopeId()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 2897 getUINativeModule().common.setFocusScopeId(node, this.value.id, this.value.isGroup, this.value.arrowStepOut); 4276 focusScopeId(id, isGroup, arrowStepOut) { 4281 if (typeof isGroup === 'boolean') { 4282 arkFocusScopeId.isGroup = isGroup; 16304 this.isGroup = undefined; 16308 return ((this.id === another.id) && (this.isGroup === another.isGroup) &&
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_common_bridge.cpp | 7716 bool isGroup = false; in SetFocusScopeId() local 7718 isGroup = isGroupArg->ToBoolean(vm)->Value(); in SetFocusScopeId() 7724 GetArkUINodeModifiers()->getCommonModifier()->setFocusScopeId(nativeNode, id.c_str(), isGroup, arrowKeyStepOut); in SetFocusScopeId()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 10765 bool isGroup = false; in JsFocusScopeId() local 10768 isGroup = info[1]->ToBoolean(); in JsFocusScopeId() 10775 ViewAbstractModel::GetInstance()->SetFocusScopeId(focusScopeId, isGroup, arrowKeyStepOut); in JsFocusScopeId()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 455 void (*setFocusScopeId)(ArkUINodeHandle node, ArkUI_CharPtr id, ArkUI_Bool isGroup, ArkUI_Bool arrowKeyStepOut);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 1958 void (*setFocusScopeId)(ArkUINodeHandle node, ArkUI_CharPtr id, ArkUI_Bool isGroup, ArkUI_Bool arrowKeyStepOut);
|