Searched refs:SetToMax (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/ui/views/examples/
H A Dprogress_bar_example.cc19 double SetToMax(double percent) { function in namespace:__anon17100
64 current_percent_ = SetToMax(current_percent_ - kStepSize);
66 current_percent_ = SetToMax(current_percent_ + kStepSize);
/external/chromium_org/ui/gfx/geometry/
H A Dpoint_unittest.cc126 a.SetToMax(Point(2, 4));
128 a.SetToMax(Point(3, 5));
130 a.SetToMax(Point(4, 2));
132 a.SetToMax(Point(8, 10));
152 a.SetToMax(PointF(2.5f, 4.5f));
154 a.SetToMax(PointF(3.5f, 5.5f));
156 a.SetToMax(PointF(4.5f, 2.5f));
158 a.SetToMax(PointF(8.5f, 10.5f));
H A Dsize_unittest.cc80 a.SetToMax(Size(2, 4));
82 a.SetToMax(Size(3, 5));
84 a.SetToMax(Size(4, 2));
86 a.SetToMax(Size(8, 10));
106 a.SetToMax(SizeF(2.5f, 4.5f));
108 a.SetToMax(SizeF(3.5f, 5.5f));
110 a.SetToMax(SizeF(4.5f, 2.5f));
112 a.SetToMax(SizeF(8.5f, 10.5f));
H A Dvector2d_unittest.cc203 a.SetToMax(Vector2d(2, 4));
205 a.SetToMax(Vector2d(3, 5));
207 a.SetToMax(Vector2d(4, 2));
209 a.SetToMax(Vector2d(8, 10));
229 a.SetToMax(Vector2dF(2.5f, 4.5f));
231 a.SetToMax(Vector2dF(3.5f, 5.5f));
233 a.SetToMax(Vector2dF(4.5f, 2.5f));
235 a.SetToMax(Vector2dF(8.5f, 10.5f));
H A Dsize_base.h43 void SetToMax(const Class& other) {
H A Dvector3d_unittest.cc237 a.SetToMax(Vector3dF(2, 4.5f, 6.5f));
239 a.SetToMax(Vector3dF(3.5f, 5.5f, 7.5f));
241 a.SetToMax(Vector3dF(4.5f, 2, 6.5f));
243 a.SetToMax(Vector3dF(3.5f, 6.5f, 6.5f));
245 a.SetToMax(Vector3dF(3.5f, 5.5f, 8.5f));
247 a.SetToMax(Vector3dF(8.5f, 10.5f, 12.5f));
H A Dpoint_base.h51 void SetToMax(const Class& other) { function in class:gfx::PointBase
H A Dvector2d.h49 void SetToMax(const Vector2d& other) { function in class:gfx::Vector2d
H A Dvector2d_f.h47 void SetToMax(const Vector2dF& other) { function in class:gfx::Vector2dF
H A Dvector3d_f.h54 void SetToMax(const Vector3dF& other) { function in class:gfx::Vector3dF
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dinfobar_container_view.cc30 size.SetToMax(gfx::Size(child_at(i)->GetPreferredSize().width(), 0));
/external/chromium_org/ash/ime/
H A Dcandidate_view.cc35 size.SetToMax(gfx::Size(kMinCandidateLabelWidth, 0));
281 size.SetToMax(gfx::Size(shortcut_width_, 0));
285 candidate_size.SetToMax(gfx::Size(candidate_width_, 0));
287 size.SetToMax(candidate_size);
291 size.SetToMax(annotation_size);
H A Dmode_indicator_view.cc73 size.SetToMax(gfx::Size(kMinSize, kMinSize));
/external/chromium_org/extensions/browser/app_window/
H A Dsize_constraints.cc41 size.SetToMax(GetMinimumSize());
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_cursor.cc70 cursor_location_.SetToMax(gfx::PointF(0, 0));
/external/chromium_org/mojo/examples/media_viewer/
H A Dmedia_viewer.cc87 size.SetToMax(normal_painter_->GetMinimumSize());
89 size.SetToMax(hot_painter_->GetMinimumSize());
91 size.SetToMax(pushed_painter_->GetMinimumSize());
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dicon_label_bubble_view.cc97 size.SetToMax(background_painter_->GetMinimumSize());
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_label.cc89 size.SetToMax(painter_->GetMinimumSize());
/external/chromium_org/ui/views/controls/scrollbar/
H A Dkennedy_scroll_bar.cc71 track_size.SetToMax(GetThumb()->size());
H A Doverlay_scroll_bar.cc104 track_size.SetToMax(GetThumb()->size());
/external/chromium_org/ui/views/bubble/
H A Dbubble_border.cc256 size.SetToMax(gfx::Size(min, min));
258 size.SetToMax(gfx::Size(min_with_arrow_width, min_with_arrow_thickness));
260 size.SetToMax(gfx::Size(min_with_arrow_thickness, min_with_arrow_width));
/external/chromium_org/ash/drag_drop/
H A Ddrag_image_view.cc156 new_widget_size.SetToMax(drag_hint_size);
/external/chromium_org/ui/views/controls/button/
H A Dlabel_button_border.cc136 minimum_size.SetToMax(painters_[i][j]->GetMinimumSize());
H A Dlabel_button.cc244 size.SetToMax(gfx::Size(0, image_size.height()));
249 size.SetToMax(border() ? border()->GetMinimumSize() : gfx::Size());
252 size.SetToMax(min_size_);
/external/chromium_org/chrome/browser/printing/
H A Dprint_preview_dialog_controller.cc131 size->SetToMax(host->GetMaximumDialogSize());
134 size->SetToMax(initiator_->GetContainerBounds().size());

Completed in 384 milliseconds

12