Searched refs:IsHorizontal (Results 1 – 13 of 13) sorted by relevance
33 size = std::max(size, scroll_bar_->IsHorizontal() ? prefsize.width() : in SetSize()36 if (scroll_bar_->IsHorizontal()) { in SetSize()45 if (scroll_bar_->IsHorizontal()) in GetSize()53 if (scroll_bar_->IsHorizontal()) { in SetPosition()63 if (scroll_bar_->IsHorizontal()) in GetPosition()77 mouse_offset_ = scroll_bar_->IsHorizontal() ? event.x() : event.y(); in OnMousePressed()87 if (scroll_bar_->IsHorizontal()) { in OnMouseDragged()100 if (scroll_bar_->IsHorizontal()) { in OnMouseDragged()
158 if (!IsHorizontal()) in OnKeyPressed()162 if (!IsHorizontal()) in OnKeyPressed()166 if (IsHorizontal()) in OnKeyPressed()170 if (IsHorizontal()) in OnKeyPressed()238 if (ScrollByContentsOffset(IsHorizontal() ? event->details().scroll_x() : in OnGestureEvent()249 IsHorizontal() ? event->details().velocity_x() : 0.f, in OnGestureEvent()250 IsHorizontal() ? 0.f : event->details().velocity_y()); in OnGestureEvent()259 return IsHorizontal() ? ScrollByContentsOffset(dx) : in OnScroll()283 context_menu_mouse_position_ = IsHorizontal() ? temp_pt.x() : temp_pt.y(); in ShowContextMenuForView()315 ids_value = IsHorizontal() ? IDS_APP_SCROLLBAR_CXMENU_SCROLLLEFTEDGE in GetLabel()[all …]
212 return IsHorizontal() ? prefsize.height() : prefsize.width(); in GetLayoutSize()217 if (IsHorizontal()) { in GetTrackBounds()248 if (IsHorizontal()) { in Layout()268 if (IsHorizontal()) { in Layout()279 if ((IsHorizontal() && (track_bounds.width() < thumb_prefsize.width()) || in Layout()280 (!IsHorizontal() && (track_bounds.height() < thumb_prefsize.height())))) { in Layout()
182 const ui::NativeTheme::Part gripper_part = scroll_bar_->IsHorizontal() ? in OnPaint()198 if (scroll_bar_->IsHorizontal()) in GetNativeThemePart()233 : BaseScrollBar(scroll_bar->IsHorizontal(), in NativeScrollBarViews()238 if (native_scroll_bar_->IsHorizontal()) { in NativeScrollBarViews()269 if (native_scroll_bar_->IsHorizontal()) { in Layout()297 if (native_scroll_bar_->IsHorizontal()) in GetPreferredSize()308 return IsHorizontal() ? size.height() : size.width(); in GetLayoutSize()358 if (native_scroll_bar_->IsHorizontal()) { in GetTrackBounds()
98 if (IsHorizontal()) { in GetTrackBounds()150 if (IsHorizontal()) { in Layout()
18 bool ScrollBar::IsHorizontal() const { in IsHorizontal() function in views::ScrollBar
66 bool IsHorizontal() const;
105 return IsHorizontal() ? in GetLayoutSize()
87 if (IsHorizontal()) { in Layout()
195 IsHorizontal = (Direction==Horizontal) ? 1 : 0397 … template<int Factor> const Replicate<ExpressionType,(IsVertical?Factor:1),(IsHorizontal?Factor:1)>
139 if (IsHorizontal(alignment)) { in IsPanelAboveLauncherIcon()199 if (IsHorizontal(alignment)) { in IsCalloutAboveLauncherIcon()273 bool IsHorizontal(ShelfAlignment alignment) { in IsHorizontal() function in ash::internal::PanelLayoutManagerTest
341 ADD_BOOLEAN_BITFIELD(isHorizontal, IsHorizontal);
382 bool is_horizontal = source->IsHorizontal(); in GetScrollIncrement()