/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 32 private long mTotalBytes; field in CacheStorageUsageInfo 68 mTotalBytes = blockSize * totalBlocks; in loadStorageInfo() 75 return mTotalBytes; in getTotalBytes() 88 return mTotalBytes - mUsedBytes; in getFreeBytes()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 58 private long mTotalBytes; field in FileCache 121 mTotalBytes += entry.size; in store() 125 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in store() 152 mTotalBytes -= file.size; in lookup() 207 if (cursor.moveToNext()) mTotalBytes = cursor.getLong(0); in initialize() 211 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize() 224 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed() 237 mTotalBytes -= size; in freeSomeSpaceIfNeed()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 78 private long mTotalBytes = 0; field in DownloadCache 159 if (mTotalBytes <= mCapacity) return; in freeSomeSpaceIfNeed() 164 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed() 175 mTotalBytes -= size; in freeSomeSpaceIfNeed() 190 mTotalBytes += size; in insertEntry() 212 mTotalBytes = 0; in initialize() 215 mTotalBytes = cursor.getLong(SUM_INDEX_SUM); in initialize() 220 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppShareInfo.java | 63 public int mTotalBytes; field in BluetoothOppShareInfo 84 mTotalBytes = totalBytes; in BluetoothOppShareInfo()
|
D | BluetoothOppTransferActivity.java | 275 mTransInfo.mTotalBytes)); in customizeViewContent() 294 this, mTransInfo.mTotalBytes)); in customizeViewContent() 313 mTransInfo.mTotalBytes)); in customizeViewContent() 427 if (mTransInfo.mTotalBytes == 0) { in updateProgressbar() 432 mProgressTransfer.setMax(mTransInfo.mTotalBytes); in updateProgressbar() 437 mPercentView.setText(BluetoothOppUtility.formatProgressText(mTransInfo.mTotalBytes, in updateProgressbar()
|
D | BluetoothOppTransferInfo.java | 44 int mTotalBytes; field in BluetoothOppTransferInfo
|
D | BluetoothOppIncomingFileConfirmActivity.java | 134 mTransInfo.mFileName, Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in createView()
|
D | BluetoothOppUtility.java | 78 info.mTotalBytes = cursor.getInt(cursor in queryRecord()
|
D | BluetoothOppService.java | 584 Log.v(TAG, "TOTAL : " + info.mTotalBytes); in insertShare() 718 info.mTotalBytes = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.TOTAL_BYTES)); in updateShare()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 97 public long mTotalBytes = -1; field in DownloadThread.State 115 mTotalBytes = info.mTotalBytes; in State() 260 if (state.mCurrentBytes == state.mTotalBytes) { in executeDownload() 641 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, mInfo.mTotalBytes); in updateDatabaseFromHeaders() 677 state.mTotalBytes = mInfo.mTotalBytes = in readResponseHeaders() 737 state.mTotalBytes + ", bytes recvd so far: " + state.mCurrentBytes); in handleOtherStatus() 923 if (mInfo.mTotalBytes != -1) { in setupDestinationFile() 924 innerState.mHeaderContentLength = Long.toString(mInfo.mTotalBytes); in setupDestinationFile() 958 Log.i(Constants.TAG, " totalBytes = " + state.mTotalBytes); in addRequestHeaders()
|
D | DownloadInfo.java | 84 info.mTotalBytes = getLong(Downloads.Impl.COLUMN_TOTAL_BYTES); in updateFromDatabase() 214 public long mTotalBytes; field in DownloadInfo 437 if (mTotalBytes <= 0) { in checkSizeAllowedForNetwork() 444 if (maxBytesOverMobile != null && mTotalBytes > maxBytesOverMobile) { in checkSizeAllowedForNetwork() 450 && mTotalBytes > recommendedMaxBytesOverMobile) { in checkSizeAllowedForNetwork() 514 pw.printPair("mTotalBytes", mTotalBytes); in dump()
|
D | DownloadNotifier.java | 172 if (info.mTotalBytes != -1) { in updateWithLocked() 174 total += info.mTotalBytes; in updateWithLocked()
|