/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageActivity.java | 89 public void updateApproximate(StorageMeasurement meas, long totalSize, long availSize) { 90 mLastApproximateDetails = new long[] { totalSize, availSize }; 155 private void updateApproximate(long totalSize, long availSize) { in updateApproximate() argument 157 final long usedSize = totalSize - availSize; in updateApproximate() 161 0, usedSize / (float) totalSize, android.graphics.Color.GRAY)); in updateApproximate() 164 updateStorageContentFragment(totalSize, entries); in updateApproximate() 180 addEntry(entries, StorageItem.APPS, details.appsSize, details.totalSize); in updateDetails() 181 addEntry(entries, StorageItem.PICTURES_VIDEO, dcimSize, details.totalSize); in updateDetails() 182 addEntry(entries, StorageItem.AUDIO, musicSize, details.totalSize); in updateDetails() 183 addEntry(entries, StorageItem.DOWNLOADS, downloadsSize, details.totalSize); in updateDetails() [all …]
|
D | StorageMeasurement.java | 106 public long totalSize; field in StorageMeasurement.MeasurementDetails 154 public void updateApproximate(StorageMeasurement meas, long totalSize, long availSize); in updateApproximate() argument 408 details.totalSize = mTotalSize; in measureExactStorage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetActivity.java | 77 public void updateApproximate(StorageMeasurement meas, long totalSize, long availSize) { 79 StorageResetActivity.this.updateApproximate(totalSize, availSize); 265 void updateStorageDescription(long totalSize, ArrayList<PercentageBarChart.Entry> entries) { in updateStorageDescription() argument 266 mStorageDescription.setSize(totalSize); in updateStorageDescription() 270 private void updateApproximate(long totalSize, long availSize) { in updateApproximate() argument 272 final long usedSize = totalSize - availSize; in updateApproximate() 275 0, usedSize / (float) totalSize, android.graphics.Color.GRAY)); in updateApproximate() 279 updateStorageDescription(totalSize, entries); in updateApproximate() 283 long size, long totalSize) { in addEntry() argument 286 storageItem.ordinal(), size / (float) totalSize, in addEntry() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageVolumePreferenceCategory.java | 295 public void updateApproximate(long totalSize, long availSize) { in updateApproximate() argument 296 mItemTotal.setSummary(formatSize(totalSize)); in updateApproximate() 299 mTotalSize = totalSize; in updateApproximate() 301 final long usedSize = totalSize - availSize; in updateApproximate() 304 mUsageBarPreference.addEntry(0, usedSize / (float) totalSize, android.graphics.Color.GRAY); in updateApproximate() 325 mItemTotal.setSummary(formatSize(details.totalSize)); in updateDetails() 404 public void updateApproximate(StorageMeasurement meas, long totalSize, long availSize) { 406 totalSize, availSize }).sendToTarget();
|
D | StorageMeasurement.java | 99 public long totalSize; field in StorageMeasurement.MeasurementDetails 147 public void updateApproximate(StorageMeasurement meas, long totalSize, long availSize); in updateApproximate() argument 402 details.totalSize = mTotalSize; in measureExactStorage()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | SlideshowModel.java | 702 int totalSize = 0; in finalResize() local 705 totalSize += media.getMediaSize(); in finalResize() 709 Log.v(TAG, "finalResize: new message size: " + totalSize); in finalResize() 712 if (totalSize > MmsConfig.getMaxMessageSize()) { in finalResize() 715 setCurrentMessageSize(totalSize); in finalResize()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | AttachmentsView.java | 191 long totalSize = 0; in getTotalAttachmentsSize() local 193 totalSize += attachment.size; in getTotalAttachmentsSize() 195 return totalSize; in getTotalAttachmentsSize()
|
D | ComposeActivity.java | 1798 long totalSize = 0; in initAttachmentsFromIntent() local 1819 totalSize += size; in initAttachmentsFromIntent() 1851 totalSize += addAttachments(attachments); in initAttachmentsFromIntent() 1869 totalSize += size; in initAttachmentsFromIntent() 1874 if (totalSize > 0) { in initAttachmentsFromIntent() 1879 Integer.toString(getAttachments().size()), null, totalSize); in initAttachmentsFromIntent()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 434 private void computePreviewDrawingParams(int drawableSize, int totalSize) { 435 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) { 437 mTotalWidth = totalSize;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderIcon.java | 489 private void computePreviewDrawingParams(int drawableSize, int totalSize) { 490 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) { 495 mTotalWidth = totalSize;
|
/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/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1136 int totalSize = 0; in combine() local 1138 totalSize += array.length; in combine() 1142 totalSize)); in combine()
|