Searched refs:y0 (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java22 @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[], argument
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, argument
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, argument
62 private native int nativeCreate2(float x0, float y0, floa argument
64 nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h75 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...]
H A Dh264bsd_reconstruct.c97 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 <
108 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
204 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
300 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
489 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
607 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
741 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
864 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1002 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument
1208 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
1394 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
1598 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1982 i32 xInt, yInt, x0, y0; local
2219 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon935
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/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A Dconvolve5x5.fs34 uint32_t y0 = max((int32_t)y-2, 0);
40 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
43 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
44 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A Dconvolve5x5.rs34 uint32_t y0 = max((int32_t)y-2, 0);
40 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
43 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
44 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java58 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, argument
108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
125 public LinearGradientPaint(float x0, float y0, floa argument
57 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
75 nativePostCreate1(LinearGradient thisGradient, int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
83 nativePostCreate2(LinearGradient thisGradient, int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp106 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
105 drawCircle(Buffer* buf, uint32_t pixel, size_t x0, size_t y0, size_t radius, bool filled = false) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp169 audio_sample_t y0 = coef_sample_acc_to_sample(acc); local
171 y1 = y0;
174 (*out++) = y0;
222 audio_sample_t y0 = coef_sample_acc_to_sample(acc); local
224 y1 = y0;
227 *out = y0;
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DQuad.java74 float y0 = Collections.min(ys);
77 return new Rectangle(x0, y0, x1 - x0, y1 - y0);
/frameworks/base/core/java/android/webkit/
H A DQuadF.java69 private static boolean isPointInTriangle(float x0, float y0, argument
77 float y03 = y0 - r3.y;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageSlicer.java116 float y0 = (ySliceIndex * mSliceHeight - mPadSize) / ((float) mInputHeight);
118 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
H A DImageStitcher.java115 float y0 = ((float) mPadSize) / mInputHeight;
124 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java704 float x0, x1, y0, y1;
710 x0 = r.left; y0 = r.top;
714 x0 = r.right; y0 = r.top;
718 x0 = r.right; y0 = r.top;
719 x1 = level * r.left; y1 = y0;
722 x0 = r.right; y0 = r.bottom;
726 x0 = r.left; y0 = r.bottom;
730 x0 = r.left; y0 = r.bottom;
734 x0 = r.left; y0 = r.top;
735 x1 = level * r.right; y1 = y0;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s43 y0 RN 3 label
81 ;// i32 y0, : 0xd0
102 CMP y0, #0
106 ADD tmp6, y0, chrPH ;// tmp6 = y0 + chromaPartHeight
120 LDR y0, [sp, #0xd0]
129 MOV y0, #0 ;// y0 = 0
131 STR y0, [sp, #0xd0]
141 MLA tmp3, y0, widt
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s44 y0 RN 3 label
82 ;// i32 y0, : 0xd0
105 CMP y0, #0
109 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
110 ADD tmp1, tmp1, #1 ;// tmp1 = y0 + chromaPartHeight + 1
125 LDR y0, [sp, #0xd0]
134 MOV y0, #0 ;// y0 = 0
136 STR y0, [s
[all...]
H A Dh264bsd_interpolate_chroma_ver.s42 y0 RN 3 label
80 ;// i32 y0, : 0xd0
100 CMP y0, #0
104 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
105 ADD tmp1, tmp1, #1 ;// tmp1 = y0 + chromaPartHeight + 1
119 LDR y0, [sp, #0xd0]
128 MOV y0, #0 ;// y0 = 0
130 STR y0, [s
[all...]
H A Dh264bsd_interpolate_hor_half.s41 y0 RN 3 label
95 ADD tmp4, tmp4, #5 ;// (y0+partW+5)
100 CMP y0, #0
101 BLT do_fill ;// (y0 < 0)
103 ADD tmp2, y0, partH ;// (y0+partHeight)
124 STR x0,[sp,#0x1f0] ;// y0 = 0
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp2, width, y0, x
[all...]
H A Dh264bsd_interpolate_hor_quarter.s41 y0 RN 3 label
97 ADD tmp4, tmp4, #5 ;// (y0+partW+5)
102 CMP y0, #0
103 BLT do_fill ;// (y0 < 0)
105 ADD tmp2, y0, partH ;// (y0+partHeight)
126 STR x0,[sp,#0x1f0] ;// y0 = 0
133 LDR y0 ,[sp,#0x1f0] ;// y0
135 MLA tmp2, width, y0, x
[all...]
H A Dh264bsd_interpolate_ver_half.s42 y0 RN 3 label
100 CMP y0, #0
101 BLT do_fill ;// (y0 < 0)
103 ADD tmp6, y0, partH ;// (y0+partHeight)
104 ADD tmp6, tmp6, #5 ;// (y0+partH+5)
125 STR x0,[sp,#0x1f0] ;// y0 = 0
132 LDR y0 ,[sp,#0x1f0] ;// y0
134 MLA tmp6, width, y0, x
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp111 float x0, float y0, float x1, float y1,
115 pts[0].set(SkFloatToScalar(x0), SkFloatToScalar(y0));
144 float x0, float y0, float x1, float y1, jintArray colorArray,
151 storedBounds[0] = x0; storedBounds[1] = y0;
216 float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) {
219 storedBounds[0] = x0; storedBounds[1] = y0;
241 float x0, float y0, float x1, float y1,
245 pts[0].set(SkFloatToScalar(x0), SkFloatToScalar(y0));
110 LinearGradient_create1(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
143 LinearGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
215 LinearGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
240 LinearGradient_create2(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.h67 jfloat y0,
79 jfloat y0,
H A Djni_shader_program.cpp146 jfloat y0,
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
164 jfloat y0,
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
/frameworks/rs/driver/
H A DrsdIntrinsicConvolve5x5.cpp97 extern "C" void rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1,
112 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
118 const uchar4 *py0 = (const uchar4 *)(pin + din->lod[0].stride * y0);
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdIntrinsicConvolve5x5.cpp97 extern "C" void rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1,
108 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
114 const uchar4 *py0 = (const uchar4 *)(pin + din->lod[0].stride * y0);

Completed in 401 milliseconds

12