Lines Matching full:size
5 #include "ui/gfx/geometry/size.h"
25 Size::Size(const CGSize& s) in Size() function in gfx::Size
30 Size& Size::operator=(const CGSize& s) { in operator =()
38 SIZE Size::ToSIZE() const { in ToSIZE()
39 SIZE s; in ToSIZE()
45 CGSize Size::ToCGSize() const { in ToCGSize()
50 int Size::GetArea() const { in GetArea()
54 base::CheckedNumeric<int> Size::GetCheckedArea() const { in GetCheckedArea()
60 void Size::Enlarge(int grow_width, int grow_height) { in Enlarge()
65 void Size::SetToMin(const Size& other) { in SetToMin()
70 void Size::SetToMax(const Size& other) { in SetToMax()
75 std::string Size::ToString() const { in ToString()
79 Size ScaleToCeiledSize(const Size& size, float x_scale, float y_scale) { in ScaleToCeiledSize() argument
81 return size; in ScaleToCeiledSize()
82 return ToCeiledSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToCeiledSize()
85 Size ScaleToCeiledSize(const Size& size, float scale) { in ScaleToCeiledSize() argument
87 return size; in ScaleToCeiledSize()
88 return ToCeiledSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToCeiledSize()
91 Size ScaleToFlooredSize(const Size& size, float x_scale, float y_scale) { in ScaleToFlooredSize() argument
93 return size; in ScaleToFlooredSize()
94 return ToFlooredSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToFlooredSize()
97 Size ScaleToFlooredSize(const Size& size, float scale) { in ScaleToFlooredSize() argument
99 return size; in ScaleToFlooredSize()
100 return ToFlooredSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToFlooredSize()
103 Size ScaleToRoundedSize(const Size& size, float x_scale, float y_scale) { in ScaleToRoundedSize() argument
105 return size; in ScaleToRoundedSize()
106 return ToRoundedSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToRoundedSize()
109 Size ScaleToRoundedSize(const Size& size, float scale) { in ScaleToRoundedSize() argument
111 return size; in ScaleToRoundedSize()
112 return ToRoundedSize(ScaleSize(gfx::SizeF(size), scale, scale)); in ScaleToRoundedSize()