Lines Matching refs:traps

56     TrapezoidList traps;
66 traps = buf.tesselateFill(s, at, clip);
68 traps = buf.tesselateStroke(s, bs, thin, false, true, at, clip);
87 rasterizeTrapezoidsNative(long pixmanImagePtr, int[] traps,
102 if (traps.getSize() > 0) {
103 left = traps.getLeft();
104 right = traps.getRight();
105 top = traps.getTop();
106 bottom = traps.getBottom();
124 // If there is no area touched by the traps, don't
126 traps.setSize(0);
134 for (int i = 0; i < traps.getSize(); i++) {
135 int top = traps.getTop(i) - XRUtils.XDoubleToFixed(this.top);
136 int bottom = traps.getBottom(i) - topFP;
137 int p1xLeft = traps.getP1XLeft(i) - leftFP;
138 int p2xLeft = traps.getP2XLeft(i) - leftFP;
139 int p1xRight = traps.getP1XRight(i) - leftFP;
140 int p2xRight = traps.getP2XRight(i) - leftFP;
216 * fully covered by traps by: - Checking wether the tile is fully covered by
217 * traps vertically (trap 2 starts where trap 1 ended) - Checking wether all
218 * traps cover the tile horizontally This also works, when a single tile
223 // Don't bother optimizing tiles with lots of traps, usually it won't
235 int firstTop = traps.getTop(trapList.getInt(0));
236 int firstBottom = traps.getBottom(trapList.getInt(0));
247 if (traps.getP1XLeft(trapPos) > tileStartX ||
248 traps.getP2XLeft(trapPos) > tileStartX ||
249 traps.getP1XRight(trapPos) < tileEndX ||
250 traps.getP2XRight(trapPos) < tileEndX ||
251 traps.getTop(trapPos) != lastBottom)
255 lastBottom = traps.getBottom(trapPos);
289 traps.getTrapArray(),
332 GrowableIntArray traps;
334 public TileTrapContainer(GrowableIntArray traps) {
335 this.traps = traps;
347 return traps;