HomeSort by relevance Sort by last modified time
    Searched refs:y0 (Results 1 - 25 of 192) sorted by null

1 2 3 4 5 6 7 8

  /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, int colors[], float positions[],
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, int color0, int color1,
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/av/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
  /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...]
  /packages/apps/LegacyCamera/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 30 SkFDot6 x0, y0, x1, y1; local
36 y0 = int(p0.fY * scale);
42 y0 = p0.fY >> shift;
50 if (y0 > y1) {
52 SkTSwap(y0, y1);
56 int top = SkFDot6Round(y0);
68 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
70 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2
85 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
91 y0 >>= 10
171 SkFDot6 x0, y0, x1, y1, x2, y2; local
312 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local
    [all...]
SkBitmapProcState_sample.h 142 unsigned y0 = XY >> 14; local
143 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb);
145 subY = y0 & 0xF;
184 unsigned y0 = data >> 14; local
186 unsigned subY = y0 & 0xF;
187 y0 >>= 4;
195 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/av/services/audioflinger/
AudioResamplerCubic.h 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon16787
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/av/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 66 SkScalar y0 = SkIntToScalar(10); local
77 canvas->drawLine(x0, y0, x1, y0, paint);
80 y0 += paint.getStrokeWidth() * 3;
84 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 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);
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY);
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) {
91 int y0 = fPrevPt.fY; local
96 if (this->sect_test(x0, y0, x, y)) {
97 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),
  /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),
  /frameworks/base/tests/touchlag/
touchlag.cpp 106 size_t x0, size_t y0, size_t radius, bool filled = false) {
113 drawHLine(buf, pixel, x0-radius, y0, 2*radius);
115 drawTwoPixels(buf, pixel, x0-radius, y0, 2*radius);
127 drawHLine(buf, pixel, x0-x, y0+y, 2*x);
128 drawHLine(buf, pixel, x0-x, y0-y, 2*x);
129 drawHLine(buf, pixel, x0-y, y0+x, 2*y);
130 drawHLine(buf, pixel, x0-y, y0-x, 2*y);
132 drawTwoPixels(buf, pixel, x0-x, y0+y, 2*x);
133 drawTwoPixels(buf, pixel, x0-x, y0-y, 2*x);
134 drawTwoPixels(buf, pixel, x0-y, y0+x, 2*y)
    [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);
  /development/samples/HelloEffects/src/com/example/android/mediafx/
TextureRenderer.java 147 float x0, y0, x1, y1; local
150 y0 = -1.0f;
155 y0 = -relativeAspectRatio;
159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 };
  /external/jmonkeyengine/engine/src/core/com/jme3/font/
LetterQuad.java 23 private float y0 = Integer.MIN_VALUE; field in class:LetterQuad
131 if (x0 == Integer.MIN_VALUE || y0 == Integer.MIN_VALUE) {
158 return y0;
162 return y0-height;
225 y0 = Integer.MIN_VALUE;
259 y0 = lineY;
266 y0 = lineY;
278 y0 = lineY;
317 y0 = lineY + LINE_DIR*yOffset;
373 float y = y0-alignY;
    [all...]

Completed in 736 milliseconds

1 2 3 4 5 6 7 8