Lines Matching refs:from
528 // We can use the results from SkShaper but have to do EVERYTHING ELSE again
531 // Nothing changed case: we can reuse the data from the last layout
782 // Extracted from https://en.wikipedia.org/wiki/Whitespace_character
979 // Shift the cluster (shift collected from the previous clusters)
1709 // taken from SkUnicode
1742 // In the first case SkParagraph takes the metrics from the default paragraph style
1743 // In the second case it should take it from the current text style
1819 void ParagraphImpl::updateFontSize(size_t from, size_t to, SkScalar fontSize) {
1821 SkASSERT(from == 0 && to == fText.size());
1843 void ParagraphImpl::updateForegroundPaint(size_t from, size_t to, SkPaint paint) {
1844 SkASSERT(from == 0 && to == fText.size());
1854 void ParagraphImpl::updateBackgroundPaint(size_t from, size_t to, SkPaint paint) {
1855 SkASSERT(from == 0 && to == fText.size());
1885 std::vector<ParagraphPainter::PaintID> ParagraphImpl::updateColor(size_t from, size_t to, SkColor color) {
1887 if (from >= to) {
1891 from = (from < SkToSizeT(fUTF8IndexForUTF16Index.size())) ? fUTF8IndexForUTF16Index[from] : fText.size();
1893 if (from == 0 && to == fText.size()) {
1907 if (from > fRange.start) {