Home
last modified time | relevance | path

Searched refs:alignment_ (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dextension_infobar_gtk.cc49 alignment_(NULL), in ExtensionInfoBarGtk()
103 alignment_ = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); in PlatformSpecificSetOwner()
104 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment_), 0, 1, 0, 0); in PlatformSpecificSetOwner()
105 gtk_box_pack_start(GTK_BOX(hbox()), alignment_, TRUE, TRUE, 0); in PlatformSpecificSetOwner()
110 gtk_widget_reparent(view_->native_view(), alignment_); in PlatformSpecificSetOwner()
112 gtk_container_add(GTK_CONTAINER(alignment_), view_->native_view()); in PlatformSpecificSetOwner()
127 DCHECK(alignment_); in PlatformSpecificHide()
128 gtk_util::RemoveAllChildren(alignment_); in PlatformSpecificHide()
Dextension_infobar_gtk.h74 GtkWidget* alignment_; variable
/external/chromium_org/ash/system/
Dstatus_area_widget_delegate.cc32 alignment_(SHELF_ALIGNMENT_BOTTOM) { in StatusAreaWidgetDelegate()
90 if (alignment_ == SHELF_ALIGNMENT_BOTTOM || in UpdateLayout()
91 alignment_ == SHELF_ALIGNMENT_TOP) { in UpdateLayout()
94 if (alignment_ == SHELF_ALIGNMENT_TOP) in UpdateLayout()
119 if (alignment_ == SHELF_ALIGNMENT_LEFT) in UpdateLayout()
Dstatus_area_widget_delegate.h35 void set_alignment(ShelfAlignment alignment) { alignment_ = alignment; } in set_alignment()
60 ShelfAlignment alignment_; variable
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc61 : alignment_(DOCKED_ALIGNMENT_NONE), in DockedBackgroundWidget()
72 alignment_ = alignment; in SetBackgroundBounds()
102 alignment_ == DOCKED_ALIGNMENT_LEFT ? in OnNativeWidgetPaint()
110 alignment_ == DOCKED_ALIGNMENT_LEFT ? in OnNativeWidgetPaint()
117 alignment_ == DOCKED_ALIGNMENT_LEFT ? in OnNativeWidgetPaint()
120 alignment_ == DOCKED_ALIGNMENT_LEFT ? in OnNativeWidgetPaint()
161 DockedAlignment alignment_; member in ash::internal::DockedBackgroundWidget
375 alignment_(DOCKED_ALIGNMENT_NONE), in DockedWindowLayoutManager()
490 alignment_ != DOCKED_ALIGNMENT_NONE) { in GetAlignmentOfWindow()
492 return alignment_; in GetAlignmentOfWindow()
[all …]
/external/chromium_org/ui/views/examples/
Dbutton_example.cc36 alignment_(TextButton::ALIGN_LEFT), in ButtonExample()
108 switch (alignment_) { in TextButtonPressed()
110 alignment_ = TextButton::ALIGN_CENTER; in TextButtonPressed()
113 alignment_ = TextButton::ALIGN_RIGHT; in TextButtonPressed()
116 alignment_ = TextButton::ALIGN_LEFT; in TextButtonPressed()
119 text_button_->set_alignment(alignment_); in TextButtonPressed()
Dbutton_example.h42 TextButton::TextAlignment alignment_; variable
/external/chromium_org/gpu/command_buffer/client/
Dtransfer_buffer.h30 alignment_(alignment), in AlignedRingBuffer()
46 return (size + alignment_ - 1) & ~(alignment_ - 1); in RoundToAlignment()
49 unsigned int alignment_; variable
138 unsigned int alignment_; variable
Dtransfer_buffer.cc24 alignment_(0), in TransferBuffer()
48 alignment_ = alignment; in Initialize()
92 alignment_, in AllocateRingBuffer()
/external/chromium_org/ui/message_center/views/
Dmessage_popup_collection.cc179 bool top_down = alignment_ & POPUP_ALIGNMENT_TOP; in UpdateWidgets()
215 if (alignment_ & POPUP_ALIGNMENT_LEFT) in UpdateWidgets()
310 if (alignment_ & POPUP_ALIGNMENT_LEFT) in GetToastOriginX()
316 bool top_down = alignment_ & POPUP_ALIGNMENT_TOP; in RepositionWidgets()
324 bounds.set_y(alignment_ & POPUP_ALIGNMENT_TOP ? base in RepositionWidgets()
349 bool top_down = alignment_ & POPUP_ALIGNMENT_TOP; in RepositionWidgetsWithTarget()
391 alignment_ = work_area.y() > screen_bounds.y() ? POPUP_ALIGNMENT_TOP in ComputePopupAlignment()
400 alignment_ = static_cast<PopupAlignment>( in ComputePopupAlignment()
401 alignment_ | in ComputePopupAlignment()
408 bool top_down = alignment_ & POPUP_ALIGNMENT_TOP; in GetBaseLine()
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc137 alignment_ = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); in Init()
139 g_signal_connect(alignment_, "expose-event", in Init()
141 gtk_container_add(GTK_CONTAINER(event_box_), alignment_); in Init()
142 gtk_container_add(GTK_CONTAINER(alignment_), toolbar_); in Init()
222 gtk_widget_show(alignment_); in Init()
266 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment_), in UpdateForBookmarkBarVisibility()
434 if (should_be_rounded == gtk_util::IsActingAsRoundedWindow(alignment_)) in UpdateRoundedness()
438 gtk_util::ActAsRoundedWindow(alignment_, GdkColor(), kToolbarCornerSize, in UpdateRoundedness()
442 gtk_util::StopActingAsRoundedWindow(alignment_); in UpdateRoundedness()
Dbrowser_actions_toolbar_gtk.cc102 alignment_.Own(gtk_alignment_new(0, 0, 1, 1)); in BrowserActionButton()
103 gtk_container_add(GTK_CONTAINER(alignment_.get()), button()); in BrowserActionButton()
140 alignment_.Destroy(); in ~BrowserActionButton()
145 GtkWidget* widget() { return alignment_.get(); } in widget()
332 OwnedWidgetGtk alignment_; member in BrowserActionButton
Dlocation_bar_view_gtk.h153 GtkWidget* widget() { return alignment_.get(); } in widget()
184 OwnedWidgetGtk alignment_; variable
/external/chromium_org/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc158 alignment_ = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); in Init()
160 g_signal_connect(alignment_, "expose-event", in Init()
162 gtk_container_add(GTK_CONTAINER(event_box_), alignment_); in Init()
163 gtk_container_add(GTK_CONTAINER(alignment_), toolbar_); in Init()
251 gtk_widget_show(alignment_); in Init()
297 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment_), in UpdateForBookmarkBarVisibility()
478 if (should_be_rounded == gtk_util::IsActingAsRoundedWindow(alignment_)) in UpdateRoundedness()
482 gtk_util::ActAsRoundedWindow(alignment_, GdkColor(), kToolbarCornerSize, in UpdateRoundedness()
486 gtk_util::StopActingAsRoundedWindow(alignment_); in UpdateRoundedness()
Dbrowser_actions_toolbar_gtk.cc116 alignment_.Own(gtk_alignment_new(0, 0, 1, 1)); in BrowserActionButton()
117 gtk_container_add(GTK_CONTAINER(alignment_.get()), button()); in BrowserActionButton()
163 alignment_.Destroy(); in ~BrowserActionButton()
168 GtkWidget* widget() { return alignment_.get(); } in widget()
458 ui::OwnedWidgetGtk alignment_; member in BrowserActionButton
Dlocation_bar_view_gtk.h163 GtkWidget* widget() { return alignment_.get(); } in widget()
193 ui::OwnedWidgetGtk alignment_; variable
/external/chromium_org/ui/views/bubble/
Dbubble_border.h129 void set_alignment(BubbleAlignment alignment) { alignment_ = alignment; } in set_alignment()
130 BubbleAlignment alignment() const { return alignment_; } in alignment()
177 BubbleAlignment alignment_; variable
/external/chromium_org/ash/launcher/
Dlauncher.h66 ShelfAlignment alignment() const { return alignment_; } in alignment()
121 ShelfAlignment alignment_; variable
Dlauncher.cc49 alignment_(shelf_widget->GetAlignment()), in Launcher()
79 alignment_ = alignment; in SetAlignment()
/external/chromium_org/chrome/browser/ui/cocoa/
Dinfo_bubble_view.mm13 @synthesize alignment = alignment_;
19 alignment_ = info_bubble::kAlignArrowToAnchor;
Dinfo_bubble_view.h52 info_bubble::BubbleAlignment alignment_; variable
/external/chromium_org/ash/system/tray/
Dtray_background_view.cc244 : alignment_(alignment) { in TrayContainer()
249 if (alignment_ == alignment) in SetAlignment()
251 alignment_ = alignment; in SetAlignment()
279 if (alignment_ == SHELF_ALIGNMENT_BOTTOM || in UpdateLayout()
280 alignment_ == SHELF_ALIGNMENT_TOP) { in UpdateLayout()
/external/chromium_org/ui/views/controls/button/
Dtext_button.h124 void set_alignment(TextAlignment alignment) { alignment_ = alignment; } in set_alignment()
252 TextAlignment alignment_; variable
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager.cc62 CalloutWidgetBackground() : alignment_(SHELF_ALIGNMENT_BOTTOM) { in CalloutWidgetBackground()
67 switch (alignment_) { in Paint()
99 return alignment_; in alignment()
103 alignment_ = alignment; in set_alignment()
107 ShelfAlignment alignment_; member in ash::internal::__anond75585200111::CalloutWidgetBackground
/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc201 alignment_(SHELF_ALIGNMENT_BOTTOM), in ShelfLayoutManager()
254 if (alignment_ == alignment) in SetAlignment()
259 alignment_ = alignment; in SetAlignment()
269 return alignment_; in GetAlignment()
536 shelf_->SetAlignment(locked ? SHELF_ALIGNMENT_BOTTOM : alignment_); in OnLockStateChanged()

12