Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageVolumePreferenceCategory.java142 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
144 updateApproximate(totalSize, availSize);
149 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
155 updateExact(totalSize, availSize, appsUsed, downloadsSize, miscSize,
310 public void updateApproximate(long totalSize, long availSize) { in updateApproximate() argument
311 mPreferences[TOTAL_SIZE].setSummary(formatSize(totalSize)); in updateApproximate()
314 final long usedSize = totalSize - availSize; in updateApproximate()
317 mUsageBarPreference.addEntry(usedSize / (float) totalSize, android.graphics.Color.GRAY); in updateApproximate()
323 public void updateExact(long totalSize, long availSize, long appsSize, long downloadsSize, in updateExact() argument
327 mPreferences[TOTAL_SIZE].setSummary(formatSize(totalSize)); in updateExact()
[all …]
/packages/apps/Mms/src/com/android/mms/model/
DSlideshowModel.java671 int totalSize = 0; in finalResize() local
674 totalSize += media.getMediaSize(); in finalResize()
678 Log.v(TAG, "finalResize: new message size: " + totalSize); in finalResize()
681 if (totalSize > MmsConfig.getMaxMessageSize()) { in finalResize()
684 setCurrentMessageSize(totalSize); in finalResize()
/packages/apps/Browser/tests/src/com/android/browser/
DWebStorageSizeManagerUnitTests.java55 public void setTotalSizeBytes(long totalSize) { in setTotalSizeBytes() argument
56 mTotalSize = totalSize; in setTotalSizeBytes()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolderIcon.java406 private void computePreviewDrawingParams(int drawableSize, int totalSize) {
407 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) {
409 mTotalWidth = totalSize;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1101 int totalSize = 0; in combine() local
1103 totalSize += array.length; in combine()
1107 totalSize)); in combine()