/external/chromium_org/ui/gfx/geometry/ |
D | size_unittest.cc | 15 int TestSizeF(const SizeF& s) { in TestSizeF() 27 SizeF b(10, 20); in TEST() 34 EXPECT_EQ(Size(0, 0), ToFlooredSize(SizeF(0, 0))); in TEST() 35 EXPECT_EQ(Size(0, 0), ToFlooredSize(SizeF(0.0001f, 0.0001f))); in TEST() 36 EXPECT_EQ(Size(0, 0), ToFlooredSize(SizeF(0.4999f, 0.4999f))); in TEST() 37 EXPECT_EQ(Size(0, 0), ToFlooredSize(SizeF(0.5f, 0.5f))); in TEST() 38 EXPECT_EQ(Size(0, 0), ToFlooredSize(SizeF(0.9999f, 0.9999f))); in TEST() 40 EXPECT_EQ(Size(10, 10), ToFlooredSize(SizeF(10, 10))); in TEST() 41 EXPECT_EQ(Size(10, 10), ToFlooredSize(SizeF(10.0001f, 10.0001f))); in TEST() 42 EXPECT_EQ(Size(10, 10), ToFlooredSize(SizeF(10.4999f, 10.4999f))); in TEST() [all …]
|
D | size_f.h | 18 class GFX_EXPORT SizeF : public SizeBase<SizeF, float> { 20 SizeF() : SizeBase<SizeF, float>(0, 0) {} in SizeF() function 21 SizeF(float width, float height) : SizeBase<SizeF, float>(width, height) {} in SizeF() function 22 ~SizeF() {} in ~SizeF() 35 inline bool operator==(const SizeF& lhs, const SizeF& rhs) { 39 inline bool operator!=(const SizeF& lhs, const SizeF& rhs) { 43 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale); 45 inline SizeF ScaleSize(const SizeF& p, float scale) { in ScaleSize() 50 extern template class SizeBase<SizeF, float>; 56 void PrintTo(const SizeF& size, ::std::ostream* os);
|
D | rect_f.h | 22 : public RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> { 25 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> in RectF() 26 (SizeF()) {} in RectF() 29 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> in RectF() 30 (SizeF(width, height)) {} in RectF() 33 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> in RectF() 34 (PointF(x, y), SizeF(width, height)) {} in RectF() 36 explicit RectF(const SizeF& size) in RectF() 37 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> in RectF() 40 RectF(const PointF& origin, const SizeF& size) in RectF() [all …]
|
D | size_f.cc | 11 template class SizeBase<SizeF, float>; 13 std::string SizeF::ToString() const { in ToString() 17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { in ScaleSize() 18 SizeF scaled_s(s); in ScaleSize()
|
D | size_conversions.h | 14 GFX_EXPORT Size ToFlooredSize(const SizeF& size); 17 GFX_EXPORT Size ToCeiledSize(const SizeF& size); 20 GFX_EXPORT Size ToRoundedSize(const SizeF& size);
|
D | size_conversions.cc | 11 Size ToFlooredSize(const SizeF& size) { in ToFlooredSize() 17 Size ToCeiledSize(const SizeF& size) { in ToCeiledSize() 23 Size ToRoundedSize(const SizeF& size) { in ToRoundedSize()
|
D | size.h | 47 operator SizeF() const { in SizeF() function 48 return SizeF(width(), height()); in SizeF()
|
D | rect_f.cc | 17 template class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float>; 19 typedef class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF,
|
/external/chromium_org/cc/input/ |
D | page_scale_animation.h | 33 const gfx::SizeF& viewport_size, 34 const gfx::SizeF& root_layer_size, 77 const gfx::SizeF& viewport_size, 78 const gfx::SizeF& root_layer_size, 86 gfx::SizeF StartViewportSize() const; 87 gfx::SizeF TargetViewportSize() const; 89 gfx::SizeF ViewportSizeAt(float interp) const; 103 gfx::SizeF viewport_size_; 104 gfx::SizeF root_layer_size_;
|
D | page_scale_animation.cc | 20 const gfx::SizeF& viewport_size) { in NormalizeFromViewport() 27 const gfx::SizeF& viewport_size) { in DenormalizeToViewport() 49 const gfx::SizeF& viewport_size, in Create() 50 const gfx::SizeF& root_layer_size, in Create() 62 const gfx::SizeF& viewport_size, in PageScaleAnimation() 63 const gfx::SizeF& root_layer_size, in PageScaleAnimation() 155 gfx::SizeF PageScaleAnimation::StartViewportSize() const { in StartViewportSize() 159 gfx::SizeF PageScaleAnimation::TargetViewportSize() const { in TargetViewportSize() 163 gfx::SizeF PageScaleAnimation::ViewportSizeAt(float interp) const { in ViewportSizeAt()
|
D | layer_scroll_offset_delegate.h | 39 const gfx::SizeF& scrollable_size,
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
D | GdiPlusTypes.h | 89 class SizeF; variable 134 class SizeF 139 SizeF() in SizeF() function 144 SizeF(IN const SizeF& size) in SizeF() function 150 SizeF(IN REAL width, in SizeF() function 157 SizeF operator+(IN const SizeF& sz) const 159 return SizeF(Width + sz.Width, 163 SizeF operator-(IN const SizeF& sz) const 165 return SizeF(Width - sz.Width, 169 BOOL Equals(IN const SizeF& sz) const in Equals() [all …]
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebFloatSize.h | 85 WebFloatSize(const gfx::SizeF& s) in WebFloatSize() 97 WebFloatSize& operator=(const gfx::SizeF& s) 111 operator gfx::SizeF() const in SizeF() function 113 return gfx::SizeF(std::max(0.f, width), std::max(0.f, height)); in SizeF()
|
/external/chromium_org/chrome/browser/android/thumbnail/ |
D | thumbnail.h | 51 const gfx::SizeF& scaled_content_size() const { return scaled_content_size_; } in scaled_content_size() 52 const gfx::SizeF& scaled_data_size() const { return scaled_data_size_; } in scaled_data_size() 79 gfx::SizeF scaled_content_size_; 80 gfx::SizeF scaled_data_size_;
|
/external/chromium_org/cc/output/ |
D | render_surface_filters.h | 18 class SizeF; variable 29 const gfx::SizeF& size, 35 const gfx::SizeF& size);
|
D | compositor_frame_metadata.h | 33 gfx::SizeF scrollable_viewport_size; 34 gfx::SizeF root_layer_size;
|
/external/chromium_org/ui/gfx/ipc/ |
D | gfx_param_traits.cc | 120 void ParamTraits<gfx::SizeF>::Write(Message* m, const gfx::SizeF& p) { in Write() 125 bool ParamTraits<gfx::SizeF>::Read(const Message* m, in Read() 127 gfx::SizeF* r) { in Read() 137 void ParamTraits<gfx::SizeF>::Log(const gfx::SizeF& p, std::string* l) { in Log()
|
D | gfx_param_traits.h | 22 class SizeF; variable 54 struct GFX_IPC_EXPORT ParamTraits<gfx::SizeF> { 55 typedef gfx::SizeF param_type;
|
/external/chromium_org/content/browser/android/ |
D | overscroll_glow.cc | 32 const gfx::SizeF& window_size, in ComputeTransform() 61 gfx::SizeF ComputeSize(OverscrollGlow::Edge edge, in ComputeSize() 62 const gfx::SizeF& window_size) { in ComputeSize() 69 return gfx::SizeF(window_size.height(), window_size.width()); in ComputeSize() 72 return gfx::SizeF(); in ComputeSize()
|
/external/chromium_org/content/public/browser/android/ |
D | content_view_core.h | 25 class SizeF; variable 66 const gfx::SizeF& content_size,
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | touch_emulator.h | 51 gfx::SizeF InitCursorFromResource( 83 gfx::SizeF cursor_size_;
|
/external/chromium_org/ui/gfx/ |
D | render_text_mac.h | 30 virtual SizeF GetStringSizeF() OVERRIDE; 85 SizeF string_size_;
|
/external/chromium_org/ui/snapshot/ |
D | snapshot_aura_unittest.cc | 230 gfx::SizeF snapshot_size(test_bounds.size()); in TEST_F() 246 gfx::SizeF snapshot_size(test_bounds.size()); in TEST_F() 265 gfx::SizeF snapshot_size(test_bounds.size()); in TEST_F() 284 gfx::SizeF snapshot_size(test_bounds.size()); in TEST_F()
|
/external/chromium_org/android_webview/browser/ |
D | browser_view_renderer.h | 130 const gfx::SizeF& scrollable_size_dip, 164 const gfx::SizeF& scrollable_size_dip);
|
D | browser_view_renderer_client.h | 52 gfx::SizeF contents_size_dip,
|