Searched defs:LoadingProgress (Results 1 – 1 of 1) sorted by relevance
126 struct LoadingProgress { struct127 ssize_t filledBlocks;128 ssize_t totalBlocks;130 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()134 int blocksRemainingOrError() const { in blocksRemainingOrError()138 float getProgress() const { in getProgress()