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

1 2 3 4 5 6 7 8 910

  /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...]
  /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/Gallery2/jni_mosaic/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/legacy/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...]
  /external/libvpx/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)
  /external/skia/src/core/
SkEdge.cpp 36 SkFDot6 x0, y0, x1, y1; local
42 y0 = int(p0.fY * scale);
48 y0 = p0.fY >> shift;
56 if (y0 > y1) {
58 SkTSwap(y0, y1);
62 int top = SkFDot6Round(y0);
74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
75 const int dy = SkEdge_Compute_DY(top, y0);
92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
98 y0 >>= 10
179 SkFDot6 x0, y0, x1, y1, x2, y2; local
339 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local
    [all...]
SkEdge.h 18 #define SkEdge_Compute_DY(top, y0) ((32 - (y0)) & 63)
20 // This is correct, as it favors the lower-pixel when y0 is on a 1/2 pixel
22 #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0))
94 SkFDot6 x0, y0, x1, y1;
100 y0 = int(p0.fY * scale);
106 y0 = p0.fY >> shift;
114 if (y0 > y1) {
116 SkTSwap(y0, y1)
    [all...]
  /frameworks/av/services/audioflinger/
AudioResamplerCubic.h 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon19633
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/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/legacy/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 from 'float' to 'int' changes value from 1.2222 to 1}} local
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
convolve5x5.fs 32 uint32_t y0 = max((int32_t)y-2, 0);
38 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
39 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
convolve5x5.fs 32 uint32_t y0 = max((int32_t)y-2, 0);
38 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
39 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
convolve5x5.fs 32 uint32_t y0 = max((int32_t)y-2, 0);
38 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
39 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
  /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...]
  /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...]

Completed in 1008 milliseconds

1 2 3 4 5 6 7 8 910