HomeSort by relevance Sort by last modified time
    Searched refs:render_text_ (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/ui/views/examples/
multiline_example.cc 51 RenderTextView() : render_text_(gfx::RenderText::CreateInstance()) {
52 render_text_->SetHorizontalAlignment(gfx::ALIGN_CENTER);
53 render_text_->SetColor(SK_ColorBLACK);
54 render_text_->SetMultiline(true);
60 render_text_->Draw(canvas);
66 render_text_->SetMultiline(false);
67 gfx::Size size(render_text_->GetContentWidth(),
68 render_text_->GetStringSize().height());
70 render_text_->SetMultiline(true);
78 const gfx::Rect old_rect = render_text_->display_rect()
113 scoped_ptr<gfx::RenderText> render_text_; member in class:views::examples::MultilineExample::RenderTextView
    [all...]
  /external/chromium_org/ui/views/controls/textfield/
textfield_model.cc 281 render_text_(gfx::RenderText::CreateInstance()),
307 render_text_->SetCursorPosition(new_cursor);
318 render_text_->GetVisualDirectionOfLogicalEnd(),
321 render_text_->SetCursorPosition(save);
337 size_t next_grapheme_index = render_text_->IndexOfAdjacentGrapheme(
367 return render_text_->cursor_position();
375 render_text_->MoveCursor(break_type, direction, select);
383 gfx::Range range(render_text_->selection().start(), cursor.caret_pos());
385 return render_text_->SelectRange(range);
386 return render_text_->MoveCursorTo
    [all...]
textfield_model.h 57 const base::string16& text() const { return render_text_->text(); }
65 gfx::RenderText* render_text() { return render_text_.get(); }
134 // render_text_'s selection model is set to |sel|.
268 scoped_ptr<gfx::RenderText> render_text_; member in class:views::TextfieldModel

Completed in 558 milliseconds