Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DPerBuyerBiddingRunner.java192 <T> List<List<T>> partitionList(final List<T> list, int numPartitions) { in partitionList() argument
194 numPartitions = Math.abs(numPartitions); in partitionList()
196 if (numPartitions == 0) { in partitionList()
197 numPartitions = 1; in partitionList()
200 (list.size() / numPartitions) + (((list.size() % numPartitions) == 0) ? 0 : 1); in partitionList()
/packages/apps/Contacts/src/com/android/contacts/logging/
DSearchState.java32 public int numPartitions; field in SearchState
75 .add("numPartitions", numPartitions) in toString()
92 dest.writeInt(numPartitions); in writeToParcel()
102 numPartitions = source.readInt(); in readFromParcel()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java233 searchState.numPartitions = adapter.getPartitionCount(); in createSearchState()