Home
last modified time | relevance | path

Searched refs:mAllApps (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPrivateProfileManager.java105 private final ActivityAllAppsContainerView<?> mAllApps; field in PrivateProfileManager
142 mAllApps = allApps; in PrivateProfileManager()
147 mPsHeaderHeight = mAllApps.getContext().getResources().getDimensionPixelSize( in PrivateProfileManager()
149 mLockedStateContentDesc = mAllApps.getContext() in PrivateProfileManager()
151 mUnLockedStateContentDesc = mAllApps.getContext() in PrivateProfileManager()
153 mFloatingMaskViewCornerRadius = mAllApps.getContext().getResources().getDimensionPixelSize( in PrivateProfileManager()
160 mAllApps.mAH.get(MAIN).mAdapter.notifyItemInserted(adapterItems.size() - 1); in addPrivateSpaceHeader()
168 mAllApps.mAH.get(MAIN).mAdapter.notifyItemInserted(adapterItems.size() - 1); in addSystemAppsDivider()
174 Context context = mAllApps.getContext(); in addPrivateSpaceInstallAppButton()
194 mAllApps.mAH.get(MAIN).mAdapter.notifyItemInserted(adapterItems.size() - 1); in addPrivateSpaceInstallAppButton()
[all …]
DWorkProfileManager.java60 private final ActivityAllAppsContainerView<?> mAllApps; field in WorkProfileManager
68 mAllApps = allApps; in WorkProfileManager()
105 boolean isEnabled = !mAllApps.getAppsStore().hasModelFlag(quietModeFlag); in reset()
120 updateWorkFAB(mAllApps.getCurrentPage()); in updateCurrentState()
133 if (!mAllApps.getAppsStore().hasModelFlag( in attachWorkModeSwitch()
139 mWorkModeSwitch = (WorkModeSwitch) mAllApps.getLayoutInflater().inflate( in attachWorkModeSwitch()
140 R.layout.work_mode_fab, mAllApps, false); in attachWorkModeSwitch()
143 mAllApps.addView(mWorkModeSwitch); in attachWorkModeSwitch()
145 if (mAllApps.getCurrentPage() != WORK) { in attachWorkModeSwitch()
158 if (mWorkModeSwitch != null && mWorkModeSwitch.getParent() == mAllApps) { in detachWorkModeSwitch()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java45 private EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>> mAllApps; field in EnterpriseSetDefaultAppsListPreferenceController
68 if (mAllApps == null) { in getDefaultAvailabilityStatus()
69 mAllApps = listEnterpriseSetDefaultApps(); in getDefaultAvailabilityStatus()
70 mLogger.d("All apps: " + mAllApps); in getDefaultAvailabilityStatus()
73 return mAllApps == null || mAllApps.isEmpty() ? DISABLED_FOR_PROFILE : AVAILABLE; in getDefaultAvailabilityStatus()
78 if (mAllApps == null) { in updateState()
83 mLogger.d("Updating state with " + mAllApps.size() + " types of apps"); in updateState()
85 createPreferences(getContext(), preferenceGroup, mAllApps); in updateState() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DPrivateSpaceHeaderViewTest.java106 private ActivityAllAppsContainerView mAllApps; field in PrivateSpaceHeaderViewTest
120 when(mAllApps.getContext()).thenReturn(mContext); in setUp()
126 mAllApps, mStatsLogManager, mUserCache); in setUp()
290 when(mAllApps.getHeight()).thenReturn(ALL_APPS_HEIGHT); in scrollForViewToBeVisibleInContainer_withHeader()
291 when(mAllApps.getHeaderProtectionHeight()).thenReturn(HEADER_PROTECTION_HEIGHT); in scrollForViewToBeVisibleInContainer_withHeader()
292 when(mAllApps.isUsingTabs()).thenReturn(true); in scrollForViewToBeVisibleInContainer_withHeader()
325 when(mAllApps.getHeight()).thenReturn(ALL_APPS_HEIGHT); in scrollForViewToBeVisibleInContainer_withHeaderNoTabs()
326 when(mAllApps.getHeaderProtectionHeight()).thenReturn(HEADER_PROTECTION_HEIGHT); in scrollForViewToBeVisibleInContainer_withHeaderNoTabs()
327 when(mAllApps.isUsingTabs()).thenReturn(false); in scrollForViewToBeVisibleInContainer_withHeaderNoTabs()
360 when(mAllApps.getHeight()).thenReturn(ALL_APPS_HEIGHT); in scrollForViewToBeVisibleInContainer_withHeaderAndLessAppRowSpace()
[all …]
DPrivateProfileManagerTest.java84 private ActivityAllAppsContainerView mAllApps; field in PrivateProfileManagerTest
111 when(mAllApps.getContext()).thenReturn(mContext); in setUp()
114 when(mAllApps.getAppsStore()).thenReturn(mAllAppsStore); in setUp()
115 when(mAllApps.getActiveRecyclerView()).thenReturn(mAllAppsRecyclerView); in setUp()
126 mAllApps, mStatsLogManager, mUserCache); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DAllAppsSession.java57 private ArrayList<ApplicationsState.AppEntry> mAllApps = new ArrayList<>(); field in AllAppsSession
142 return mAllApps; in getAllApps()
166 mAllApps = filterAppsInstalledInParentProfile(entries); in updateAppList()
168 mAllApps.sort((c1, c2) -> (c1.size < c2.size ? 1 : c1.size == c2.size ? 0 : -1)); in updateAppList()
170 mOnUpdateAppListListener.onUpdateAppList(mAllApps); in updateAppList()
DClearCachedDataPreference.java63 private ArraySet<ApplicationsState.AppEntry> mAllApps; field in ClearCachedDataPreference
102 mAllApps = mAllAppsSession.getAllApps().stream().collect( in refresh()
215 for (ApplicationsState.AppEntry app : mAllApps) { in getAllAppsCacheSize()
231 Map<String, ApplicationsState.AppEntry> packageNamesClearingCache = mAllApps.stream() in clearCache()
233 ArraySet<String> packageNames = mAllApps.stream().map( in clearCache()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java132 private final Set<Integer> mAllApps = new HashSet<>(); field in PermissionMonitor
319 mAllApps.add(appId); in updateAllApps()
829 mAllApps.add(appId); in onPackageAdded()
879 mAllApps.remove(appId); in onPackageRemoved()
970 final Set<Integer> changedUids = intersectUids(rangesToAdd, mAllApps); in onVpnUidRangesAdded()
992 final Set<Integer> changedUids = intersectUids(rangesToRemove, mAllApps); in onVpnUidRangesRemoved()
1039 final Set<Integer> affectedUids = intersectUids(affectedUidRanges, mAllApps); in updateVpnLockdownUidRanges()