Searched refs:CURSOR_BACKWARD (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | render_text_unittest.cc | 251 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField() 254 EXPECT_EQ(SelectionModel(Range(select ? 0 : j, j), CURSOR_BACKWARD), in TestVisualCursorMotionInObscuredField() 266 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField() 463 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F() 467 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F() 470 expected.push_back(SelectionModel(0, CURSOR_BACKWARD)); in TEST_F() 471 expected.push_back(SelectionModel(1, CURSOR_BACKWARD)); in TEST_F() 473 expected.push_back(SelectionModel(4, CURSOR_BACKWARD)); in TEST_F() 482 expected.push_back(SelectionModel(0, CURSOR_BACKWARD)); in TEST_F() 491 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F() [all …]
|
D | selection_model.cc | 14 caret_affinity_(CURSOR_BACKWARD) {} in SelectionModel() 36 const bool backward = caret_affinity() == CURSOR_BACKWARD; in ToString()
|
D | render_text_pango.cc | 120 (trailing > 0) ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition() 165 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel() 169 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel() 494 return SelectionModel(caret, CURSOR_BACKWARD); in FirstSelectionModelInsideRun() 500 LayoutIndexToTextIndex(item->offset + item->length), CURSOR_BACKWARD); in LastSelectionModelInsideRun()
|
D | selection_model.h | 28 CURSOR_BACKWARD, enumerator
|
D | render_text.cc | 500 (sel.is_reversed() || sel.is_empty()) ? CURSOR_FORWARD : CURSOR_BACKWARD; in SelectRange() 755 if (caret_pos == (caret_affinity == CURSOR_BACKWARD ? 0 : text().length())) { in GetCursorBounds() 762 caret_pos : IndexOfAdjacentGrapheme(caret_pos, CURSOR_BACKWARD); in GetCursorBounds() 765 x = (caret_affinity == CURSOR_BACKWARD) ? xspan.end() : xspan.start(); in GetCursorBounds() 808 sel.is_reversed() ? CURSOR_BACKWARD : CURSOR_FORWARD); in GetSelectionModelForSelectionStart() 865 return SelectionModel(0, CURSOR_BACKWARD); in EdgeSelectionModel() 1073 size_t adjacent = (caret_affinity == CURSOR_BACKWARD) ? in RangeContainsCaret() 1083 (cursor == 0) ? CURSOR_FORWARD : CURSOR_BACKWARD)); in MoveCursorTo()
|
D | render_text_win.cc | 552 return SelectionModel(cursor, trailing ? CURSOR_BACKWARD : CURSOR_FORWARD); in FindCursorPosition() 596 return SelectionModel(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel() 600 caret = IndexOfAdjacentGrapheme(caret, CURSOR_BACKWARD); in AdjacentCharSelectionModel() 1264 return SelectionModel(position, CURSOR_BACKWARD); in FirstSelectionModelInsideRun() 1270 position = IndexOfAdjacentGrapheme(position, CURSOR_BACKWARD); in LastSelectionModelInsideRun()
|
/external/chromium_org/ui/views/touchui/ |
D | touch_selection_controller_impl_unittest.cc | 236 gfx::SelectionModel(3, gfx::CURSOR_BACKWARD)); in TEST_F()
|
/external/chromium_org/ui/views/controls/textfield/ |
D | native_textfield_views_unittest.cc | 1586 sel = gfx::SelectionModel(1, gfx::CURSOR_BACKWARD); in TEST_F() 1594 sel = gfx::SelectionModel(2, gfx::CURSOR_BACKWARD); in TEST_F() 1596 sel = gfx::SelectionModel(4, gfx::CURSOR_BACKWARD); in TEST_F() 1600 sel = gfx::SelectionModel(3, gfx::CURSOR_BACKWARD); in TEST_F()
|
D | native_textfield_views.cc | 1009 text_index, gfx::CURSOR_BACKWARD); in GetCompositionCharacterBounds() 1013 const gfx::SelectionModel caret(text_index, gfx::CURSOR_BACKWARD); in GetCompositionCharacterBounds()
|
D | textfield_views_model_unittest.cc | 787 gfx::CURSOR_BACKWARD)); in TEST_F() 795 gfx::CURSOR_BACKWARD)); in TEST_F() 812 model.SelectSelectionModel(gfx::SelectionModel(1000, gfx::CURSOR_BACKWARD)); in TEST_F()
|