/external/libvorbis/lib/ |
floor1.c | 272 static int render_point(int x0,int x1,int y0,int y1,int x){ 274 y1&=0x7fff; 277 int dy=y1-y0; 362 static void render_line(int n, int x0,int x1,int y0,int y1,float *d){ 363 int dy=y1-y0; 391 static void render_line0(int n, int x0,int x1,int y0,int y1,int *d){ 392 int dy=y1-y0; 471 static int fit_line(lsfit_acc *a,int fits,int *y0,int *y1, 498 if(*y1>=0){ 500 yb+= *y1; 628 int y1=-200; local 729 int y1=output[hn]; local 811 int y1=post[hn]; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
PathCairo.cpp | 129 double y1 = controlPoint.y(); local 134 x + 2.0 / 3.0 * (x1 - x), y + 2.0 / 3.0 * (y1 - y), 135 x2 + 2.0 / 3.0 * (x1 - x2), y2 + 2.0 / 3.0 * (y1 - y2), 279 double x0, x1, y0, y1; local 280 cairo_path_extents(cr, &x0, &y0, &x1, &y1); 281 return FloatRect(x0, y0, x1 - x0, y1 - y0); 292 double x0, x1, y0, y1; local 293 cairo_stroke_extents(cr, &x0, &y0, &x1, &y1); 294 return FloatRect(x0, y0, x1 - x0, y1 - y0);
|
ContextShadowCairo.cpp | 90 double x1, x2, y1, y2; local 91 cairo_clip_extents(context->platformContext()->cr(), &x1, &y1, &x2, &y2); 92 IntRect layerRect = calculateLayerBoundingRect(context, layerArea, IntRect(x1, y1, x2 - x1, y2 - y1)); 227 double x1, x2, y1, y2; local 228 cairo_clip_extents(cr, &x1, &y1, &x2, &y2); 229 calculateLayerBoundingRect(context, shadowRect, IntRect(x1, y1, x2 - x1, y2 - y1));
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 267 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 271 * @param y1 The y-coordinate of the control point on a quadratic curve 275 public void quadTo(float x1, float y1, float x2, float y2) { 277 native_quadTo(mNativePath, x1, y1, x2, y2); 301 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 305 * @param y1 The y-coordinate of the 1st control point on a cubic curve 311 public void cubicTo(float x1, float y1, float x2, float y2, 314 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 322 public void rCubicTo(float x1, float y1, float x2, float y2, 325 native_rCubicTo(mNativePath, x1, y1, x2, y2, x3, y3) [all...] |
/external/skia/legacy/src/core/ |
SkScan_Antihair.cpp | 212 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, 217 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) { 225 int hy = (y0 >> 1) + (y1 >> 1); 227 do_anti_hairline(hx, hy, x1, y1, clip, blitter); 236 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal 239 SkTSwap<SkFDot6>(y0, y1); 245 if (y0 == y1) { // completely horizontal, take fast case 249 slope = fastfixdiv(y1 - y0, x1 - x0); 303 if (y0 > y1) { // we want to go top-to-bottom 305 SkTSwap<SkFDot6>(y0, y1); [all...] |
SkBitmapProcState_shaderproc.h | 39 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY); local 44 row1 = (const SRCTYPE*)(srcAddr + y1 * rb);
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 26 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { 31 (y0 < r.fTop && y1 < r.fTop) || 32 (y0 > r.fBottom && y1 > r.fBottom)) { 37 if (r.contains(x0, y0) || r.contains(x1, y1)) { 45 vec.set(x1 - x0, y1 - y0);
|
/external/webkit/Source/WebCore/platform/audio/ |
Biquad.cpp | 78 double y1 = m_y1; 90 float y = a0*x + a1*x1 + a2*x2 - b1*y1 - b2*y2; 99 y2 = y1; 100 y1 = y; 106 m_y1 = y1;
|
/external/webkit/Source/WebCore/svg/ |
SVGLinearGradientElement.cpp | 44 DEFINE_ANIMATED_LENGTH(SVGLinearGradientElement, SVGNames::y1Attr, Y1, y1) 172 attributes.setY1(linear->y1()); 204 startPoint = FloatPoint(attributes.x1().valueAsPercentage(), attributes.y1().valueAsPercentage()); 207 startPoint = FloatPoint(attributes.x1().value(this), attributes.y1().value(this)); 215 || y1().isRelative()
|
SVGLineElement.cpp | 37 DEFINE_ANIMATED_LENGTH(SVGLineElement, SVGNames::y1Attr, Y1, y1) 156 path.moveTo(FloatPoint(x1().value(this), y1().value(this))); 163 || y1().isRelative()
|
/frameworks/base/services/java/com/android/server/power/ |
WirelessChargerDetector.java | 286 private static boolean hasMoved(float x1, float y1, float z1, 288 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); 289 final double mag1 = Math.sqrt((x1 * x1) + (y1 * y1) + (z1 * z1)); 301 + ", x1=" + x1 + ", y1=" + y1 + ", z1=" + z1
|
/external/replicaisland/src/com/replica/replicaisland/ |
CollisionSystem.java | 708 final float y1 = mStartPoint.y; local 713 final float denom = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1); 715 final float uA = ((x4 - x3) * (y1 - y3) - (y4 - y3) * (x1 - x3)) / denom; 716 final float uB = ((x2 - x1) * (y1 - y3) - (y2 - y1) * (x1 - x3)) / denom; 720 final float hitY = y1 + (uA * (y2 - y1)); 734 final float y1 = mStartPoint.y; local [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_window.cc | 17 bool IsInsideCircle(int x0, int y0, int x1, int y1, int r) { 18 return (x0 - x1) * (x0 - x1) + (y0 - y1) * (y0 - y1) <= r * r;
|
/frameworks/base/libs/hwui/ |
FontRenderer.h | 125 void appendMeshQuadNoClip(float x1, float y1, float u1, float v1, 129 void appendMeshQuad(float x1, float y1, float u1, float v1, 133 void appendRotatedMeshQuad(float x1, float y1, float u1, float v1,
|
/frameworks/rs/driver/ |
rsdPath.cpp | 47 float y1, yc, y2; member in struct:DrvPathStatic::__anon20258 120 s->y1 = fin[1]; 163 vtx[1] = s->y1; 173 vtx[9] = s->y1;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 90 int y1 = b.y + MARGIN_SIZE; local 92 for (int y = y1; y < y2; y += GRID_SIZE) { 192 int y1; local 195 y1 = offsetY + y - 1; 199 y1 = bounds.h + offsetY + y - 1; 202 gc.drawLine(b.x, y1, b.x2(), y1); 205 centerX - 3, y1 + (y2 - y1 - 16) / 2); 248 int y1 = dragBounds.y + offsetY + feedback.dragBaseline local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeOverlay.java | 83 int y1 = topLeft.y; local 87 gc.fillRectangle(x1, y1, x2 - x1, y2 - y1);
|
ImageUtils.java | 241 int x1, y1, x2, y2; local 244 y1 = initialCrop.y; 249 y1 = 0; 255 if (x1 == x2 || y1 == y2) { 269 topEdge: for (; y1 < y2; y1++) { 271 if (!filter.crop(image, x, y1)) { 277 if (y1 == image.getHeight()) { 284 for (int y = y1; y < y2; y++) { 293 for (int y = y1; y < y2; y++) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPath.java | 40 public void quadTo(float x1, float y1, float x2, float y2) { 41 quadDescription = "Add a quadratic bezier from last point, approaching (" + x1 + "," + y1 + "), " +
|
/external/skia/src/core/ |
SkBitmapProcState_shaderproc.h | 44 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY); local 49 row1 = (const SRCTYPE*)(srcAddr + y1 * rb);
|
SkScan_Hairline.cpp | 75 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); 80 SkASSERT(canConvertFDot6ToFixed(y1)); 90 ptsR.set(x0, y0, x1, y1); 110 SkFDot6 dy = y1 - y0; 115 SkTSwap<SkFDot6>(y0, y1); 128 if (y0 > y1) { // we want to go top-to-bottom 130 SkTSwap<SkFDot6>(y0, y1); 133 int iy1 = SkFDot6Round(y1);
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 148 inline void addQuad(float x1, float y1, float u1, float v1, 153 TextureVertex::set(mesh++, x1, y1, u1, v1);
|
/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);
|
/external/qemu/android/skin/ |
region.c | 333 if (ytop < minmax->y1) minmax->y1 = ytop; 376 skin_region_init( SkinRegion* r, int x1, int y1, int x2, int y2 ) 378 if (x1 >= x2 || y1 >= y2) { 383 r->bounds.pos.y = y1; 385 r->bounds.size.h = y2 - y1; 403 if (box == NULL || box->x1 >= box->x2 || box->y1 >= box->y2) { 408 r->bounds.pos.y = box->y1; 410 r->bounds.size.h = box->y2 - box->y1; 1002 minmax.x1 = minmax.y1 = INT_MAX [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderObject.cpp | 709 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, 713 int width = (side == BSTop || side == BSBottom ? y2 - y1 : x2 - x1); 735 graphicsContext->drawLine(IntPoint(x1, (y1 + y2) / 2), IntPoint(x2, (y1 + y2) / 2)); 739 graphicsContext->drawLine(IntPoint((x1 + x2) / 2, y1), IntPoint((x1 + x2) / 2, y2)); 758 graphicsContext->drawRect(IntRect(x1, y1, x2 - x1, third)); 762 graphicsContext->drawRect(IntRect(x1, y1 + 1, third, y2 - y1 - 1)); 763 graphicsContext->drawRect(IntRect(x2 - third, y1 + 1, third, y2 - y1 - 1)) [all...] |