Home
last modified time | relevance | path

Searched refs:newFlags (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java215 int newFlags = ask ? (curFlags&~COMPAT_FLAG_DONT_ASK) : (curFlags|COMPAT_FLAG_DONT_ASK); in setPackageAskCompatModeLocked() local
216 if (curFlags != newFlags) { in setPackageAskCompatModeLocked()
217 if (newFlags != 0) { in setPackageAskCompatModeLocked()
218 mPackages.put(packageName, newFlags); in setPackageAskCompatModeLocked()
291 int newFlags = curFlags; in setPackageScreenCompatModeLocked() local
293 newFlags |= COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
295 newFlags &= ~COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
302 newFlags = 0; in setPackageScreenCompatModeLocked()
307 newFlags = 0; in setPackageScreenCompatModeLocked()
310 if (newFlags != curFlags) { in setPackageScreenCompatModeLocked()
[all …]
/frameworks/base/libs/hwui/
DDeferredDisplayList.cpp160 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument
163 bool newClipExists = newFlags & side; in checkSide()
208 const int newFlags = state->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/services/core/java/com/android/server/power/
DNotifier.java173 int newFlags, String newTag, String newPackageName, int newOwnerUid, in onWakeLockChanging() argument
178 final int newMonitorType = getBatteryStatsWakeLockMonitorType(newFlags); in onWakeLockChanging()
179 boolean unimportantForLogging = (newFlags&PowerManager.UNIMPORTANT_FOR_LOGGING) != 0 in onWakeLockChanging()
182 Slog.d(TAG, "onWakeLockChanging: flags=" + newFlags + ", tag=\"" + newTag in onWakeLockChanging()
196 onWakeLockAcquired(newFlags, newTag, newPackageName, newOwnerUid, newOwnerPid, in onWakeLockChanging()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1402 final int newFlags = computeFlags(p.flags); in update() local
1403 if (newFlags != p.flags) { in update()
1404 p.flags = newFlags; in update()
1503 final int newFlags = computeFlags(p.flags); in update()
1504 if (newFlags != p.flags) { in update()
1505 p.flags = newFlags; in update()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardViewStateManager.java158 final int newFlags = isCameraPage ? (currentFlags | View.STATUS_BAR_DISABLE_SEARCH) in onPageSwitching() local
160 mKeyguardWidgetPager.setSystemUiVisibility(newFlags); in onPageSwitching()
/frameworks/base/media/java/android/media/
DMediaCodec.java257 int newOffset, int newSize, long newTimeUs, int newFlags) { in set() argument
261 flags = newFlags; in set()
/frameworks/native/services/surfaceflinger/
DLayer.cpp967 const uint32_t newFlags = (mCurrentState.flags & ~mask) | (flags & mask); in setFlags() local
968 if (mCurrentState.flags == newFlags) in setFlags()
971 mCurrentState.flags = newFlags; in setFlags()
/frameworks/base/core/java/android/view/
DKeyEvent.java1595 int newRepeat, int newFlags) { in changeTimeRepeat() argument
1599 ret.mFlags = newFlags; in changeTimeRepeat()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3707 uint32_t newFlags = 0; in resolveReference() local
3708 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
3716 if (inoutTypeSpecFlags != NULL) *inoutTypeSpecFlags |= newFlags; in resolveReference()