Home
last modified time | relevance | path

Searched refs:currentFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DDeferredDisplayList.cpp160 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument
162 bool currentClipExists = currentFlags & side; in checkSide()
207 const int currentFlags = mClipSideFlags; in canMergeWith() local
209 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) { in canMergeWith()
212 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false; in canMergeWith()
214 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false; in canMergeWith()
218 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false; in canMergeWith()
220 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false; in canMergeWith()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardViewStateManager.java157 final int currentFlags = mKeyguardWidgetPager.getSystemUiVisibility(); in onPageSwitching() local
158 final int newFlags = isCameraPage ? (currentFlags | View.STATUS_BAR_DISABLE_SEARCH) in onPageSwitching()
159 : (currentFlags & ~View.STATUS_BAR_DISABLE_SEARCH); in onPageSwitching()