Home
last modified time | relevance | path

Searched refs:total (Results 1 – 24 of 24) sorted by relevance

/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerTester.java225 int total = 0; in reportSummary() local
235 total++; in reportSummary()
246 countString(count11, total), in reportSummary()
247 countString(count1N, total), in reportSummary()
248 countString(countMN, total), in reportSummary()
249 countString(count0N, total), in reportSummary()
250 countString(countFail, total), in reportSummary()
251 countString(countErrors, total), in reportSummary()
252 "" + total, in reportSummary()
257 private static String countString(int count, int total) { in countString() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java154 int total = set.getMediaItemCount(); in expandMediaSet() local
158 while (index < total) { in expandMediaSet()
159 int count = index + batch < total in expandMediaSet()
161 : total - index; in expandMediaSet()
174 int total = getTotalCount();
175 for (int i = 0; i < total; i++) {
197 int total = getTotalCount();
199 while (index < total) {
200 int count = Math.min(total - index, MediaSet.MEDIAITEM_BATCH_FETCH_COUNT);
DScrollBarView.java60 public void setContentPosition(int position, int total) { in setContentPosition() argument
61 if (position == mContentPosition && total == mContentTotal) { in setContentPosition()
68 mContentTotal = total; in setContentPosition()
DSlotView.java45 public void onScrollPositionChanged(int position, int total); in onScrollPositionChanged() argument
53 @Override public void onScrollPositionChanged(int position, int total) {} in onScrollPositionChanged() argument
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java345 int total = 0; in noOpProviderLoop() local
351 total++; in noOpProviderLoop()
356 (float) (total != 0 ? total : 1) / in noOpProviderLoop()
358 …Log.v(TAG, "dummy loop: fails=" + failures + "; total=" + total + "; goodavg ms=" + averageMillis); in noOpProviderLoop()
367 int total = 0; in callLoop() local
374 total++; in callLoop()
381 (float) (total != 0 ? total : 1) / in callLoop()
383 Log.v(TAG, "call loop: avg_ms=" + averageMillis + "; calls=" + total); in callLoop()
390 int total = 0; in procLoop() local
402 total++; in procLoop()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java106 int total = getMediaItemCount(); in getTotalMediaItemCount() local
108 total += getSubMediaSet(i).getTotalMediaItemCount(); in getTotalMediaItemCount()
110 return total; in getTotalMediaItemCount()
202 int total = getMediaItemCount(); in enumerateMediaItems() local
204 while (start < total) { in enumerateMediaItems()
205 int count = Math.min(MEDIAITEM_BATCH_FETCH_COUNT, total - start); in enumerateMediaItems()
213 return total; in enumerateMediaItems()
DFilterTypeSet.java99 final int total = mBaseSet.getMediaItemCount(); in updateData() local
100 final Path[] buf = new Path[total]; in updateData()
105 if (index < 0 || index >= total) return; in updateData()
112 for (int i = 0; i < total; i++) { in updateData()
DTimeClustering.java99 final int total = baseSet.getTotalMediaItemCount(); in run() local
100 final SmallItem[] buf = new SmallItem[total]; in run()
105 if (index < 0 || index >= total) return; in run()
116 ArrayList<SmallItem> items = new ArrayList<SmallItem>(total); in run()
117 for (int i = 0; i < total; i++) { in run()
DLocationClustering.java68 final int total = baseSet.getTotalMediaItemCount(); in run() local
69 final SmallItem[] buf = new SmallItem[total]; in run()
74 if (index < 0 || index >= total) return; in run()
87 for (int i = 0; i < total; i++) { in run()
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java65 final long total = stop - start; in stopAndLog() local
66 if (total < timeThresholdToLog) return; in stopAndLog()
71 sb.append(total); in stopAndLog()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DLocalPhotoSource.java105 private int[] getExponentialIndice(int total, int count) { in getExponentialIndice() argument
107 if (count > total) count = total; in getExponentialIndice()
110 int row = (int)(-Math.log(random.nextDouble()) * total / 2); in getExponentialIndice()
111 if (row < total) selected.add(row); in getExponentialIndice()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVCardTest.java44 int total = composer.getCount(); in testCompose() local
45 assertEquals(1, total); in testCompose()
/packages/apps/Settings/src/com/android/settings/widget/
DPieChartView.java140 long total = 0; in generatePath() local
145 total += slice.value; in generatePath()
153 if (total == 0) { in generatePath()
172 final int sweepAngle = (int) (slice.value * 360 / total); in generatePath()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DGalParser.java53 return mGalResult.total > 0; in parse()
136 galResult.total = getValueInt(); in parseStore()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java156 final int total = composer.getCount(); in runInternal() local
157 if (total == 0) { in runInternal()
187 doProgressNotification(uri, total, current); in runInternal()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java556 int total = v.getMeasuredWidth() + getMeasuredWidth(); in onMeasure() local
557 setMeasuredDimension(total, getMeasuredHeight()); in onMeasure()
559 int total = v.getMeasuredHeight() + getMeasuredHeight(); in onMeasure() local
560 setMeasuredDimension(getMeasuredWidth(), total); in onMeasure() local
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
DGalResult.java28 public int total; field in GalResult
/packages/apps/Camera/perftests/panorama/
DREADME.txt24 The total elapsed time is the interesting number for benchmarking.
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java1413 public long total; field in DataUsageSummary.AppItem
1422 total = parcel.readLong(); in AppItem()
1433 dest.writeLong(total); in writeToParcel()
1443 return Long.compare(another.total, total); in compareTo()
1498 item.total += entry.rxBytes + entry.txBytes; in bindStats()
1501 systemItem.total += entry.rxBytes + entry.txBytes; in bindStats()
1510 item.total = -1; in bindStats()
1516 if (systemItem.total > 0) { in bindStats()
1521 mLargest = (mItems.size() > 0) ? mItems.get(0).total : 0; in bindStats()
1561 if (item.restricted && item.total <= 0) { in getView()
[all …]
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentDownloadServiceTests.java180 private void setTotalAndUsableSpace(long total, long usable) { in setTotalAndUsableSpace() argument
181 mTotalSpace = total; in setTotalAndUsableSpace()
/packages/apps/Contacts/tests/src/com/android/contacts/
DCallDetailActivityTest.java284 int total = 0; in copyBetweenStreams() local
286 total += bytesRead; in copyBetweenStreams()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java244 int total = cursor.getInt(totalBytesIndex); in updateActiveNotification() local
277 item.totalTotal = total; in updateActiveNotification()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java378 int total = 0; in copyFromCursor() local
385 total++; in copyFromCursor()
393 return total; in copyFromCursor()
/packages/apps/Email/src/com/android/email/activity/
DMessageListFragment.java1115 int total = ((SearchResultsCursor) c).getResultsCount(); in determineFooterMode() local
1118 if (loaded < total) { in determineFooterMode()