Home
last modified time | relevance | path

Searched refs:ALIGN_RIGHT (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/ui/views/examples/
Dlabel_example.cc53 label->SetHorizontalAlignment(gfx::ALIGN_RIGHT); in CreateExampleView()
57 label->SetHorizontalAlignment(gfx::ALIGN_RIGHT); in CreateExampleView()
Dbutton_example.cc113 alignment_ = TextButton::ALIGN_RIGHT; in TextButtonPressed()
115 case TextButton::ALIGN_RIGHT: in TextButtonPressed()
/external/chromium_org/ui/views/controls/button/
Dimage_button.cc153 if (h_alignment == ALIGN_RIGHT) in ComputeImagePaintPosition()
156 h_alignment = ALIGN_RIGHT; in ComputeImagePaintPosition()
161 else if (h_alignment == ALIGN_RIGHT) in ComputeImagePaintPosition()
Dlabel_button.cc236 gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; in Layout()
267 } else if (adjusted_alignment == gfx::ALIGN_RIGHT) { in Layout()
272 if (!image_size.IsEmpty() && adjusted_alignment != gfx::ALIGN_RIGHT) in Layout()
Dlabel_button_unittest.cc148 button.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST_F()
150 EXPECT_EQ(gfx::ALIGN_RIGHT, button.GetHorizontalAlignment()); in TEST_F()
Dimage_button.h31 ALIGN_RIGHT enumerator
Dtext_button.cc404 case ALIGN_RIGHT: in ComputeCanvasStringFlags()
448 case ALIGN_RIGHT: in GetContentBounds()
635 set_alignment(ALIGN_RIGHT); in PaintButton()
Dimage_button_unittest.cc138 button.SetImageAlignment(ImageButton::ALIGN_RIGHT, in TEST_F()
Dtext_button.h117 ALIGN_RIGHT enumerator
/external/chromium_org/ui/views/controls/
Dlabel_unittest.cc74 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
75 EXPECT_EQ(reverse_alignment ? gfx::ALIGN_LEFT : gfx::ALIGN_RIGHT, in TEST()
78 EXPECT_EQ(reverse_alignment ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT, in TEST()
87 EXPECT_EQ(rtl ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT, in TEST()
404 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
465 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
534 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
594 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
660 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
722 label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); in TEST()
[all …]
Dlabel.cc110 (alignment == gfx::ALIGN_LEFT || alignment == gfx::ALIGN_RIGHT)) { in SetHorizontalAlignment()
112 gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; in SetHorizontalAlignment()
126 return dir == base::i18n::RIGHT_TO_LEFT ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; in GetHorizontalAlignment()
424 case gfx::ALIGN_RIGHT: in GetTextBounds()
462 case gfx::ALIGN_RIGHT: in ComputeDrawStringFlags()
/external/chromium_org/ui/gfx/
Dtext_constants.h22 ALIGN_RIGHT, // Align the text's right edge with that of its display area. enumerator
Drender_text.cc877 : horizontal_alignment_(base::i18n::IsRTL() ? ALIGN_RIGHT : ALIGN_LEFT), in RenderText()
1092 if (horizontal_alignment_ != ALIGN_RIGHT) { in ApplyFadeEffects()
1307 const int negate_rtl = horizontal_alignment_ == ALIGN_RIGHT ? -1 : 1; in UpdateCachedBoundsAndOffset()
/external/fio/
Dghelpers.h29 #define ALIGN_RIGHT 2 macro
Dghelpers.c112 (flags & ALIGN_RIGHT) ? PANGO_ALIGN_RIGHT : in tree_view_column()
/external/chromium_org/chrome/browser/themes/
Dtheme_properties.h63 ALIGN_RIGHT = 1 << 2, enumerator
Dtheme_properties_unittest.cc31 EXPECT_EQ(ThemeProperties::ALIGN_RIGHT, alignment); in TEST_F()
Dtheme_properties.cc150 alignment_mask |= ALIGN_RIGHT; in StringToAlignment()
182 else if (alignment & ALIGN_RIGHT) in AlignmentToString()
/external/chromium_org/chrome/browser/ui/
Dntp_background_util.cc37 if (alignment & ThemeProperties::ALIGN_RIGHT) { in PaintThemeBackground()
/external/chromium_org/ash/ime/
Dcandidate_window_view.cc164 auxiliary_text_ = new InformationTextArea(gfx::ALIGN_RIGHT, 0); in CandidateWindowView()
248 auxiliary_text_->SetAlignment(gfx::ALIGN_RIGHT); in UpdateCandidates()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dpassword_generation_popup_view_views.cc46 suggestion_label_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); in PasswordRow()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_result_view.cc307 is_match_contents_rtl ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT); in DrawRenderText()
322 is_match_contents_rtl ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT); in DrawRenderText()
/external/chromium_org/chrome/browser/ui/views/passwords/
Dmanage_password_item_view.cc170 undo_link_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); in UndoView()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dntp_resource_cache.cc138 else if (alignment & ThemeProperties::ALIGN_RIGHT) in GetNewTabBackgroundCSS()
526 (alignment & ThemeProperties::ALIGN_RIGHT) ? "right" : ""); in CreateNewTabHTML()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Dsimple_web_view_dialog.cc175 back_->SetImageAlignment(views::ImageButton::ALIGN_RIGHT, in Init()

12