Home
last modified time | relevance | path

Searched refs:groupCount (Results 1 – 9 of 9) 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/
DGrantPermissionsActivity.java195 final int groupCount = mRequestGrantPermissionGroups.size(); in showNextPermissionGroupGrantRequest() local
225 mViewHandler.updateUi(groupState.mGroup.getName(), groupCount, currentIndex, in showNextPermissionGroupGrantRequest() local
369 final int groupCount = mRequestGrantPermissionGroups.size(); in logRequestedPermissionGroups() local
370 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups()
DGrantPermissionsTvViewHandler.java81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
88 if (groupCount > 1) { in updateUi()
91 groupIndex + 1, groupCount)); in updateUi()
DPermissionAppsFragment.java384 final int groupCount = mToggledGroups.size(); in logToggledGroups() local
385 for (int i = 0; i < groupCount; i++) { in logToggledGroups()
DGrantPermissionsDefaultViewHandler.java137 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
140 mGroupCount = groupCount; in updateUi()
DGrantPermissionsViewHandler.java64 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
/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/Settings/src/com/android/settings/
DDeviceInfoSettings.java407 } else if (m.groupCount() < 4) { in formatKernelVersion()
408 Log.e(LOG_TAG, "Regex match on /proc/version only returned " + m.groupCount() in formatKernelVersion()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java1027 if (m.matches() && m.groupCount() == 3) { in stripUrl()