Home
last modified time | relevance | path

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

/external/skia/modules/skplaintexteditor/src/
Deditor.cpp88 const std::vector<SkRect>& pos = line.fCursorPos; in getPosition()
130 if (cursor.fTextByteIndex < cLine.fCursorPos.size()) { in getLocation()
131 pos = cLine.fCursorPos[cursor.fTextByteIndex]; in getLocation()
345 SkASSERT(pos.fTextByteIndex < fLines[pos.fParagraphIndex].fCursorPos.size()); in move()
346 float x = fLines[pos.fParagraphIndex].fCursorPos[pos.fTextByteIndex].left(); in move()
352 pos.fTextByteIndex = find_closest_x(fLines[pos.fParagraphIndex].fCursorPos, x, in move()
360 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, in move()
362 newLine.fCursorPos.size()); in move()
364 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, 0, in move()
365 newLine.fCursorPos.size()); in move()
[all …]
/external/skia/modules/skplaintexteditor/include/
Deditor.h106 std::vector<SkRect> fCursorPos; member