Home
last modified time | relevance | path

Searched refs:groupCount (Results 1 – 17 of 17) 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/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
90 + ", groupCount: " + groupCount in updateUi()
101 mCurrentPageText = groupCount > 1 in updateUi()
103 groupIndex + 1, groupCount) in updateUi()
DGrantPermissionsViewHandler.java79 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
DGrantPermissionsActivity.java891 final int groupCount = mRequestGrantPermissionGroups.size(); in logRequestedPermissionGroups() local
892 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java84 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
99 if (groupCount > 1) { in updateUi()
102 groupIndex + 1, groupCount)); in updateUi()
/packages/apps/Dialer/java/com/android/dialer/notification/
DDialerNotificationManager.java121 int groupCount = 0; in getGroupSummaryAndCount() local
127 groupCount++; in getGroupSummaryAndCount()
131 return new Pair<>(groupSummaryNotification, groupCount); in getGroupSummaryAndCount()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java120 int groupCount = groups.size(); in buildChangedPermissionForPackageMessage() local
121 for (int groupNum = 0; groupNum < groupCount; groupNum++) { in buildChangedPermissionForPackageMessage()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DQuery.java125 if (matchResult.groupCount() == 4) { in parseEpisode()
151 if (matchResult.groupCount() == 2) { in parseMovie()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissions.java100 final int groupCount = mGroups.size(); in isReviewRequired() local
101 for (int i = 0; i < groupCount; i++) { in isReviewRequired()
DAppPermissionUsage.java46 final int groupCount = groups.size(); in AppPermissionUsage() local
47 for (int i = 0; i < groupCount; i++) { in AppPermissionUsage()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java198 final int groupCount = groups.size(); in isPackageUpdated() local
199 for (int i = 0; i < groupCount; i++) { in isPackageUpdated()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java129 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
134 mGroupCount = groupCount; in updateUi()
DAllAppPermissionsFragment.java300 final int groupCount = mGroups.size(); in getPermissionForegroundGroup() local
301 for (int i = 0; i < groupCount; i++) { in getPermissionForegroundGroup()
DReviewPermissionsFragment.java387 final int groupCount = groups.size(); in isPackageUpdated() local
388 for (int i = 0; i < groupCount; i++) { in isPackageUpdated()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java279 final int groupCount = mGroups.size(); in getPermissionForegroundGroup() local
280 for (int i = 0; i < groupCount; i++) { in getPermissionForegroundGroup()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DUfsWearInformationProvider.java81 if (match.groupCount() != 2) { in load()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java153 int groupSize = m.groupCount(); in newFromResponseString()