Home
last modified time | relevance | path

Searched refs:yAxis (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkGlyphCache.cpp253 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints() argument
255 SkScalar val = *(&pts[i].fY - yAxis); in AddPoints()
257 AddInterval(*(&pts[i].fX + yAxis), intercept); in AddPoints()
262 void SkGlyphCache::AddLine(const SkPoint pts[2], SkScalar axis, bool yAxis, in AddLine() argument
264 SkScalar t = yAxis ? (axis - pts[0].fX) / (pts[1].fX - pts[0].fX) in AddLine()
267 AddInterval(yAxis ? pts[0].fY + t * (pts[1].fY - pts[0].fY) in AddLine()
272 void SkGlyphCache::AddQuad(const SkPoint pts[2], SkScalar axis, bool yAxis, in AddQuad() argument
277 int count = yAxis ? quad.verticalIntersect(axis, roots) in AddQuad()
281 AddInterval(*(&pt.fX + yAxis), intercept); in AddQuad()
285 void SkGlyphCache::AddCubic(const SkPoint pts[3], SkScalar axis, bool yAxis, in AddCubic() argument
[all …]
DSkGlyphCache.h85 bool yAxis, SkGlyph* , SkScalar* array, int* count);
219 bool yAxis, SkGlyph::Intercept* intercept);
220 static void AddLine(const SkPoint pts[2], SkScalar axis, bool yAxis,
222 static void AddQuad(const SkPoint pts[2], SkScalar axis, bool yAxis,
224 static void AddCubic(const SkPoint pts[3], SkScalar axis, bool yAxis,
DSkGpuBlurUtils.cpp41 static void shrink_irect_by_2(SkIRect* rect, bool xAxis, bool yAxis) { in shrink_irect_by_2() argument
47 if (yAxis) { in shrink_irect_by_2()
/external/skia/tests/
DPoint3Test.cpp52 const SkPoint3 yAxis = SkPoint3::Make(0.0f, 1.0f, 0.0f); in test_dot() local
55 SkScalar dot = xAxis.dot(yAxis); in test_dot()
58 dot = yAxis.dot(zAxis); in test_dot()
75 dot = yAxis.dot(v); in test_dot()
/external/replicaisland/src/com/replica/replicaisland/
DInputXY.java30 public InputXY(InputButton xAxis, InputButton yAxis) { in InputXY() argument
32 mYAxis = yAxis; in InputXY()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1612 Int yAxis = SignMask(yMajor); in cubeFace() local
1619 face[0] |= *Pointer<Int>(constants + OFFSET(Constants,transposeBit1) + yAxis * 4); in cubeFace()