Searched refs:y0 (Results 1 - 25 of 35) sorted by last modified time

12

/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdIntrinsicConvolve3x3.cpp51 extern "C" void rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count);
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);
H A DrsdIntrinsics_Convolve.S24 r1 = y0 base pointer
470 r1 = y0 base pointer
503 vld1.8 {d24, d25, d26}, [r1], r7 @ y0 ( y - 2 )
504 vld1.8 {d27, d28, d29}, [r2], r7 @ y0 ( y - 1 )
549 vld1.8 {d24, d25, d26}, [r3], r7 @ y0 ( y )
550 vld1.8 {d27, d28, d29}, [r4], r7 @ y0 ( y + 1 )
594 vld1.8 {d24, d25, d26}, [r5], r7 @ y0 ( y + 2 )
/frameworks/rs/driver/
H A DrsdIntrinsicConvolve3x3.cpp51 extern "C" void rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count);
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);
H A DrsdIntrinsics_Convolve.S24 r1 = y0 base pointer
470 r1 = y0 base pointer
503 vld1.8 {d24, d25, d26}, [r1], r7 @ y0 ( y - 2 )
504 vld1.8 {d27, d28, d29}, [r2], r7 @ y0 ( y - 1 )
549 vld1.8 {d24, d25, d26}, [r3], r7 @ y0 ( y )
550 vld1.8 {d27, d28, d29}, [r4], r7 @ y0 ( y + 1 )
594 vld1.8 {d24, d25, d26}, [r5], r7 @ y0 ( y + 2 )
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs965 const float y0 = rulerBottom + yPadding;
973 rsgDrawQuad(x0, y0, screenCoord.z, x1, y0, screenCoord.z,
986 const float y0 = textureTop + offy - textureHeight - cards[i].detailLineOffset.y;
991 cards[i].detailTexturePosition[1].y = height - y0;
998 rsgDrawQuad(x0, y0, screenCoord.z, x1, y0, screenCoord.z,
1531 const int y0 = cards[id].detailTexturePosition[0].y;
1534 if (x >= x0 && x <= x1 && y >= y0 && y <= y1) {
1535 float2 point = { x - x0, y - y0 };
[all...]
/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/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/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/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/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/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/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java265 public native boolean setSourceRegion(float x0, float y0, float x1, float y1, argument
268 private native boolean setTargetRegion(float x0, float y0, float x1, float y1, argument
/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/media/mca/filterfw/jni/
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
H A Djni_shader_program.h67 jfloat y0,
79 jfloat y0,
/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/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_hor_ver_quarter.s42 y0 RN 3 label
107 CMP y0, #0
108 BLT do_fill ;// (y0 < 0)
111 ADD tmp5, y0, partH ;// (y0+partHeight)
112 ADD tmp5, tmp5, #5 ;// (y0+partH+5)
133 STR x0,[sp,#0x1f0] ;// y0 = 0
140 LDR y0 ,[sp,#0x1f0] ;// y0
144 MLA tmp5, width, y0, x
[all...]

Completed in 295 milliseconds

12