Searched refs:y1 (Results 51 - 72 of 72) sorted by relevance

123

/frameworks/rs/driver/
H A DrsdGL.h93 float x1, float y1, float z1, float u1, float v1,
H A DrsdRuntimeStubs.cpp259 static void SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, argument
275 //ALOGE("%4.2f, %4.2f, %4.2f", x1, y1, z1);
280 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
293 static void SC_DrawQuad(float x1, float y1, float z1, argument
297 SC_DrawQuadTexCoords(x1, y1, z1, 0, 1,
321 static void SC_DrawRect(float x1, float y1, float x2, float y2, float z) { argument
322 SC_DrawQuad(x1, y2, z, x2, y2, z, x2, y1, z, x1, y1, z);
H A DrsdGL.cpp536 float x1, float y1, float z1, float u1, float v1,
541 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.cpp407 y1 = Adaptive codebook, buffer type Word16
409 g_coeff = Correlations <xn y1> <y1 y1>
442 coeff[0] = y1 y1
443 coeff[1] = -2 xn y1
446 coeff[4] = 2 y1 y2
450 Product <y1 y1> an
592 calc_filt_energies( enum Mode mode, Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *cod_gain_frac, Word16 *cod_gain_exp, Flag *pOverflow ) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java81 public void setY(float y1) { argument
82 y = y1;
/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/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h378 Word16 y1[], /* (i) : filtered adaptive codebook. */
387 Word16 y1[], /* (i) Q_xn:Adaptive codebook. */
388 Word16 Q_xn, /* (i) :xn and y1 format */
391 Word16 g_coeff[], /* (i) :Correlations <xn y1> <y1 y1> */
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java2049 int y1 = (int) (y2 - data[i] * height);
2057 r[index + 1] = y1;
2061 y2 = y1;
2063 y1 = (int) (y2 - data[i + j + 1] * height);
2072 r[index + 1] = index == 0 ? y1 : r[index - 1];
2074 r[index + 3] = y1;
2076 y2 = y1;
2078 y1 = (int) (y2 - data[i + j + 1] * height);
H A DViewGroup.java2767 private static void fillRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) { argument
2768 if (x1 != x2 && y1 != y2) {
2772 if (y1 > y2) {
2773 int tmp = y1; y1 = y2; y2 = tmp;
2775 canvas.drawRect(x1, y1, x2, y2, paint);
2783 private static void drawCorner(Canvas c, Paint paint, int x1, int y1, int dx, int dy, int lw) { argument
2784 fillRect(c, paint, x1, y1, x1 + dx, y1 + lw * sign(dy));
2785 fillRect(c, paint, x1, y1, x
2793 drawRectCorners(Canvas canvas, int x1, int y1, int x2, int y2, Paint paint, int lineLength, int lineWidth) argument
6742 drawRect(Canvas canvas, Paint paint, int x1, int y1, int x2, int y2) argument
[all...]
H A DGestureDetector.java498 final float y1 = mVelocityTracker.getYVelocity(id1);
504 final float y = y1 * mVelocityTracker.getYVelocity(id2);
/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
328 mTopRight = new PointF(x1, y1);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp260 float y1 = y0; local
279 else if (y > y1) {
280 y1 = y;
298 float dy = y1 - y0;
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;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c191 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */ local
952 * - find filtered pitch exc. y1[]=exc[] convolved with h1[]) *
964 Convolve_asm(&exc[i_subfr], h1, y1, L_SUBFR);
966 Convolve(&exc[i_subfr], h1, y1, L_SUBFR);
968 gain1 = G_pitch(xn, y1, g_coeff, L_SUBFR);
975 Updt_tar(xn, dn, y1, gain1, L_SUBFR); /* dn used temporary */
1048 Copy(y2, y1, L_SUBFR);
1166 index = Q_gain2(xn, y1, Q_new + shift, y2, code, g_coeff, L_SUBFR, 6,
1171 index = Q_gain2(xn, y1, Q_new + shift, y2, code, g_coeff, L_SUBFR, 7,
1208 L_tmp -= (y1[L_SUBF
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs966 const float y1 = rulerTop - yPadding - cards[i].detailLineOffset.y;
974 x1, y1, screenCoord.z, x0, y1, screenCoord.z);
987 const float y1 = textureTop + offy - cards[i].detailLineOffset.y;
989 cards[i].detailTexturePosition[0].y = height - y1;
999 x1, y1, screenCoord.z, x0, y1, screenCoord.z);
1533 const int y1 = cards[id].detailTexturePosition[1].y;
1534 if (x >= x0 && x <= x1 && y >= y0 && y <= y1) {
/frameworks/support/v4/java/android/support/v4/view/
H A DGestureDetectorCompat.java267 final float y1 = VelocityTrackerCompat.getYVelocity(mVelocityTracker, id1);
273 final float y = y1 * VelocityTrackerCompat.getYVelocity(mVelocityTracker, id2);
/frameworks/rs/
H A DrsFont.h246 void appendMeshQuad(float x1, float y1, float z1,
H A DrsFont.cpp668 void FontState::appendMeshQuad(float x1, float y1, float z1, argument
680 if (x1 > mSurfaceWidth || y1 < 0.0f || x2 < 0 || y4 > mSurfaceHeight) {
684 /*LOGE("V0 x: %f y: %f z: %f", x1, y1, z1);
690 (*currentPos++) = y1;
/frameworks/base/core/java/android/widget/
H A DGridLayout.java872 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument
875 graphics.drawLine(width - x1, y1, width - x2, y2, paint);
877 graphics.drawLine(x1, y1, x2, y2, paint);
1138 int y1 = vLocations[rowSpan.min];
1144 int cellHeight = y2 - y1;
1178 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin;
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp3827 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
3828 processPosition(mapper, x1, y1);
3848 toDisplayX(x1), toDisplayY(y1), 1, 0, 0, 0, 0, 0, 0, 0));
3870 toDisplayX(x1), toDisplayY(y1), 1, 0, 0, 0, 0, 0, 0, 0));
3878 x1 += 10; y1 += 15; x2 += 5; y2 -= 10;
3879 processPosition(mapper, x1, y1);
3901 toDisplayX(x1), toDisplayY(y1), 1, 0, 0, 0, 0, 0, 0, 0));
3931 toDisplayX(x1), toDisplayY(y1), 1, 0, 0, 0, 0, 0, 0, 0));
4104 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
4105 processPosition(mapper, x1, y1);
4280 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java860 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument
863 graphics.drawLine(width - x1, y1, width - x2, y2, paint);
865 graphics.drawLine(x1, y1, x2, y2, paint);
1039 int y1 = vLocations[rowSpan.min];
1045 int cellHeight = y2 - y1;
1079 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java479 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { argument
480 draw(GLES20.GL_LINE_STRIP, OFFSET_DRAW_LINE, COUNT_LINE_VERTEX, x1, y1, x2 - x1, y2 - y1,
/frameworks/base/services/input/
H A DInputReader.cpp91 inline static float distance(float x1, float y1, float x2, float y2) { argument
92 return hypotf(x1 - x2, y1 - y2);

Completed in 825 milliseconds

123