Searched refs:flipped (Results 1 - 22 of 22) sorted by relevance

/external/skia/tests/
H A DPathOpsQuadLineIntersectionTest.cpp32 bool& flipped) {
34 flipped = false;
38 flipped = top > bottom;
39 if (flipped) {
42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped);
46 flipped = left > right;
47 if (flipped) {
50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped);
80 bool flipped = false; local
89 int result = doIntersect(intersections, quad, line, flipped);
31 doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, bool& flipped) argument
129 bool flipped = false; local
[all...]
H A DPathOpsQuadLineIntersectionThreadedTest.cpp17 bool& flipped) {
19 flipped = false;
23 flipped = top > bottom;
24 if (flipped) {
27 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped);
31 flipped = left > right;
32 if (flipped) {
35 result = intersections.horizontal(quad, left, right, line[0].fY, flipped);
53 bool flipped = false; local
54 int result = doIntersect(intersections, quad, line, flipped);
16 doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, bool& flipped) argument
[all...]
H A DPathOpsConicLineIntersectionTest.cpp33 bool& flipped) {
35 flipped = false;
39 flipped = top > bottom;
40 if (flipped) {
43 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped);
47 flipped = left > right;
48 if (flipped) {
51 result = intersections.horizontal(conic, left, right, line[0].fY, flipped);
70 bool flipped = false; local
79 int result = doIntersect(intersections, conic, line, flipped);
32 doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, bool& flipped) argument
124 bool flipped = false; local
[all...]
H A DPathOpsCubicLineIntersectionTest.cpp103 bool flipped = false; local
107 flipped = top > bottom;
108 if (flipped) {
111 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped);
115 flipped = left > right;
116 if (flipped) {
119 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped);
/external/skia/src/pathops/
H A DSkIntersections.h58 SkScalar y, bool flipped) {
62 return horizontal(conic, left, right, y, flipped);
66 SkScalar x, bool flipped) {
70 return vertical(conic, top, bottom, x, flipped);
83 bool flipped) {
87 return horizontal(cubic, left, right, y, flipped);
90 int cubicVertical(const SkPoint a[4], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) { argument
94 return vertical(cubic, top, bottom, x, flipped);
133 bool flipped) {
137 return horizontal(line, left, right, y, flipped);
57 conicHorizontal(const SkPoint a[3], SkScalar weight, SkScalar left, SkScalar right, SkScalar y, bool flipped) argument
65 conicVertical(const SkPoint a[3], SkScalar weight, SkScalar top, SkScalar bottom, SkScalar x, bool flipped) argument
82 cubicHorizontal(const SkPoint a[4], SkScalar left, SkScalar right, SkScalar y, bool flipped) argument
132 lineHorizontal(const SkPoint a[2], SkScalar left, SkScalar right, SkScalar y, bool flipped) argument
140 lineVertical(const SkPoint a[2], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) argument
168 quadHorizontal(const SkPoint a[3], SkScalar left, SkScalar right, SkScalar y, bool flipped) argument
176 quadVertical(const SkPoint a[3], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) argument
[all...]
H A DSkDLineIntersection.cpp201 double y, bool flipped) {
207 insert(t, (double) flipped, leftPt);
212 insert(t, (double) !flipped, rightPt);
216 insert((double) index, flipped ? 1 - t : t, line[index]);
226 if (flipped) {
239 insert(t, (double) flipped, leftPt);
244 insert(t, (double) !flipped, rightPt);
248 insert((double) index, flipped ? 1 - t : t, line[index]);
277 double x, bool flipped) {
283 insert(t, (double) flipped, topP
200 horizontal(const SkDLine& line, double left, double right, double y, bool flipped) argument
276 vertical(const SkDLine& line, double top, double bottom, double x, bool flipped) argument
[all...]
H A DSkDConicLineIntersection.cpp72 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { argument
90 if (flipped) {
150 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
168 if (flipped) {
348 bool flipped) {
351 return c.horizontalIntersect(y, left, right, flipped);
355 bool flipped) {
358 return c.verticalIntersect(x, top, bottom, flipped);
347 horizontal(const SkDConic& conic, double left, double right, double y, bool flipped) argument
354 vertical(const SkDConic& conic, double top, double bottom, double x, bool flipped) argument
H A DSkDCubicLineIntersection.cpp184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { argument
199 if (flipped) {
247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
262 if (flipped) {
419 bool flipped) {
422 return c.horizontalIntersect(y, left, right, flipped);
426 bool flipped) {
429 return c.verticalIntersect(x, top, bottom, flipped);
418 horizontal(const SkDCubic& cubic, double left, double right, double y, bool flipped) argument
425 vertical(const SkDCubic& cubic, double top, double bottom, double x, bool flipped) argument
H A DSkDQuadLineIntersection.cpp198 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { argument
213 if (flipped) {
254 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { argument
269 if (flipped) {
424 bool flipped) {
427 return q.horizontalIntersect(y, left, right, flipped);
431 bool flipped) {
434 return q.verticalIntersect(x, top, bottom, flipped);
423 horizontal(const SkDQuad& quad, double left, double right, double y, bool flipped) argument
430 vertical(const SkDQuad& quad, double top, double bottom, double x, bool flipped) argument
H A DSkOpCoincidence.cpp98 if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped()
103 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped()
159 bool flipped = this->flipped(); local
168 if ((oppLastT > opp->fT) != flipped) {
448 FAIL_IF(!coin->flipped() && !oStart->upCastable());
449 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next();
508 if (coin->flipped()) {
670 if (overlap->flipped()
675 if (overlap->flipped()
1011 bool flipped = coin->flipped(); local
1327 bool flipped = coin->flipped(); local
[all...]
H A DSkOpSpan.cpp400 bool SkOpSpan::insertCoincidence(const SkOpSegment* segment, bool flipped, bool ordered) { argument
416 } else if (flipped) {
H A DSkOpSpan.h450 const SkOpSegment* , bool flipped, bool ordered) const;
461 bool insertCoincidence(const SkOpSegment* , bool flipped, bool ordered);
H A DSkPathOpsDebug.cpp1650 FAIL_IF(!coin->flipped() && !oStart->upCastable(), coin);
1651 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next();
1710 oTest = coin->flipped() ? oTest->prev() : oTest->upCast()->next();
1780 if (overlap->flipped()
1785 if (overlap->flipped()
2055 bool flipped = coin->flipped(); local
2056 if (flipped) {
2071 if (next->upCast()->debugInsertCoincidence(log, oSegment, flipped, ordered), false) {
2077 if (oNext->upCast()->debugInsertCoincidence(log, segment, flipped, ordere
2651 debugInsertCoincidence(SkPathOpsDebug::GlitchLog* log, const SkOpSegment* segment, bool flipped, bool ordered) const argument
[all...]
H A DSkOpCoincidence.h59 bool flipped() const { return fOppPtTStart->fT > fOppPtTEnd->fT; } function in class:SkCoincidentSpans
/external/skia/third_party/etc1/
H A Detc1.cpp176 etc1_uint32 low, bool second, bool flipped) {
180 if (flipped) {
188 if (flipped) {
236 bool flipped = (high & 1) != 0; local
237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped);
238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped);
256 etc1_byte* pColors, bool flipped, bool second) {
261 if (flipped) {
344 etc_compressed* pCompressed, bool flipped, bool second,
347 if (flipped) {
175 decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, etc1_uint32 low, bool second, bool flipped) argument
255 etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, etc1_byte* pColors, bool flipped, bool second) argument
343 etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask, etc_compressed* pCompressed, bool flipped, bool second, const etc1_byte* pBaseColors, const int* pModifierTable) argument
441 etc_encode_block_helper(const etc1_byte* pIn, etc1_uint32 inMask, const etc1_byte* pColors, etc_compressed* pCompressed, bool flipped) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexcompress_etc_tmp.h30 int flipped; local
109 block->flipped = (src[3] & 0x1);
128 blk = (block->flipped) ? (y >= 2) : (x >= 2);
/external/skia/gm/
H A Dnested.cpp19 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { argument
138 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); )
139 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); )
140 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); )
141 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.h32 bool flipped);
H A DSkTwoPointConicalGradient.cpp81 bool flipped) {
93 fFlipped = flipped;
313 if (buffer.readBool()) { // flipped
79 init(const SkPoint& center0, SkScalar rad0, const SkPoint& center1, SkScalar rad1, bool flipped) argument
/external/freetype/src/raster/
H A Dftraster.c1724 /* flipped :: If set, flip the direction of the curve. */
1732 Int flipped )
1754 if ( flipped )
1818 if ( flipped )
1830 if ( flipped )
1847 if ( flipped )
1896 if ( flipped )
1907 if ( flipped )
1947 /* flipped :: If set, flip the direction of curve. */
1954 Convert_Glyph( RAS_ARGS Int flipped )
[all...]
/external/pdfium/third_party/freetype/src/raster/
H A Dftraster.c1714 /* flipped :: If set, flip the direction of the curve. */
1722 Int flipped )
1744 if ( flipped )
1808 if ( flipped )
1820 if ( flipped )
1837 if ( flipped )
1886 if ( flipped )
1897 if ( flipped )
1937 /* flipped :: If set, flip the direction of curve. */
1944 Convert_Glyph( RAS_ARGS Int flipped )
[all...]
/external/skia/src/sksl/
H A DSkSLSPIRVCodeGenerator.cpp1910 SpvId flipped = this->nextId(); local
1913 this->writeWord(flipped, out);
1918 return flipped;

Completed in 609 milliseconds