Searched refs:y3 (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DHeadsUpAppearInterpolator.java38 float y3 = 80f;
41 x1 * 0.8f / xTot, y1 / y3,
42 x1 / xTot , y1 / y3);
43 path.cubicTo((x1 + x2 * 0.4f) / xTot, y1 / y3,
44 (x1 + x2 * 0.2f) / xTot, y2 / y3,
45 (x1 + x2) / xTot, y2 / y3);
46 path.cubicTo((x1 + x2 + x3 * 0.4f) / xTot, y2 / y3,
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon203
56 p->y2 = p->y3;
57 p->y3 = in;
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);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java416 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been
424 * @param y3 The y-coordinate of the end point on a cubic curve
427 float x3, float y3) {
429 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3);
438 float x3, float y3) {
440 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3);
834 float x3, float y3);
836 float x3, float y3);
426 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
437 rCubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
833 nCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
835 nRCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h163 float x3, float y3, float u3, float v3,
167 TextureVertex::set(mesh++, x3, y3, u3, v3);
161 addQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4) argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.h73 jfloat y3);
85 jfloat y3);
H A Djni_shader_program.cpp145 jfloat y3) {
148 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
163 jfloat y3) {
166 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
136 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
154 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/libs/hwui/
H A DFontRenderer.h153 float x3, float y3, float u3, float v3,
157 float x3, float y3, float u3, float v3,
161 float x3, float y3, float u3, float v3,
H A DFontRenderer.cpp504 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
512 x3, y3, u3, v3, x4, y4, u4, v4);
516 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
524 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
528 mBounds->top = std::min(mBounds->top, y3);
539 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
542 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
546 mBounds->top = std::min(mBounds->top, std::min(y1, std::min(y2, std::min(y3, y4))));
548 mBounds->bottom = std::max(mBounds->bottom, std::max(y1, std::max(y2, std::max(y3, y4))));
503 appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
515 appendMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
538 appendRotatedMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; local
74 y3 = pInY[width];
82 pOutColor[width] = convertYuvToRgba(y3, u, v);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
357 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); local
363 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3);
417 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); local
423 const uchar2 *py3 = (const uchar2 *)(pin + stride * y3);
466 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); local
472 const uchar *py3 = (const uchar *)(pin + stride * y3);
515 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); local
521 const float4 *py3 = (const float4 *)(pin + stride * y3);
564 uint32_t y3 local
613 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); local
[all...]
H A DrsCpuIntrinsics_x86.cpp455 __m128i y1, y2, y3, y4; local
459 y3 = _mm_packus_epi16(y1, y2);
464 y4 = _mm_shuffle_epi8(y3, T4x4);
517 __m128i y1, y2, y3, y4; local
521 y3 = _mm_packus_epi16(y1, y2);
526 y4 = _mm_shuffle_epi8(y3, T4x4);
578 __m128i y1, y2, y3, y4; local
582 y3 = _mm_packus_epi16(y1, y2);
587 y4 = _mm_shuffle_epi8(y3, T4x4);
598 const void *y3, cons
596 rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, const void *y2, const void *y3, const void *y4, const short *coef, uint32_t count) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java286 float x2, float y2, float x3, float y3) {
292 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3);
297 float x2, float y2, float x3, float y3) {
303 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3);
743 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been
751 * @param y3 The y-coordinate of the end point on a cubic curve
754 float x3, float y3) {
758 mPath.curveTo(x1, y1, x2, y2, mLastX = x3, mLastY = y3);
285 nCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
296 nRCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument
753 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
/frameworks/rs/driver/
H A DrsdGL.h92 float x3, float y3, float z3, float u3, float v3,
H A DrsdGL.cpp543 float x3, float y3, float z3, float u3, float v3,
546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
H A DrsdRuntimeStubs.cpp855 float x3, float y3, float z3, float u3, float v3,
871 //ALOGE("%4.2f, %4.2f, %4.2f", x3, y3, z3);
874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
889 float x3, float y3, float z3,
893 x3, y3, z3, 1, 0,
1027 float x3, float y3, float z3,
1031 x3, y3, z3,
1037 float x3, float y3, float z3, float u3, float v3,
1041 x3, y3, z3, u3, v3,
853 SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
887 SC_DrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument
1025 rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument
1035 rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java266 float x2, float y2, float x3, float y3);
269 float x2, float y2, float x3, float y3);
265 setSourceRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument
268 setTargetRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DQuaternion.java102 double y3 = a.x[0] * b.x[3] + a.x[1] * b.x[2] - a.x[2] * b.x[1] + a.x[3] * b.x[0];
103 return new Quaternion(y0, y1, y2, y3);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { argument
330 mBottomRight = new PointF(x3, y3);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java410 float y3, float x4, float y4, @NonNull float[] ret) {
411 float d = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);
417 float dy = (x3 * y4 - y3 * x4);
419 float y = (dx * (y3 - y4) - (y1 - y2) * dy) / d;
422 ((y - y1) * (y - y2) > 0.0000001) || ((y - y3) * (y - y4) > 0.0000001)) {
409 lineIntersection(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, @NonNull float[] ret) argument
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp110 jfloat x2, jfloat y2, jfloat x3, jfloat y3) {
112 obj->cubicTo(x1, y1, x2, y2, x3, y3);
116 jfloat x2, jfloat y2, jfloat x3, jfloat y3) {
118 obj->rCubicTo(x1, y1, x2, y2, x3, y3);
109 cubicTo__FFFFFF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
115 rCubicTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
/frameworks/rs/
H A DrsFont.h250 float x3, float y3, float z3,
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp4547 int32_t x3 = 700, y3 = 300; local
4550 processPosition(mapper, x3, y3);
4571 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0));
4579 x3 += 30; y3 -= 20;
4580 processPosition(mapper, x3, y3);
4601 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0));
4622 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0));
4645 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0));
4764 int32_t x3 = 700, y3 = 300; local
4768 processPosition(mapper, x3, y3);
4936 int32_t x3 = 700, y3 = 300; local
[all...]

Completed in 494 milliseconds

12