/frameworks/base/services/core/java/com/android/server/power/ |
WirelessChargerDetector.java | 353 float x2, float y2, float z2) { 354 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); 356 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2)); 368 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2
|
/external/ImageMagick/MagickCore/ |
paint.c | 131 s->y2=(double) (delta); \ 236 offset=(ssize_t) s->y2; 445 gradient->gradient_vector.y2=(double) image->rows-1.0; 461 gradient->gradient_vector.y2=0.0; 469 gradient->gradient_vector.y2=0.0; 477 gradient->gradient_vector.y2=0.0; 485 gradient->gradient_vector.y2=0.0; 493 gradient->gradient_vector.y2=0.0; 501 gradient->gradient_vector.y2=(double) image->rows-1.0; 509 gradient->gradient_vector.y2=(double) image->columns-1.0 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintPainter.java | 328 int x1, y1, x2, y2; local 345 y2 = targetBounds.y + 1 * targetBounds.h / 4; 347 y2 = targetBounds.y + 3 * targetBounds.h / 4; 351 graphics.drawArrow(x1, y1, x2, y2, ARROW_SIZE); 590 int ty = targetBounds.y2(); 629 targetX + PARENT_RECT_SIZE / 2, targetBounds.y2()); 633 int minBottom = Math.min(sourceBounds.y2(), targetBounds.y2()); 638 if (center > sourceBounds.y && center < sourceBounds.y2()) { 644 graphics.drawLine(sharedX, targetBounds.y, sharedX, targetBounds.y2()); [all...] |
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic.go | 29 // Add returns the sum of (x1,y1) and (x2,y2) 30 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) 57 y2 := new(big.Int).Mul(y, y) 58 y2.Mod(y2, curve.P) 70 return x3.Cmp(y2) == 0 102 func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) { 104 z2 := zForAffine(x2, y2) 105 return curve.affineFromJacobian(curve.addJacobian(x1, y1, z1, x2, y2, z2)) 109 // (x2, y2, z2) and returns their sum, also in Jacobian form [all...] |
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic.go | 29 // Add returns the sum of (x1,y1) and (x2,y2) 30 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int) 57 y2 := new(big.Int).Mul(y, y) 58 y2.Mod(y2, curve.P) 70 return x3.Cmp(y2) == 0 102 func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) { 104 z2 := zForAffine(x2, y2) 105 return curve.affineFromJacobian(curve.addJacobian(x1, y1, z1, x2, y2, z2)) 109 // (x2, y2, z2) and returns their sum, also in Jacobian form [all...] |
/external/deqp/modules/egl/ |
teglPreservingSwapTests.cpp | 111 void render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 160 void GLES2Program::render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 167 x1, y2, 0.0f, 1.0f, 168 x2, y2, 0.0f, 1.0f, 170 x2, y2, 0.0f, 1.0f, 219 const int y2i = (int)(((float)py/2.0f) * y2 + (float)oy); 237 void render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 252 void ReferenceProgram::render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 266 const int y2i = (int)((py/2.0) * y2 + oy);
|
/external/libvncserver/libvncserver/ |
rfbregion.c | 516 sraRgnCreateRect(int x1, int y1, int x2, int y2) { 527 vspan = sraSpanCreate(y1, y2, hlist); 637 rect->y2 = vcurr->end; 662 rect->x1, rect->y1, rect->x2, rect->y2); 770 r->y2 = i->sPtrs[i->ptrPos-2]->end; 809 sraClipRect2(int *x, int *y, int *x2, int *y2, 821 if (*y2 <= cy) 822 *y2 = cy+1; 825 if (*y2 > cy2) 826 *y2 = cy2 [all...] |
scale.c | 93 double x1,y1,w1,h1, x2, y2, w2, h2; local 114 y2 = FLOOR(y1); 118 h2 = CEIL(h1 + ( y1 - y2 )); 122 * function, *x, *y, *w, *h, x2, y2, w2, h2, 128 *y = (int)y2; 263 void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2) 277 rfbScaledScreenUpdateRect(screen, ptr, x1, y1, x2-x1, y2-y1);
|
/external/python/cpython2/Lib/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
Input.java | 215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { 227 lerp(y1, y2, alpha), 1.0f); 230 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f); 233 private void sendDragAndDrop(int inputSource, float x1, float y1, float x2, float y2, 252 lerp(y1, y2, alpha), 1.0f); 255 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f); 334 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]" 336 System.err.println(" draganddrop <x1> <y1> <x2> <y2> [duration(ms)]"
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 51 x1, y1, x2, y2 = self.canvas.bbox(self.id) 52 return (x1, y1), (x2, y2) 146 def addtag_enclosed(self, x1, y1, x2, y2): 147 self._do('addtag', 'enclosed', x1, y1, x2, y2) 148 def addtag_overlapping(self, x1, y1, x2, y2): 149 self._do('addtag', 'overlapping', x1, y1, x2, y2)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/poly1305/ |
sum_ref.go | 52 y2 float64 551 y2 = h2 + alpha64 560 y2 -= alpha64 575 x2 = h2 - y2 587 x4 += y2 747 y2 = h2 + alpha64 756 y2 -= alpha64 771 x2 = h2 - y2 783 x4 += y2 1147 y2 = h2 + alpha6 [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/poly1305/ |
sum_ref.go | 52 y2 float64 551 y2 = h2 + alpha64 560 y2 -= alpha64 575 x2 = h2 - y2 587 x4 += y2 747 y2 = h2 + alpha64 756 y2 -= alpha64 771 x2 = h2 - y2 783 x4 += y2 1147 y2 = h2 + alpha6 [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicConvolve3x3.cpp | 81 const void *y2, const short *coef, uint32_t count); 192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); 239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); 284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 285 const uchar *py0 = (const uchar *)(pin + stride * y2); 329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 330 const float4 *py0 = (const float4 *)(pin + stride * y2); 374 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0) local 418 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_overlay.c | 414 int dstPitch, int srcPitch, int __maybe_unused x1, int __maybe_unused y1, int __maybe_unused x2, int __maybe_unused y2, BoxPtr dstBox, 450 y2 = y2 / 4; 452 dstBox->y2 = dstBox->y2 / 4; 484 dstBox->x2 = dstBox->y2; 485 dstBox->y2 = pPriv->height_save - tmp; 487 dstBox->y1 = dstBox->y2; 488 dstBox->y2 = tmp; 498 dstBox->y1 = pPriv->height_save - dstBox->y2; 1030 int x1, x2, y1, y2; local [all...] |
/external/freetype/src/raster/ |
ftraster.c | 814 Int y2 = (Int)y_turns[n]; local 1195 Long y1, y2, e, e2, e0; local 1473 Long y1, y2, y3, x3, ymin, ymax; local 1596 Long y1, y2, y3, y4, x4, ymin1, ymax1, ymin2, ymax2; local 1881 Long x1, y1, x2, y2, x3, y3; local [all...] |
/external/pdfium/third_party/freetype/src/raster/ |
ftraster.c | 806 Int y2 = (Int)y_turns[n]; local 1187 Long y1, y2, e, e2, e0; local 1465 Long y1, y2, y3, x3, ymin, ymax; local 1587 Long y1, y2, y3, y4, x4, ymin1, ymax1, ymin2, ymax2; local 1871 Long x1, y1, x2, y2, x3, y3; local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicBase.java | 142 protected Script.LaunchOptions makeClipper(int x, int y, int x2, int y2) { 145 lo.setY(y, y2);
|
/external/ImageMagick/coders/ |
mvg.c | 181 &bounds.x2,&bounds.y2); 183 image->rows=(size_t) floor((bounds.y2-bounds.y1)+0.5);
|
/external/libyuv/files/unit_test/ |
color_test.cc | 488 for (int y2 = 0; y2 < 256; ++y2) { 490 int y = RANDOM256(y2); 519 for (int y2 = 0; y2 < 256; ++y2) { 521 int y = RANDOM256(y2);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_dynamic.c | 272 unsigned y2 = i915->scissor.maxy - 1; local 277 sc[2] = (y2 << 16) | (x2 & 0xffff);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_yuv.c | 147 int h = box->y2 - box->y1; 149 xa_scissor_update(r, x, y, box->x2, box->y2);
|