Home
last modified time | relevance | path

Searched refs:line_breaks (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/ui/accessibility/
Dax_text_utils.cc13 const std::vector<int>& line_breaks, in FindAccessibleTextBoundary() argument
27 for (size_t j = 0; j < line_breaks.size(); ++j) { in FindAccessibleTextBoundary()
28 size_t line_break = line_breaks[j] >= 0 ? line_breaks[j] : 0; in FindAccessibleTextBoundary()
34 for (size_t j = line_breaks.size(); j != 0; --j) { in FindAccessibleTextBoundary()
35 size_t line_break = line_breaks[j - 1] >= 0 ? line_breaks[j - 1] : 0; in FindAccessibleTextBoundary()
Dax_text_utils.h47 const std::vector<int>& line_breaks,
Dax_enums.idl346 line_breaks,
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_cocoa.mm927 const std::vector<int32>& line_breaks =
930 for (int i = 0; i < static_cast<int>(line_breaks.size()); ++i) {
931 if (line_breaks[i] > selStart)
934 return [NSNumber numberWithInt:static_cast<int>(line_breaks.size())];
955 const std::vector<int32>& line_breaks =
971 for (int i = 0; i < static_cast<int>(line_breaks.size()); ++i) {
972 if (line_breaks[i] > index)
975 return [NSNumber numberWithInt:static_cast<int>(line_breaks.size())];
981 int line_count = static_cast<int>(line_breaks.size()) + 1;
984 int start = line_index > 0 ? line_breaks[line_index - 1] : 0;
[all …]
Dbrowser_accessibility_win_unittest.cc331 std::vector<int32> line_breaks; in TEST_F() local
332 line_breaks.push_back(15); in TEST_F()
334 ui::AX_ATTR_LINE_BREAKS, line_breaks); in TEST_F()
Dbrowser_accessibility_win.cc3299 const std::vector<int32>& line_breaks = GetIntListAttribute( in FindBoundary() local
3302 text, line_breaks, boundary, start_offset, direction); in FindBoundary()
/external/chromium_org/content/renderer/accessibility/
Dblink_ax_tree_source.cc341 std::vector<int32> line_breaks; in SerializeNode() local
342 line_breaks.reserve(src_line_breaks.size()); in SerializeNode()
344 line_breaks.push_back(src_line_breaks[i]); in SerializeNode()
345 dst->AddIntListAttribute(ui::AX_ATTR_LINE_BREAKS, line_breaks); in SerializeNode()
/external/chromium_org/content/shell/renderer/test_runner/
Dweb_ax_object_proxy.cc825 blink::WebVector<int> line_breaks; in LineForIndex() local
826 accessibility_object_.lineBreaks(line_breaks); in LineForIndex()
828 int vector_size = static_cast<int>(line_breaks.size()); in LineForIndex()
829 while (line < vector_size && line_breaks[line] <= index) in LineForIndex()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win.cc1482 std::vector<int32> line_breaks; in FindBoundary() local
1484 text, line_breaks, boundary, start_offset, direction); in FindBoundary()