Home
last modified time | relevance | path

Searched refs:ProfileSelectFragment (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestPreferenceController.java30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
43 private int mType = ProfileSelectFragment.ProfileType.ALL;
121 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
143 RecentLocationApps.Request request, @ProfileSelectFragment.ProfileType int type) { in isRequestMatchesProfileType()
146 if (isWorkProfile && (type & ProfileSelectFragment.ProfileType.WORK) != 0) { in isRequestMatchesProfileType()
149 if (!isWorkProfile && (type & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in isRequestMatchesProfileType()
DRecentLocationRequestSeeAllPreferenceController.java28 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
43 private int mType = ProfileSelectFragment.ProfileType.ALL;
96 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
DLocationPersonalSettings.java24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
56 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DLocationWorkProfileSettings.java24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
57 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DRecentLocationRequestSeeAllFragment.java26 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
53 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectRecentLocationRequestFragment.java28 public class ProfileSelectRecentLocationRequestFragment extends ProfileSelectFragment {
33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectManageApplications.java28 public class ProfileSelectManageApplications extends ProfileSelectFragment {
33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectLocationFragment.java33 public class ProfileSelectLocationFragment extends ProfileSelectFragment {
51 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
56 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectFragment.java54 public abstract class ProfileSelectFragment extends DashboardFragment { class
113 viewPager.setAdapter(new ProfileSelectFragment.ViewPagerAdapter(this)); in onCreateView()
180 ViewPagerAdapter(ProfileSelectFragment fragment) { in ViewPagerAdapter()
DProfileSelectAccountFragment.java26 public class ProfileSelectAccountFragment extends ProfileSelectFragment {
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectLocationFragmentTest.java19 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;
44 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PERSONAL); in getFragments_containsCorrectBundle()
46 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
DProfileSelectFragmentTest.java21 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PERSONAL_TAB;
22 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
124 public static class TestProfileSelectFragment extends ProfileSelectFragment {
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java56 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
98 private @ProfileSelectFragment.ProfileType int mType;
139 String[] authorities, @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()
146 @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()
285 && (mType & ProfileSelectFragment.ProfileType.WORK) != 0) { in updateUi()
288 && (mType & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in updateUi()
332 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
344 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
DAccountPersonalDashboardFragment.java27 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
74 ProfileSelectFragment.ProfileType.PERSONAL); in buildPreferenceControllers()
DAccountWorkProfileDashboardFragment.java27 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
74 ProfileSelectFragment.ProfileType.WORK); in buildPreferenceControllers()
DAccountDashboardFragment.java31 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
81 ProfileSelectFragment.ProfileType.ALL); in buildPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DRecentLocationRequestPreferenceControllerTest.java33 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
88 mController.setProfileType(ProfileSelectFragment.ProfileType.WORK); in updateState_workProfile_shouldShowOnlyWorkProfileApps()
104 mController.setProfileType(ProfileSelectFragment.ProfileType.PERSONAL); in updateState_Personal_shouldShowOnlyPersonalApps()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageDashboardFragment.java41 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
89 mPersonalOnly = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
90 == ProfileSelectFragment.ProfileType.PERSONAL; in onCreate()
/packages/apps/Settings/src/com/android/settings/
DUtils.java109 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
1085 final boolean isPersonal = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()
1086 == ProfileSelectFragment.ProfileType.PERSONAL : false; in getTargetFragment()
1087 final boolean isWork = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()
1088 == ProfileSelectFragment.ProfileType.WORK : false; in getTargetFragment()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java113 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
337 mIsPersonalOnly = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
338 == ProfileSelectFragment.ProfileType.PERSONAL : false; in onCreate()
339 mIsWorkOnly = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
340 == ProfileSelectFragment.ProfileType.WORK : false; in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java19 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PERSONAL_TAB;
20 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java49 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
103 ProfileSelectFragment.ProfileType.ALL); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java51 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
199 .isEqualTo(ProfileSelectFragment.WORK_TAB); in testClickAppsForWork()