Searched refs:y2 (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java76 * @param y2 the y value to take for the second point of the bezier spline
79 float y2) {
89 mY2 = y2;
254 float y2 = calculateLinearOutFasterInY2(velAbs);
256 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2;
257 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2);
282 * Calculates the y2 control point for a linear-out-faster-in path interpolator depending on the
286 * @return the y2 control point for a cubic bezier path interpolator
78 FlingAnimationUtils(Context ctx, float maxLengthSeconds, float speedUpFactor, float x2, float y2) argument
/frameworks/base/libs/hwui/
H A DShadowTessellator.cpp133 double y2 = poly[p2].y; local
134 double a = (x1 * y2 - x2 * y1);
136 sumy += (y1 + y2) * a;
H A DFontRenderer.h152 float x2, float y2, float u2, float v2,
156 float x2, float y2, float u2, float v2,
160 float x2, float y2, float u2, float v2,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java42 public MotionEventCopy(float x2, float y2, long eventTime) { argument
44 this.y = y2;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java81 // Draws a line using the specified paint from (x1, y1) to (x2, y2).
83 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); argument
85 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2).
87 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); argument
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.cpp80 const void *y1, const void *y2,
108 p8 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2)), _mm_setzero_si128());
109 p9 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+1)), _mm_setzero_si128());
110 p10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+2)), _mm_setzero_si128());
111 p11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+3)), _mm_setzero_si128());
137 y2 = (const char *)y2 + 8;
154 __m128i x2, y2, z2, w2; local
171 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55));
176 y2
79 rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count) argument
210 __m128i x2, y2, z2, w2; local
262 __m128i x2, y2, z2, w2; local
455 __m128i y1, y2, y3, y4; local
517 __m128i y1, y2, y3, y4; local
578 __m128i y1, y2, y3, y4; local
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...]
H A DrsCpuIntrinsicConvolve3x3.cpp81 const void *y2, const short *coef, uint32_t count);
192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
285 const uchar *py0 = (const uchar *)(pin + stride * y2);
329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
330 const float4 *py0 = (const float4 *)(pin + stride * y2);
374 uint32_t y2 local
418 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
356 uint32_t y2 = info->current.y; local
362 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
416 uint32_t y2 = info->current.y; local
422 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2);
465 uint32_t y2 = info->current.y; local
471 const uchar *py2 = (const uchar *)(pin + stride * y2);
514 uint32_t y2 = info->current.y; local
520 const float4 *py2 = (const float4 *)(pin + stride * y2);
563 uint32_t y2 local
612 uint32_t y2 = info->current.y; local
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java93 public static float dist(float x1, float y1, float x2, float y2) { argument
95 final float y = (y2 - y1);
99 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
101 final float y = (y2 - y1);
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java141 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0);
142 initCubic(x1, y1, x2, y2);
154 private void initCubic(float x1, float y1, float x2, float y2) { argument
157 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java114 float y2 = TypedArrayUtils.getNamedFloat(a, parser, "controlY2",
116 initCubic(x1, y1, x2, y2);
128 private void initCubic(float x1, float y1, float x2, float y2) { argument
131 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp164 signed y2 = (signed)src_ptr[2 * x + 3] - 16; local
178 signed tmp2 = y2 * 298;
279 signed y2 = (signed)src_y[x + 1] - 16; local
294 signed tmp2 = y2 * 298;
352 signed y2 = (signed)src_y[x + 1] - 16; local
367 signed tmp2 = y2 * 298;
426 signed y2 = (signed)src_y[x + 1] - 16; local
441 signed tmp2 = y2 * 298;
496 signed y2 = (signed)src_y[x + 1] - 16; local
511 signed tmp2 = y2 * 29
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java265 /*package*/ static void nQuadTo(long nPath, float x1, float y1, float x2, float y2) { argument
271 pathDelegate.quadTo(x1, y1, x2, y2);
286 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);
704 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for
710 * @param y2 The y-coordinate of the end point on a quadratic curve
712 public void quadTo(float x1, float y1, float x2, float y2) { argument
713 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2);
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
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java353 float x2, float y2, float z2) {
354 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
356 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2));
368 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2
352 hasMoved(float x1, float y1, float z1, float x2, float y2, float z2) argument
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
227 lerp(y1, y2, alpha), 1.0f);
230 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
233 private void sendDragAndDrop(int inputSource, float x1, float y1, float x2, float y2, argument
252 lerp(y1, y2, alpha), 1.0f);
255 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
334 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]"
336 System.err.println(" draganddrop <x1> <y1> <x2> <y2> [duration(ms)]"
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h162 float x2, float y2, float u2, float v2,
166 TextureVertex::set(mesh++, x2, y2, u2, v2);
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.h71 jfloat y2,
83 jfloat y2,
H A Djni_shader_program.cpp143 jfloat y2,
148 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
161 jfloat y2,
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/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java50 private void initCubic(float x1, float y1, float x2, float y2) { argument
53 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; local
73 y2 = pInY[1];
81 pOutColor[1] = convertYuvToRgba(y2, u, v);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java119 float y2 = event.getY(1);
122 float dy = (y1 + y2) / 2 - mCenterDownY;
123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2);
139 mCenterDownY = (y1 + y2) / 2;
140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java119 float y2 = event.getY(1);
122 float dy = (y1 + y2) / 2 - mCenterDownY;
123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2);
139 mCenterDownY = (y1 + y2) / 2;
140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.cpp832 Word16 y2[L_SUBFR]; // Filtered fixed codebook excitation
833 Word16 gCoeff[6]; // Correlations between xn, y1, & y2:
1097 code, y2, &ana, *usedMode, subfrNr);
1103 xn, xn2, y1, y2, gCoeff, evenSubfr, gp_limit,
1114 gain_code, Aq, synth, xn, code, y1, y2, st->mem_syn,
1123 Copy(y2, y2_sf0, L_SUBFR);
1130 gain_code, Aq, synth, xn, code, y1, y2,
1168 gain_code, Aq, synth, xn, code, y1, y2,
1235 Word16 y2[L_SUBFR]; /* Filtered fixed codebook excitation */ local
1236 Word16 gCoeff[6]; /* Correlations between xn, y1, & y2
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c194 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */ local
986 * - find filtered pitch exc. y2[]=exc[] convolved with h1[]) *
1006 Convolve_asm(code, h1, y2, L_SUBFR);
1008 Convolve(code, h1, y2, L_SUBFR);
1011 gain2 = G_pitch(xn, y2, g_coeff2, L_SUBFR);
1019 Updt_tar(xn, xn2, y2, gain2, L_SUBFR);
1052 Copy(y2, y1, L_SUBFR);
1086 ACELP_2t64_fx(dn, cn, h2, code, y2, indice);
1091 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice);
1099 ACELP_4t64_fx(dn, cn, h2, code, y2, 3
[all...]
/frameworks/rs/driver/
H A DrsdGL.h91 float x2, float y2, float z2, float u2, float v2,

Completed in 606 milliseconds

123