Searched refs:totalBlocks (Results 1 – 3 of 3) sorted by relevance
128 ssize_t totalBlocks; member130 bool isError() const { return totalBlocks < 0; } in isError()131 bool started() const { return totalBlocks > 0; } in started()132 bool fullyLoaded() const { return !isError() && (totalBlocks == filledBlocks); } in fullyLoaded()135 return totalBlocks <= 0 ? totalBlocks : totalBlocks - filledBlocks; in blocksRemainingOrError()139 return totalBlocks < 0 in getProgress()140 ? totalBlocks in getProgress()141 : totalBlocks > 0 ? double(filledBlocks) / double(totalBlocks) : 1.f; in getProgress()
2210 ssize_t totalBlocks = 0, filledBlocks = 0, error = 0; in getLoadingProgressFromPath() local2226 totalBlocks += totalBlocksCount; in getLoadingProgressFromPath()2231 return error ? LoadingProgress{error, error} : LoadingProgress{filledBlocks, totalBlocks}; in getLoadingProgressFromPath()
53 int totalBlocks = stat.getBlockCount(); in onCreate() local56 startSizeTextView.setText(Long.toString((totalBlocks * mBlockSize) / BYTE_SIZE)); in onCreate()81 int totalBlocks = stat.getBlockCount(); in fillupdisk() local