/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ManageCachePage.java | 368 long totalBytes = mCacheStorageInfo.getTotalBytes(); 374 if (totalBytes == 0) { 382 progressBar.setProgress((int) (usedBytes * PROGRESS_BAR_MAX / totalBytes)); 384 (int) (expectedBytes * PROGRESS_BAR_MAX / totalBytes));
|
/frameworks/base/core/java/android/net/ |
NetworkStatsHistory.java | 79 private long totalBytes; 112 totalBytes = 0; 130 totalBytes = in.readLong(); 143 out.writeLong(totalBytes); 158 totalBytes = total(rxBytes) + total(txBytes); 173 totalBytes = total(rxBytes) + total(txBytes); 233 return totalBytes; 343 totalBytes += entry.rxBytes + entry.txBytes; 463 // TODO: subtract removed values from totalBytes
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppUtility.java | 248 public static String formatProgressText(long totalBytes, long currentBytes) { 249 if (totalBytes <= 0) { 252 long progress = currentBytes * 100 / totalBytes;
|
/external/chromium/webkit/glue/ |
webmediaplayer_impl.h | 244 virtual unsigned long long totalBytes() const;
|
webmediaplayer_impl.cc | 624 unsigned long long WebMediaPlayerImpl::totalBytes() const { 870 if (bytesLoaded() == totalBytes() &&
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
PoolAlloc.h | 210 size_t totalBytes; // just an interesting statistic
|
/external/webkit/Source/WebCore/fileapi/ |
FileReader.cpp | 227 dispatchEvent(ProgressEvent::create(type, true, m_loader ? m_loader->bytesLoaded() : 0, m_loader ? m_loader->totalBytes() : 0));
|
/external/webkit/Source/WebCore/platform/graphics/avfoundation/ |
MediaPlayerPrivateAVFoundation.h | 193 virtual unsigned totalBytes() const = 0;
|
MediaPlayerPrivateAVFoundation.cpp | 388 unsigned loaded = totalBytes() * maxTimeLoaded() / dur;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
MediaPlayerPrivateQTKit.h | 122 unsigned totalBytes() const;
|
MediaPlayerPrivateQTKit.mm | [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
MediaPlayerPrivateQuickTimeVisualContext.h | 103 unsigned totalBytes() const;
|
MediaPlayerPrivateQuickTimeWin.cpp | 454 return totalBytes() * maxTime / dur; 457 unsigned MediaPlayerPrivate::totalBytes() const
|
MediaPlayerPrivateQuickTimeVisualContext.cpp | 600 return totalBytes() * maxTime / dur; 603 unsigned MediaPlayerPrivateQuickTimeVisualContext::totalBytes() const [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
MemoryCache.cpp | 292 void MemoryCache::setCapacities(unsigned minDeadBytes, unsigned maxDeadBytes, unsigned totalBytes) 295 ASSERT(maxDeadBytes <= totalBytes); 298 m_capacity = totalBytes;
|
/external/webkit/Source/WebKit/chromium/src/ |
WebMediaPlayerClientImpl.cpp | 409 unsigned WebMediaPlayerClientImpl::totalBytes() const 412 return static_cast<unsigned>(m_webMediaPlayer->totalBytes());
|
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 306 int64_t totalBytes = 0; 347 totalBytes += buffer->range_length(); 390 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 392 printf("decoded a total of %lld bytes\n", totalBytes); [all...] |
/external/webkit/Source/WebCore/platform/graphics/opengl/ |
GraphicsContext3DOpenGL.cpp | 125 int totalBytes = rowBytes * m_currentHeight; 127 OwnArrayPtr<unsigned char> pixels = adoptArrayPtr(new unsigned char[totalBytes]); 131 readRenderingResults(pixels.get(), totalBytes); 134 for (int i = 0; i < totalBytes; i += 4) { 155 int totalBytes = 4 * m_currentWidth * m_currentHeight; 157 readRenderingResults(pixels, totalBytes); 160 for (int i = 0; i < totalBytes; i += 4) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
FastMalloc.cpp | 269 size_t totalBytes = n_elements * element_size; 270 if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= totalBytes)) 273 totalBytes += sizeof(AllocAlignmentInteger); 274 void* result = malloc(totalBytes); 278 memset(result, 0, totalBytes); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 455 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { 458 mTotalBytes += totalBytes;
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebpage.h | 271 quint64 totalBytes() const;
|
/external/clang/lib/AST/ |
DeclBase.cpp | 113 int totalBytes = 0; 116 totalBytes += (int)(n##DERIVED##s * sizeof(DERIVED##Decl)); \ 125 llvm::errs() << "Total bytes = " << totalBytes << "\n"; [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
MediaPlayerPrivatePhonon.cpp | 328 unsigned MediaPlayerPrivatePhonon::totalBytes() const
|
MediaPlayerPrivateQt.cpp | 371 unsigned MediaPlayerPrivateQt::totalBytes() const
|
/external/webkit/Source/WebCore/platform/graphics/ |
MediaPlayer.cpp | 129 virtual unsigned totalBytes() const { return 0; }
|