Home
last modified time | relevance | path

Searched refs:wasEmpty (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java86 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
89 if (wasEmpty && !mListeners.isEmpty()) { in onStart()
98 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
101 if (!wasEmpty && mListeners.isEmpty()) { in onStart()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraService.java204 boolean wasEmpty = mActiveCameraIds.isEmpty(); in binderDied()
207 if ( mNotifyNfc && !wasEmpty ) { in binderDied()
282 boolean wasEmpty = mActiveCameraIds.isEmpty(); in updateActivityCount()
295 if ( mNotifyNfc && (wasEmpty != isEmpty) ) { in updateActivityCount()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DObservableArrayMap.java45 boolean wasEmpty = isEmpty(); in clear()
46 if (!wasEmpty) { in clear()
/frameworks/base/libs/input/
DSpriteController.cpp83 bool wasEmpty = mLocked.invalidatedSprites.isEmpty(); in invalidateSpriteLocked() local
85 if (wasEmpty) { in invalidateSpriteLocked()
95 bool wasEmpty = mLocked.disposedSurfaces.isEmpty(); in disposeSurfaceLocked() local
97 if (wasEmpty) { in disposeSurfaceLocked()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java549 boolean wasEmpty = false; in enqueueDiskWrite()
551 wasEmpty = mDiskWritesInFlight == 1; in enqueueDiskWrite()
553 if (wasEmpty) { in enqueueDiskWrite()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java767 boolean wasEmpty = mHead == null; in push()
770 return wasEmpty; in push()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java634 boolean wasEmpty = mIsEmpty; in onLoadFinished()
649 if (wasEmpty) { in onLoadFinished()
/frameworks/base/core/java/android/accounts/
DAccountManager.java2619 final boolean wasEmpty = mAccountsUpdatedListeners.isEmpty();
2623 if (wasEmpty) {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1273 bool wasEmpty = !mDisplays[dpy]->lastCompositionHadVisibleLayers; in setUpHWComposer() local
1283 bool mustRecompose = dirty && !(empty && wasEmpty); in setUpHWComposer()
1290 wasEmpty ? "+" : "-"); in setUpHWComposer()
DSurfaceFlinger_hwc1.cpp1173 bool wasEmpty = !mDisplays[dpy]->lastCompositionHadVisibleLayers; in setUpHWComposer() local
1183 bool mustRecompose = dirty && !(empty && wasEmpty); in setUpHWComposer()
1190 wasEmpty ? "+" : "-"); in setUpHWComposer()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp1851 bool wasEmpty = connection->outboundQueue.isEmpty(); in enqueueDispatchEntriesLocked() local
1868 if (wasEmpty && !connection->outboundQueue.isEmpty()) { in enqueueDispatchEntriesLocked()