/external/pdfium/third_party/agg23/ |
agg_basics.h | 69 T y2; member in struct:agg::rect_base 72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} 81 if(y1 > y2) { 83 y1 = y2; 84 y2 = t; 93 if(y2 > r.y2) { 94 y2 = r.y2; 102 return x1 <= x2 && y1 <= y2; [all...] |
agg_curves.cpp | 31 FX_FLOAT x2, FX_FLOAT y2, 38 bezier(x1, y1, x2, y2, x3, y3, x4, y4); 42 FX_FLOAT x2, FX_FLOAT y2, 51 FX_FLOAT y12 = (y1 + y2) / 2; 53 FX_FLOAT y23 = (y2 + y3) / 2; 64 FX_FLOAT d2 = FXSYS_fabs(FXSYS_Mul(x2 - x4, dy) - FXSYS_Mul(y2 - y4, dx)); 70 FXSYS_fabs(y1 + y3 - y2 - y2) + 72 FXSYS_fabs(y2 + y4 - y3 - y3) <= m_distance_tolerance_manhattan) { 103 FX_FLOAT x2, FX_FLOAT y2, [all...] |
/external/clang/test/CodeGenCXX/ |
attribute_internal_linkage.cpp | 9 static int y2 [[clang::internal_linkage]]; member in class:A 27 int A::y2; member in class:A 73 int &Y2 = A::y2;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
convolve3x3.rs | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
convolve3x3.rs | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
convolve3x3.rs | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/elf/ |
equ-reloc.d | 9 0*4 [^ ]+ +(\.bss(\+0x0*8)?|y2)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xregion.h | 53 short x1, x2, y1, y2; member in struct:__anon37806 89 * Remember, x2 and y2 are not in the region 94 (r1)->y2 > (r2)->y1 && \ 95 (r1)->y1 < (r2)->y2) 107 if((r)->y2 > (idRect)->extents.y2)\ 108 (idRect)->extents.y2 = (r)->y2;\ 132 ((R-1)->y2 == (Ry2)) &&\ 143 (r)->y2 = (ry2); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xregion.h | 52 short x1, x2, y1, y2; member in struct:__anon39669 88 * Remember, x2 and y2 are not in the region 93 (r1)->y2 > (r2)->y1 && \ 94 (r1)->y1 < (r2)->y2) 106 if((r)->y2 > (idRect)->extents.y2)\ 107 (idRect)->extents.y2 = (r)->y2;\ 131 ((R-1)->y2 == (Ry2)) &&\ 142 (r)->y2 = (ry2); [all...] |
/device/google/dragon/audio/hal/dsp/ |
eq2.c | 61 float y2L = qL->y2; 71 float y2R = qR->y2; 106 qL->y2 = y2L; 110 qR->y2 = y2R; 126 float32x2_t y2 = {qL->y2, qR->y2}; local 134 float32x2_t z2 = {rL->y2, rR->y2}; 154 "vmls.f32 d1, %P[qa2], %P[y2] \n 219 __m128 y2 = {qL->y2, qR->y2}; local [all...] |
biquad.h | 16 * y2. 25 float y1, y2; member in struct:biquad
|
crossover.h | 24 float y1, y2; member in struct:lr4
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 247 public void drawLine(int x1, int y1, int x2, int y2) { 253 y2 = mVScale.translate(y2); 254 getGc().drawLine(x1, y1, x2, y2); 265 public void drawRect(int x1, int y1, int x2, int y2) { 271 int h = mVScale.scale(y2 - y1); 292 public void fillRect(int x1, int y1, int x2, int y2) { 298 int h = mVScale.scale(y2 - y1); 320 public void drawOval(int x1, int y1, int x2, int y2) { 326 int h = mVScale.scale(y2 - y1) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_convolve3x3.rs | 29 uint32_t y2 = max((int32_t)y-1, 0); 37 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)); 38 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, x, y2)); 39 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)); 70 uint32_t y2 = max((int32_t)y-1, 0); 78 float3 p20 = convert_float3(rsGetElementAt_uchar3(gIn, x1, y2)); 79 float3 p21 = convert_float3(rsGetElementAt_uchar3(gIn, x, y2)); 80 float3 p22 = convert_float3(rsGetElementAt_uchar3(gIn, x2, y2)); 111 uint32_t y2 = max((int32_t)y-1, 0); 119 float2 p20 = convert_float2(rsGetElementAt_uchar2(gIn, x1, y2)); [all...] |
intrinsic_convolve5x5.rs | 35 uint32_t y2 = y; 51 float4 p2 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]; 82 uint32_t y2 = y; 98 float3 p2 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y2)) * gCoeffs[10] 99 + convert_float3(rsGetElementAt_uchar3(gIn, x1, y2)) * gCoeffs[11] 100 + convert_float3(rsGetElementAt_uchar3(gIn, x2, y2)) * gCoeffs[12 [all...] |
/external/clang/test/SemaCXX/ |
cxx0x-class.cpp | 26 static constexpr float y2 = foo(); // expected-error {{must be initialized by a constant expression}} expected-note {{non-constexpr function 'foo'}} member in struct:rdar8367341::A
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
HeadsUpAppearInterpolator.java | 37 float y2 = 78f; local 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,
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Geometry.h | 66 double x2, double y2, 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 102 // Calculate line equation from x0,y0 to x2,y2 104 double dy = y2 - y0; 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, 141 // The quad is split from x0,y0 to x2,y2 [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Geometry.h | 66 double x2, double y2, 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 102 // Calculate line equation from x0,y0 to x2,y2 104 double dy = y2 - y0; 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, 141 // The quad is split from x0,y0 to x2,y2 [all...] |
/external/opencv3/samples/python2/ |
facedetect.py | 22 for x1, y1, x2, y2 in rects: 23 cv2.rectangle(img, (x1, y1), (x2, y2), color, 2) 53 for x1, y1, x2, y2 in rects: 54 roi = gray[y1:y2, x1:x2] 55 vis_roi = vis[y1:y2, x1:x2]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
MatrixFit.java | 164 for (int y2 = y + 1; y2 < h; y2++) { // Find max pivot 165 if (Math.abs(m[y2][y]) > Math.abs(m[maxrow][y])) { 166 maxrow = y2; 179 for (int y2 = y + 1; y2 < h; y2++) { // Eliminate column y 180 double c = m[y2][y] / m[y][y]; 182 m[y2][x] -= m[y][x] * c [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
get_pred_adv_b_add.cpp | 867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local [all...] |
/external/libvncserver/examples/ |
example.c | 98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) 101 i=x1-x2; j=y1-y2; 110 if(y1>y2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } 111 for(j=y1;j<=y2;j++) 113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; 115 if(x1>x2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } 118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff 130 int i,j,x1,x2,y1,y2; local 201 int x1=cd->oldx,y1=cd->oldy,x2,y2; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/ |
WeightMeshSpawnShapeValue.java | 54 x2 = vertices[p2Offset], y2 = vertices[p2Offset+1], z2 = vertices[p2Offset+2], local 56 float area = Math.abs((x1*(y2 - y3) + x2*(y3 - y1) + x3*(y1-y2))/2f); 57 distribution.add(new Triangle(x1, y1, z1, x2, y2, z2, x3, y3, z3), area); 67 x2 = vertices[p2Offset], y2 = vertices[p2Offset+1], z2 = vertices[p2Offset+2], local 69 float area = Math.abs((x1*(y2 - y3) + x2*(y3 - y1) + x3*(y1-y2))/2f); 70 distribution.add(new Triangle(x1, y1, z1, x2, y2, z2, x3, y3, z3), area); 83 t.y1 + a*(t.y2 - t.y1) + b*(t.y3 - t.y1),
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
GeometryUtils.java | 98 static public boolean colinear (float x1, float y1, float x2, float y2, float x3, float y3) {
99 float dx21 = x2 - x1, dy21 = y2 - y1;
100 float dx32 = x3 - x2, dy32 = y3 - y2;
105 static public Vector2 triangleCentroid (float x1, float y1, float x2, float y2, float x3, float y3, Vector2 centroid) {
107 centroid.y = (y1 + y2 + y3) / 3;
112 static public Vector2 triangleCircumcenter (float x1, float y1, float x2, float y2, float x3, float y3, Vector2 circumcenter) {
113 float dx21 = x2 - x1, dy21 = y2 - y1;
114 float dx32 = x3 - x2, dy32 = y3 - y2;
120 float sqr1 = x1 * x1 + y1 * y1, sqr2 = x2 * x2 + y2 * y2, sqr3 = x3 * x3 + y3 * y3; 187 int y2 = (i + 3) % n; local [all...] |