Home
last modified time | relevance | path

Searched refs:numFlags (Results 1 – 5 of 5) 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.cpp694 int numFlags = 0; in drawNinePatch() local
698 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
701 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
702 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
703 if (numFlags > 0) { in drawNinePatch()
704 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp271 int numFlags = 0; in drawNinePatch() local
275 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
278 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()
279 SkAutoSTMalloc<25, SkColor> colors(numFlags); in drawNinePatch()
280 if (numFlags > 0) { in drawNinePatch()
281 NinePatchUtils::SetLatticeFlags(&lattice, flags.get(), numFlags, chunk, colors.get()); in drawNinePatch()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp416 uint16_t numFlags = std::max((uint16_t)1, mFdp->ConsumeIntegral<uint16_t>()); in traverseAndFuzzXML() local
417 for (uint16_t i = 0; i < numFlags; ++i) { in traverseAndFuzzXML()
420 if (i != (numFlags - 1)) { in traverseAndFuzzXML()
/frameworks/base/core/java/android/view/
DView.java22993 int numFlags = 0; in printFlags() local
22996 numFlags++; in printFlags()
23001 if (numFlags > 0) { in printFlags()
23008 if (numFlags > 0) { in printFlags()
23029 int numFlags = 0; in printPrivateFlags() local
23033 numFlags++; in printPrivateFlags()
23037 if (numFlags > 0) { in printPrivateFlags()
23041 numFlags++; in printPrivateFlags()
23045 if (numFlags > 0) { in printPrivateFlags()
23049 numFlags++; in printPrivateFlags()
[all …]