Home
last modified time | relevance | path

Searched refs:wTextForAILength (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp188 int32_t wTextForAILength = static_cast<int32_t>(wTextForAI.length()); in UpdateParagraphForAISpan() local
197 if (preEnd >= wTextForAILength) { in UpdateParagraphForAISpan()
215 if (preEnd < wTextForAILength) { in UpdateParagraphForAISpan()
217 dragSpanPosition.spanEnd = wTextForAILength; in UpdateParagraphForAISpan()
254 int32_t wTextForAILength = static_cast<int32_t>(wTextForAI.length()); in StringOutBoundProtection() local
255 if (position >= wTextForAILength || length > wTextForAILength - position) { in StringOutBoundProtection()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Ddata_detector_adapter.cpp349 auto wTextForAILength = static_cast<int32_t>(wTextForAI.length()); in GetDetectDelayTask() local
352 wTextForAI.substr(startPos, std::min(AI_TEXT_MAX_LENGTH, wTextForAILength - startPos))); in GetDetectDelayTask()
356 aiSpanMapIt->first < std::min(wTextForAILength, startPos + AI_TEXT_MAX_LENGTH - AI_TEXT_GAP)) { in GetDetectDelayTask()
360 std::min(static_cast<int32_t>(wAIContent.length()), wTextForAILength - aiSpanMapIt->first)))) { in GetDetectDelayTask()
376 } while (startPos + AI_TEXT_GAP < wTextForAILength); in GetDetectDelayTask()

Completed in 3 milliseconds