Home
last modified time | relevance | path

Searched refs:nStart (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Drepeat_virtual_scroll_node.cpp152 int32_t nStart = start - cacheStart; in CheckActiveRange() local
157 nStart = std::min(nStart, signed_totalCount); in CheckActiveRange()
159 if (nStart <= nEnd) { // overlapped in CheckActiveRange()
160 nStart = signed_totalCount / divider + 1; in CheckActiveRange()
164 if (nStart >= signed_totalCount || nEnd < 0) { in CheckActiveRange()
165 nStart = 0; in CheckActiveRange()
168 nStart = std::max(nStart, 0); in CheckActiveRange()
170 nEnd = std::min(std::max(nEnd, nStart), signed_totalCount - 1); in CheckActiveRange()
176 static_cast<int32_t>(GetId()), start, end, cacheStart, cacheEnd, nStart, nEnd); in CheckActiveRange()
179 caches_.SetLastActiveRange(static_cast<uint32_t>(nStart), static_cast<uint32_t>(nEnd)); in CheckActiveRange()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-styled-string.md1713 …ng = new StyledString("Paragraph title\nStart of the first paragraph 0123456789 End of the first p…