Searched refs:LayoutIndexToTextIndex (Results 1 – 8 of 8) sorted by relevance
119 return SelectionModel(LayoutIndexToTextIndex(caret_pos), in FindCursorPosition()129 const int start = LayoutIndexToTextIndex(item->offset); in GetFontSpansForTesting()130 const int end = LayoutIndexToTextIndex(item->offset + item->length); in GetFontSpansForTesting()163 if (caret < LayoutIndexToTextIndex(item->offset + item->length)) { in AdjacentCharSelectionModel()168 if (caret > LayoutIndexToTextIndex(item->offset)) { in AdjacentCharSelectionModel()258 size_t RenderTextPango::LayoutIndexToTextIndex(size_t index) const { in LayoutIndexToTextIndex() function in gfx::RenderTextPango493 LayoutIndexToTextIndex(item->offset), CURSOR_FORWARD); in FirstSelectionModelInsideRun()500 LayoutIndexToTextIndex(item->offset + item->length), CURSOR_BACKWARD); in LastSelectionModelInsideRun()506 return LayoutIndexToTextIndex(run->item->offset + in GetGlyphTextIndex()
550 const size_t cursor = LayoutIndexToTextIndex(position + trailing); in FindCursorPosition()561 Range(LayoutIndexToTextIndex(runs_[i]->range.start()), in GetFontSpansForTesting()562 LayoutIndexToTextIndex(runs_[i]->range.end())))); in GetFontSpansForTesting()594 if (caret < LayoutIndexToTextIndex(run->range.end())) { in AdjacentCharSelectionModel()599 if (caret > LayoutIndexToTextIndex(run->range.start())) { in AdjacentCharSelectionModel()724 size_t RenderTextWin::LayoutIndexToTextIndex(size_t index) const { in LayoutIndexToTextIndex() function in gfx::RenderTextWin745 position < LayoutIndexToTextIndex(GetLayoutText().length()) && in IsCursorablePosition()973 style.UpdatePosition(LayoutIndexToTextIndex(run_break)); in ItemizeLogicalText()1262 size_t position = LayoutIndexToTextIndex(run->range.start()); in FirstSelectionModelInsideRun()1269 size_t position = LayoutIndexToTextIndex(run->range.end()); in LastSelectionModelInsideRun()
38 virtual size_t LayoutIndexToTextIndex(size_t index) const OVERRIDE;
46 virtual size_t LayoutIndexToTextIndex(size_t index) const OVERRIDE;
82 virtual size_t LayoutIndexToTextIndex(size_t index) const OVERRIDE;
91 size_t RenderTextMac::LayoutIndexToTextIndex(size_t index) const { in LayoutIndexToTextIndex() function in gfx::RenderTextMac240 style.UpdatePosition(LayoutIndexToTextIndex(end)); in ApplyStyles()
481 virtual size_t LayoutIndexToTextIndex(size_t index) const = 0;
300 EXPECT_EQ(0U, render_text->LayoutIndexToTextIndex(0U)); in TEST_F()301 EXPECT_EQ(2U, render_text->LayoutIndexToTextIndex(1U)); in TEST_F()