Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DNinePatchUtils.h57 int numFlags, const Res_png_9patch& chunk, SkColor* colors) { in SetLatticeFlags() argument
60 sk_bzero(flags, numFlags * sizeof(SkCanvas::Lattice::RectType)); in SetLatticeFlags()
61 sk_bzero(colors, numFlags * sizeof(SkColor)); in SetLatticeFlags()
DSkiaCanvas.cpp663 int numFlags = 0; in drawNinePatch() local
667 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
670 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
671 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
672 if (numFlags > 0) { in drawNinePatch()
673 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp233 int numFlags = 0; in drawNinePatch() local
237 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
240 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
241 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
242 if (numFlags > 0) { in drawNinePatch()
243 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()