Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java146 @Nullable StorageItemPreference mDocumentsPreference; field in StorageItemPreferenceController
325 mDocumentsPreference.setVisible(mIsDocumentsPrefShown); in setPrivateStorageCategoryPreferencesVisibility()
328 mDocumentsPreference.setVisible(false); in setPrivateStorageCategoryPreferencesVisibility()
350 mPrivateStorageItemPreferences.add(mDocumentsPreference); in updatePrivateStorageCategoryPreferencesOrder()
362 mScreen.removePreference(mDocumentsPreference); in updatePrivateStorageCategoryPreferencesOrder()
398 tintPreference(mDocumentsPreference); in setUserId()
429 mDocumentsPreference = screen.findPreference(DOCUMENTS_KEY); in displayPreference()
456 mDocumentsPreference.setStorageSize(storageCache.documentsSize, mTotalSize, animate); in onLoadFinished()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java232 assertThat(mController.mDocumentsPreference.isVisible()).isFalse(); in setVolume_nullVolume_hidePreferences()
399 assertThat(mController.mDocumentsPreference.getSummary().toString()).isEqualTo("50 MB"); in testMeasurementCompletedUpdatesPreferences()
418 verify(mController.mDocumentsPreference, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons()
434 assertThat(mController.mDocumentsPreference.isVisible()).isTrue(); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed()
450 assertThat(mController.mDocumentsPreference.isVisible()).isFalse(); in setPrivateStorageCategoryPreferencesVisibility_updateFilePreferenceToHideAfterSettingVolume_hidePreference()
466 assertThat(mController.mDocumentsPreference.isVisible()).isTrue(); in setVolume_updateFilePreferenceToShowAfterSettingVolume_showPreference()
487 assertThat(mController.mDocumentsPreference.isVisible()).isFalse(); in setVolume_publicStorage_showFilePreference()