Home
last modified time | relevance | path

Searched refs:mProfileTabs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsTest.java50 private ProfileTabs mProfileTabs; field in ProfileTabsTest
111 mProfileTabs.updateView(); in testUpdateView_twoUsers_doesNotSupportCrossProfile_shouldHide()
123 mProfileTabs.updateView(); in testUpdateView_twoUsers_subFolder_shouldHide()
136 mProfileTabs.updateView(); in testUpdateView_twoUsers_recents_subFolder_shouldHide()
148 mProfileTabs.updateView(); in testUpdateView_twoUsers_thirdParty_shouldHide()
165 mProfileTabs.updateView(); in testUpdateView_getSelectedUser_afterUsersChanged()
168 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(managedUser); in testUpdateView_getSelectedUser_afterUsersChanged()
171 mProfileTabs.updateView(); in testUpdateView_getSelectedUser_afterUsersChanged()
173 assertThat(mProfileTabs.getSelectedUser()).isEqualTo(systemUser); in testUpdateView_getSelectedUser_afterUsersChanged()
179 mProfileTabs.updateView(); in testUpdateView_afterCurrentRootChanged_shouldChangeSelectedUser()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DNavigationViewManager.java63 private final ProfileTabs mProfileTabs; field in NavigationViewManager
91 mProfileTabs = new ProfileTabs(tabLayoutContainer, mState, userIdManager, mEnv, activity); in NavigationViewManager()
165 return mProfileTabs; in getProfileTabsAddons()
172 mProfileTabs.setListener(listener); in setProfileTabsListener()
193 return mProfileTabs.getSelectedUser(); in getSelectedUser()
204 mProfileTabs.updateView(); in update()