Lines Matching refs:Math
173 minX = Math.min(minX, info.x);
174 minY = Math.min(minY, info.y);
175 maxX = Math.max(maxX, info.x + info.width);
176 maxY = Math.max(maxY, info.y + info.height);
184 p0 = Math.min(p0, hi.p0.getOffset());
185 p1 = Math.max(p1, hi.p1.getOffset());
207 p0 = Math.min(p0, info.p0.getOffset());
208 p1 = Math.max(p1, info.p1.getOffset());
247 safeDamageRange(Math.min(p0, p1), Math.max(p0, p1));
254 safeDamageRange(Math.min(oldP1, p1),
255 Math.max(oldP1, p1));
257 safeDamageRange(Math.min(p0, oldP0),
258 Math.max(p0, oldP0));
493 r.width = Math.max(r.width, 1);
550 width = Math.max(x + width, alloc.x + alloc.width);
551 height = Math.max(y + height, alloc.y + alloc.height);
552 x = Math.min(x, alloc.x);
554 y = Math.min(y, alloc.y);
569 p0 = Math.max(start, p0);
570 p1 = Math.min(end, p1);