Home
last modified time | relevance | path

Searched refs:fCurRects (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DSampleRectanizer.cpp48 fCurRects = &fRects[0]; in RectanizerView()
85 if (fRectanizers[fCurRectanizer]->addRect((*fCurRects)[fCurRandRect].fWidth, in onDrawContent()
86 (*fCurRects)[fCurRandRect].fHeight, in onDrawContent()
108 SkIntToScalar((*fCurRects)[i].fWidth), in onDrawContent()
109 SkIntToScalar((*fCurRects)[i].fHeight)); in onDrawContent()
112 totArea += (*fCurRects)[i].fWidth * (*fCurRects)[i].fHeight; in onDrawContent()
145 SkTDArray<SkISize>* fCurRects; member in RectanizerView
166 if (fCurRects == &fRects[0]) { in getRectsName()
168 } else if (fCurRects == &fRects[1]) { in getRectsName()
176 if (fCurRects == &fRects[0]) { in cycleRects()
[all …]
/external/skqp/samplecode/
DSampleRectanizer.cpp48 fCurRects = &fRects[0]; in RectanizerView()
85 if (fRectanizers[fCurRectanizer]->addRect((*fCurRects)[fCurRandRect].fWidth, in onDrawContent()
86 (*fCurRects)[fCurRandRect].fHeight, in onDrawContent()
108 SkIntToScalar((*fCurRects)[i].fWidth), in onDrawContent()
109 SkIntToScalar((*fCurRects)[i].fHeight)); in onDrawContent()
112 totArea += (*fCurRects)[i].fWidth * (*fCurRects)[i].fHeight; in onDrawContent()
145 SkTDArray<SkISize>* fCurRects; member in RectanizerView
166 if (fCurRects == &fRects[0]) { in getRectsName()
168 } else if (fCurRects == &fRects[1]) { in getRectsName()
176 if (fCurRects == &fRects[0]) { in cycleRects()
[all …]