/external/pdfium/third_party/agg23/ |
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(((x2 - x4) * dy) - ((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...] |
agg_curves.h | 26 FX_FLOAT x2, FX_FLOAT y2, 33 cp[3] = y2; 40 FX_FLOAT x2, FX_FLOAT y2, 47 cp[3] = y2; 69 FX_FLOAT x2, FX_FLOAT y2, 74 init(x1, y1, x2, y2, x3, y3, x4, y4); 87 FX_FLOAT x2, FX_FLOAT y2, 125 FX_FLOAT x2, FX_FLOAT y2, 129 FX_FLOAT x2, FX_FLOAT y2, 143 FX_FLOAT x2, FX_FLOAT y2, [all...] |
/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:__anon53857 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:__anon55723 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...] |
/bionic/libc/arch-mips/string/ |
memcmp.c | 159 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; local 164 if (x2 != y2) 165 return do_by_bitfields (x2, y2); 171 y0 = b[4]; y1 = b[5]; y2 = b[6]; y3 = b[7]; 176 if (x2 != y2) 177 return do_by_bitfields (x2, y2); 188 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; local 193 if (x2 != y2) 194 return do_by_bitfields (x2, y2); 247 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3] local 285 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; local [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,
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug193.go | 13 y2 := float64(1 << s) // ERROR "shift" 15 _, _, _, _, _ = s, ss, y1, y2, y3
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug193.go | 13 y2 := float64(1 << s) // ERROR "shift" 15 _, _, _, _, _ = s, ss, y1, y2, y3
|
/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/python/cpython2/Demo/tkinter/guido/ |
hanoi.py | 47 x2, y2 = x1+pegwidth, y1+pegheight 49 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 52 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 55 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 65 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2 66 x2, y2 = x1+maxpiecewidth, y1+pieceheight 69 p = c.create_rectangle(x1, y1, x2, y2, fill='red') 73 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2 97 x1, y1, x2, y2 = c.bbox(p [all...] |
/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...] |
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue8694.go | 35 y2 := y * y 37 if cy2 != y2 { 38 t.Errorf("C.complexDoubleSquared(%v) = %v, want %v", y, cy2, y2)
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue8694.go | 35 y2 := y * y 37 if cy2 != y2 { 38 t.Errorf("C.complexDoubleSquared(%v) = %v, want %v", y, cy2, y2)
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
MathFunctions.h | 83 Packet4f y, y1, y2; local 86 y2 = pmadd(p4f_cephes_log_p6, x, p4f_cephes_log_p7); 89 y2 = pmadd(y2, x, p4f_cephes_log_p8); 91 y = pmadd(y, x3, y2); 98 y2 = pmul(e, p4f_cephes_log_q2); 100 x = padd(x, y2); 342 Packet4f y2 = p4f_sincof_p0; local 343 y2 = pmadd(y2, z, p4f_sincof_p1) 430 Packet4f y2 = p4f_sincof_p0; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
RiddersSolver.java | 181 double y2 = f.value(x2); local 187 if (y2 == 0.0) { 202 final double delta = 1 - (y1 * y2) / (y3 * y3); // delta > 1 due to bracketing 203 final double correction = (MathUtils.sign(y2) * MathUtils.sign(y3)) * 224 y2 = y; 229 y2 = y3; 232 if (MathUtils.sign(y2) + MathUtils.sign(y) == 0.0) { 239 y2 = y;
|
/external/clang/test/SemaTemplate/ |
partial-spec-instantiate.cpp | 39 int f(Y<int*> y, Y<float*> y2) { 40 return y.m + y2.m;
|