/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 83 assertEquals(0, mEmergencyContactsPreference.getPreferenceCount()); in testEmptyState() 100 assertEquals(1, mEmergencyContactsPreference.getPreferenceCount()); in testAddAndRemoveEmergencyContact() 117 assertEquals(0, mEmergencyContactsPreference.getPreferenceCount()); in testAddAndRemoveEmergencyContact() 145 assertEquals(2, mEmergencyContactsPreference.getPreferenceCount()); in testReloadFromPreference() 163 assertEquals(1, mEmergencyContactsPreference.getPreferenceCount()); in testReloadFromPreference() 187 assertEquals(1, mEmergencyContactsPreference.getPreferenceCount()); in testWidgetClick_positiveButton() 216 assertEquals(0, mEmergencyContactsPreference.getPreferenceCount()); in testWidgetClick_positiveButton() 236 assertEquals(1, mEmergencyContactsPreference.getPreferenceCount()); in testWidgetClick_negativeButton() 265 assertEquals(1, mEmergencyContactsPreference.getPreferenceCount()); in testWidgetClick_negativeButton()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | CollapsibleCategory.java | 47 public int getPreferenceCount() { in getPreferenceCount() method in CollapsibleCategory 51 return super.getPreferenceCount(); in getPreferenceCount() 56 return super.getPreferenceCount(); in getRealPreferenceCount() 66 return super.getPreferenceCount() >= COLLAPSED_ITEM_COUNT + 1; in shouldShowCollapsePref()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | InputsFragment.java | 139 final int connectedCount = mConnectedGroup.getPreferenceCount(); in refresh() 145 final int standbyCount = mStandbyGroup.getPreferenceCount(); in refresh() 151 final int disconnectedCount = mDisconnectedGroup.getPreferenceCount(); in refresh()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProgressCategory.java | 62 boolean noDeviceFound = (getPreferenceCount() == 0 || in onBindViewHolder() 63 (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference)); in onBindViewHolder()
|
D | SettingsPreferenceFragment.java | 150 for (int i = 0; i < preferenceGroup.getPreferenceCount(); i++) { in checkAvailablePrefs() 327 boolean show = (getPreferenceScreen().getPreferenceCount() in updateEmptyView() 384 final int N = group.getPreferenceCount(); in cacheRemoveAllPrefs()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
D | ManagePermissionsFragment.java | 182 if (mExtraScreen != null && mExtraScreen.getPreferenceCount() > 0 in updatePermissionsUi() 202 int count = mExtraScreen.getPreferenceCount(); in updatePermissionsUi() 207 if (screen.getPreferenceCount() != 0) { in updatePermissionsUi()
|
D | PermissionAppsFragment.java | 178 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 182 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 272 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 278 grantedCount, mExtraScreen.getPreferenceCount())); in onPermissionsLoaded()
|
D | PermissionsFrameFragment.java | 193 return screen.getPreferenceCount() == 0 || ( in isPreferenceListEmpty() 194 screen.getPreferenceCount() == 1 && in isPreferenceListEmpty()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | ManagePermissionsFragment.java | 186 if (mExtraScreen != null && mExtraScreen.getPreferenceCount() > 0 in updatePermissionsUi() 206 int count = mExtraScreen.getPreferenceCount(); in updatePermissionsUi() 211 if (screen.getPreferenceCount() != 0) { in updatePermissionsUi()
|
D | PermissionAppsFragment.java | 180 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 184 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 288 for (int i = 0, n = mExtraScreen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 294 grantedCount, mExtraScreen.getPreferenceCount())); in onPermissionsLoaded()
|
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/ |
D | EditInfoActivityTest.java | 84 assertEquals(0, emergencyContactsPreference.getPreferenceCount()); in testInitialState() 154 assertEquals(1, emergencyContactsPreference.getPreferenceCount()); in testClearAllPreferences() 188 assertEquals(0, emergencyContactsPreference.getPreferenceCount()); in testClearAllPreferences()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ManageAccountsSettings.java | 215 int count = getPreferenceScreen().getPreferenceCount(); in requestOrCancelSyncForAccounts() 274 for (int i = 0, count = getPreferenceScreen().getPreferenceCount(); i < count; i++) { in showSyncState() 450 for (int i = 0; i < prefs.getPreferenceCount();) { in updatePreferenceIntents() 542 for (int i = 0; i < getPreferenceScreen().getPreferenceCount(); i++) { in onAuthDescriptionsUpdated()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreference.java | 126 while (getPreferenceCount() - emergencyContacts.size() > 0) { in setEmergencyContacts() 134 if (i < getPreferenceCount()) { in setEmergencyContacts()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 204 final Set<String> touchedAccounts = new ArraySet<>(mAccountsGroup.getPreferenceCount()); in updateAccounts() 274 for (int i = 0; i < mAccountsGroup.getPreferenceCount();) { in updateAccounts() 349 for (int i = 0; i < mAccessoriesGroup.getPreferenceCount();) { in updateAccessories()
|
D | RadioPreference.java | 55 final int count = preferenceGroup.getPreferenceCount(); in clearOtherRadioPreferences()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 268 for (int i = 0; i < parent.getPreferenceCount(); i++) { in findByKey() 307 for (int i = 0; i < group.getPreferenceCount(); ++i) { in fillEntriesAndSummaries() 336 for (int i = 0; i < group.getPreferenceCount(); ++i) { in recursiveDelete()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSettings.java | 215 if (mInternalCategory.getPreferenceCount() > 0) { in refresh() 218 if (mExternalCategory.getPreferenceCount() > 0) { in refresh() 222 if (mInternalCategory.getPreferenceCount() == 2 in refresh() 223 && mExternalCategory.getPreferenceCount() == 0) { in refresh()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | TemplatePreferenceCategory.java | 52 for (int i = 0; i < getPreferenceCount(); i++) { in pushTemplates()
|
D | DataUsageList.java | 559 if ((mApps.getPreferenceCount() != 0) != 560 (getPreferenceScreen().getPreferenceCount() != 0)) { 561 if (mApps.getPreferenceCount() != 0) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 165 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onCreate() 550 mPreferences = new Preference[group.getPreferenceCount()]; in loadAdvancedPreferences() 551 int order = screen.getPreferenceCount(); in loadAdvancedPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 178 public int getPreferenceCount() { in getPreferenceCount() method in AppRestrictionsFragment.AppRestrictionsPreference 180 return super.getPreferenceCount(); in getPreferenceCount() 440 p.setOrder(MAX_APP_RESTRICTIONS * (mAppList.getPreferenceCount() + 2)); in populateApps() 522 for (int i = 0; i < mAppList.getPreferenceCount(); i++) { in updateAllEntries()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetFragment.java | 176 for (int i = 0; i < deviceCategory.getPreferenceCount();) { in refresh() 213 for (int i = 0; i < removableCategory.getPreferenceCount();) { in refresh()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | TwoStatePreferenceHelper.java | 47 final int count = group.getPreferenceCount(); in replaceAllCheckBoxPreferencesBySwitchPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 207 int count = mSyncCategory.getPreferenceCount(); in requestOrCancelSyncForEnabledProviders() 285 for (int i = 0, count = mSyncCategory.getPreferenceCount(); i < count; i++) { in onSyncStateUpdated()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionarySettingsFragment.java | 210 for (int i = prefScreen.getPreferenceCount() - 1; i >= 0; --i) { in findWordListPreference() 264 for (int i = prefGroup.getPreferenceCount() - 1; i >= 0; --i) { in removeAnyDictSettings()
|