Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DApiWrapper.java92 boolean isWork = (d != mContext.getPackageManager().getUserBadgedIcon(d, user)); in queryAllUsers()
95 isWork ? UserIconInfo.TYPE_WORK : UserIconInfo.TYPE_MAIN, in queryAllUsers()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkProfileManager.java69 mWorkProfileMatcher = (user) -> userCache.getUserInfo(user).isWork(); in WorkProfileManager()
DActivityAllAppsContainerView.java1577 if (isWork() && mWorkManager.getWorkModeSwitch() != null) { in applyPadding()
1596 private boolean isWork() { in isWork() method in ActivityAllAppsContainerView.AdapterHolder
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java162 .anyMatch(user -> mUserCache.getUserInfo(user).isWork()); in WidgetsFullSheet()
164 && mUserCache.getUserInfo(entry.mPkgItem.user).isWork() in WidgetsFullSheet()
294 .filter(userHandle -> mUserCache.getUserInfo(userHandle).isWork()) in updateRecyclerViewVisibility()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfo.java535 } else if (info.isWork()) { in getUserType()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java190 if (userCache.getUserInfo(mUser).isWork()) { in execute()
DLoaderTask.java707 if (mUserCache.getUserInfo(user).isWork()) { in loadAllApps()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1227 final boolean isWork = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()
1232 && !isWork && !isPersonal) { in getTargetFragment()