/external/python/cpython2/Demo/turtle/ |
tdemo_yinyang.py | 9 The small circles are drawn by the circle 20 circle(radius/2., 180) 21 circle(radius, 180) 23 circle(-radius/2., 180) 32 circle(radius*0.125)
|
tdemo_peace.py | 40 circle(170)
|
tdemo_lindenmayer_indian.py | 88 circle(10,90) 95 circle(l, 270)
|
/external/python/cpython3/Lib/turtledemo/ |
yinyang.py | 9 The small circles are drawn by the circle 20 circle(radius/2., 180) 21 circle(radius, 180) 23 circle(-radius/2., 180) 32 circle(radius*0.15)
|
peace.py | 40 circle(170)
|
lindenmayer.py | 88 circle(10,90) 95 circle(l, 270)
|
/external/skia/src/gpu/effects/ |
GrCircleEffect.fp | 14 // The circle uniform is (center.x, center.y, radius + 0.5, 1 / (radius + 0.5)) for regular 16 uniform half4 circle; 42 pdman.set4f(circle, center.fX, center.fY, effectiveRadius, 50 // TODO: Right now the distance to circle caclulation is performed in a space normalized to the 56 d = (length((circle.xy - sk_FragCoord.xy) * circle.w) - 1.0) * circle.z; 58 d = (1.0 - length((circle.xy - sk_FragCoord.xy) * circle.w)) * circle.z [all...] |
/external/skqp/src/gpu/effects/ |
GrCircleEffect.fp | 14 // The circle uniform is (center.x, center.y, radius + 0.5, 1 / (radius + 0.5)) for regular 16 uniform half4 circle; 42 pdman.set4f(circle, center.fX, center.fY, effectiveRadius, 50 // TODO: Right now the distance to circle caclulation is performed in a space normalized to the 56 d = (length((circle.xy - sk_FragCoord.xy) * circle.w) - 1.0) * circle.z; 58 d = (1.0 - length((circle.xy - sk_FragCoord.xy) * circle.w)) * circle.z [all...] |
/cts/apps/CameraITS/tests/scene4/ |
test_multi_camera_alignment.py | 54 """Find the circle in the image. 60 circle: (circle_center_x, circle_center_y, radius) 66 circle = cv2.HoughCircles(gray, cv2.cv.CV_HOUGH_GRADIENT, 69 circle = cv2.HoughCircles(gray, cv2.HOUGH_GRADIENT, 72 circle = None 74 assert circle is not None, 'No circle found!' 75 return circle 123 circle = {} 177 circle[i] = find_circle(cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) [all...] |
/external/skia/tests/ |
TracingTest.cpp | 54 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); 160 TracingCircle* circle = new TracingCircle(SkPoint::Make(20, 20), 15); local 161 circle->traceSnapshot(); 170 circle->fCenter.offset(10, 10); 171 circle->traceSnapshot(); 177 TRACE_EVENT1("skia", "Processing Shape", "#shape", circle); 181 delete circle;
|
/external/skqp/tests/ |
TracingTest.cpp | 54 return SkStringPrintf("Circle(%f, %f, %f)", fCenter.fX, fCenter.fY, fRadius); 160 TracingCircle* circle = new TracingCircle(SkPoint::Make(20, 20), 15); local 161 circle->traceSnapshot(); 170 circle->fCenter.offset(10, 10); 171 circle->traceSnapshot(); 177 TRACE_EVENT1("skia", "Processing Shape", "#shape", circle); 181 delete circle;
|
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/ |
CircleImageView.java | 60 ShapeDrawable circle; local 62 circle = new ShapeDrawable(new OvalShape()); 66 circle = new ShapeDrawable(oval); 67 setLayerType(View.LAYER_TYPE_SOFTWARE, circle.getPaint()); 68 circle.getPaint().setShadowLayer(mShadowRadius, shadowXOffset, shadowYOffset, 74 circle.getPaint().setColor(color); 75 ViewCompat.setBackground(this, circle); 112 * Update the background color of the circle image view.
|
/developers/build/prebuilts/gradle/RevealEffectBasic/Application/tests/src/com/example/android/revealeffectbasic/tests/ |
SampleTests.java | 55 assertNotNull("Circle view is null", mTestActivity.findViewById(R.id.circle));
|
/developers/samples/android/ui/views/RevealEffect/RevealEffectBasic/Application/tests/src/com/example/android/revealeffectbasic/tests/ |
SampleTests.java | 55 assertNotNull("Circle view is null", mTestActivity.findViewById(R.id.circle));
|
/external/skia/samplecode/ |
SampleCircle.cpp | 16 // reconstruct the edges of the circle. 47 void circle(SkCanvas* canvas, int width, bool aa) { function in class:CircleView 66 circle(canvas, width, false); 68 circle(canvas, width, true);
|
/external/skqp/gm/ |
dashcircle.cpp | 46 SkPath circle; variable 47 circle.addCircle(0, 0, radius); 88 canvas->drawPath(circle, p);
|
/external/skqp/samplecode/ |
SampleCircle.cpp | 16 // reconstruct the edges of the circle. 47 void circle(SkCanvas* canvas, int width, bool aa) { function in class:CircleView 66 circle(canvas, width, false); 68 circle(canvas, width, true);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 102 Path circle = new Path(); local 103 circle.addCircle(0, 0, 1, Direction.CW); 105 PathMeasure measure = new PathMeasure(circle, false); 107 measure.setPath(circle, true);
|
/external/skia/src/effects/ |
GrCircleBlurFragmentProcessor.fp | 14 // x, y - the center of the circle 25 const SkRect& circle, float sigma); 67 // Applies the 1D half kernel vertically at points along the x axis to a circle centered at the 78 // In the column at x we exit the circle at +y and -y 95 // Apply a Gaussian at point (evalX, 0) to a circle centered at the origin with radius circleR. 118 // Since we applied a half kernel in y we multiply acc by 2 (the circle is symmetric about 123 // This function creates a profile of a blurred circle. It does this by computing a kernel for 125 // an array of vertical applications of the half kernel to the circle along the x axis. The 191 const SkRect& circle, 194 float circleR = circle.width() / 2.0f [all...] |
GrCircleBlurFragmentProcessor.h | 23 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider*, const SkRect& circle,
|
/external/skqp/src/effects/ |
GrCircleBlurFragmentProcessor.fp | 14 // x, y - the center of the circle 25 const SkRect& circle, float sigma); 67 // Applies the 1D half kernel vertically at points along the x axis to a circle centered at the 78 // In the column at x we exit the circle at +y and -y 95 // Apply a Gaussian at point (evalX, 0) to a circle centered at the origin with radius circleR. 118 // Since we applied a half kernel in y we multiply acc by 2 (the circle is symmetric about 123 // This function creates a profile of a blurred circle. It does this by computing a kernel for 125 // an array of vertical applications of the half kernel to the circle along the x axis. The 191 const SkRect& circle, 194 float circleR = circle.width() / 2.0f [all...] |
GrCircleBlurFragmentProcessor.h | 23 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider*, const SkRect& circle,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
WirelessChargingView.java | 122 * Draws a larger circle of radius {@link WirelessChargingView#mMainCircleEndRadius} composed of 130 // draws mNumDots to compose a larger, main circle 131 for (int circle = 0; circle < mNumDots; circle++) { 132 double angle = ((mCurrAngleOffset) * Math.PI / 180) + (circle * ((2 * Math.PI) 154 // Position Dots: update main circle radius (that the dots compose) 175 * @return decimal depicting how far along the creation of the larger circle (of circles) is 176 * For values < 1.0, the larger circle is being drawn 177 * For values > 1.0 the larger circle has been drawn and further animation can occu [all...] |
/external/skia/gm/ |
manypaths.cpp | 54 SkRect circle = SkRect::MakeXYWH(x, y, w, w); variable 56 canvas->drawOval(circle, paint);
|
/external/skia/src/gpu/ops/ |
GrOvalOpFactory.cpp | 51 * The output of this effect is a modulation of the input color and coverage for a circle. It 52 * operates in a space normalized by the circle radius (outer radius in the case of a stroke) 53 * with origin at the circle center. Three vertex attributes are used: 65 * Round caps for stroking are allowed as well. The caps are specified as two circle center points 369 // circle. 435 // Clip the end of the next dash to the end of the circle 448 // Clip the start previous dash to the start of the circle 643 * implict equation used is for a unit circle (x^2 + y^2 - 1 = 0) and the edge corrected by [all...] |