Searched refs:y_scale (Results 1 - 25 of 118) sorted by relevance

12345

/external/chromium_org/ui/gfx/
H A Dpoint_f.cc17 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { argument
19 scaled_p.Scale(x_scale, y_scale);
H A Dsize_f.cc17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { argument
19 scaled_s.Scale(x_scale, y_scale);
H A Dinsets.h35 Insets Scale(float x_scale, float y_scale) const {
36 return Insets(static_cast<int>(top() * y_scale),
38 static_cast<int>(bottom() * y_scale),
H A Dsize_f.h27 void Scale(float x_scale, float y_scale) { argument
28 SetSize(width() * x_scale, height() * y_scale);
42 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
H A Dvector2d_f.cc39 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 Dvector3d_f.cc60 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 Dbox_f.h47 void Scale(float x_scale, float y_scale, float z_scale) { argument
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,
H A Drect.h113 float y_scale) {
115 int y = std::floor(rect.y() * y_scale);
117 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale);
127 float y_scale) {
129 int y = std::ceil(rect.y() * y_scale);
131 int b = rect.height() == 0 ? y : std::floor(rect.bottom() * y_scale);
111 ScaleToEnclosingRect(const Rect& rect, float x_scale, float y_scale) argument
125 ScaleToEnclosedRect(const Rect& rect, float x_scale, float y_scale) argument
H A Drect_f.h50 void Scale(float x_scale, float y_scale) { argument
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) { argument
91 return RectF(r.x() * x_scale, r.y() * y_scale,
92 r.width() * x_scale, r.height() * y_scale);
H A Dpoint_f.h27 void Scale(float x_scale, float y_scale) { argument
28 SetPoint(x() * x_scale, y() * y_scale);
63 GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale);
H A Dpoint3_f.h31 void Scale(float x_scale, float y_scale, float z_scale) { argument
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);
107 ScalePoint(const Point3F& p, float x_scale, float y_scale, float z_scale) argument
H A Dquad_f.cc94 void QuadF::Scale(float x_scale, float y_scale) { argument
95 p1_.Scale(x_scale, y_scale);
96 p2_.Scale(x_scale, y_scale);
97 p3_.Scale(x_scale, y_scale);
98 p4_.Scale(x_scale, y_scale);
H A Dvector2d_f.h58 // 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);
H A Dvector3d_f.h67 void Scale(float x_scale, float y_scale, float z_scale);
114 float y_scale,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen7_viewport_state.c36 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 Dgen6_viewport_state.c73 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 Dbrw_sf_state.c48 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 Dgen7_viewport_state.c36 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 Dgen6_viewport_state.c73 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 Dbrw_sf_state.c48 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/harfbuzz_ng/test/api/
H A Dtest-font.c368 int x_scale, y_scale; local
385 x_scale = y_scale = 13;
388 x_scale = y_scale = 13;
389 hb_font_get_scale (font, NULL, &y_scale);
390 g_assert_cmpint (y_scale, ==, 0);
391 x_scale = y_scale = 13;
392 hb_font_get_scale (font, &x_scale, &y_scale);
394 g_assert_cmpint (y_scale, ==, 0);
398 x_scale = y_scale = 13;
399 hb_font_get_scale (font, &x_scale, &y_scale);
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-font-private.hh102 int y_scale; member in struct:hb_font_t
116 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); }
125 if (unlikely (parent && parent->y_scale != y_scale))
126 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale);
267 *y = y_scale;
/external/chromium_org/third_party/freetype/src/autofit/
H A Daftypes.h185 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member in struct:AF_ScalerRec_
196 (a)->y_scale == (b)->y_scale && \
/external/freetype/src/autofit/
H A Daftypes.h185 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member in struct:AF_ScalerRec_
196 (a)->y_scale == (b)->y_scale && \
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttgload.c773 loader->exec->metrics.y_scale = 1 << 16;
781 loader->exec->metrics.y_scale =
782 ((TT_Size)loader->size)->metrics.y_scale;
936 FT_Fixed y_scale = 0; local
958 y_scale = ((TT_Size)loader->size)->metrics.y_scale;
979 y_scale = ((TT_Size)loader->size)->metrics.y_scale;
990 vec->y = FT_MulFix( vec->y, y_scale );
1139 FT_Fixed y_scale local
1298 FT_Fixed x_scale, y_scale; local
1708 FT_Fixed y_scale; local
[all...]

Completed in 468 milliseconds

12345