Home
last modified time | relevance | path

Searched refs:GetEndIndex (Results 1 – 25 of 90) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_accessibility_test_ng.cpp32 EXPECT_EQ(accessibilityProperty_->GetEndIndex(), -1);
45 EXPECT_EQ(accessibilityProperty_->GetEndIndex(), GetLongArrayValue().size() - 1);
90 EXPECT_EQ(accessibilityProperty_->GetEndIndex(), 8);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.cpp135 str << GetEndIndex(); in ToString()
223 str << GetEndIndex(); in ToString()
291 str << GetEndIndex(); in ToString()
357 str << GetEndIndex(); in ToString()
412 str << GetEndIndex(); in ToString()
501 str << GetEndIndex(); in ToString()
663 str << GetEndIndex(); in ToString()
812 str << GetEndIndex(); in ToString()
848 str << GetEndIndex(); in ToString()
920 str << GetEndIndex(); in ToString()
[all …]
H A Dmutable_span_string.cpp217 auto spanEnd = (*it)->GetEndIndex(); in ProcessSpanBaseList()
302 if (span->GetEndIndex() > start || (span->GetEndIndex() == start && useFrontStyle)) { in UpdateSpansAndSpanMapWithOffsetAfterInsert()
303 span->UpdateEndIndex(span->GetEndIndex() + offset); in UpdateSpansAndSpanMapWithOffsetAfterInsert()
321 if (span->GetStartIndex() <= start - 1 && span->GetEndIndex() > start - 1) { in InsertUseFrontStyle()
490 auto spanItemEnd = (*it)->GetEndIndex(); in ApplyInsertSpanStringToSpanBase()
508 …panItem = spanBase->GetSubSpan(spanBase->GetStartIndex() + start, spanBase->GetEndIndex() + start); in ApplyInsertSpanStringToSpanBase()
563 if (span->GetEndIndex() == start) { in IsInsertAroundSpecialNode()
616 span->UpdateEndIndex(span->GetEndIndex() + length); in InsertStringAroundSpecialNode()
H A Dspan_string.cpp223 auto oldEnd = (*it)->GetEndIndex(); in SplitInterval()
255 return a->GetEndIndex() >= b->GetStartIndex() && a->IsAttributesEqual(b); in CanMerge()
269 (*current)->UpdateEndIndex(std::max((*current)->GetEndIndex(), (*it)->GetEndIndex())); in MergeIntervals()
354 spanItem->interval.second = imageSpan->GetEndIndex(); in MakeImageSpanItem()
364 spanItem->interval.second = customSpan->GetEndIndex(); in MakeCustomSpanItem()
458 auto end = span->GetEndIndex(); in AddSpan()
685 int32_t spanEnd = span->GetEndIndex(); in GetSubSpanList()
726 start = span->GetEndIndex(); in GetSpans()
786 (*spansItr)->GetEndIndex() != (*spansOtherItr)->GetEndIndex() || in operator ==()
835 if (span->GetEndIndex() > start && span->GetStartIndex() != start) { in UpdateSpanBaseWithOffset()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_accessibility_property.cpp41 int32_t ListAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::ListAccessibilityProperty
47 return listPattern->GetEndIndex(); in GetEndIndex()
H A Dlist_layout_algorithm.cpp312 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in BeginLayoutForward()
322 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in BeginLayoutBackward()
406 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in HandleJumpCenter()
447 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in HandleJumpEnd()
665 if (GetEndIndex() == totalItemCount_ - 1) { in UpdateSnapCenterContentOffset()
786 endIndex = std::min(GetEndIndex(), totalItemCount_ - 1); in MeasureList()
840 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in MeasureList()
1229 if (GetStartIndex() <= endIndex && endIndex <= GetEndIndex()) { in FixPredictSnapOffset()
2071 int32_t endIndex = GetEndIndex(); in LayoutCachedItemInEdgeGroup()
2319 endIndex = std::min(GetEndIndex(), endIndex + 1); in FindPredictSnapEndIndexInItemPositions()
[all …]
H A Dlist_item_group_accessibility_property.h33 int32_t GetEndIndex() const override;
H A Dlist_accessibility_property.h40 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_accessibility_property.cpp42 int32_t SwiperIndicatorAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::SwiperIndicatorAccessibilityProperty
48 return swiperAccessibilityProperty->GetEndIndex(); in GetEndIndex()
H A Dswiper_indicator_accessibility_property.h35 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_accessibility_property.cpp42 int32_t WaterFlowAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::WaterFlowAccessibilityProperty
48 return pattern->GetEndIndex(); in GetEndIndex()
H A Dwater_flow_accessibility_property.h40 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_accessibility_property.cpp40 int32_t SwiperAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::SwiperAccessibilityProperty
46 return swiperPattern->TotalCount() < 1 ? -1 : swiperPattern->GetEndIndex(); in GetEndIndex()
H A Dswiper_accessibility_property.h35 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_accessibility_property.cpp61 int32_t TextPickerAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::TextPickerAccessibilityProperty
127 if (GetCurrentIndex() < GetEndIndex()) { in SetSpecificSupportAction()
H A Dtextpicker_accessibility_property.h39 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dspan_string_test_ng.cpp197 EXPECT_EQ(firstFontSpan->GetEndIndex(), 7);
213 EXPECT_EQ(thirdFontSpan->GetEndIndex(), 4);
232 EXPECT_EQ(firstFontSpan->GetEndIndex(), 3);
347 EXPECT_EQ(span->GetEndIndex(), 1);
356 EXPECT_EQ(span0->GetEndIndex(), 1);
361 EXPECT_EQ(span1->GetEndIndex(), 2);
1078 EXPECT_EQ(paraSpan->GetEndIndex(), 1);
1309 EXPECT_EQ(span->GetEndIndex(), 2);
1513 EXPECT_EQ(urlSpan->GetEndIndex(), 0);
1545 EXPECT_EQ(urlSpan->GetEndIndex(), 9);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_accessibility_property.cpp50 int32_t StepperAccessibilityProperty::GetEndIndex() const in GetEndIndex() function in OHOS::Ace::NG::StepperAccessibilityProperty
104 if (GetCurrentIndex() < GetEndIndex()) { in SetSpecificSupportAction()
H A Dstepper_accessibility_property.h35 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_accessibility_property.h38 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_accessibility_property.h40 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_accessibility_property.h46 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_accessibility_property.h42 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_accessibility_property.h46 int32_t GetEndIndex() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_accessibility_property.h39 int32_t GetEndIndex() const override in GetEndIndex() function

1234