Searched refs:remainingOffset (Results 1 – 2 of 2) sorted by relevance
811 unsigned remainingOffset = findOption == FindStart ? start : end; in findWordBoundary() local814 if (remainingOffset <= lengthList[i]) in findWordBoundary()815 …ist[i] == startPosition.anchorNode()) ? remainingOffset + startPosition.offsetInContainerNode() : … in findWordBoundary()816 remainingOffset -= lengthList[i]; in findWordBoundary()
2439 var remainingOffset = scrollOffset;2450 if (remainingOffset <= (row - lastAnimatingRow) * YearListCell.Height) {2451 return lastAnimatingRow + Math.floor(remainingOffset / YearListCell.Height);2453 remainingOffset -= (row - lastAnimatingRow) * YearListCell.Height;2454 if (remainingOffset <= (rowHeight - YearListCell.Height))2456 remainingOffset -= rowHeight - YearListCell.Height;2459 return lastAnimatingRow + Math.floor(remainingOffset / YearListCell.Height);