Home
last modified time | relevance | path

Searched refs:BreakList (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/gfx/
Dbreak_list.h27 class BreakList {
34 BreakList();
35 explicit BreakList(T value);
55 Range GetRange(const typename BreakList<T>::const_iterator& i) const;
72 BreakList<T>::BreakList() : breaks_(1, Break(0, T())), max_(0) { in BreakList() function
76 BreakList<T>::BreakList(T value) : breaks_(1, Break(0, value)), max_(0) { in BreakList() function
80 void BreakList<T>::SetValue(T value) { in SetValue()
86 void BreakList<T>::ApplyValue(T value, const Range& range) { in ApplyValue()
111 void BreakList<T>::SetMax(size_t max) { in SetMax()
123 typename std::vector<std::pair<size_t, T> >::iterator BreakList<T>::GetBreak( in GetBreak()
[all …]
Drender_text.h91 StyleIterator(const BreakList<SkColor>& colors,
92 const std::vector<BreakList<bool> >& styles);
106 BreakList<SkColor> colors_;
107 std::vector<BreakList<bool> > styles_;
109 BreakList<SkColor>::const_iterator color_;
110 std::vector<BreakList<bool>::const_iterator> style_;
402 const BreakList<SkColor>& colors() const { return colors_; } in colors()
403 const std::vector<BreakList<bool> >& styles() const { return styles_; } in styles()
496 const BreakList<size_t>& GetLineBreaks();
615 BreakList<SkColor> colors_;
[all …]
Dbreak_list_unittest.cc17 BreakList<bool> style_breaks(false); in TEST_F()
23 BreakList<SkColor> color_breaks(SK_ColorRED); in TEST_F()
30 BreakList<bool> breaks(false); in TEST_F()
105 BreakList<bool> breaks(false); in TEST_F()
135 BreakList<bool> breaks(false); in TEST_F()
160 BreakList<bool>::const_iterator it = breaks.GetBreak(cases[i].position); in TEST_F()
Drender_text_win.cc171 const BreakList<size_t>& breaks, in BreakRunAtWidth()
178 BreakList<size_t>::const_iterator word = breaks.GetBreak(start_char); in BreakRunAtWidth()
179 BreakList<size_t>::const_iterator next_word = word + 1; in BreakRunAtWidth()
323 const BreakList<size_t>* words, in LineBreaker()
475 const BreakList<size_t>* const words_;
853 for (BreakList<SkColor>::const_iterator it = in DrawVisualText()
921 BreakList<SkColor> empty_colors; in ItemizeLogicalText()
Drender_text_pango.cc346 BreakList<bool>::const_iterator bold = styles()[BOLD].breaks().begin(); in SetupPangoAttributes()
347 BreakList<bool>::const_iterator italic = styles()[ITALIC].breaks().begin(); in SetupPangoAttributes()
Drender_text.cc308 StyleIterator::StyleIterator(const BreakList<SkColor>& colors, in StyleIterator()
309 const std::vector<BreakList<bool> >& styles) in StyleIterator()
878 const BreakList<size_t>& RenderText::GetLineBreaks() { in GetLineBreaks()