Searched defs:currentFlags (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DCanvasState.h158 inline int currentFlags() const { return currentSnapshot()->flags; } function in class:android::uirenderer::CanvasState
H A DLayerBuilder.cpp88 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, argument
90 bool currentClipExists = currentFlags & side;
153 const int currentFlags = mClipSideFlags; local
155 if (currentFlags != OpClipSideFlags::None || newFlags != OpClipSideFlags::None) {
158 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Left, boundsDelta)) return false;
160 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Top, boundsDelta)) return false;
164 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Right, boundsDelta)) return false;
166 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Bottom, boundsDelta)) return false;
H A DDeferredDisplayList.cpp158 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, argument
160 bool currentClipExists = currentFlags & side;
206 const int currentFlags = mClipSideFlags; local
208 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) {
211 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false;
213 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false;
217 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false;
219 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false;

Completed in 132 milliseconds