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.cpp787 int numFlags = 0; in drawNinePatch() local
791 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
796 FatVector<SkCanvas::Lattice::RectType, 25> flags(numFlags); in drawNinePatch()
797 FatVector<SkColor, 25> colors(numFlags); in drawNinePatch()
798 if (numFlags > 0) { in drawNinePatch()
799 NinePatchUtils::SetLatticeFlags(&lattice, flags.data(), numFlags, chunk, colors.data()); in drawNinePatch()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp306 int numFlags = 0; in drawNinePatch() local
310 numFlags = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawNinePatch()
315 FatVector<SkCanvas::Lattice::RectType, 25> flags(numFlags); in drawNinePatch()
316 FatVector<SkColor, 25> colors(numFlags); in drawNinePatch()
317 if (numFlags > 0) { in drawNinePatch()
318 NinePatchUtils::SetLatticeFlags(&lattice, flags.data(), numFlags, chunk, colors.data()); in drawNinePatch()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp438 uint16_t numFlags = std::max((uint16_t)1, mFdp->ConsumeIntegral<uint16_t>()); in traverseAndFuzzXML() local
439 for (uint16_t i = 0; i < numFlags; ++i) { in traverseAndFuzzXML()
442 if (i != (numFlags - 1)) { in traverseAndFuzzXML()
/frameworks/base/core/java/android/view/
DView.java25191 int numFlags = 0; in printFlags() local
25194 numFlags++; in printFlags()
25199 if (numFlags > 0) { in printFlags()
25206 if (numFlags > 0) { in printFlags()
25227 int numFlags = 0; in printPrivateFlags() local
25231 numFlags++; in printPrivateFlags()
25235 if (numFlags > 0) { in printPrivateFlags()
25239 numFlags++; in printPrivateFlags()
25243 if (numFlags > 0) { in printPrivateFlags()
25247 numFlags++; in printPrivateFlags()
[all …]