/frameworks/base/libs/hwui/ |
Patch.h | 62 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, 64 void generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
convolve3x3.rs | 32 uint32_t y2 = max((int32_t)y-1, 0); 40 float4 p20 = rsUnpackColor8888(gPixels[x1 + gWidth * y2]); 41 float4 p21 = rsUnpackColor8888(gPixels[x + gWidth * y2]); 42 float4 p22 = rsUnpackColor8888(gPixels[x2 + gWidth * y2]);
|
grad.rs | 60 float y2 = yPos2[i]; 62 float denom = (y2 * y2 - 2 * y1 * y2 + x2 * x2 - 2 * x1 * x2 + y1 * y1 + x1 * x1); 66 grads[k].dy = (y1 - y2) / denom; 68 grads[k].off = (y2 * y2 + x2 * x2 - x1 * x2 - y1 * y2) / denom;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestGraphics.java | 60 public void drawLine(int x1, int y1, int x2, int y2) { 61 mDrawn.add("drawLine(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); 70 public void drawRect(int x1, int y1, int x2, int y2) { 71 mDrawn.add("drawRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); 95 public void fillRect(int x1, int y1, int x2, int y2) { 96 mDrawn.add("fillRect(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")"); 169 public void drawArrow(int x1, int y1, int x2, int y2, int size) { 170 mDrawn.add("drawArrow(" + x1 + "," + y1 + "," + x2 + "," + y2 + ")");
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ilp32/elf/ |
equ-reloc.d | 10 0*4 [^ ]+ +(\.bss(\+0x0*8)?|y2)
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_log10.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; local 76 y2 = y*log10_2hi; 85 w = y2 + val_hi; 86 val_lo += (y2 - w) + val_hi;
|
/external/clang/test/Sema/ |
warn-cast-qual.c | 10 const char **y2 = (const char **)ptrptr; // expected-warning {{cast from 'const char *const *' to 'const char **' drops const qualifier}} local
|
/external/python/cpython2/Demo/tkinter/guido/ |
electrons.py | 36 x1, y1, x2, y2 = 10,70,14,74 38 p = c.create_oval(x1, y1, x2, y2, fill='red') 40 y1, y2 = y1 +2, y2 + 2
|
/external/skia/experimental/svg/model/ |
SkSVGLine.cpp | 27 void SkSVGLine::setY2(const SkSVGLength& y2) { 28 fY2 = y2; 49 if (const auto* y2 = v.as<SkSVGLengthValue>()) { 50 this->setY2(*y2);
|
SkSVGLinearGradient.cpp | 40 void SkSVGLinearGradient::setY2(const SkSVGLength& y2) { 41 fY2 = y2; 77 if (const auto* y2 = v.as<SkSVGLengthValue>()) { 78 this->setY2(*y2); 120 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); local 122 const SkPoint pts[2] = { {x1, y1}, {x2, y2}};
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
spstproc.h | 120 Word16 y2[], /* i : Filtered fixed codebook excitation */
|
/external/fonttools/Lib/fontTools/pens/ |
pointInsidePen.py | 90 x2, y2 = point 94 if y1 < y and y2 < y: 96 if y1 >= y and y2 >= y: 100 dy = y2 - y1 105 self._addIntersection(y2 > y1) 110 x2, y2 = bcp1 116 if y1 < y and y2 < y and y3 < y and y4 < y: 118 if y1 >= y and y2 >= y and y3 >= y and y4 >= y: 122 cy = (y2 - dy) * 3.0 123 by = (y3 - y2) * 3.0 - c [all...] |
/external/libvncserver/libvncserver/ |
font.c | 50 int x1,int y1,int x2,int y2, 75 if(y2<y+height) height-=y+height-y2; 87 /* if(x+i>=x1 && x+i<x2 && y+j>=y1 && y+j<y2) */ { 106 int x1,int y1,int x2,int y2, 110 x+=rfbDrawCharWithClip(rfbScreen,font,x,y,*string,x1,y1,x2,y2, 131 void rfbFontBBox(rfbFontDataPtr font,unsigned char c,int* x1,int* y1,int* x2,int* y2) 136 *y2=*y1+font->metaData[c*5+2]+1; 144 int *x1, int *y1, int *x2, int *y2) 149 (*x1)=(*y1)=INT_MAX; (*x2)=(*y2)=1-(INT_MAX) [all...] |
/external/libvncserver/rfb/ |
rfbregion.h | 15 int y2; member in struct:_rect 23 extern sraRegion *sraRgnCreateRect(int x1, int y1, int x2, int y2); 62 extern rfbBool sraClipRect2(int *x, int *y, int *x2, int *y2,
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
convolve5x5.rs | 35 uint32_t y2 = y; 51 + 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]
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
convolve5x5.rs | 35 uint32_t y2 = y; 51 + 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]
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
convolve5x5.rs | 35 uint32_t y2 = y; 51 + 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]
|
/prebuilts/misc/windows/sdl2/test/ |
testintersections.c | 80 add_line(int x1, int y1, int x2, int y2) 84 if ((x1 == x2) && (y1 == y2)) 87 SDL_Log("adding line (%d, %d), (%d, %d)\n", x1, y1, x2, y2); 91 lines[num_lines].h = y2; 124 add_rect(int x1, int y1, int x2, int y2) 128 if ((x1 == x2) || (y1 == y2)) 133 if (y1 > y2) 134 SWAP(int, y1, y2); 136 SDL_Log("adding rect (%d, %d), (%d, %d) [%dx%d]\n", x1, y1, x2, y2, 137 x2 - x1, y2 - y1) 163 int x1, y1, x2, y2; local [all...] |
/external/ImageMagick/coders/ |
plasma.c | 174 segment_info.y2=(double) image->rows-1; 187 segment_info.y2)/2,exception); 188 PlasmaPixel(image,random_info,segment_info.x1,segment_info.y2,exception); 192 (segment_info.y1+segment_info.y2)/2,exception); 194 segment_info.y2,exception); 197 segment_info.y2)/2,exception); 198 PlasmaPixel(image,random_info,segment_info.x2,segment_info.y2,exception);
|
/external/libldac/src/ |
sigana_fixp_ldac.c | 193 INT32 y0, y1, y2; local 200 y2 = p_spec[1]; 202 acc2 = (INT64)y2 * (INT64)y2; 212 y1 = y2; 213 y2 = p_spec[isp+1]; 215 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); 225 y1 = y2; 226 y2 = p_spec[isp+1] [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
conceal.cpp | 151 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local 166 y2 = prevFrame + lumstart; 171 oscl_memcpy(y1, y2, MB_SIZE); 173 y2 += width_Y; 174 oscl_memcpy(y1, y2, MB_SIZE); 176 y2 += width_Y; 177 oscl_memcpy(y1, y2, MB_SIZE); 179 y2 += width_Y; 180 oscl_memcpy(y1, y2, MB_SIZE); 182 y2 += width_Y [all...] |
/external/skia/src/core/ |
SkEdge.cpp | 182 SkFDot6 x0, y0, x1, y1, x2, y2; local 191 y2 = SkScalarRoundToFDot6(pts[2].fY, shift); 199 y2 = int(pts[2].fY * scale); 204 if (y0 > y2) 207 SkTSwap(y0, y2); 210 SkASSERT(y0 <= y1 && y1 <= y2); 213 int bot = SkFDot6Round(y2); 222 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; 267 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value 275 fQLastY = SkFDot6ToFixed(y2); 351 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
SecantSolver.java | 182 double y2 = y0; local 186 if (FastMath.abs(y2) < FastMath.abs(y1)) { 191 y1 = y2; 192 y2 = y0; 219 if ((y1 > 0) == (y2 > 0)) { 222 y2 = y0;
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_page.cpp | 136 float y2 = 0; local 145 y2 = yPos + ySize; 153 y2 = yPos + ySize; 161 y2 = yPos; 169 y2 = yPos; 173 matrix.Concat(CFX_Matrix((x2 - x0) / m_PageWidth, (y2 - y0) / m_PageWidth,
|
/external/pdfium/third_party/agg23/ |
agg_clip_liang_barsky.h | 30 ((y > clip_box.y2) << 1) | 35 inline unsigned clip_liang_barsky(T x1, T y1, T x2, T y2, 45 pdfium::base::CheckedNumeric<FX_FLOAT> height = y2; 71 yout = (FX_FLOAT)clip_box.y2; 73 yin = (FX_FLOAT)clip_box.y2; 117 *y++ = y2;
|