Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTaskStackListenerImpl.java90 final boolean wasEmpty; in addListener()
92 wasEmpty = mTaskStackListeners.isEmpty(); in addListener()
95 if (wasEmpty) { in addListener()
106 final boolean wasEmpty; in removeListener()
109 wasEmpty = mTaskStackListeners.isEmpty(); in removeListener()
113 if (!wasEmpty && isEmpty) { in removeListener()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java89 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
92 if (wasEmpty && !mListeners.isEmpty()) { in onStart()
101 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
104 if (!wasEmpty && mListeners.isEmpty()) { in onStart()
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleWriter.cpp162 bool wasEmpty; in addSampleToTrack() local
165 wasEmpty = mSampleQueue.empty(); in addSampleToTrack()
169 if (wasEmpty) { in addSampleToTrack()
/frameworks/base/libs/input/
DSpriteController.cpp73 bool wasEmpty = mLocked.invalidatedSprites.empty(); in invalidateSpriteLocked() local
75 if (wasEmpty) { in invalidateSpriteLocked()
85 bool wasEmpty = mLocked.disposedSurfaces.empty(); in disposeSurfaceLocked() local
87 if (wasEmpty) { in disposeSurfaceLocked()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java164 boolean wasEmpty = mAnimatorRequestors.isEmpty(); in requestAnimatorsEnabledImpl()
205 if (wasEmpty != isEmpty) { in requestAnimatorsEnabledImpl()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java686 boolean wasEmpty = false; in enqueueDiskWrite()
688 wasEmpty = mDiskWritesInFlight == 1; in enqueueDiskWrite()
690 if (wasEmpty) { in enqueueDiskWrite()
DPendingIntent.java1109 boolean wasEmpty = cli.mCancelListeners.isEmpty(); in addCancelListener()
1111 if (wasEmpty) { in addCancelListener()
/frameworks/base/services/core/java/com/android/server/location/listeners/
DListenerMultiplexer.java257 boolean wasEmpty = mRegistrations.isEmpty(); in replaceRegistration()
270 if (wasEmpty) { in replaceRegistration()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java762 boolean wasEmpty = mActiveCameraUsage.isEmpty(); in binderDied()
765 if ( mNotifyNfc && !wasEmpty ) { in binderDied()
1081 boolean wasEmpty = mActiveCameraUsage.isEmpty(); in updateActivityCount()
1180 if ( mNotifyNfc && (wasEmpty != isEmpty) ) { in updateActivityCount()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java764 boolean wasEmpty = mHead == null; in push()
767 return wasEmpty; in push()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp970 const bool wasEmpty = !outputState.lastCompositionHadVisibleLayers; in beginFrame() local
980 mMustRecompose = dirty && !(empty && wasEmpty); in beginFrame()
986 flagPrefix[empty], flagPrefix[wasEmpty]); in beginFrame()
/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.java3033 final boolean wasEmpty = mAccountsUpdatedListeners.isEmpty();
3043 if (wasEmpty) {
/frameworks/base/services/incremental/
DIncrementalService.cpp2371 bool wasEmpty; in addIfsStateCallback() local
2374 wasEmpty = mIfsStateCallbacks.empty(); in addIfsStateCallback()
2377 if (wasEmpty) { in addIfsStateCallback()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp2962 bool wasEmpty = connection->outboundQueue.empty(); in enqueueDispatchEntriesLocked() local
2979 if (wasEmpty && !connection->outboundQueue.empty()) { in enqueueDispatchEntriesLocked()