/external/python/cpython2/Demo/curses/ |
tclock.py | 24 def dline(pair, from_x, from_y, x2, y2, ch): 29 dy = y2 - from_y 58 if y == y2:
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
plot_dynamics.py | 114 # x1, x2, y1, y2 115 _, x2, _, y2 = plt.axis() 117 y2 = v.getYMax() 118 plt.axis((0, x2, 0, y2))
|
/frameworks/base/libs/hwui/ |
ShadowTessellator.cpp | 133 double y2 = poly[p2].y; local 134 double a = (x1 * y2 - x2 * y1); 136 sumy += (y1 + y2) * a;
|
/external/boringssl/src/crypto/poly1305/ |
poly1305_arm.c | 51 uint32_t y2; local 72 y2 = x2 + (y1 >> 26); 74 y3 = x3 + (y2 >> 26); 75 y2 &= 0x3ffffff; 83 y2 ^= x2; 89 y2 &= swap; 95 y2 ^= x2; 101 r->v[4] = y2;
|
/external/drm_hwcomposer/ |
separate_rects.h | 34 TFloat x1, y1, x2, y2; member in struct:separate_rects::Rect::__anon17783::__anon17785 45 : x1(xx1), y1(yy1), x2(xx2), y2(yy2) {
|
/external/fonttools/Lib/fontTools/pens/ |
reportLabPen.py | 27 (x2,y2) = p2 29 self.path.curveTo(x1, y1, x2, y2, x3, y3)
|
/external/libvncserver/libvncserver/ |
main.c | 371 for(j=rect.y1;j<rect.y2;j++,out+=rowstride,in+=rowstride) 374 out += rowstride*(rect.y2-rect.y1-1); 375 in += rowstride*(rect.y2-rect.y1-1); 376 for(j=rect.y2-1;j>=rect.y1;j--,out-=rowstride,in-=rowstride) 385 void rfbDoCopyRect(rfbScreenInfoPtr screen,int x1,int y1,int x2,int y2,int dx,int dy) 387 sraRegionPtr region = sraRgnCreateRect(x1,y1,x2,y2); 392 void rfbScheduleCopyRect(rfbScreenInfoPtr screen,int x1,int y1,int x2,int y2,int dx,int dy) 394 sraRegionPtr region = sraRgnCreateRect(x1,y1,x2,y2); 415 void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2); 416 void rfbMarkRectAsModified(rfbScreenInfoPtr screen,int x1,int y1,int x2,int y2) [all...] |
/external/pdfium/third_party/agg23/ |
agg_renderer_base.h | 82 return m_clip_box.y2; 102 return m_clip_box.y2;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPath.java | 40 public void quadTo(float x1, float y1, float x2, float y2) { 42 "ending at (" +x2+","+ y2 + ")";
|
/external/tpm2/ |
Commit.c | 22 // TPM_RC_SIZE s2 is empty but y2 is not or s2 provided but y2 is not 57 if((in->s2.t.size == 0) != (in->y2.t.size == 0)) 75 // Set up P2 if s2 and Y2 are provided 80 // copy y2 for P2 81 MemoryCopy2B(&P2.y.b, &in->y2.b, sizeof(P2.y.t.buffer));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NoisyVelocityTracker.java | 42 public MotionEventCopy(float x2, float y2, long eventTime) { 44 this.y = y2;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 81 // 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); 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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 83 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); 87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
CubicBezierInterpolator.java | 31 public CubicBezierInterpolator(final float x1, final float y1, final float x2, final float y2) { 35 mY2 = y2;
|
/prebuilts/go/darwin-x86/src/image/jpeg/ |
idct.go | 148 y2 := src[8*6+x] 166 y1 = w6*(y3+y2) + 4 167 y2 = (y1 - w2pw6*y2) >> 3 177 y3 = y0 + y2 178 y0 -= y2 179 y2 = (r2*(y4+y5) + 128) >> 8 184 src[8*1+x] = (y3 + y2) >> 14 189 src[8*6+x] = (y3 - y2) >> 14
|
/prebuilts/go/linux-x86/src/image/jpeg/ |
idct.go | 148 y2 := src[8*6+x] 166 y1 = w6*(y3+y2) + 4 167 y2 = (y1 - w2pw6*y2) >> 3 177 y3 = y0 + y2 178 y0 -= y2 179 y2 = (r2*(y4+y5) + 128) >> 8 184 src[8*1+x] = (y3 + y2) >> 14 189 src[8*6+x] = (y3 - y2) >> 14
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 99 int y2 = y1 + h; local 101 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) { 112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); 119 addBottomMatch(y2, rowMatches, max); 127 addRowGapMatch(bounds, y1, y2, rowMatches, max); 136 y2 = y1 + h; 202 if (y1 >= bounds.y2()) { 291 private void addCenterColumnMatch(Rect bounds, int x1, int y1, int x2, int y2, 293 Collection<INode> intersectsRow = mGrid.getIntersectsRow(y1, y2); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
MoveHandler.java | 197 if (mBounds.y2() > layoutBounds.y2()) { 198 mBounds.y -= mBounds.y2() - layoutBounds.y2(); 212 edge = new Segment(b.y2(), b.x, b.x2(), null, null, BOTTOM, NO_MARGIN); 215 edge = new Segment(b.x, b.y, b.y2(), null, null, LEFT, NO_MARGIN); 217 edge = new Segment(b.x2(), b.y, b.y2(), null, null, RIGHT, NO_MARGIN); 221 edge = new Segment(b.centerX(), b.y, b.y2(), null, null, CENTER_VERTICAL, NO_MARGIN);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsics_x86.cpp | 80 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 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))) 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 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 241 int x1, y1, x2, y2; local 246 y2 = initialCrop.y + initialCrop.h; 251 y2 = image.getHeight(); 255 if (x1 == x2 || y1 == y2) { 269 topEdge: for (; y1 < y2; y1++) { 284 for (int y = y1; y < y2; y++) { 293 for (int y = y1; y < y2; y++) { 301 bottomEdge: for (; y2 > y1; y2--) { 303 if (!filter.crop(image, x, y2 - 1)) [all...] |
/external/freetype/src/cff/ |
cf2intrp.c | 847 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 849 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 852 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1615 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 1647 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1692 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1741 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/bionic/libc/arch-mips/string/ |
memcpy.c | 157 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; local 161 a[2].uli = y2; 177 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; 180 a[2].uli = y2;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicColorMatrix.java | 58 int x1 = 0, y1 = 0, x2 = w, y2 = h; local 63 y2 = h - 11; 69 mSi.forEach(mAllocSrc, mAllocDst, makeClipper(x1, y1, x2, y2)); 73 mSr.invoke_reference(mat, add, mAllocSrc, mAllocRef, x1, y1, x2, y2);
|
intrinsic_colormatrix.rs | 21 int x1, int y1, int x2, int y2) { 29 for (uint32_t y = y1; y < y2; y++) {
|
/external/ImageMagick/coders/ |
pes.c | 537 bounds.y2=(-65535.0); 610 if ((double) y > bounds.y2) 611 bounds.y2=(double) y; 642 bounds.y2-bounds.y1);
|