/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageSummaryPreference.java | 40 public void setPercent(long usedBytes, long totalBytes) { 41 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes), 42 (usedBytes > 0) ? 1 : 0, 100);
|
StorageVolumePreference.java | 80 long usedBytes = 0; 87 usedBytes = totalBytes - freeBytes; 98 usedBytes = totalBytes - freeBytes; 101 final String used = Formatter.formatFileSize(context, usedBytes); 105 mUsedPercent = (int) ((usedBytes * 100) / totalBytes);
|
PublicVolumeSettings.java | 169 final long usedBytes = totalBytes - freeBytes; 171 final BytesResult result = Formatter.formatBytes(getResources(), usedBytes, 0); 176 mSummary.setPercent(usedBytes, totalBytes);
|
PrivateVolumeSettings.java | 253 final long usedBytes = mTotalSize - freeBytes; 255 if (LOGV) Log.v(TAG, "update() freeBytes: " + freeBytes + " usedBytes: " + usedBytes); 257 final BytesResult result = Formatter.formatBytes(getResources(), usedBytes, 0); 262 mSummary.setPercent(usedBytes, mTotalSize); [all...] |
/external/skia/src/gpu/ |
GrBufferAllocPool.cpp | 151 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; 152 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); 154 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); 155 usedBytes += pad; 156 *offset = usedBytes; 161 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); 201 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; 202 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); 205 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); 206 usedBytes += pad [all...] |
/external/skqp/src/gpu/ |
GrBufferAllocPool.cpp | 151 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; 152 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); 154 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); 155 usedBytes += pad; 156 *offset = usedBytes; 161 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); 201 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; 202 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); 205 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); 206 usedBytes += pad [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
StorageSummaryDonutPreferenceController.java | 106 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); 107 updateBytes(usedBytes, totalSize);
|
StorageSummaryDonutPreference.java | 63 public void setPercent(long usedBytes, long totalBytes) { 68 mPercent = usedBytes / (double) totalBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 56 const BitVector &usedBytes() const { return UsedBytes; } 69 BitVector UsedBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 56 const BitVector &usedBytes() const { return UsedBytes; } 69 BitVector UsedBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 56 const BitVector &usedBytes() const { return UsedBytes; } 69 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 56 const BitVector &usedBytes() const { return UsedBytes; } 69 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/DebugInfo/PDB/ |
UDTLayout.h | 52 const BitVector &usedBytes() const { return UsedBytes; } 65 BitVector UsedBytes;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ManageCachePage.java | 369 long usedBytes = mCacheStorageInfo.getUsedBytes(); 382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes));
|
/prebuilts/go/darwin-x86/src/runtime/ |
mcentral.go | 128 usedBytes := uintptr(s.allocCount) * s.elemsize 129 atomic.Xadd64(&memstats.heap_live, int64(spanBytes)-int64(usedBytes))
|
/prebuilts/go/linux-x86/src/runtime/ |
mcentral.go | 128 usedBytes := uintptr(s.allocCount) * s.elemsize 129 atomic.Xadd64(&memstats.heap_live, int64(spanBytes)-int64(usedBytes))
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
partition_alloc.cc | [all...] |