test_class.declarator: plotArea = new RectF(0, 0, 100, 100)
test_class.original_string: RectF plotArea = new RectF(0, 0, 100, 100);
test_class.type: RectF
test_class.var_name: plotArea
test_class.declarator: layoutManager
test_class.modifier: @Mock
test_class.original_string: @Mock
      LayoutManager layoutManager;
test_class.type: LayoutManager
test_class.var_name: layoutManager
test_class.declarator: pieChart
test_class.original_string: PieChart pieChart;
test_class.type: PieChart
test_class.var_name: pieChart
test_class.declarator: typedArray
test_class.modifier: @Mock
test_class.original_string: @Mock
      TypedArray typedArray;
test_class.type: TypedArray
test_class.var_name: typedArray
test_class.declarator: seriesRegistry
test_class.modifier: @Mock
test_class.original_string: @Mock
      SeriesRegistry seriesRegistry;
test_class.type: SeriesRegistry
test_class.var_name: seriesRegistry
test_class.declarator: renderStack
test_class.modifier: @Mock
test_class.original_string: @Mock
      RenderStack renderStack;
test_class.type: RenderStack
test_class.var_name: renderStack
test_class.declarator: canvas
test_class.original_string: Canvas canvas;
test_class.type: Canvas
test_class.var_name: canvas
test_class.file: androidplot-core/src/test/java/com/androidplot/pie/PieRendererTest.java
test_class.identifier: PieRendererTest
test_class.superclass: extends AndroidplotTest
test_case.body: @Test
      public void testDegsToScreenDegs() throws Exception {
          assertEquals(0f, PieRenderer.degsToScreenDegs(0));
          assertEquals(359f, PieRenderer.degsToScreenDegs(1));
          assertEquals(271f, PieRenderer.degsToScreenDegs(89));
          assertEquals(270f, PieRenderer.degsToScreenDegs(90));
          assertEquals(269f, PieRenderer.degsToScreenDegs(91));
          assertEquals(181f, PieRenderer.degsToScreenDegs(179));
          assertEquals(180f, PieRenderer.degsToScreenDegs(180));
          assertEquals(179f, PieRenderer.degsToScreenDegs(181));
          assertEquals(91f, PieRenderer.degsToScreenDegs(269));
          assertEquals(90f, PieRenderer.degsToScreenDegs(270));
          assertEquals(89f, PieRenderer.degsToScreenDegs(271));
          assertEquals(1f, PieRenderer.degsToScreenDegs(359));
          assertEquals(0f, PieRenderer.degsToScreenDegs(360));
  
      }
test_case.class_method_signature: PieRendererTest.testDegsToScreenDegs()
test_case.full_signature: @Test public void testDegsToScreenDegs()
test_case.identifier: testDegsToScreenDegs
test_case.invocations: assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs assertEquals degsToScreenDegs
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDegsToScreenDegs()
focal_class.declarator: FULL_PIE_DEGS = 360f
focal_class.modifier: private static final
focal_class.original_string: private static final float FULL_PIE_DEGS = 360f;
focal_class.type: float
focal_class.var_name: FULL_PIE_DEGS
focal_class.declarator: HALF_PIE_DEGS = 180f
focal_class.modifier: private static final
focal_class.original_string: private static final float HALF_PIE_DEGS = 180f;
focal_class.type: float
focal_class.var_name: HALF_PIE_DEGS
focal_class.declarator: startDegs = 0
focal_class.modifier: private
focal_class.original_string: private float startDegs = 0;
focal_class.type: float
focal_class.var_name: startDegs
focal_class.declarator: extentDegs = FULL_PIE_DEGS
focal_class.modifier: private
focal_class.original_string: private float extentDegs = FULL_PIE_DEGS;
focal_class.type: float
focal_class.var_name: extentDegs
focal_class.declarator: donutSize = 0.5f
focal_class.modifier: private
focal_class.original_string: private float donutSize = 0.5f;
focal_class.type: float
focal_class.var_name: donutSize
focal_class.declarator: donutMode = DonutMode.PERCENT
focal_class.modifier: private
focal_class.original_string: private DonutMode donutMode = DonutMode.PERCENT;
focal_class.type: DonutMode
focal_class.var_name: donutMode
focal_class.file: androidplot-core/src/main/java/com/androidplot/pie/PieRenderer.java
focal_class.identifier: PieRenderer
focal_class.class_method_signature: PieRenderer.PieRenderer(PieChart plot)
focal_class.full_signature: public  PieRenderer(PieChart plot)
focal_class.identifier: PieRenderer
focal_class.modifiers: public
focal_class.parameters: (PieChart plot)
focal_class.signature:  PieRenderer(PieChart plot)
focal_class.class_method_signature: PieRenderer.getRadius(RectF rect)
focal_class.full_signature: public float getRadius(RectF rect)
focal_class.identifier: getRadius
focal_class.modifiers: public
focal_class.parameters: (RectF rect)
focal_class.return: float
focal_class.signature: float getRadius(RectF rect)
focal_class.class_method_signature: PieRenderer.onRender(Canvas canvas, RectF plotArea, Segment series, SegmentFormatter formatter,
              RenderStack stack)
