Home
last modified time | relevance | path

Searched refs:maxXY (Results 1 – 3 of 3) sorted by relevance

/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java49 private PointF maxXY; field in TouchZoomExampleActivity
59 maxXY.x = series[3].getX(series[3].size() - 1).floatValue(); in onCreate()
60 mySimpleXYPlot.setDomainBoundaries(minXY.x, maxXY.x, BoundaryMode.FIXED); in onCreate()
103 maxXY = new PointF(mySimpleXYPlot.getCalculatedMaxX().floatValue(), in onCreate()
148 mySimpleXYPlot.setDomainBoundaries(minXY.x, maxXY.x, in onTouch()
156 mySimpleXYPlot.setDomainBoundaries(minXY.x, maxXY.x, in onTouch()
166 float domainSpan = maxXY.x - minXY.x; in zoom()
167 float domainMidPoint = maxXY.x - domainSpan / 2.0f; in zoom()
171 maxXY.x = domainMidPoint + offset; in zoom()
175 maxXY.x = Math.max(maxXY.x, series[0].getX(1).floatValue()); in zoom()
[all …]
/external/skia/src/utils/
DSkDashPath.cpp110 SkScalar maxXY = (&pts[1].fX)[xyOffset]; in clip_line() local
111 bool swapped = maxXY < minXY; in clip_line()
114 swap(minXY, maxXY); in clip_line()
117 SkASSERT(minXY <= maxXY); in clip_line()
120 if (maxXY < leftTop || minXY > rightBottom) { in clip_line()
134 if (maxXY > rightBottom) { in clip_line()
135 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
137 maxXY += priorPhase; // for rectangles, adjust by prior phase in clip_line()
141 SkASSERT(maxXY >= minXY); in clip_line()
144 swap(minXY, maxXY); in clip_line()
[all …]
/external/skqp/src/utils/
DSkDashPath.cpp109 SkScalar maxXY = (&pts[1].fX)[xyOffset]; in clip_line() local
110 bool swapped = maxXY < minXY; in clip_line()
113 swap(minXY, maxXY); in clip_line()
116 SkASSERT(minXY <= maxXY); in clip_line()
119 if (maxXY < leftTop || minXY > rightBottom) { in clip_line()
133 if (maxXY > rightBottom) { in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
136 maxXY += priorPhase; // for rectangles, adjust by prior phase in clip_line()
140 SkASSERT(maxXY >= minXY); in clip_line()
143 swap(minXY, maxXY); in clip_line()
[all …]