Searched refs:mRecentAppsCategory (Results 1 – 3 of 3) sorted by relevance
70 PreferenceCategory mRecentAppsCategory; field in AppsPreferenceController127 mRecentAppsCategory.setVisible(true); in refreshUi()132 mRecentAppsCategory.setVisible(false); in refreshUi()164 mRecentAppsCategory = screen.findPreference(KEY_RECENT_APPS_CATEGORY); in initPreferences()168 mRecentAppsCategory.setVisible(false); in initPreferences()175 if (mRecentAppsCategory != null) { in displayRecentApps()177 final int prefCount = mRecentAppsCategory.getPreferenceCount(); in displayRecentApps()179 final Preference pref = mRecentAppsCategory.getPreference(i); in displayRecentApps()218 mRecentAppsCategory.addPreference(pref); in displayRecentApps()224 mRecentAppsCategory.removePreference(unusedPref); in displayRecentApps()
74 private PreferenceCategory mRecentAppsCategory; field in AppsPreferenceControllerTest85 mRecentAppsCategory = spy(new PreferenceCategory(context)); in setUp()89 when(mScreen.findPreference(KEY_RECENT_APPS_CATEGORY)).thenReturn(mRecentAppsCategory); in setUp()96 mController.mRecentAppsCategory = mRecentAppsCategory; in setUp()114 assertThat(mRecentAppsCategory.isVisible()).isFalse(); in displayPreference_noRecentApps_showAllAppsInfo()122 doReturn(true).when(mRecentAppsCategory).addPreference(any()); in displayPreference_hasRecentApps_showRecentApps()129 assertThat(mRecentAppsCategory.isVisible()).isTrue(); in displayPreference_hasRecentApps_showRecentApps()138 mController.updateState(mRecentAppsCategory); in updateState_shouldRefreshUi()
57 private PreferenceCompat mRecentAppsCategory; field in SensorState124 mRecentAppsCategory = mPreferenceCompatManager.getOrCreatePrefCompat(KEY_RECENT_REQUESTS); in addRecentAppsGroup()125 mRecentAppsCategory.setTitle( in addRecentAppsGroup()127 mRecentAppsCategory.clearChildPrefCompats(); in addRecentAppsGroup()143 mRecentAppsCategory.addChildPrefCompat(pref); in addRecentAppsGroup()146 if (mRecentAppsCategory.getChildPrefsCount() == 0) { in addRecentAppsGroup()151 mRecentAppsCategory.addChildPrefCompat(banner); in addRecentAppsGroup()153 mUIUpdateCallback.notifyUpdate(getStateIdentifier(), mRecentAppsCategory); in addRecentAppsGroup() local