focal_class.full_signature: @Override public void onRender(Canvas canvas, RectF plotArea, Segment series, SegmentFormatter formatter,
              RenderStack stack)
focal_class.identifier: onRender
focal_class.modifiers: @Override public
focal_class.parameters: (Canvas canvas, RectF plotArea, Segment series, SegmentFormatter formatter,
              RenderStack stack)
focal_class.return: void
focal_class.signature: void onRender(Canvas canvas, RectF plotArea, Segment series, SegmentFormatter formatter,
              RenderStack stack)
focal_class.class_method_signature: PieRenderer.drawSegment(Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f,
              float rad, float startAngle, float sweep)
focal_class.full_signature: protected void drawSegment(Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f,
              float rad, float startAngle, float sweep)
focal_class.identifier: drawSegment
focal_class.modifiers: protected
focal_class.parameters: (Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f,
              float rad, float startAngle, float sweep)
focal_class.return: void
focal_class.signature: void drawSegment(Canvas canvas, RectF bounds, Segment seg, SegmentFormatter f,
              float rad, float startAngle, float sweep)
focal_class.class_method_signature: PieRenderer.drawSegmentLabel(Canvas canvas, PointF origin,
              Segment seg, SegmentFormatter f)
focal_class.full_signature: protected void drawSegmentLabel(Canvas canvas, PointF origin,
              Segment seg, SegmentFormatter f)
focal_class.identifier: drawSegmentLabel
focal_class.modifiers: protected
focal_class.parameters: (Canvas canvas, PointF origin,
              Segment seg, SegmentFormatter f)
focal_class.return: void
focal_class.signature: void drawSegmentLabel(Canvas canvas, PointF origin,
              Segment seg, SegmentFormatter f)
