Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java115 public static final int WORK_TAB = 1; field in ProfileSelectFragment
244 return WORK_TAB; in getTabId()
256 return WORK_TAB; in getTabId()
276 if (tabForPosition == WORK_TAB) { in getPageTitle()
288 } else if (position == WORK_TAB) { in getPageTitle()
442 return WORK_TAB; in profileTypeToTab()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java28 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
110 bundle.putInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB, WORK_TAB); in getTabId_setArgumentWork_setCorrectTab()
173 assertThat(mFragment.getTabId(mActivity, bundle)).isEqualTo(WORK_TAB); in getTabId_setWorkId_getCorrectTab()
204 assertThat(mFragment.getTabId(mActivity, null)).isEqualTo(WORK_TAB); in getTabId_setPersonalIdByIntent_getCorrectTab()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DUserItemsCombiner.java23 import static com.android.documentsui.DevicePolicyResources.Strings.WORK_TAB;
107 result.add(new HeaderItem(getEnterpriseString(WORK_TAB, R.string.work_tab))); in createPresentableList()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerSettingsActivity.java20 import static com.android.settingslib.widget.ProfileSelectFragment.WORK_TAB;
259 return userManager.isManagedProfile(selectedTabId) ? WORK_TAB : PERSONAL_TAB; in getInitialProfileTab()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDevicePolicyResources.java136 public static final String WORK_TAB = PREFIX + "WORK_TAB"; field in DevicePolicyResources.Strings
DProfileTabs.java22 import static com.android.documentsui.DevicePolicyResources.Strings.WORK_TAB;
220 getEnterpriseString(WORK_TAB, R.string.work_tab), in addTabsPrivateSpaceDisabled()
DUserManagerState.java24 import static com.android.documentsui.DevicePolicyResources.Strings.WORK_TAB;
426 getEnterpriseString(WORK_TAB, R.string.work_tab)); in getUserIdToLabelMapInternalPreV()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DSettingsProfileSelectFragment.java170 case ProfileSelectFragment.WORK_TAB: in getTabUserId()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsTwoPaneSheet.java63 private static final int WORK_TAB = 1; field in WidgetsTwoPaneSheet
329 } else if (currentActivePage == PERSONAL_TAB || currentActivePage == WORK_TAB) { in onActivePageChanged()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java21 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
575 args.putInt(SettingsActivity.EXTRA_SHOW_FRAGMENT_TAB, WORK_TAB); in getWorkAnnotatedBundle()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserManagerStateTest.java22 import static com.android.documentsui.DevicePolicyResources.Strings.WORK_TAB;
746 when(devicePolicyResourcesManager.getString(eq(WORK_TAB), any())).thenReturn(WORK); in testGetUserIdToLabelMap_systemUserAndManagedUser_PreV()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java278 .isEqualTo(ProfileSelectFragment.WORK_TAB); in launchAppsIntent_forWork_settingsIntent()