Home
last modified time | relevance | path

Searched refs:mAllAppsStore (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DTestSandboxModelContextWrapper.java52 protected AllAppsStore<ActivityContextWrapper> mAllAppsStore; field in TestSandboxModelContextWrapper
68 mAllAppsStore = mAppsView.getAppsStore(); in TestSandboxModelContextWrapper()
77 mAllAppsStore = mAppsView.getAppsStore(); in TestSandboxModelContextWrapper()
93 mAllAppsStore.setApps(apps, flags, packageUserKeytoUidMap); in bindAllApplications()
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DPrivateProfileManagerTest.java94 private AllAppsStore<?> mAllAppsStore; field in PrivateProfileManagerTest
114 when(mAllApps.getAppsStore()).thenReturn(mAllAppsStore); in setUp()
131 when(mAllAppsStore.hasModelFlag(FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED)).thenReturn(false); in lockPrivateProfile_requestsQuietModeAsTrue()
141 when(mAllAppsStore.hasModelFlag(FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED)).thenReturn(true); in unlockPrivateProfile_requestsQuietModeAsFalse()
155 when(mAllAppsStore.hasModelFlag(FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED)) in quietModeFlagPresent_privateSpaceIsResetToDisabled()
174 when(mAllAppsStore.hasModelFlag(FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED)) in transitioningToUnlocked_resetCallsPostUnlock()
192 when(mAllAppsStore.hasModelFlag(FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED)) in transitioningToLocked_resetCallsExecuteLock()
DPrivateSpaceHeaderViewTest.java108 private AllAppsStore<?> mAllAppsStore; field in PrivateSpaceHeaderViewTest
280 when(mAllAppsStore.getApps()).thenReturn(createAppInfoList()); in scrollForViewToBeVisibleInContainer_withHeader()
293 mAlphabeticalAppsList = new AlphabeticalAppsList<>(mContext, mAllAppsStore, in scrollForViewToBeVisibleInContainer_withHeader()
315 when(mAllAppsStore.getApps()).thenReturn(createAppInfoList()); in scrollForViewToBeVisibleInContainer_withHeaderNoTabs()
328 mAlphabeticalAppsList = new AlphabeticalAppsList<>(mContext, mAllAppsStore, in scrollForViewToBeVisibleInContainer_withHeaderNoTabs()
350 when(mAllAppsStore.getApps()).thenReturn(createAppInfoList()); in scrollForViewToBeVisibleInContainer_withHeaderAndLessAppRowSpace()
363 mAlphabeticalAppsList = new AlphabeticalAppsList<>(mContext, mAllAppsStore, in scrollForViewToBeVisibleInContainer_withHeaderAndLessAppRowSpace()
385 when(mAllAppsStore.getApps()).thenReturn(createAppInfoList()); in scrollForViewToBeVisibleInContainer_withNoHeader()
395 mAlphabeticalAppsList = new AlphabeticalAppsList<>(mContext, mAllAppsStore, in scrollForViewToBeVisibleInContainer_withNoHeader()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/allapps/
DAlphabeticalAppsListTest.java74 private AllAppsStore<?> mAllAppsStore; field in AlphabeticalAppsListTest
89 mAlphabeticalAppsList = new AlphabeticalAppsList<>(mContext, mAllAppsStore, in setUp()
97 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainAndPrivateUser()); in privateProfileEnabled_allPrivateProfileViewsArePresent()
124 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainAndPrivateUser()); in privateProfileEnabled_privateProfileAppsShownWithSeparator()
161 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainAndPrivateUser()); in privateProfileDisabled_onlyPrivateProfileHeaderViewIsPresent()
182 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainAndPrivateUser()); in privateProfileTransitioning_onlyPrivateProfileHeaderViewIsPresent()
203 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainAndPrivateUser()); in privateProfileHidden_noPrivateProfileViewIsPresent()
220 when(mAllAppsStore.getApps()).thenReturn(createAppInfoListForMainUser()); in privateProfileNotPresent_onlyMainUserViewsArePresent()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java88 private final AllAppsStore<T> mAllAppsStore; field in AlphabeticalAppsList
108 mAllAppsStore = appsStore; in AlphabeticalAppsList()
114 if (mAllAppsStore != null) { in AlphabeticalAppsList()
115 mAllAppsStore.addUpdateListener(this); in AlphabeticalAppsList()
219 if (mAllAppsStore == null || (mPrivateProviderManager != null && in onAppsUpdated()
227 Stream<AppInfo> appSteam = Stream.of(mAllAppsStore.getApps()); in onAppsUpdated()
228 Stream<AppInfo> privateAppStream = Stream.of(mAllAppsStore.getApps()); in onAppsUpdated()
DActivityAllAppsContainerView.java152 private final AllAppsStore<T> mAllAppsStore; field in ActivityAllAppsContainerView
207 mAllAppsStore = new AllAppsStore<>(mActivityContext); in ActivityAllAppsContainerView()
231 mAllAppsStore.addUpdateListener(onAppsUpdated); in ActivityAllAppsContainerView()
268 mAllAppsStore, in initContent()
272 new AlphabeticalAppsList<>(mActivityContext, mAllAppsStore, mWorkManager, null))); in initContent()
595 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.MAIN).mRecyclerView); in rebindAdapters()
596 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.WORK).mRecyclerView); in rebindAdapters()
597 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.SEARCH).mRecyclerView); in rebindAdapters()
640 mAllAppsStore.getRecyclerViewPool()); in rebindAdapters()
652 mAllAppsStore.registerIconContainer(mAH.get(AdapterHolder.MAIN).mRecyclerView); in rebindAdapters()
[all …]