focal_class.class_method_signature: PieRenderer.doDrawLegendIcon(Canvas canvas, RectF rect, SegmentFormatter formatter)
focal_class.full_signature: @Override protected void doDrawLegendIcon(Canvas canvas, RectF rect, SegmentFormatter formatter)
focal_class.identifier: doDrawLegendIcon
focal_class.modifiers: @Override protected
focal_class.parameters: (Canvas canvas, RectF rect, SegmentFormatter formatter)
focal_class.return: void
focal_class.signature: void doDrawLegendIcon(Canvas canvas, RectF rect, SegmentFormatter formatter)
focal_class.class_method_signature: PieRenderer.calculateScale(double[] values)
focal_class.full_signature: protected double calculateScale(double[] values)
focal_class.identifier: calculateScale
focal_class.modifiers: protected
focal_class.parameters: (double[] values)
focal_class.return: double
focal_class.signature: double calculateScale(double[] values)
focal_class.class_method_signature: PieRenderer.getValues()
focal_class.full_signature: protected double[] getValues()
focal_class.identifier: getValues
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getValues()
focal_class.class_method_signature: PieRenderer.calculateLineEnd(float x, float y, float rad, float deg)
focal_class.full_signature: protected PointF calculateLineEnd(float x, float y, float rad, float deg)
focal_class.identifier: calculateLineEnd
focal_class.modifiers: protected
focal_class.parameters: (float x, float y, float rad, float deg)
focal_class.return: PointF
focal_class.signature: PointF calculateLineEnd(float x, float y, float rad, float deg)
focal_class.class_method_signature: PieRenderer.calculateLineEnd(PointF origin, float rad, float deg)
focal_class.full_signature: protected PointF calculateLineEnd(PointF origin, float rad, float deg)
focal_class.identifier: calculateLineEnd
focal_class.modifiers: protected
focal_class.parameters: (PointF origin, float rad, float deg)
focal_class.return: PointF
focal_class.signature: PointF calculateLineEnd(PointF origin, float rad, float deg)
focal_class.class_method_signature: PieRenderer.setDonutSize(float size, DonutMode mode)
focal_class.full_signature: public void setDonutSize(float size, DonutMode mode)
focal_class.identifier: setDonutSize
focal_class.modifiers: public
focal_class.parameters: (float size, DonutMode mode)
focal_class.return: void
focal_class.signature: void setDonutSize(float size, DonutMode mode)
focal_class.class_method_signature: PieRenderer.getContainingSegment(PointF point)
focal_class.full_signature: public Segment getContainingSegment(PointF point)
focal_class.identifier: getContainingSegment
focal_class.modifiers: public
focal_class.parameters: (PointF point)
focal_class.return: Segment
focal_class.signature: Segment getContainingSegment(PointF point)
focal_class.class_method_signature: PieRenderer.degsToScreenDegs(float degs)
focal_class.full_signature: protected static float degsToScreenDegs(float degs)
focal_class.identifier: degsToScreenDegs
focal_class.modifiers: protected static
focal_class.parameters: (float degs)
focal_class.return: float
focal_class.signature: float degsToScreenDegs(float degs)
focal_class.class_method_signature: PieRenderer.signedDistance(double angle1, double angle2)
focal_class.full_signature: protected static double signedDistance(double angle1, double angle2)
focal_class.identifier: signedDistance
focal_class.modifiers: protected static
focal_class.parameters: (double angle1, double angle2)
focal_class.return: double
focal_class.signature: double signedDistance(double angle1, double angle2)
focal_class.class_method_signature: PieRenderer.validateInputDegs(float degs)
focal_class.full_signature: protected static void validateInputDegs(float degs)
focal_class.identifier: validateInputDegs
focal_class.modifiers: protected static
focal_class.parameters: (float degs)
focal_class.return: void
focal_class.signature: void validateInputDegs(float degs)
focal_class.class_method_signature: PieRenderer.setStartDegs(float degs)
focal_class.full_signature: public void setStartDegs(float degs)
focal_class.identifier: setStartDegs
focal_class.modifiers: public
focal_class.parameters: (float degs)
focal_class.return: void
focal_class.signature: void setStartDegs(float degs)
focal_class.class_method_signature: PieRenderer.getStartDegs()
focal_class.full_signature: public float getStartDegs()
focal_class.identifier: getStartDegs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getStartDegs()
focal_class.class_method_signature: PieRenderer.setExtentDegs(float degs)
focal_class.full_signature: public void setExtentDegs(float degs)
focal_class.identifier: setExtentDegs
focal_class.modifiers: public
focal_class.parameters: (float degs)
focal_class.return: void
focal_class.signature: void setExtentDegs(float degs)
focal_class.class_method_signature: PieRenderer.getExtentDegs()
focal_class.full_signature: public float getExtentDegs()
focal_class.identifier: getExtentDegs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getExtentDegs()
focal_class.superclass: extends SeriesRenderer<PieChart, Segment, SegmentFormatter>
focal_method.body: protected static float degsToScreenDegs(float degs) {
          degs = degs % FULL_PIE_DEGS;
  
          if (degs  > 0) {
              return FULL_PIE_DEGS - degs;
          } else {
              return degs;
          }
      }
focal_method.class_method_signature: PieRenderer.degsToScreenDegs(float degs)
focal_method.full_signature: protected static float degsToScreenDegs(float degs)
focal_method.identifier: degsToScreenDegs
focal_method.modifiers: protected static
focal_method.parameters: (float degs)
focal_method.return: float
focal_method.signature: float degsToScreenDegs(float degs)