/external/skia/experimental/Intersection/ |
LineQuadraticIntersection_Test.cpp | 188 int cx = state.c & 0x03; local 190 Quadratic quad = {{ax, ay}, {bx, by}, {cx, cy}};
|
/external/skia/samplecode/ |
SampleRotateCircles.cpp | 16 SkScalar cx, SkScalar cy) { 17 canvas->translate(cx, cy); 19 canvas->translate(-cx, -cy); 46 SkScalar cx = 240; local 64 rotateAbout(canvas, fAngle * scale * sign, cx, cy); 65 canvas->drawCircle(cx, cy, rad, paint); 72 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy); 73 canvas->drawCircle(cx + DX, cy, 10, paint); 77 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy + DX); 78 canvas->drawCircle(cx + DX, cy + DX, 10, paint) 116 SkScalar cx = radius; local [all...] |
/external/skia/src/core/ |
SkBlitter.cpp | 124 int cx = clip.fLeft; local 130 const uint8_t* bits = mask.getAddr1(cx, cy); 132 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 134 bits_to_runs(this, cx, cy, bits, 0xFF, mask_rowBytes, 0xFF); 139 int left_edge = cx - maskLeft; 159 // have cx reflect our actual starting x-coord 160 cx -= left_edge & 7; 165 bits_to_runs(this, cx, cy, bits, left_mask, 1, rite_mask); 171 bits_to_runs(this, cx, cy, bits, left_mask, full_runs + 2, rite_mask); [all...] |
SkMaskFilter.cpp | 72 int cx = center.x(); local 78 m.fBounds.fRight = cx; 88 m.fBounds.fLeft = cx + 1; 98 m.fBounds.fRight = cx; 108 m.fBounds.fLeft = cx + 1; 118 innerR.set(outerR.left() + cx - mask.fBounds.left(), 120 outerR.right() + (cx + 1 - mask.fBounds.right()), 142 alpha[0] = *mask.getAddr8(cx, mask.fBounds.top() + y); 155 alpha[0] = *mask.getAddr8(cx, mask.fBounds.bottom() - y - 1);
|
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 224 double cx = dst[2].fX = interp_quad_coords(&fPts[0].fX, t2); local 226 /* bx = */ dst[1].fX = 2*dx - (ax + cx)/2;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
Utilities.java | 63 int cx = r.centerX(); local 65 r.offset(-cx, -cy); 70 r.offset(cx, cy);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SwipeProgressBar.java | 140 final int cx = width / 2; local 170 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height); 202 drawCircle(canvas, cx, cy, mColor1, pct); 206 drawCircle(canvas, cx, cy, mColor2, pct); 210 drawCircle(canvas, cx, cy, mColor3, pct); 214 drawCircle(canvas, cx, cy, mColor4, pct); 218 drawCircle(canvas, cx, cy, mColor1, pct); 228 drawTrigger(canvas, cx, cy); 236 drawTrigger(canvas, cx, cy) [all...] |
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
vp_motionmodel.c | 343 VP_PAR cx, cy; local 356 cx = (VP_PAR) (w/2.0); 363 MXW(R2r)=cx*(((VP_PAR)1.0) - inv_zoom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 119 float cx = cropBounds.centerX(); local 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); 125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterVignette.java | 61 Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady, 64 private float calcRadius(float cx, float cy, int w, int h) { 65 float d = cx; 66 if (d < (w - cx)) { 67 d = w - cx; 91 float cx = w / 2; local 93 float r = calcRadius(cx, cy, w, h); 104 cx = c[0]; 120 mScript.set_centerx(cx);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageGrad.java | 143 float cx = MasterImage.getImage().getOriginalBounds().width() / 2; local 145 float rx = Math.min(cx, cy) * .4f; 147 mGradRep.setPoint1(cx, cy-rx); 148 mGradRep.setPoint2(cx, cy+rx); 149 c1[0] = cx; 154 c2[0] = cx;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoFallbackEffect.java | 107 float cx = d.centerX() * p + s.centerX() * (1 - p); local 115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2); 123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); 128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); 135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); 143 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2) [all...] |
SurfaceTextureScreenNail.java | 116 int cx = x + width / 2; local 118 canvas.translate(cx, cy); 120 canvas.translate(-cx, -cy);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Cling.java | 231 int cx = -1; local 240 cx = positions[i]; 242 if (cx > -1 && cy > -1) { 243 c.drawCircle(cx, cy, mRevealRadius, mErasePaint); 244 mPunchThroughGraphic.setBounds(cx - dw/2, cy - dh/2, cx + dw/2, cy + dh/2); 257 mHandTouchGraphic.setBounds(cx + offset, cy + offset, 258 cx + mHandTouchGraphic.getIntrinsicWidth() + offset,
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
vp_motionmodel.c | 343 VP_PAR cx, cy; local 356 cx = (VP_PAR) (w/2.0); 363 MXW(R2r)=cx*(((VP_PAR)1.0) - inv_zoom);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/asm/ |
sigcontext32.h | 63 unsigned int cx; member in struct:sigcontext_ia32
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/asm/ |
sigcontext32.h | 63 unsigned int cx; member in struct:sigcontext_ia32
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/asm/ |
sigcontext32.h | 80 unsigned int cx; member in struct:sigcontext_ia32
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/asm/ |
sigcontext32.h | 80 unsigned int cx; member in struct:sigcontext_ia32
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 170 int cx = mClientSize - 2 * mMargin; local 172 if (sx < cx) { 179 int thumb = cx;
|
SelectionOverlay.java | 239 int cx = horizontalTransform.translate(handle.centerX); local 244 swtGc.fillRectangle(cx - radius, cy - radius, doubleRadius, doubleRadius);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 319 SkScalar cx = WebCoreFloatToSkScalar(p.x()); local 325 oval.set(cx - radiusXScalar, cy - radiusYScalar, cx + radiusXScalar, cy + radiusYScalar);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_rast_tri.c | 304 __m128i cx = c; local 307 __m128i c4rej = _mm_add_epi32(cx, rej4); 312 __m128i c0_0 = _mm_add_epi32(SCALAR_EPI32(cx, 0), span_0); 313 __m128i c1_0 = _mm_add_epi32(SCALAR_EPI32(cx, 1), span_1); 314 __m128i c2_0 = _mm_add_epi32(SCALAR_EPI32(cx, 2), span_2); 347 cx = _mm_add_epi32(cx, _mm_slli_epi32(dcdx, 2));
|
/external/chromium_org/third_party/skia/gm/ |
gradients.cpp | 402 const SkScalar cx = 200, cy = 200, radius = 150; local 404 center.set(cx, cy); 412 SkGradientShader::CreateSweep(cx, cy, sweep_colors, 429 canvas->drawCircle(cx, cy, radius, paint1); 430 canvas->drawCircle(cx, cy, radius, paint3); 431 canvas->drawCircle(cx, cy, radius, paint2);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkCamera.cpp | 86 SkScalar cx = SkScalarMul(fU.fY, fV.fZ) - SkScalarMul(fU.fZ, fV.fY); local 90 return SkScalarMul(cx, dx) + SkScalarMul(cy, dy) + SkScalarMul(cz, dz);
|