Home
last modified time | relevance | path

Searched refs:numFlags (Results 1 – 4 of 4) 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.cpp698 int numFlags = 0; in drawNinePatch() local
702 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
705 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
706 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
707 if (numFlags > 0) { in drawNinePatch()
708 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp281 int numFlags = 0; in drawNinePatch() local
285 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
288 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
289 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
290 if (numFlags > 0) { in drawNinePatch()
291 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()
/frameworks/base/core/java/android/view/
DView.java22694 int numFlags = 0; in printFlags() local
22697 numFlags++; in printFlags()
22702 if (numFlags > 0) { in printFlags()
22709 if (numFlags > 0) { in printFlags()
22730 int numFlags = 0; in printPrivateFlags() local
22734 numFlags++; in printPrivateFlags()
22738 if (numFlags > 0) { in printPrivateFlags()
22742 numFlags++; in printPrivateFlags()
22746 if (numFlags > 0) { in printPrivateFlags()
22750 numFlags++; in printPrivateFlags()
[all …]