/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_lineTypography_test.cpp | 148 size_t startIndex = 0;
in HWTEST_F() local 149 auto count = OH_Drawing_LineTypographyGetLineBreak(lineTypography, startIndex, maxWidth);
in HWTEST_F() 170 size_t startIndex = 0;
in HWTEST_F() local 171 auto count = OH_Drawing_LineTypographyGetLineBreak(lineTypography, startIndex, maxWidth);
in HWTEST_F() 191 size_t startIndex = strlen(text) - 1;
in HWTEST_F() local 192 auto count = OH_Drawing_LineTypographyGetLineBreak(lineTypography, startIndex, maxWidth);
in HWTEST_F() 195 startIndex = 0;
in HWTEST_F() 196 count = OH_Drawing_LineTypographyGetLineBreak(lineTypography, startIndex, maxWidth);
in HWTEST_F() 216 size_t startIndex = strlen(text);
in HWTEST_F() local 217 auto count = OH_Drawing_LineTypographyGetLineBreak(lineTypography, startIndex, maxWidt in HWTEST_F() 240 size_t startIndex = 0; HWTEST_F() local 263 size_t startIndex = 0; HWTEST_F() local 286 size_t startIndex = strlen(text) - 1; HWTEST_F() local 316 size_t startIndex = strlen(text); HWTEST_F() local 345 size_t startIndex = 0; HWTEST_F() local [all...] |
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | spannable_string.h | 81 void SetTextStyle(TextStyle textStyle, uint16_t startIndex, uint16_t endIndex); 83 void SetFontSize(uint8_t inputFontSize, uint16_t startIndex, uint16_t endIndex); 85 void SetFontId(uint16_t inputFontId, uint16_t startIndex, uint16_t endIndex); 89 void SetBackgroundColor(ColorType inputBackgroundColor, uint16_t startIndex, uint16_t endIndex); 91 void SetForegroundColor(ColorType inputForegroundColor, uint16_t startIndex, uint16_t endIndex); 93 void SetLineBackgroundColor(ColorType inputLineBackgroundColor, uint16_t startIndex, uint16_t endIndex); 114 bool SetSpannable(bool value, uint16_t startIndex, uint16_t endIndex); 115 void SetFontHeight(int16_t inputHeight, uint16_t startIndex, uint16_t endIndex); 120 bool EqualInsert(uint16_t& startIndex, in EqualInsert() argument 127 if ((startIndex in EqualInsert() 161 UnequalInsert(uint16_t& startIndex, uint16_t& endIndex, uint16_t tempStart, uint16_t tempEnd, ListNode<SpanType>** tempSpan, List<SpanType>& tempList, SpanType tempLeft, SpanType tempRight) UnequalInsert() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | content_controller.cpp | 40 std::string ContentController::PreprocessString(int32_t startIndex, int32_t endIndex, const std::string& value) in PreprocessString() argument 51 auto selectValue = GetSelectedValue(startIndex, endIndex); in PreprocessString() 59 GetSelectedValue(startIndex, endIndex).find(specialChar) == std::string::npos) { in PreprocessString() 70 auto delLength = static_cast<uint32_t>(std::abs(endIndex - startIndex)); in PreprocessString() 82 bool ContentController::ReplaceSelectedValue(int32_t startIndex, int32_t endIndex, const std::string& value) in ReplaceSelectedValue() argument 84 FormatIndex(startIndex, endIndex); in ReplaceSelectedValue() 85 auto tmp = PreprocessString(startIndex, endIndex, value); in ReplaceSelectedValue() 88 content_ = StringUtils::ToString(wideText.substr(0, startIndex)) + tmp + in ReplaceSelectedValue() 100 std::string ContentController::GetSelectedValue(int32_t startIndex, int32_t endIndex) in GetSelectedValue() argument 102 FormatIndex(startIndex, endInde in GetSelectedValue() 112 FormatIndex(int32_t& startIndex, int32_t& endIndex) FormatIndex() argument 351 erase(int32_t startIndex, int32_t length) erase() argument 357 Delete(int32_t startIndex, int32_t length, bool isBackward) Delete() argument 377 GetDeleteLength(int32_t startIndex, int32_t length, bool isBackward) GetDeleteLength() argument 385 int32_t startIndex = index - EMOJI_RANGE_LEFT; IsIndexBeforeOrInEmoji() local 402 GetSelectedLimitValue(int32_t& index, int32_t& startIndex) GetSelectedLimitValue() argument [all...] |
H A D | content_controller.h | 36 bool ReplaceSelectedValue(int32_t startIndex, int32_t endIndex, const std::string& value); 37 std::string GetSelectedValue(int32_t startIndex, int32_t endIndex); 40 void erase(int32_t startIndex, int32_t length); 41 int32_t Delete(int32_t startIndex, int32_t length, bool isBackward); 42 int32_t GetDeleteLength(int32_t startIndex, int32_t length, bool isBackward); 46 std::string GetSelectedLimitValue(int32_t& index, int32_t& startIndex); 92 void FormatIndex(int32_t& startIndex, int32_t& endIndex); 94 std::string PreprocessString(int32_t startIndex, int32_t endIndex, const std::string& value);
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | spannable_string.cpp | 35 void SpannableString::SetTextStyle(TextStyle inputTextStyle, uint16_t startIndex, uint16_t endIndex) in SetTextStyle() argument 37 StyleSpan* style = new StyleSpan(inputTextStyle, startIndex, endIndex); in SetTextStyle() 39 SetSpannable(true, startIndex, endIndex); in SetTextStyle() 166 bool SpannableString::SetSpannable(bool value, uint16_t startIndex, uint16_t endIndex) in SetSpannable() argument 177 for (uint16_t i = startIndex; ((i < endIndex) && (i < isSpannableLen_)); i++) { in SetSpannable() 197 void SpannableString::SetFontSize(uint8_t inputFontSize, uint16_t startIndex, uint16_t endIndex) in SetFontSize() argument 201 inputSpan.start = startIndex; in SetFontSize() 205 SetSpannable(true, startIndex, endIndex); in SetFontSize() 215 needAddNode = EqualInsert<FontSizeSpan>(startIndex, endIndex, tempStart, tempEnd, &tempSpan, sizeList_); in SetFontSize() 219 tempLeft.end = startIndex; in SetFontSize() 256 SetFontId(uint16_t inputFontId, uint16_t startIndex, uint16_t endIndex) SetFontId() argument 314 SetFontHeight(int16_t inputHeight, uint16_t startIndex, uint16_t endIndex) SetFontHeight() argument 383 SetBackgroundColor(ColorType inputBackgroundColor, uint16_t startIndex, uint16_t endIndex) SetBackgroundColor() argument 446 SetForegroundColor(ColorType inputForegroundColor, uint16_t startIndex, uint16_t endIndex) SetForegroundColor() argument 508 SetLineBackgroundColor(ColorType inputLineBackgroundColor, uint16_t startIndex, uint16_t endIndex) SetLineBackgroundColor() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/ |
H A D | render_data_store_default_acceleration_structure_staging.cpp | 68 const uint32_t startIndex = static_cast<uint32_t>(geoms.size()); in BuildAccelerationStructure() local 70 geoms.reserve(startIndex + count); in BuildAccelerationStructure() 77 startIndex, in BuildAccelerationStructure() 93 const uint32_t startIndex = static_cast<uint32_t>(geoms.size()); in BuildAccelerationStructure() local 95 geoms.reserve(startIndex + count); in BuildAccelerationStructure() 102 startIndex, in BuildAccelerationStructure() 118 const uint32_t startIndex = static_cast<uint32_t>(geoms.size()); in BuildAccelerationStructure() local 120 geoms.reserve(startIndex + count); in BuildAccelerationStructure() 127 startIndex, in BuildAccelerationStructure() 143 const uint32_t startIndex in CopyAccelerationStructureInstanceData() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_lineTypography.cpp | 47 size_t OH_Drawing_LineTypographyGetLineBreak(OH_Drawing_LineTypography *lineTypograph, size_t startIndex, double width) in OH_Drawing_LineTypographyGetLineBreak() argument 51 if (startIndex >= limitSize || width <= 0) { in OH_Drawing_LineTypographyGetLineBreak() 54 return innerlineTypography->GetLineBreak(startIndex, width); in OH_Drawing_LineTypographyGetLineBreak() 58 size_t startIndex, size_t count) in OH_Drawing_LineTypographyCreateLine() 62 if (startIndex >= limitSize || count + startIndex > limitSize) { in OH_Drawing_LineTypographyCreateLine() 72 auto line = spLineFetcher->CreateLine(startIndex, count); in OH_Drawing_LineTypographyCreateLine() 57 OH_Drawing_LineTypographyCreateLine(OH_Drawing_LineTypography *lineTypograph, size_t startIndex, size_t count) OH_Drawing_LineTypographyCreateLine() argument
|
/foundation/arkui/ace_engine/frameworks/core/text/ |
H A D | text_emoji_processor.cpp | 51 int32_t TextEmojiProcessor::Delete(int32_t startIndex, int32_t length, std::string& content, bool isBackward) in Delete() argument 54 // startIndex from selectController_->GetCaretIndex() is an utf-16 index in Delete() 59 if (startIndex == static_cast<int32_t>(u16.length())) { in Delete() 62 remainString = u16.substr(startIndex, u16.length() - startIndex); in Delete() 63 std::u16string temp = u16.substr(0, startIndex); in Delete() 76 if (startIndex == 0) { in Delete() 79 remainString = u16.substr(0, startIndex); in Delete() 80 std::u16string temp = u16.substr(startIndex, u16.length() - startIndex); in Delete() 98 IsIndexInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexInEmoji() argument 137 GetIndexRelationToEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) GetIndexRelationToEmoji() argument 209 IsIndexBeforeOrInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexBeforeOrInEmoji() argument 226 IsIndexAfterOrInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexAfterOrInEmoji() argument 257 int32_t startIndex = index; CalSubWstringRange() local 310 GetEmojiLengthBackward(std::u32string& u32Content, int32_t& startIndex, const std::u16string& u16Content) GetEmojiLengthBackward() argument 332 GetEmojiLengthU16Forward(std::u32string& u32Content, int32_t& startIndex, const std::u16string& u16Content) GetEmojiLengthU16Forward() argument 339 GetEmojiLengthForward(std::u32string& u32Content, int32_t& startIndex, const std::u16string& u16Content) GetEmojiLengthForward() argument [all...] |
H A D | text_emoji_processor.h | 25 int startIndex; member 33 * Delete characters from the content string according to the startIndex and length. 34 * startIndex: The UTF-16 start index. 37 * For backward at end, the startIndex is 5. For forward at start, the startIndex is 0. 45 static int32_t Delete(int32_t startIndex, int32_t length, std::string& content, bool isBackward); 53 static bool IsIndexInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex); 55 const std::string& content, int32_t& startIndex, int32_t& endIndex); 59 int32_t& startIndex, int32_t& endIndex); 61 int32_t& startIndex, int32_ [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | line_typography.cpp | 28 size_t LineTypography::GetLineBreak(size_t startIndex, double width) const in GetLineBreak() argument 30 return lineFetcher_->GetLineBreak(startIndex, width); in GetLineBreak() 33 std::unique_ptr<TextLineBase> LineTypography::CreateLine(size_t startIndex, size_t count) in CreateLine() argument 35 return std::make_unique<TextLineBaseImpl>(lineFetcher_->CreateLine(startIndex, count)); in CreateLine()
|
H A D | line_typography.h | 28 size_t GetLineBreak(size_t startIndex, double width) const override; 29 std::unique_ptr<TextLineBase> CreateLine(size_t startIndex, size_t count) override;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_line_fetcher_impl.cpp | 25 size_t ParagraphLineFetcherImpl::GetLineBreak(size_t startIndex, SkScalar width) const in GetLineBreak() argument 27 return lineFetcher_->getLineBreak(startIndex, width); in GetLineBreak() 29 std::unique_ptr<TextLineBase> ParagraphLineFetcherImpl::CreateLine(size_t startIndex, size_t count) in CreateLine() argument 31 return std::make_unique<TextLineImpl>(lineFetcher_->createLine(startIndex, count), paints_); in CreateLine()
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/ |
H A D | data_packer.cpp | 157 int32_t startIndex = 0; // The index of buffer that we first use in PeekRangeInternal() local 165 auto curOffsetEnd = mediaOffset_ + GetBufferSize(que_[startIndex]); in PeekRangeInternal() 170 copySize = CopyFirstBuffer(size, startIndex, dstPtr, bufferPtr, bufferOffset); in PeekRangeInternal() 173 EXEC_WHEN_GET(isGet, currentGet_ = Position(startIndex, firstBufferOffset, offset)); in PeekRangeInternal() 177 uint64_t prevOffset; // The media offset of the startIndex buffer start byte in PeekRangeInternal() 178 FALSE_RETURN_V_MSG_E(FindFirstBufferToCopy(offset, startIndex, prevOffset), false, in PeekRangeInternal() 184 copySize = CopyFirstBuffer(size, startIndex, dstPtr, bufferPtr, bufferOffset); in PeekRangeInternal() 188 EXEC_WHEN_GET(isGet, currentGet_ = Position(startIndex, firstBufferOffset, offset)); in PeekRangeInternal() 194 (void)CopyFromSuccessiveBuffer(prevOffset, offsetEnd, startIndex, dstPtr, needCopySize); in PeekRangeInternal() 196 EXEC_WHEN_GET(isGet, currentGet_ = Position(startIndex, firstBufferOffse in PeekRangeInternal() 413 FindFirstBufferToCopy(uint64_t offset, int32_t &startIndex, uint64_t &prevOffset) FindFirstBufferToCopy() argument 450 CopyFromSuccessiveBuffer(uint64_t prevOffset, uint64_t offsetEnd, int32_t startIndex, uint8_t *dstPtr, uint32_t &needCopySize) CopyFromSuccessiveBuffer() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_default_acceleration_structure_staging.cpp | 74 const uint32_t startIndex = geomRef.startIndex; in ExecuteFrame() local 82 (startIndex + count <= static_cast<uint32_t>(triangles.size()))) { in ExecuteFrame() 83 const auto& triRef = triangles[startIndex]; in ExecuteFrame() 90 (startIndex + count <= static_cast<uint32_t>(aabbs.size()))) { in ExecuteFrame() 91 const auto& aabbRef = aabbs[startIndex]; in ExecuteFrame() 96 (startIndex + count <= static_cast<uint32_t>(instances.size()))) { in ExecuteFrame() 97 const auto& instanceRef = instances[startIndex]; in ExecuteFrame() 127 const auto& instanceRef = stagingInstanceData.instances[dataRef.startIndex + idx]; in ExecuteFrameProcessInstanceData()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | list_adapter.cpp | 100 int16_t startIndex = 0; in GenerateListItems() local 110 listItems_[listItemsIndex].startIndex = startIndex; in GenerateListItems() 136 startIndex = startIndex + listItems_[listItemsIndex].itemsCount; in GenerateListItems() 178 if (itemIndex >= listItems_[listItemsIndex].startIndex && in CalculateItemIndex() 179 itemIndex <= (listItems_[listItemsIndex].startIndex + listItems_[listItemsIndex].itemsCount - 1) && in CalculateItemIndex() 241 int16_t startIndex = listItems_[listItemsIndex].startIndex; in GetElement() local 246 JSValue item = jerry_get_property_by_index(getterRetList, index - startIndex); in GetElement() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_pattern.cpp | 200 if (layoutedItemInfo_.has_value() && layoutedItemInfo_.value().startIndex > 0) { in GetEstimateOffset() 206 return height - targetPos.first + layoutedItemInfo_.value().startIndex * averageHeight - spaceWidth_; in GetEstimateOffset() 224 auto itemCount = layoutedItemInfo_.value().endIndex - layoutedItemInfo_.value().startIndex + 1; in GetEstimateHeight() 493 int32_t startIndex = (outOfView || itemPosition_.empty()) ? itemTotalCount_ : itemPosition_.begin()->first; in UpdateCachedIndexBackward() local 494 int32_t startLimit = std::max(startIndex - cacheCount * lanes_, 0); in UpdateCachedIndexBackward() 498 int32_t backwardCachedIndex = std::clamp(backwardCachedIndex_, startLimit, startIndex); in UpdateCachedIndexBackward() 501 if (iter->first >= startLimit && iter->first <= startIndex - 1) { in UpdateCachedIndexBackward() 508 cachedItemPosition_.find(startIndex - 1) == cachedItemPosition_.end()) { in UpdateCachedIndexBackward() 509 backwardCachedIndex = startIndex; in UpdateCachedIndexBackward() 522 int32_t startIndex in UpdateCachedIndexOmni() local 684 CheckDataChangeOutOfStart(int32_t index, int32_t count, int32_t startIndex) CheckDataChangeOutOfStart() argument 712 int32_t startIndex = itemPosition_.begin()->first; NotifyDataChange() local [all...] |
H A D | list_item_group_layout_algorithm.cpp | 342 bool layoutedEntirely = layoutedItemInfo_ && layoutedItemInfo_.value().startIndex <= 0 && in NeedMeasureItem() 433 int32_t startIndex = 0; in MeasureListItem() local 460 startIndex = jumpIndex; in MeasureListItem() 464 startIndex = jumpIndex; in MeasureListItem() 476 startIndex = GetStartIndex(); in MeasureListItem() 477 if (startIndex >= totalItemCount_) { in MeasureListItem() 478 startIndex = totalItemCount_ - 1; in MeasureListItem() 481 GetLanesFloor(startIndex) + headerMainSize_; in MeasureListItem() 489 ModifyReferencePos(GetLanesFloor(startIndex), startPos); in MeasureListItem() 499 startIndex in MeasureListItem() 680 MeasureCenter(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t startIndex) MeasureCenter() argument 702 MeasureAuto(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t startIndex) MeasureAuto() argument 712 MeasureJumpToItemForward(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t startIndex, float startPos) MeasureJumpToItemForward() argument 750 MeasureStart(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t startIndex) MeasureStart() argument 808 CheckJumpForwardForBigOffset(int32_t& startIndex, float& startPos) CheckJumpForwardForBigOffset() argument 869 MeasureForward(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t startIndex, float startPos) MeasureForward() argument 1367 int32_t startIndex = itemPosition_.empty() ? totalItemCount_ : GetStartIndex(); MeasureCacheBackward() local [all...] |
H A D | list_layout_algorithm.cpp | 275 int32_t startIndex = itemPosition_.begin()->first; in GetStartPositionWithChainOffset() local 276 float chainOffset = chainOffsetFunc_ ? chainOffsetFunc_(startIndex) : 0.0f; in GetStartPositionWithChainOffset() 277 if (startIndex == 0) { in GetStartPositionWithChainOffset() 307 void ListLayoutAlgorithm::HandleJumpAuto(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex) in HandleJumpAuto() argument 311 startIndex = GetLanesFloor(layoutWrapper, startIndex); in HandleJumpAuto() 326 } else if (jumpIndex <= startIndex) { in HandleJumpAuto() 434 float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex) in CheckNoNeedJumpListItem() 437 int32_t tempStartIndex = startIndex; in CheckNoNeedJumpListItem() 462 int32_t startIndex, int32_ in CheckNoNeedJumpListItemGroup() 433 CheckNoNeedJumpListItem(LayoutWrapper* layoutWrapper, float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex) CheckNoNeedJumpListItem() argument 461 CheckNoNeedJumpListItemGroup(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos) CheckNoNeedJumpListItemGroup() argument 545 JudgeOutOfScreenScrollAutoType(const RefPtr<LayoutWrapper>& layoutWrapper, int32_t index, const RefPtr<ListLayoutProperty>& layoutProperty, int32_t indexInGroup, int32_t judgeIndex, int32_t startIndex, int32_t endIndex) JudgeOutOfScreenScrollAutoType() argument 569 NoNeedJump(LayoutWrapper* layoutWrapper, float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos) NoNeedJump() argument 682 CheckAndMeasureStartItem(LayoutWrapper* layoutWrapper, int32_t startIndex, float& startPos, bool isGroup, bool forwardLayout) CheckAndMeasureStartItem() argument 718 int32_t startIndex = 0; MeasureList() local 879 LayoutDirectionForTargetIndex(LayoutWrapper* layoutWrapper, int startIndex) LayoutDirectionForTargetIndex() argument 1010 LayoutForward(LayoutWrapper* layoutWrapper, int32_t startIndex, float startPos) LayoutForward() argument 1367 LayoutItem(RefPtr<LayoutWrapper>& wrapper, int32_t index, const ListItemInfo& pos, int32_t& startIndex, float crossSize) LayoutItem() argument 1473 int32_t startIndex = GetStartIndex(); Layout() local 1798 auto startIndex = index; LayoutCachedALine() local 1927 auto startIndex = itemPos.begin()->first; GetLayoutGroupCachedCount() local 1940 int32_t startIndex = (outOfView || itemPos.empty()) ? itemCount : itemPos.begin()->first; GetLayoutGroupCachedCount() local 1977 auto startIndex = curIndex; LayoutCachedForward() local 2016 auto startIndex = curIndex; LayoutCachedBackward() local 2038 int32_t startIndex = GetStartIndex(); LayoutCachedItemInEdgeGroup() local 2381 int32_t startIndex = std::min(GetStartIndex(), totalItemCount_ - 1); GetSnapStartIndexAndPos() local [all...] |
H A D | list_lanes_layout_algorithm.cpp | 363 int32_t ListLanesLayoutAlgorithm::FindLanesStartIndex(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t index) in FindLanesStartIndex() argument 374 for (int32_t idx = index; idx > startIndex; idx--) { in FindLanesStartIndex() 381 if (startIndex == 0) { in FindLanesStartIndex() 417 int32_t startIndex = FindLanesStartIndex(layoutWrapper, index); in GetLanesFloor() local 418 return index - (index - startIndex) % lanes_; in GetLanesFloor() 429 int32_t startIndex = GetLanesFloor(layoutWrapper, index); in GetLanesCeil() local 430 while (startIndex == GetLanesFloor(layoutWrapper, index + 1)) { in GetLanesCeil() 438 std::pair<const int, ListItemInfo>& pos, int32_t startIndex, float crossSize) in LayoutCachedALine() 442 LayoutItem(wrapper, pos.first, pos.second, startIndex, crossSize); in LayoutCachedALine() 485 auto startIndex in LayoutCachedALineForward() local 437 LayoutCachedALine(LayoutWrapper* layoutWrapper, std::pair<const int, ListItemInfo>& pos, int32_t startIndex, float crossSize) LayoutCachedALine() argument 534 auto startIndex = index - cnt + 1; LayoutCachedALineBackward() local 596 auto startIndex = curIndex; LayoutCachedForward() local 652 auto startIndex = curIndex - cnt + 1; LayoutCachedBackward() local [all...] |
H A D | list_layout_algorithm.h | 327 void LayoutForward(LayoutWrapper* layoutWrapper, int32_t startIndex, float startPos); 334 void HandleJumpAuto(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex); 343 int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos); 346 int32_t startIndex, int32_t endIndex, int32_t jumpIndex); 348 bool CheckNoNeedJumpListItemGroup(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex, 390 int32_t startIndex, int32_t endIndex); 451 int32_t& startIndex, float crossSize); 468 LayoutDirection LayoutDirectionForTargetIndex(LayoutWrapper* layoutWrapper, int startIndex); 471 void CheckAndMeasureStartItem(LayoutWrapper* layoutWrapper, int32_t startIndex, 475 const LayoutConstraintF& layoutConstraint, int32_t startIndex, floa [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_layout_wrapper_builder.h | 39 void UpdateIndexRange(int32_t startIndex, int32_t endIndex, const std::list<std::optional<std::string>>& ids) in UpdateIndexRange() argument 42 if ((size != 0) && (size != (endIndex - startIndex + 1))) { in UpdateIndexRange() 43 LOGE("fail to update index range due to ides not match!, %{public}d, %{public}d, %{public}d", startIndex, in UpdateIndexRange() 48 preStartIndex_ = startIndex; in UpdateIndexRange()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | text_trace.h | 70 int startIndex = 0; in CutPrettyFunction() local 76 startIndex = i + 1; in CutPrettyFunction() 81 str = str.substr(startIndex, endIndex - startIndex); in CutPrettyFunction()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_text_lineTypography.h | 77 * @param startIndex Indicates the starting point for the line-break calculations. 79 * @return Returns the count of the characters from startIndex that would cause the line break. 84 size_t startIndex, double width); 91 * @param startIndex Indicates the starting index of the text range. 98 size_t startIndex, size_t count);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph_line_fetcher.h | 28 virtual size_t GetLineBreak(size_t startIndex, SkScalar width) const = 0; 29 virtual std::unique_ptr<TextLineBase> CreateLine(size_t startIndex, size_t count) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | line_typography.h | 26 virtual size_t GetLineBreak(size_t startIndex, double width) const = 0; 27 virtual std::unique_ptr<TextLineBase> CreateLine(size_t startIndex, size_t count) = 0;
|