Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackageBroadcastReceiver.kt56 val wasEmpty = hasNoListeners() in <lambda>() constant
60 if (wasEmpty) { in <lambda>()
75 val wasEmpty = hasNoListeners() in <lambda>() constant
79 if (wasEmpty) { in <lambda>()
93 val wasEmpty = hasNoListeners() in <lambda>() constant
95 if (allCallbacks.remove(listener) && hasNoListeners() && !wasEmpty) { in <lambda>()
109 val wasEmpty = hasNoListeners() in <lambda>() constant
116 if (hasNoListeners() && !wasEmpty) { in <lambda>()
DRoleListenerMultiplexer.kt52 val wasEmpty: Boolean in <lambda>() constant
55 wasEmpty = userCallbacks.isEmpty() in <lambda>()
60 if (wasEmpty) { in <lambda>()
DPermissionListenerMultiplexer.kt51 val wasEmpty = callbacks.isEmpty() in <lambda>() constant
55 if (wasEmpty) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DParticleCollection.java61 final boolean wasEmpty = mPrimariesInProgress.isEmpty();
69 if (mPrimariesInProgress.isEmpty() && !wasEmpty) {
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DLocationUtils.java148 boolean wasEmpty = sLocationListeners.isEmpty(); in addLocationListener()
150 if (wasEmpty) { in addLocationListener()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java195 boolean wasEmpty = mWalletCardAdapter.getItemCount() == 0; in setData()
197 if (wasEmpty) { in setData()
204 return wasEmpty; in setData()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewCommandHelper.java96 boolean wasEmpty = mPendingCommands.isEmpty(); in addCommand()
98 if (wasEmpty) { in addCommand()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java453 boolean wasEmpty = (mRelatedRecordingsRowAdapter.size() == 0); in updateRelatedRecordingsRow()
470 } else if (wasEmpty) { in updateRelatedRecordingsRow()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java767 boolean wasEmpty = mHead == null; in push()
770 return wasEmpty; in push()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java745 boolean wasEmpty = mHead == null; in push()
748 return wasEmpty; in push()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java767 boolean wasEmpty = mHead == null; in push()
770 return wasEmpty; in push()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1818 boolean wasEmpty = getChildCount() == 0; in showCurrentTask()
1822 if (wasEmpty) { in showCurrentTask()