Searched refs:find_closest_x (Results 1 – 1 of 1) sorted by relevance
/external/skia/modules/skplaintexteditor/src/ |
D | editor.cpp | 263 static size_t find_closest_x(const std::vector<SkRect>& bounds, float x, size_t b, size_t e) { in find_closest_x() function 352 pos.fTextByteIndex = find_closest_x(fLines[pos.fParagraphIndex].fCursorPos, x, in move() 360 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, in move() 364 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, 0, in move() 380 pos.fTextByteIndex = find_closest_x(bounds, x, list[f], in move() 387 pos.fTextByteIndex = find_closest_x(bounds, x, 0, in move()
|