Home
last modified time | relevance | path

Searched refs:absY (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java214 int absY = Math.abs(y); in writeTriplet() local
220 if (x == 0 && absY < 1280) { in writeTriplet()
221 glyfStream.write(onCurveBit + ((absY & 0xf00) >> 7) + ySignBit); in writeTriplet()
222 os.write(absY & 0xff); in writeTriplet()
226 } else if (absX < 65 && absY < 65) { in writeTriplet()
227 glyfStream.write(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + in writeTriplet()
229 os.write((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf)); in writeTriplet()
230 } else if (absX < 769 && absY < 769) { in writeTriplet()
232 (((absY - 1) & 0x300) >> 6) + xySignBits); in writeTriplet()
234 os.write((absY - 1) & 0xff); in writeTriplet()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java214 int absY = Math.abs(y); in writeTriplet() local
220 if (x == 0 && absY < 1280) { in writeTriplet()
221 glyfStream.write(onCurveBit + ((absY & 0xf00) >> 7) + ySignBit); in writeTriplet()
222 os.write(absY & 0xff); in writeTriplet()
226 } else if (absX < 65 && absY < 65) { in writeTriplet()
227 glyfStream.write(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + in writeTriplet()
229 os.write((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf)); in writeTriplet()
230 } else if (absX < 769 && absY < 769) { in writeTriplet()
232 (((absY - 1) & 0x300) >> 6) + xySignBits); in writeTriplet()
234 os.write((absY - 1) & 0xff); in writeTriplet()
[all …]
/third_party/flutter/skia/tests/
DPathOpsAngleTest.cpp132 double absY = fabs(y); in find_slop() local
133 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
/third_party/skia/tests/
DPathOpsAngleTest.cpp131 double absY = fabs(y); in find_slop() local
132 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp543 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local
549 &absY->variable(), new TIntermUnary(EOpAbs, y->deepCopy(), nullptr)); in declareCoordTranslationFunction()
579 "max", new TIntermSequence({absY->deepCopy(), absZ->deepCopy()}), *mSymbolTable, 100); in declareCoordTranslationFunction()
586 TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); in declareCoordTranslationFunction()
681 new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); in declareCoordTranslationFunction()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp439 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local
446 &absY->variable(), in declareCoordTranslationFunction()
545 TIntermSequence argsMaxYZ = {absY->deepCopy(), absZ->deepCopy()}; in declareCoordTranslationFunction()
554 TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); in declareCoordTranslationFunction()
616 new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); in declareCoordTranslationFunction()
/third_party/skia/src/pathops/
DSkOpAngle.cpp710 double absY = fabs(y); in findSector() local
711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
/third_party/flutter/skia/src/pathops/
DSkOpAngle.cpp710 double absY = fabs(y); in findSector() local
711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
/third_party/flutter/skia/src/core/
DSkGeometry.cpp1408 SkScalar absY = SkScalarAbs(y); in BuildUnitArc() local
1413 if (absY <= SK_ScalarNearlyZero && x > 0 && ((y >= 0 && kCW_SkRotationDirection == dir) || in BuildUnitArc()
1433 SkASSERT(absY - SK_Scalar1 <= SK_ScalarNearlyZero); in BuildUnitArc()
/third_party/skia/src/core/
DSkGeometry.cpp1644 SkScalar absY = SkScalarAbs(y); in BuildUnitArc() local
1649 if (absY <= SK_ScalarNearlyZero && x > 0 && ((y >= 0 && kCW_SkRotationDirection == dir) || in BuildUnitArc()
1669 SkASSERT(absY - SK_Scalar1 <= SK_ScalarNearlyZero); in BuildUnitArc()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.cpp1247 Float4 absY = Abs(y); in cubeFace() local
1250 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace()
1251 Int4 yz = CmpNLE(absY, absZ); // abs(y) > abs(z) in cubeFace()
1280 M = Max(Max(absX, absY), absZ); in cubeFace()
/third_party/flutter/glfw/src/
Dx11_window.c1332 const int absY = (event->xclient.data.l[2]) & 0xFFFF; in processEvent() local
1336 _glfwInputCursorPos(window, absX - x, absY - y); in processEvent()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DSamplerCore.cpp1585 Float4 absY = Abs(y); in cubeFace() local
1588 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace()
1589 Int4 yz = CmpNLE(absY, absZ); // abs(y) > abs(z) in cubeFace()
1616 M = Max(Max(absX, absY), absZ); in cubeFace()