Searched refs:totalSize (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageVolumePreferenceCategory.java138 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
140 updateApproximate(totalSize, availSize);
145 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
151 updateExact(totalSize, availSize, appsUsed, downloadsSize, miscSize,
291 public void updateApproximate(long totalSize, long availSize) { argument
292 mPreferences[TOTAL_SIZE].setSummary(formatSize(totalSize));
295 final long usedSize = totalSize - availSize;
298 mUsageBarPreference.addEntry(usedSize / (float) totalSize, android.graphics.Color.GRAY);
304 public void updateExact(long totalSize, long availSize, long appsSize, long downloadsSize, argument
308 mPreferences[TOTAL_SIZE].setSummary(formatSize(totalSize));
337 updatePreference(long size, long totalSize, int category) argument
[all...]
/packages/apps/Browser/tests/src/com/android/browser/
H A DWebStorageSizeManagerUnitTests.java55 public void setTotalSizeBytes(long totalSize) { argument
56 mTotalSize = totalSize;
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideshowModel.java697 int totalSize = 0;
700 totalSize += media.getMediaSize();
704 Log.v(TAG, "finalResize: new message size: " + totalSize);
707 if (totalSize > MmsConfig.getMaxMessageSize()) {
710 setCurrentMessageSize(totalSize);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderIcon.java392 private void computePreviewDrawingParams(int drawableSize, int totalSize) { argument
393 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) {
395 mTotalWidth = totalSize;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1068 int totalSize = 0;
1070 totalSize += array.length;
1074 totalSize));

Completed in 222 milliseconds