/external/chromium_org/ui/gfx/geometry/ |
H A D | point_f.cc | 17 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { argument 19 scaled_p.Scale(x_scale, y_scale);
|
H A D | size_f.cc | 17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { argument 19 scaled_s.Scale(x_scale, y_scale);
|
H A D | insets.h | 29 Insets Scale(float x_scale, float y_scale) const { 30 return Insets(static_cast<int>(top() * y_scale), 32 static_cast<int>(bottom() * y_scale),
|
H A D | vector2d_f.cc | 39 void Vector2dF::Scale(float x_scale, float y_scale) { argument 41 y_ *= y_scale; 54 Vector2dF ScaleVector2d(const Vector2dF& v, float x_scale, float y_scale) { argument 56 scaled_v.Scale(x_scale, y_scale);
|
H A D | vector3d_f.cc | 60 void Vector3dF::Scale(float x_scale, float y_scale, float z_scale) { argument 62 y_ *= y_scale; 81 float y_scale, 84 scaled_v.Scale(x_scale, y_scale, z_scale); 79 ScaleVector3d(const Vector3dF& v, float x_scale, float y_scale, float z_scale) argument
|
H A D | size_f.h | 28 void Scale(float x_scale, float y_scale) { argument 29 SetSize(width() * x_scale, height() * y_scale); 43 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
|
H A D | box_f.h | 50 void Scale(float x_scale, float y_scale, float z_scale) { argument 51 origin_.Scale(x_scale, y_scale, z_scale); 52 set_size(width_ * x_scale, height_ * y_scale, depth_ * z_scale); 129 float y_scale, 132 b.y() * y_scale, 135 b.height() * y_scale,
|
H A D | rect.h | 108 float y_scale) { 110 int y = std::floor(rect.y() * y_scale); 112 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale); 122 float y_scale) { 124 int y = std::ceil(rect.y() * y_scale); 126 int b = rect.height() == 0 ? y : std::floor(rect.bottom() * y_scale); 106 ScaleToEnclosingRect(const Rect& rect, float x_scale, float y_scale) argument 120 ScaleToEnclosedRect(const Rect& rect, float x_scale, float y_scale) argument
|
H A D | rect_f.h | 51 void Scale(float x_scale, float y_scale) { argument 52 set_origin(ScalePoint(origin(), x_scale, y_scale)); 53 set_size(ScaleSize(size(), x_scale, y_scale)); 91 inline RectF ScaleRect(const RectF& r, float x_scale, float y_scale) { argument 92 return RectF(r.x() * x_scale, r.y() * y_scale, 93 r.width() * x_scale, r.height() * y_scale);
|
H A D | point_f.h | 28 void Scale(float x_scale, float y_scale) { argument 29 SetPoint(x() * x_scale, y() * y_scale); 64 GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
|
H A D | point3_f.h | 32 void Scale(float x_scale, float y_scale, float z_scale) { argument 33 SetPoint(x() * x_scale, y() * y_scale, z() * z_scale); 110 float y_scale, 112 return Point3F(p.x() * x_scale, p.y() * y_scale, p.z() * z_scale); 108 ScalePoint(const Point3F& p, float x_scale, float y_scale, float z_scale) argument
|
H A D | quad_f.cc | 90 void QuadF::Scale(float x_scale, float y_scale) { argument 91 p1_.Scale(x_scale, y_scale); 92 p2_.Scale(x_scale, y_scale); 93 p3_.Scale(x_scale, y_scale); 94 p4_.Scale(x_scale, y_scale);
|
H A D | vector2d_f.h | 59 // Scale the x and y components of the vector by |x_scale| and |y_scale| 61 void Scale(float x_scale, float y_scale); 104 float y_scale);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | gen7_viewport_state.c | 36 GLfloat y_scale, y_bias; local 54 y_scale = 1.0; 57 y_scale = -1.0; 63 vp->viewport.m11 = v[MAT_SY] * y_scale; 66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
H A D | gen6_viewport_state.c | 73 GLfloat y_scale, y_bias; local 83 y_scale = 1.0; 86 y_scale = -1.0; 92 sfv->viewport.m11 = v[MAT_SY] * y_scale; 95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
H A D | brw_sf_state.c | 48 GLfloat y_scale, y_bias; local 57 y_scale = 1.0; 61 y_scale = -1.0; 68 sfv->viewport.m11 = v[MAT_SY] * y_scale; 71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_viewport_state.c | 36 GLfloat y_scale, y_bias; local 54 y_scale = 1.0; 57 y_scale = -1.0; 63 vp->viewport.m11 = v[MAT_SY] * y_scale; 66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
H A D | gen6_viewport_state.c | 73 GLfloat y_scale, y_bias; local 83 y_scale = 1.0; 86 y_scale = -1.0; 92 sfv->viewport.m11 = v[MAT_SY] * y_scale; 95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
H A D | brw_sf_state.c | 48 GLfloat y_scale, y_bias; local 57 y_scale = 1.0; 61 y_scale = -1.0; 68 sfv->viewport.m11 = v[MAT_SY] * y_scale; 71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias;
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftpfr.c | 66 FT_Fixed x_scale, y_scale; local 76 x_scale = y_scale = 0x10000L; 80 y_scale = face->size->metrics.y_scale; 87 *ametrics_y_scale = y_scale;
|
/external/harfbuzz_ng/test/api/ |
H A D | test-font.c | 367 int x_scale, y_scale; local 384 x_scale = y_scale = 13; 387 x_scale = y_scale = 13; 388 hb_font_get_scale (font, NULL, &y_scale); 389 g_assert_cmpint (y_scale, ==, 0); 390 x_scale = y_scale = 13; 391 hb_font_get_scale (font, &x_scale, &y_scale); 393 g_assert_cmpint (y_scale, ==, 0); 397 x_scale = y_scale = 13; 398 hb_font_get_scale (font, &x_scale, &y_scale); [all...] |
/external/freetype/src/autofit/ |
H A D | afdummy.c | 32 hints->y_scale = metrics->scaler.y_scale;
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-font-private.hh | 101 int y_scale; member in struct:hb_font_t 115 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); } 124 if (unlikely (parent && parent->y_scale != y_scale)) 125 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); 272 *y = y_scale;
|
/external/harfbuzz_ng/src/ |
H A D | hb-font-private.hh | 101 int y_scale; member in struct:hb_font_t 115 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); } 124 if (unlikely (parent && parent->y_scale != y_scale)) 125 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); 272 *y = y_scale;
|
/external/chromium_org/third_party/freetype/src/autofit/ |
H A D | aftypes.h | 185 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member in struct:AF_ScalerRec_ 196 (a)->y_scale == (b)->y_scale && \
|