/external/chromium_org/ui/gfx/geometry/ |
point_f.cc | 17 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { 19 scaled_p.Scale(x_scale, y_scale);
|
size_f.cc | 17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { 19 scaled_s.Scale(x_scale, y_scale);
|
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),
|
size_f.h | 27 void Scale(float x_scale, float y_scale) { 28 SetSize(width() * x_scale, height() * y_scale); 42 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
|
vector2d_f.cc | 39 void Vector2dF::Scale(float x_scale, float y_scale) { 41 y_ *= y_scale; 54 Vector2dF ScaleVector2d(const Vector2dF& v, float x_scale, float y_scale) { 56 scaled_v.Scale(x_scale, y_scale);
|
rect_f.h | 50 void Scale(float x_scale, float y_scale) { 51 set_origin(ScalePoint(origin(), x_scale, y_scale)); 52 set_size(ScaleSize(size(), x_scale, y_scale)); 90 inline RectF ScaleRect(const RectF& r, float x_scale, float y_scale) { 91 return RectF(r.x() * x_scale, r.y() * y_scale, 92 r.width() * x_scale, r.height() * y_scale);
|
vector3d_f.cc | 60 void Vector3dF::Scale(float x_scale, float y_scale, float z_scale) { 62 y_ *= y_scale; 81 float y_scale, 84 scaled_v.Scale(x_scale, y_scale, z_scale);
|
point_f.h | 27 void Scale(float x_scale, float y_scale) { 28 SetPoint(x() * x_scale, y() * y_scale); 63 GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
|
box_f.h | 47 void Scale(float x_scale, float y_scale, float z_scale) { 48 origin_.Scale(x_scale, y_scale, z_scale); 49 set_size(width_ * x_scale, height_ * y_scale, depth_ * z_scale); 126 float y_scale, 129 b.y() * y_scale, 132 b.height() * y_scale,
|
rect.h | 107 float y_scale) { 109 int y = std::floor(rect.y() * y_scale); 111 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale); 121 float y_scale) { 123 int y = std::ceil(rect.y() * y_scale); 125 int b = rect.height() == 0 ? y : std::floor(rect.bottom() * y_scale);
|
point3_f.h | 31 void Scale(float x_scale, float y_scale, float z_scale) { 32 SetPoint(x() * x_scale, y() * y_scale, z() * z_scale); 109 float y_scale, 111 return Point3F(p.x() * x_scale, p.y() * y_scale, p.z() * z_scale);
|
quad_f.cc | 90 void QuadF::Scale(float x_scale, float y_scale) { 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);
|
vector2d_f.h | 58 // Scale the x and y components of the vector by |x_scale| and |y_scale| 60 void Scale(float x_scale, float y_scale); 103 float y_scale);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
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;
|
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;
|
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/ |
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;
|
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;
|
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/ |
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/ |
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/ |
afdummy.c | 32 hints->y_scale = metrics->scaler.y_scale;
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
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/ |
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/ |
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 && \
|