/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 83 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); 87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint);
|
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 83 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); 87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 99 int y2 = y1 + h; local 101 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { 112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); 119 addBottomMatch(y2, rowMatches, max); 127 addRowGapMatch(bounds, y1, y2, rowMatches, max); 136 y2 = y1 + h; 202 if (y1 >= bounds.y2()) { 291 private void addCenterColumnMatch(Rect bounds, int x1, int y1, int x2, int y2, 293 Collection<INode> intersectsRow = mGrid.getIntersectsRow(y1, y2); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
MoveHandler.java | 197 if (mBounds.y2() > layoutBounds.y2()) { 198 mBounds.y -= mBounds.y2() - layoutBounds.y2(); 212 edge = new Segment(b.y2(), b.x, b.x2(), null, null, BOTTOM, NO_MARGIN); 215 edge = new Segment(b.x, b.y, b.y2(), null, null, LEFT, NO_MARGIN); 217 edge = new Segment(b.x2(), b.y, b.y2(), null, null, RIGHT, NO_MARGIN); 221 edge = new Segment(b.centerX(), b.y, b.y2(), null, null, CENTER_VERTICAL, NO_MARGIN);
|
ConstraintPainter.java | 328 int x1, y1, x2, y2; local 345 y2 = targetBounds.y + 1 * targetBounds.h / 4; 347 y2 = targetBounds.y + 3 * targetBounds.h / 4; 351 graphics.drawArrow(x1, y1, x2, y2, ARROW_SIZE); 590 int ty = targetBounds.y2(); 629 targetX + PARENT_RECT_SIZE / 2, targetBounds.y2()); 633 int minBottom = Math.min(sourceBounds.y2(), targetBounds.y2()); 638 if (center > sourceBounds.y && center < sourceBounds.y2()) { 644 graphics.drawLine(sharedX, targetBounds.y, sharedX, targetBounds.y2()); [all...] |
/external/pixman/pixman/ |
pixman-trap.c | 423 box->y2 = dest->bits.height; 430 box->y2 = INT32_MIN; 435 int y1, y2; local 444 y2 = pixman_fixed_to_int (pixman_fixed_ceil (trap->bottom)); 445 if (y2 > box->y2) 446 box->y2 = y2; 465 if (box->x1 >= box->x2 || box->y1 >= box->y2) 527 mask_format, box.x2 - box.x1, box.y2 - box.y1, NULL, -1)) [all...] |
pixman-utils.c | 240 boxes16[i].y2 = boxes32[i].y2; 274 boxes32[i].y2 = boxes16[i].y2;
|
pixman-bits-image.c | 102 int x1, y1, x2, y2; local 115 y2 = y1 + 1; 122 repeat (repeat_mode, &y2, height); 125 bl = get_pixel (image, x1, y2, FALSE); 127 br = get_pixel (image, x2, y2, FALSE); 133 bl = get_pixel (image, x1, y2, TRUE); 134 br = get_pixel (image, x2, y2, TRUE); 161 int y, y1, y2; local 192 y2 = y1 + 1; 207 if (y2 < 0 || y2 >= bits->height 366 int32_t i, j, x1, x2, y1, y2; local 449 int32_t x1, x2, y1, y2; local 771 int32_t x1, x2, y1, y2; local 905 int x1, y1, x2, y2; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 241 int x1, y1, x2, y2; local 246 y2 = initialCrop.y + initialCrop.h; 251 y2 = image.getHeight(); 255 if (x1 == x2 || y1 == y2) { 269 topEdge: for (; y1 < y2; y1++) { 284 for (int y = y1; y < y2; y++) { 293 for (int y = y1; y < y2; y++) { 301 bottomEdge: for (; y2 > y1; y2--) { 303 if (!filter.crop(image, x, y2 - 1)) [all...] |
SelectionOverlay.java | 207 int y2 = r.y2() + 1; local 213 y2 -= insets.bottom; 216 gc.drawRect(x1, y1, x2, y2);
|
/bootable/recovery/minui/ |
minui.h | 39 void gr_fill(int x1, int y1, int x2, int y2);
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestThemeControlWin.h | 152 void triangle(int x0, int y0, int x1, int y1, int x2, int y2, SkColor);
|
/external/chromium_org/ui/gfx/ |
rect_unittest.cc | 50 int y2; member in struct:gfx::__anon16732 68 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 81 int y2; member in struct:gfx::__anon16733 110 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 127 int y2; member in struct:gfx::Test 159 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 185 int y2; member in struct:gfx::Test 211 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 443 float y2; member in struct:gfx::Test 469 RectF r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2) 486 int y2; member in struct:gfx::Test 536 int y2; member in struct:gfx::Test 599 int y2; member in struct:gfx::Test [all...] |
/external/clang/test/SemaCXX/ |
dcl_init_aggr.cpp | 92 float y2[4][3] = { { 1, 3, 5 }, { 2, 4, 6 }, { 3, 5, 7 } }; variable
|
/external/clang/test/SemaTemplate/ |
instantiate-invalid.cpp | 3 template<class Conv> class rasterizer_sl_clip Conv::xi(x2), Conv::yi(y2));
|
instantiate-static-var.cpp | 61 struct Y2 { 72 Z1<Y2<X2>::value> x2; 73 int y2[Y2<X2>::value]; local
|
/external/pixman/test/ |
composite-traps-test.c | 125 clip_boxes[i].y2 = 132 clip_boxes[i].x2, clip_boxes[i].y2); 199 clip_boxes[i].y2 = 206 clip_boxes[i].x2, clip_boxes[i].y2);
|
/external/skia/tests/ |
PathOpsQuadParameterizationTest.cpp | 15 double yy = q.y2() * point.fY * point.fY;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterGrad.java | 125 int[] y2 = mParameters.getYPos2(); local 138 coord[1] = y2[i]; 141 y2[i] = (int) coord[1]; 148 mScript.set_yPos2(y2);
|
SplineMath.java | 53 double y2 = next[1]; local 62 double tb = b * y2; 94 double y2 = next[1]; local 103 double tb = b * y2;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
PolygonShape.cpp | 315 static void computeOverlappingEdgeXProjections(const FloatPolygon& polygon, float y1, float y2, Vector<ShapeInterval>& result) 318 if (!polygon.overlappingEdges(y1, y2, edges)) 334 if (edge->maxY() > y2) { 335 computeXIntersection(edge, y2, intersection); 358 float y2 = logicalTop + logicalHeight; local 362 computeXIntersections(polygon, y2, false, y2XIntervals); 368 computeOverlappingEdgeXProjections(polygon, y1, y2, edgeIntervals); 386 float y2 = logicalTop + logicalHeight; local 390 computeXIntersections(polygon, y2, false, y2XIntervals); 396 computeOverlappingEdgeXProjections(polygon, y1, y2, edgeIntervals) [all...] |
/external/opencv/cv/src/ |
cvlinefit.cpp | 48 double x = 0, y = 0, x2 = 0, y2 = 0, xy = 0, w = 0; local 63 y2 += points[i].y * points[i].y; 75 y2 += weights[i] * points[i].y * points[i].y; 84 y2 /= w; 88 dy2 = y2 - y * y; 107 float x2 = 0, y2 = 0, z2 = 0, xy = 0, yz = 0, xz = 0; local 129 y2 += y * y * w; 149 y2 += y * y; 162 y2 /= w0; 173 dy2 = y2 - y0 * y0 [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 156 signed y2 = (signed)src_ptr[2 * x + 3] - 16; local 170 signed tmp2 = y2 * 298; 243 signed y2 = (signed)src_y[x + 1] - 16; local 258 signed tmp2 = y2 * 298; 316 signed y2 = (signed)src_y[x + 1] - 16; local 331 signed tmp2 = y2 * 298; 390 signed y2 = (signed)src_y[x + 1] - 16; local 405 signed tmp2 = y2 * 298; 460 signed y2 = (signed)src_y[x + 1] - 16; local 475 signed tmp2 = y2 * 298 [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 251 /*package*/ static void native_quadTo(int nPath, float x1, float y1, float x2, float y2) { 257 pathDelegate.quadTo(x1, y1, x2, y2); 272 float x2, float y2, float x3, float y3) { 278 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); 283 float x2, float y2, float x3, float y3) { 289 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); 624 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 630 * @param y2 The y-coordinate of the end point on a quadratic curve 632 private void quadTo(float x1, float y1, float x2, float y2) { 633 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2); [all...] |
/external/qemu/android/skin/ |
region.c | 334 if (ybot > minmax->y2) minmax->y2 = ybot; 376 skin_region_init( SkinRegion* r, int x1, int y1, int x2, int y2 ) 378 if (x1 >= x2 || y1 >= y2) { 385 r->bounds.size.h = y2 - y1; 403 if (box == NULL || box->x1 >= box->x2 || box->y1 >= box->y2) { 410 r->bounds.size.h = box->y2 - box->y1; 1003 minmax.x2 = minmax.y2 = INT_MIN; 1275 boxes->x1, boxes->y1, boxes->x2, boxes->y2 ); 1280 b.y1 != boxes->y1 || b.y2 != boxes->y2 [all...] |