/external/skia/gm/ |
drawatlas.cpp | 66 const SkScalar rad = SkDegreesToRadians(fDegrees); local 67 xform->fSCos = fScale * SkScalarCos(rad); 68 xform->fSSin = fScale * SkScalarSin(rad);
|
addarc.cpp | 93 const SkScalar rad = SkDegreesToRadians(deg); variable 94 SkScalar rx = SkScalarCos(rad) * R; 95 SkScalar ry = SkScalarSin(rad) * R; 102 SkScalar arcLen = rad * R;
|
pathfill.cpp | 77 SkScalar rad = -SK_ScalarPI / 2; local 82 rad += drad; 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
smallpaths.cpp | 45 SkScalar rad = -SK_ScalarPI / 2; local 50 rad += drad; 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
tilemodes.cpp | 168 SkScalar rad = SkIntToScalar(gWidth)/2; local 176 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
tilemodes_scaled.cpp | 172 SkScalar rad = SkIntToScalar(gWidth)/2; local 180 return SkGradientShader::CreateRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
|
dashing.cpp | 103 SkScalar rad = -SK_ScalarPI / 2; local 108 rad += drad; 109 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btMultiSphereShape.cpp | 69 const btScalar* rad = &m_radiArray[0]; local 78 temp[i] = (*pos) +vec*m_localScaling*(*rad) - vec * getMargin(); 80 rad++; 107 const btScalar* rad = &m_radiArray[0]; local 116 temp[i] = (*pos) +vec*m_localScaling*(*rad) - vec * getMargin(); 118 rad++;
|
/external/opencv3/samples/cpp/ |
tvl1_optical_flow.cpp | 59 const float rad = sqrt(fx * fx + fy * fy); local 76 if (rad <= 1) 77 col = 1 - rad * (1 - col); // increase saturation with radius
|
/external/skia/samplecode/ |
SampleBitmapRect.cpp | 46 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees)); local 48 s = SkScalarSinCos(rad, &c);
|
SamplePathClip.cpp | 286 const SkScalar rad = 8; local 289 return dx*dx + dy*dy <= rad*rad;
|
SamplePathFill.cpp | 79 SkScalar rad = -SK_ScalarPI / 2; local 84 rad += drad; 85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
ClockFaceView.cpp | 137 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); local 138 lattice.setScale(rad*2, rad*2, 0, 0); 140 return new Dot2DPathEffect(rad, lattice, pts);
|
SamplePath.cpp | 247 const SkScalar rad = 50; local 257 fArcToPaint.setPathEffect(SkArcToPathEffect::Create(rad))->unref(); 263 fCornerPaint.setPathEffect(SkCornerPathEffect::Create(rad*2))->unref();
|
/external/skia/src/effects/ |
SkGpuBlurUtils.cpp | 116 SkScalar rad = SkIntToScalar(radius); local 123 midRect.inset(rad, 0); 135 midRect.inset(0, rad);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DraggableDot.java | 153 float rad = (wf < hf) ? wf/2 : hf/2; local 154 canvas.drawCircle(cx, cy, rad, mPaint); 168 canvas.drawCircle(cx, cy, rad, mGlow); 169 rad -= 0.5f; 170 canvas.drawCircle(cx, cy, rad, mGlow); 171 rad -= 0.5f;
|
/external/opencv3/samples/gpu/ |
optical_flow.cpp | 61 const float rad = sqrt(fx * fx + fy * fy); local 78 if (rad <= 1) 79 col = 1 - rad * (1 - col); // increase saturation with radius
|
/external/skia/bench/ |
DashBench.cpp | 143 SkScalar rad = -SK_ScalarPI / 2; local 148 rad += drad; 149 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
|
/external/skia/src/gpu/batches/ |
GrNonAAStrokeRectBatch.cpp | 23 const SkScalar rad = SkScalarHalf(width); local 26 //SkASSERT(rad < rect.width() / 2 && rad < rect.height() / 2); 28 verts[0].set(rect.fLeft + rad, rect.fTop + rad); 29 verts[1].set(rect.fLeft - rad, rect.fTop - rad); 30 verts[2].set(rect.fRight - rad, rect.fTop + rad); 31 verts[3].set(rect.fRight + rad, rect.fTop - rad) 97 SkScalar rad = SkScalarHalf(geo.fStrokeWidth); local [all...] |
/external/skia/tests/ |
RRectInPathTest.cpp | 138 const SkScalar rad = 12814; local 139 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } }; 159 const SkScalar rad = 40; local 160 rr.setRectXY(bounds, rad, rad); 354 const float rad = 33436320; local [all...] |
RoundRectTest.cpp | 17 const SkScalar rad = 12814; local 18 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } }; 40 const SkScalar rad = 40; local 41 rr.setRectXY(bounds, rad, rad); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSTileBaseView.java | 88 final int rad = (int)(mIcon.getHeight() * .85f); local 89 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad);
|
/device/google/contexthub/firmware/inc/algos/ |
accel_cal.h | 111 float rad[DGB_HISTORY]; member in struct:accelStatsMem_t
|
/external/opencv3/modules/videostab/src/ |
inpainting.cpp | 237 for (int dy = -rad; dy <= rad; ++dy) 239 for (int dx = -rad; dx <= rad; ++dx) 320 int rad; member in class:cv::videostab::MotionInpaintBody 363 body.rad = 2;
|
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 47 const SkVector& rad = rrect.getSimpleRadii(); local 48 str->appendf("(%g,%g)", rad.x(), rad.y());
|