Home
last modified time | relevance | path

Searched refs:colorKey (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DPatchCache.h70 xCount(0), yCount(0), emptyCount(0), colorKey(0) { in PatchDescription()
76 const int8_t emptyCount, const uint32_t colorKey): in PatchDescription()
80 emptyCount(emptyCount), colorKey(colorKey) { in PatchDescription()
91 LTE_INT(colorKey) return false; in LTE_FLOAT()
110 uint32_t colorKey; member
DPatchCache.cpp59 uint32_t colorKey = 0; in get() local
65 colorKey |= 0x1 << i; in get()
76 pixelWidth, pixelHeight, width, height, transparentQuads, colorKey); in get()
90 mesh->updateColorKey(colorKey); in get()
100 } else if (!mesh->matches(xDivs, yDivs, colorKey)) { in get()
DPatch.cpp75 void Patch::updateColorKey(const uint32_t colorKey) { in updateColorKey() argument
76 mColorKey = colorKey; in updateColorKey()
79 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey) { in matches() argument
80 if (mColorKey != colorKey) { in matches()
81 updateColorKey(colorKey); in matches()
DPatch.h54 void updateColorKey(const uint32_t colorKey);
56 bool matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey);