/frameworks/base/graphics/java/android/graphics/ |
H A D | LinearGradient.java | 43 @param y0 The y-coordinate for the start of the gradient line 52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], argument 62 mY0 = y0; 68 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 69 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, 75 @param y0 The y-coordinate for the start of the gradient line 82 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument 86 mY0 = y0; 92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); 93 native_shader = nativePostCreate2(native_instance, x0, y0, x 119 nativeCreate1(float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument 121 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument 123 nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument 125 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 D | 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...] |
H A D | 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 < 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 D | AudioResamplerCubic.h | 43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon966 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/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | 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, 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 D | 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 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 D | AudioBiquadFilter.cpp | 169 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 D | Quad.java | 74 float y0 = Collections.min(ys); 77 return new Rectangle(x0, y0, x1 - x0, y1 - y0);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | ImageSlicer.java | 116 float y0 = (ySliceIndex * mSliceHeight - mPadSize) / ((float) mInputHeight); 118 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
|
H A D | ImageStitcher.java | 115 float y0 = ((float) mPadSize) / mInputHeight; 124 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 710 float x0, x1, y0, y1; 716 x0 = r.left; y0 = r.top; 720 x0 = r.right; y0 = r.top; 724 x0 = r.right; y0 = r.top; 725 x1 = level * r.left; y1 = y0; 728 x0 = r.right; y0 = r.bottom; 732 x0 = r.left; y0 = r.bottom; 736 x0 = r.left; y0 = r.bottom; 740 x0 = r.left; y0 = r.top; 741 x1 = level * r.right; y1 = y0; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 43 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 D | h264bsd_interpolate_chroma_hor_ver.s | 44 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 D | h264bsd_interpolate_chroma_ver.s | 42 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 D | h264bsd_interpolate_hor_half.s | 41 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 D | h264bsd_interpolate_hor_quarter.s | 41 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 D | h264bsd_interpolate_ver_half.s | 42 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 345 extern "C" void rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, 360 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local 366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0); 409 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local 415 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0); 458 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local 464 const uchar *py0 = (const uchar *)(pin + stride * y0); 507 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local 513 const float4 *py0 = (const float4 *)(pin + stride * y0); 556 uint32_t y0 local 605 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 111 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 D | jni_shader_program.h | 67 jfloat y0, 79 jfloat y0,
|
H A D | jni_shader_program.cpp | 146 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/base/core/jni/android/opengl/ |
H A D | util.cpp | 259 float y0 = *pSrc++; local 260 float y1 = y0; 276 if (y < y0) { 277 y0 = y; 298 float dy = y1 - y0; 301 *pSphere++ = y0 + dy * 0.5f; 315 static inline float dot3(float x0, float y0, float z0, float x1, float y1, float z1) { argument 316 return x0 * x1 + y0 * y1 + z0 * z1;
|