Home
last modified time | relevance | path

Searched refs:mRecentAppsCategory (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppsPreferenceController.java70 PreferenceCategory mRecentAppsCategory; field in AppsPreferenceController
127 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppsPreferenceControllerTest.java74 private PreferenceCategory mRecentAppsCategory; field in AppsPreferenceControllerTest
85 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()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DSensorState.java57 private PreferenceCompat mRecentAppsCategory; field in SensorState
124 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