Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/libstagefright/codecs/aacdec/
Dtns_ar_filter.cpp318 Int32 y0; in tns_ar_filter() local
379 y0 = *p_spec >> shift_down_amount; in tns_ar_filter()
387 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; in tns_ar_filter()
394 *(p_spec--) = y0; in tns_ar_filter()
402 y0 = *p_spec >> shift_down_amount; in tns_ar_filter()
410 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; in tns_ar_filter()
417 *(p_spec--) = y0; in tns_ar_filter()
430 y0 = 0; in tns_ar_filter()
435 y0 -= fxp_mul32_Q31(*p_state--, *(p_lpc++)); in tns_ar_filter()
442 *(p_spec) = (*p_spec >> shift_down_amount) + (y0 << shift_up); in tns_ar_filter()
[all …]
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java31 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient()
40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, in LinearGradient()
53 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient()
56 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1, in LinearGradient()
60 private native int nativeCreate1(float x0, float y0, float x1, float y1, in nativeCreate1() argument
62 private native int nativeCreate2(float x0, float y0, float x1, float y1, in nativeCreate2() argument
64 private native int nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate1() argument
66 private native int nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate2() argument
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
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 …]
Dh264bsd_reconstruct.c112 i32 y0, in h264bsdInterpolateChromaHor() argument
136 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) in h264bsdInterpolateChromaHor()
138 h264bsdFillBlock(pRef, block, x0, y0, width, height, in h264bsdInterpolateChromaHor()
142 x0, y0, width, height, chromaPartWidth + 1, in h264bsdInterpolateChromaHor()
147 y0 = 0; in h264bsdInterpolateChromaHor()
157 ptrA = pRef + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaHor()
208 i32 y0, in h264bsdInterpolateChromaVer() argument
232 (y0 < 0) || ((u32)y0+chromaPartHeight+1 > height)) in h264bsdInterpolateChromaVer()
234 h264bsdFillBlock(pRef, block, x0, y0, width, height, chromaPartWidth, in h264bsdInterpolateChromaVer()
238 x0, y0, width, height, chromaPartWidth, in h264bsdInterpolateChromaVer()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java58 float x0, float y0, float x1, float y1, in nativeCreate1() argument
60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, in nativeCreate1()
67 float x0, float y0, float x1, float y1, in nativeCreate2() argument
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, in nativeCreate2()
76 int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate1() argument
84 int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate2() argument
105 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, in LinearGradient_Delegate() argument
108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
125 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], in LinearGradientPaint() argument
129 mY0 = y0; in LinearGradientPaint()
[all …]
/frameworks/base/services/audioflinger/
DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member
54 p->y0 = p->y1; in advance()
58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1; in advance()
59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1); in advance()
60 p->c = (p->y2 - p->y0) >> 1; in advance()
/frameworks/base/media/libeffects/testlibs/
DAudioBiquadFilter.cpp171 audio_sample_t y0 = coef_sample_acc_to_sample(acc); in process_normal_mono() local
173 y1 = y0; in process_normal_mono()
176 (*out++) = y0; in process_normal_mono()
224 audio_sample_t y0 = coef_sample_acc_to_sample(acc); in process_normal_multi() local
226 y1 = y0; in process_normal_multi()
229 *out = y0; in process_normal_multi()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_chroma_hor.s43 y0 RN 3 label
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, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_chroma_ver.s42 y0 RN 3 label
100 CMP y0, #0
104 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
119 LDR y0, [sp, #0xd0]
128 MOV y0, #0 ;// y0 = 0
130 STR y0, [sp, #0xd0]
139 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_chroma_hor_ver.s44 y0 RN 3 label
105 CMP y0, #0
109 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
125 LDR y0, [sp, #0xd0]
134 MOV y0, #0 ;// y0 = 0
136 STR y0, [sp, #0xd0]
145 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_hor_half.s41 y0 RN 3 label
100 CMP y0, #0
103 ADD tmp2, y0, partH ;// (y0+partHeight)
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp2, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_hor_quarter.s41 y0 RN 3 label
102 CMP y0, #0
105 ADD tmp2, y0, partH ;// (y0+partHeight)
133 LDR y0 ,[sp,#0x1f0] ;// y0
135 MLA tmp2, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_ver_half.s42 y0 RN 3 label
100 CMP y0, #0
103 ADD tmp6, y0, partH ;// (y0+partHeight)
132 LDR y0 ,[sp,#0x1f0] ;// y0
134 MLA tmp6, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_ver_quarter.s41 y0 RN 3 label
99 CMP y0, #0
102 ADD tmp6, y0, partH ;// (y0+partHeight)
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp6, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_hor_ver_quarter.s42 y0 RN 3 label
107 CMP y0, #0
111 ADD tmp5, y0, partH ;// (y0+partHeight)
140 LDR y0 ,[sp,#0x1f0] ;// y0
144 MLA tmp5, width, y0, x0 ;// y0*width+x0
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java529 float x0, x1, y0, y1;
535 x0 = r.left; y0 = r.top;
539 x0 = r.right; y0 = r.top;
543 x0 = r.right; y0 = r.top;
544 x1 = level * r.left; y1 = y0;
547 x0 = r.right; y0 = r.bottom;
551 x0 = r.left; y0 = r.bottom;
555 x0 = r.left; y0 = r.bottom;
559 x0 = r.left; y0 = r.top;
560 x1 = level * r.right; y1 = y0;
[all …]
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java238 float y0 = getRawY(event, index0); in onTouchEvent() local
242 boolean p0sloppy = x0 < edgeSlop || y0 < edgeSlop in onTouchEvent()
243 || x0 > rightSlop || y0 > bottomSlop; in onTouchEvent()
276 float y0 = getRawY(event, index0); in onTouchEvent() local
280 boolean p0sloppy = x0 < edgeSlop || y0 < edgeSlop in onTouchEvent()
281 || x0 > rightSlop || y0 > bottomSlop; in onTouchEvent()
292 y0 = getRawY(event, index); in onTouchEvent()
/frameworks/base/core/jni/android/graphics/
DShader.cpp111 float x0, float y0, float x1, float y1, in LinearGradient_create1() argument
115 pts[0].set(SkFloatToScalar(x0), SkFloatToScalar(y0)); in LinearGradient_create1()
144 float x0, float y0, float x1, float y1, jintArray colorArray, in LinearGradient_postCreate1() argument
151 storedBounds[0] = x0; storedBounds[1] = y0; in LinearGradient_postCreate1()
186 float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) { in LinearGradient_postCreate2() argument
189 storedBounds[0] = x0; storedBounds[1] = y0; in LinearGradient_postCreate2()
211 float x0, float y0, float x1, float y1, in LinearGradient_create2() argument
215 pts[0].set(SkFloatToScalar(x0), SkFloatToScalar(y0)); in LinearGradient_create2()
DNinePatchImpl.cpp175 const int32_t y0 = chunk.yDivs[0]; in NinePatch_Draw() local
185 bool yIsStretchable = (y0 == 0); in NinePatch_Draw()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp259 float y0 = *pSrc++; in util_computeBoundingSphere() local
260 float y1 = y0; in util_computeBoundingSphere()
276 if (y < y0) { in util_computeBoundingSphere()
277 y0 = y; in util_computeBoundingSphere()
298 float dy = y1 - y0; in util_computeBoundingSphere()
301 *pSphere++ = y0 + dy * 0.5f; in util_computeBoundingSphere()
315 static inline float dot3(float x0, float y0, float z0, float x1, float y1, float z1) { in dot3() argument
316 return x0 * x1 + y0 * y1 + z0 * z1; in dot3()
/frameworks/base/services/camera/libcameraservice/
DFakeCamera.cpp235 uint8_t y0, y1, u, v; in ccrgb16toyuv_wo_colorkey() local
239 y0 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)]; in ccrgb16toyuv_wo_colorkey()
262 tempY[0] = y0; in ccrgb16toyuv_wo_colorkey()
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs937 const float y0 = rulerBottom + yPadding;
945 rsgDrawQuad(x0, y0, screenCoord.z, x1, y0, screenCoord.z,
958 const float y0 = textureTop + offy - textureHeight - cards[i].detailLineOffset.y;
963 cards[i].detailTexturePosition[1].y = height - y0;
970 rsgDrawQuad(x0, y0, screenCoord.z, x1, y0, screenCoord.z,
1484 const int y0 = cards[id].detailTexturePosition[0].y;
1487 if (x >= x0 && x <= x1 && y >= y0 && y <= y1) {
1488 float2 point = { x - x0, y - y0 };