Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java188 int newFlags = ask ? (curFlags&~COMPAT_FLAG_DONT_ASK) : (curFlags|COMPAT_FLAG_DONT_ASK); in setPackageAskCompatModeLocked() local
189 if (curFlags != newFlags) { in setPackageAskCompatModeLocked()
190 if (newFlags != 0) { in setPackageAskCompatModeLocked()
191 mPackages.put(packageName, newFlags); in setPackageAskCompatModeLocked()
264 int newFlags = curFlags; in setPackageScreenCompatModeLocked() local
266 newFlags |= COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
268 newFlags &= ~COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
275 newFlags = 0; in setPackageScreenCompatModeLocked()
280 newFlags = 0; in setPackageScreenCompatModeLocked()
283 if (newFlags != curFlags) { in setPackageScreenCompatModeLocked()
[all …]
/frameworks/base/libs/hwui/
DDeferredDisplayList.cpp163 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument
166 bool newClipExists = newFlags & side; in checkSide()
207 const int newFlags = state->mClipSideFlags; in canMergeWith() local
208 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) { in canMergeWith()
211 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false; in canMergeWith()
213 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false; in canMergeWith()
217 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false; in canMergeWith()
219 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false; in canMergeWith()
/frameworks/base/media/java/android/media/
DMediaCodec.java130 int newOffset, int newSize, long newTimeUs, int newFlags) { in set() argument
134 flags = newFlags; in set()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1354 final int newFlags = computeFlags(p.flags); in update() local
1355 if (newFlags != p.flags) { in update()
1356 p.flags = newFlags; in update()
1455 final int newFlags = computeFlags(p.flags); in update()
1456 if (newFlags != p.flags) { in update()
1457 p.flags = newFlags; in update()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardViewStateManager.java164 final int newFlags = isCameraPage ? (currentFlags | View.STATUS_BAR_DISABLE_SEARCH) in onPageSwitching() local
166 mKeyguardWidgetPager.setSystemUiVisibility(newFlags); in onPageSwitching()
/frameworks/native/services/surfaceflinger/
DLayer.cpp869 const uint32_t newFlags = (mCurrentState.flags & ~mask) | (flags & mask); in setFlags() local
870 if (mCurrentState.flags == newFlags) in setFlags()
873 mCurrentState.flags = newFlags; in setFlags()
/frameworks/base/core/java/android/view/
DKeyEvent.java1704 int newRepeat, int newFlags) { in changeTimeRepeat() argument
1708 ret.mFlags = newFlags; in changeTimeRepeat()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3328 uint32_t newFlags = 0; in resolveReference() local
3329 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
3337 if (inoutTypeSpecFlags != NULL) *inoutTypeSpecFlags |= newFlags; in resolveReference()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java11316 int newFlags = 0; in movePackage() local
11337newFlags = (flags & PackageManager.MOVE_EXTERNAL_MEDIA) != 0 ? PackageManager.INSTALL_EXTERNAL in movePackage()
11342 if (newFlags == currFlags) { in movePackage()
11348 newFlags |= PackageManager.INSTALL_FORWARD_LOCK; in movePackage()
11371 MoveParams mp = new MoveParams(srcArgs, observer, newFlags, packageName, in movePackage()