Searched refs:totalSize (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageVolumePreferenceCategory.java | 142 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/ |
D | SlideshowModel.java | 671 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/ |
D | WebStorageSizeManagerUnitTests.java | 55 public void setTotalSizeBytes(long totalSize) { in setTotalSizeBytes() argument 56 mTotalSize = totalSize; in setTotalSizeBytes()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 406 private void computePreviewDrawingParams(int drawableSize, int totalSize) { 407 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) { 409 mTotalWidth = totalSize;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1101 int totalSize = 0; in combine() local 1103 totalSize += array.length; in combine() 1107 totalSize)); in combine()
|