Home
last modified time | relevance | path

Searched refs:RectRegion (Results 1 – 8 of 8) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DRectRegionTest.java62 RectRegion region1 = new RectRegion(0, 100, 0, 100, ""); in testIsWithin()
64 RectRegion region2 = new RectRegion(5, 10, 5, 10, ""); in testIsWithin()
69 RectRegion region3 = new RectRegion(101, 200, 101, 200, ""); in testIsWithin()
73 RectRegion region4 = new RectRegion(99, 109, 99, 109, ""); in testIsWithin()
78 RectRegion region5 = new RectRegion(-100, 1, -100, 1, ""); in testIsWithin()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYSeriesFormatter.java26 ZHash<RectRegion, XYRegionFormatterType> regions;
29 regions = new ZHash<RectRegion, XYRegionFormatterType>();
32 public void addRegion(RectRegion region, XYRegionFormatterType regionFormatter) { in addRegion()
36 public void removeRegion(RectRegion region) { in removeRegion()
44 public ZIndexable<RectRegion> getRegions() { in getRegions()
52 public XYRegionFormatterType getRegionFormatter(RectRegion region) { in getRegionFormatter()
DRectRegion.java31 public class RectRegion { class
44 public RectRegion(Number minX, Number maxX, Number minY, Number maxY, String label) { in RectRegion() method in RectRegion
51 public RectRegion(Number minX, Number maxX, Number minY, Number maxY) { in RectRegion() method in RectRegion
73 public boolean intersects(RectRegion region) { in intersects()
131 …public static List<RectRegion> regionsWithin(List<RectRegion> regions, Number minX, Number maxX, N… in regionsWithin()
132 ArrayList<RectRegion> intersectingRegions = new ArrayList<RectRegion>(); in regionsWithin()
133 for(RectRegion r : regions) { in regionsWithin()
DXYSeriesRenderer.java42 ZIndexable<RectRegion> regionIndexer = xyf.getRegions(); in getUniqueRegionFormatters()
43 for (RectRegion region : regionIndexer.elements()) { in getUniqueRegionFormatters()
DXYGraphWidget.java118 private ZHash<RectRegion, AxisValueLabelFormatter> axisValueLabelRegions;
169 axisValueLabelRegions = new ZHash<RectRegion, AxisValueLabelFormatter>();
177 public ZIndexable<RectRegion> getAxisValueLabelRegions() { in getAxisValueLabelRegions()
190 public void addAxisValueLabelRegion(RectRegion region, in addAxisValueLabelRegion()
207 addAxisValueLabelRegion(new RectRegion(min, max, in addDomainAxisValueLabelRegion()
223 addAxisValueLabelRegion(new RectRegion(Double.POSITIVE_INFINITY, in addRangeAxisValueLabelRegion()
247 for (RectRegion r : axisValueLabelRegions.elements()) { in getAxisValueLabelFormatterForVal()
257 for (RectRegion r : axisValueLabelRegions.elements()) { in getAxisValueLabelFormatterForDomainVal()
267 for (RectRegion r : axisValueLabelRegions.elements()) { in getAxisValueLabelFormatterForRangeVal()
DLineAndPointRenderer.java203 …for (RectRegion r : RectRegion.regionsWithin(formatter.getRegions().elements(), minX, maxX, minY, … in renderPath()
DXYPlot.java114 private RectRegion defaultBounds;
247 setDefaultBounds(new RectRegion(-1, 1, -1, 1)); in onPreInit()
1225 public RectRegion getDefaultBounds() { in getDefaultBounds()
1229 public void setDefaultBounds(RectRegion defaultBounds) { in setDefaultBounds()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYRegionExampleActivity.java60 private RectRegion shortRegion;
61 private RectRegion warmupRegion;
62 private RectRegion homeRunRegion;
198 XYRegionFormatter rf, RectRegion rr) { in onCheckBoxClicked()
405 …shortRegion = new RectRegion(2, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, HOME_RUN_DIST,… in regionSetup()
416 … warmupRegion = new RectRegion(0, 2, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, "Warmup"); in regionSetup()
425 …homeRunRegion = new RectRegion(2, Double.POSITIVE_INFINITY, HOME_RUN_DIST, Double.POSITIVE_INFINIT… in regionSetup()