Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java54 private int mAppCount = APP_COUNT_DEF_VALUE; field in AppGridView
81 android.R.id.text1, android.R.id.icon1, mAppCount)); in init()
87 mAppCount = in applyAttributeSet()
89 Preconditions.checkArgument(mAppCount >= 1, in applyAttributeSet()
102 private final int mAppCount; field in AppGridView.AppsAdapter
110 mAppCount = appCount; in AppsAdapter()
147 if (mAppCount > infos.size()) { in loadAllApps()
157 if (results.size() >= mAppCount) { in loadAllApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java120 private int mAppCount = -1; field in ApplicationFeatureProviderImplTest
146 mAppCount = -1; in verifyCalculateNumberOfPolicyInstalledApps()
147 mProvider.calculateNumberOfPolicyInstalledApps(async, (num) -> mAppCount = num); in verifyCalculateNumberOfPolicyInstalledApps()
151 assertThat(mAppCount).isEqualTo(1); in verifyCalculateNumberOfPolicyInstalledApps()
201 mAppCount = -1; in verifyCalculateNumberOfAppsWithAdminGrantedPermissions()
203 (num) -> mAppCount = num); in verifyCalculateNumberOfAppsWithAdminGrantedPermissions()
207 assertThat(mAppCount).isEqualTo(2); in verifyCalculateNumberOfAppsWithAdminGrantedPermissions()
DAppWithAdminGrantedPermissionsCounterTest.java95 private int mAppCount = -1; field in AppWithAdminGrantedPermissionsCounterTest
130 assertThat(mAppCount).isEqualTo(3); in verifyCountInstalledApps()
267 mAppCount = num; in onCountComplete()