/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 22 @param y0 The y-coordinate for the start of the gradient line 31 public LinearGradient(float x0, float y0, float x1, float y1, 39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, 46 @param y0 The y-coordinate for the start of the gradient line 53 public LinearGradient(float x0, float y0, float x1, float y1, 55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); 56 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1, 60 private native int nativeCreate1(float x0, float y0, float x1, float y1, 62 private native int nativeCreate2(float x0, float y0, float x1, float y1 [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
tns_ar_filter.cpp | 318 Int32 y0; local 379 y0 = *p_spec >> shift_down_amount; 387 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; 394 *(p_spec--) = y0; 402 y0 = *p_spec >> shift_down_amount; 410 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; 417 *(p_spec--) = y0; 430 y0 = 0; 435 y0 -= fxp_mul32_Q31(*p_state--, *(p_lpc++)); 442 *(p_spec) = (*p_spec >> shift_down_amount) + (y0 << shift_up) [all...] |
/external/clang/test/PCH/ |
functions.c | 8 int f0(int x0, int y0, ...) { return x0 + y0; }
|
pr4489.c | 31 struct y0 { int i; } y0[1] = {}; variable in typeref:struct:y0
|
/external/skia/gpu/include/ |
GrPathSink.h | 29 virtual void quadTo(GrScalar x0, GrScalar y0, GrScalar x1, GrScalar y1) = 0; 30 virtual void cubicTo(GrScalar x0, GrScalar y0, GrScalar x1, GrScalar y1,
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Geometry.h | 65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a 82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 102 // Calculate line equation from x0,y0 to x2,y2 104 double dy = y2 - y0; [all...] |
/external/skia/src/core/ |
SkEdge.cpp | 37 SkFDot6 x0, y0, x1, y1; local 43 y0 = int(p0.fY * scale); 49 y0 = p0.fY >> shift; 57 if (y0 > y1) { 59 SkTSwap(y0, y1); 63 int top = SkFDot6Round(y0); 75 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); 77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2 92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) 98 y0 >>= 10 178 SkFDot6 x0, y0, x1, y1, x2, y2; local 319 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local [all...] |
SkBitmapProcState_sample.h | 135 unsigned y0 = XY >> 14; local 136 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb); 138 subY = y0 & 0xF; 177 unsigned y0 = data >> 14; local 179 unsigned subY = y0 & 0xF; 180 y0 >>= 4; 188 const SRCTYPE* SK_RESTRICT row0 = (const SRCTYPE*)(srcAddr + y0 * rb);
|
/external/libvpx/vp8/common/ |
textblit.c | 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) 63 int steep = abs(y1 - y0) > abs(x1 - x0); 71 x0 = y0; 72 y0 = t; 86 t = y0; 87 y0 = y1; 92 deltay = abs(y1 - y0); 95 y = y0; 97 if (y0 < y1)
|
postproc.c | 126 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 631 static void constrain_line (int x0, int *x1, int y0, int *y1, int width, int height) 639 dy = *y1 - y0; 643 *y1 = ((width-x0)*dy)/dx + y0; 648 dy = *y1 - y0; 652 *y1 = ((0-x0)*dy)/dx + y0; 657 dy = *y1 - y0; 661 *x1 = ((height-y0)*dx)/dy + x0; 666 dy = *y1 - y0; 670 *x1 = ((0-y0)*dx)/dy + x0 841 int x0, y0; local [all...] |
/frameworks/base/services/audioflinger/ |
AudioResamplerCubic.h | 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon15637 54 p->y0 = p->y1; 58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1; 59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1); 60 p->c = (p->y2 - p->y0) >> 1;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_reconstruct.h | 75 i32 y0, 86 i32 y0, 97 i32 y0, 108 i32 y0, 120 i32 y0, 130 i32 y0, 141 i32 y0, 151 i32 y0, 162 i32 y0, 173 i32 y0, [all...] |
h264bsd_reconstruct.c | 97 y0 integer y-coordinate for prediction 112 i32 y0, 136 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) 138 h264bsdFillBlock(pRef, block, x0, y0, width, height, 142 x0, y0, width, height, chromaPartWidth + 1, 147 y0 = 0; 157 ptrA = pRef + (comp * height + (u32)y0) * width + x0; 208 i32 y0, 232 (y0 < 0) || ((u32)y0+chromaPartHeight+1 > height) 1982 i32 xInt, yInt, x0, y0; local [all...] |
/external/skia/samplecode/ |
SampleDash.cpp | 59 SkScalar y0 = SkIntToScalar(10); local 70 canvas->drawLine(x0, y0, x1, y0, paint); 73 y0 += paint.getStrokeWidth() * 3; 77 canvas->drawLine(x0, y0, x1, y0, paint);
|
/external/dropbear/libtommath/ |
bn_mp_karatsuba_mul.c | 49 mp_int x0, x1, y0, y1, t1, x0y0, x1y1; local 66 if (mp_init_size (&y0, B) != MP_OKAY) 69 goto Y0; 80 x0.used = y0.used = B; 95 tmpy = y0.dp; 116 mp_clamp (&y0); 120 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) 121 goto X1Y1; /* x0y0 = x0*y0 */ 125 /* now calc x1+x0 and y1+y0 */ 128 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY [all...] |
/external/skia/src/utils/ |
SkCullPoints.cpp | 34 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const { 39 (y0 < r.fTop && y1 < r.fTop) || 40 (y0 > r.fBottom && y1 > r.fBottom)) { 45 if (r.contains(x0, y0) || r.contains(x1, y1)) { 53 vec.set(x1 - x0, y1 - y0); 54 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); 56 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { 99 int y0 = fPrevPt.fY; local 104 if (this->sect_test(x0, y0, x, y)) { 105 line[0].set(x0, y0); [all...] |
/external/clang/test/SemaCXX/ |
warn-literal-conversion.cpp | 8 int y0 = 1.2222F; // expected-warning {{implicit conversion turns literal floating-point number into integer}} local
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 58 float x0, float y0, float x1, float y1, 60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, 67 float x0, float y0, float x1, float y1, 70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 76 int native_shader, float x0, float y0, float x1, float y1, 84 int native_shader, float x0, float y0, float x1, float y1, 96 * @param y0 The y-coordinate for the start of the gradient line 105 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, 108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); 125 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[] [all...] |
/external/speex/libspeex/ |
ltp_arm4.h | 101 spx_word32_t y0, y1, y2, y3; local 102 y0=*y++; 173 : "+r" (y0), "+r" (y1), "+r" (y2), "+r" (y3),
|
/bionic/libc/kernel/arch-sh/asm/ |
ptrace.h | 67 unsigned long y0; member in struct:pt_dspregs
|
/external/clang/test/Index/ |
load-exprs.c | 30 struct Y y0 = { .array[StartIndex].b = bval, .array[StartIndex].a = aval }; local 67 // CHECK: load-exprs.c:30:12: VarDecl=y0:30:12 (Definition) Extent=[30:3 - 30:77]
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPPathInterface.cpp | 66 static void anp_quadTo(ANPPath* path, float x0, float y0, float x1, float y1) { 67 path->quadTo(SkFloatToScalar(x0), SkFloatToScalar(y0), 71 static void anp_cubicTo(ANPPath* path, float x0, float y0, 73 path->cubicTo(SkFloatToScalar(x0), SkFloatToScalar(y0),
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
colorchecker.cpp | 313 int x0, int y0, 316 if ((x0 == x1) && (y0 == y1)) { 317 unsigned char *p = &image[(y0 * rowSpan + x0) * totalChannels]; 323 if ( std::abs(x1-x0) > std::abs(y1-y0) ) { 326 std::swap(y0, y1); 328 float slope = (float)(y1 - y0) / (x1 - x0); 330 int y = y0 + slope * (x - x0); 337 if (y0 > y1) { 339 std::swap(y0, y1); 341 float invSlope = (float)(x1 - x0) / (y1 - y0); 618 int x0, y0, x1, y1; local 677 int x0, y0, x1, y1; local [all...] |
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebThemeControlDRTWin.h | 150 void triangle(int x0, int y0, int x1, int y1, int x2, int y2, SkColor color); 177 void line(int x0, int y0, int x1, int y1, SkColor color);
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 97 float y0 = pivotY - l*sin; local 98 canvas.drawLine(x0 + SHADOW_OFFSET, y0 + SHADOW_OFFSET, pivotX + SHADOW_OFFSET, pivotY + SHADOW_OFFSET, mShadow); 100 canvas.drawLine(x0, y0, pivotX, pivotY, mPaint);
|