Home
last modified time | relevance | path

Searched refs:groupCount (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java213 int[] groupCount = new int[maxK]; // number of points in each group. in kMeans() local
246 groupCount[i] = 0; in kMeans()
269 groupCount[bestIndex]++; in kMeans()
277 if (groupCount[i] > 0) { in kMeans()
278 center[i].latRad = groupSum[i].latRad / groupCount[i]; in kMeans()
279 center[i].lngRad = groupSum[i].lngRad / groupCount[i]; in kMeans()
294 if (groupCount[i] > 0) { in kMeans()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java67 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
71 + ", groupCount: " + groupCount in updateUi()
82 mCurrentPageText = (groupCount > 1 ? in updateUi()
83 mContext.getString(R.string.current_permission_template, groupIndex + 1, groupCount) in updateUi()
DGrantPermissionsActivity.java227 final int groupCount = mRequestGrantPermissionGroups.size(); in showNextPermissionGroupGrantRequest() local
250 mViewHandler.updateUi(groupState.mGroup.getName(), groupCount, currentIndex, in showNextPermissionGroupGrantRequest() local
389 final int groupCount = mRequestGrantPermissionGroups.size(); in logRequestedPermissionGroups() local
390 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups()
DGrantPermissionsViewHandler.java64 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
DReviewPermissionsActivity.java369 final int groupCount = groups.size(); in isPackageUpdated() local
370 for (int i = 0; i < groupCount; i++) { in isPackageUpdated()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java82 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
89 if (groupCount > 1) { in updateUi()
92 groupIndex + 1, groupCount)); in updateUi()
DPermissionAppsFragment.java373 final int groupCount = mToggledGroups.size(); in logToggledGroups() local
374 for (int i = 0; i < groupCount; i++) { in logToggledGroups()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java59 final int groupCount = groups.size(); in buildChangedGroupForPackageMessage() local
60 for (int i = 0; i < groupCount; i++) { in buildChangedGroupForPackageMessage()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DAppPermissions.java89 final int groupCount = mGroups.size(); in isReviewRequired() local
90 for (int i = 0; i < groupCount; i++) { in isReviewRequired()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java113 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
116 mGroupCount = groupCount; in updateUi()
DPermissionAppsFragment.java381 final int groupCount = mToggledGroups.size(); in logToggledGroups() local
382 for (int i = 0; i < groupCount; i++) { in logToggledGroups()