/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | contrast.cpp | 34 float total = 0; local 41 total += lumArray[i]; 43 const float avg = total / numPixels;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) argument 91 ALOG_ASSERT(accumulator <= total); 92 size_t count = total - accumulator;
|
H A D | NBAIO.cpp | 64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 78 while (accumulator < total) { 79 size_t count = total - accumulator; 100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, size_t block) argument 114 while (accumulator < total) { 115 size_t count = total - accumulator;
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 97 uint32_t total = getActualSize(); 98 WORD_ALIGN(total) 99 return (total <= OFFSET_SIZE) ? 0 : total; 104 uint32_t total = sizeof(T) * mCount; 107 total <<= 1; 109 return total; 196 uint32_t total = 0; local 198 total += mData[i]->getSize(); 200 return total; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | AppItem.java | 33 public long total; field in class:AppItem 46 total = parcel.readLong(); 57 dest.writeLong(total); 69 comparison = Long.compare(another.total, total);
|
H A D | Utils.java | 121 /** Formats the ratio of amount/total as a percentage. */ 122 public static String formatPercentage(long amount, long total) { argument 123 return formatPercentage(((double) amount) / total);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | VolumeLoader.java | 127 public void progress(int n, int total); argument
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBufferGroup.cpp | 55 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; local 56 sp<MemoryDealer> memoryDealer = new MemoryDealer(total, "MediaBufferGroup");
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseCursorTest.java | 264 int total; field in class:DatabaseCursorTest.TestObserver 269 total = total_; 275 if (total == count) {
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 164 uint32_t total = 0; local 165 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 181 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", 183 total += memused; 204 total += textureCache.getSize(); 205 total += renderBufferCache.getSize(); 206 total += gradientCache.getSize(); 207 total += pathCache.getSize(); 208 total += tessellationCache.getSize(); 209 total [all...] |
H A D | ShadowTessellator.cpp | 185 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { argument 186 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d", 187 bufferName, used, total);
|
H A D | FontRenderer.cpp | 776 uint32_t total = cacheTexture->getPixelBuffer()->getSize(); local 777 log.appendFormat(" %-4s texture %d %8d / %8d\n", tag, i, total - free, total); 791 log.appendFormat(" FontRenderer total %8d / %8d\n", usedA8 + usedRGBA, sizeA8 + sizeRGBA);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 57 size_t total = 0; local 79 total += rec.size; 81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0);
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 149 int total = 0; local 258 total += t2 - t1;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 269 public static long total(@Nullable long[] array) { method in class:ArrayUtils 270 long total = 0; 273 total += value; 276 return total;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsTest.java | 865 private static SmsHeader getConcatUserDataHeader(int index, int total) { argument 869 concatRef.msgCount = total;
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 155 uint32_t total = calculateIfdSize(size); local 156 WORD_ALIGN(total); 158 total += mEntries[i]->getSize(); 160 return total; 356 uint32_t total = 0; local 358 total += byteCounts[i]; 360 return total;
|
/frameworks/rs/ |
H A D | rsElement.cpp | 76 size_t total = 0; local 78 total += mFields[ct].e->mBits * mFields[ct].arraySize; 80 return total; 88 size_t total = 0; local 90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; 92 return total;
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 115 struct timespec total; // total elapsed time spent waiting local 116 total.tv_sec = 0; 117 total.tv_nsec = 0; 118 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting 252 if (!measure || requested->tv_sec < total.tv_sec || 253 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { 257 remaining.tv_sec = requested->tv_sec - total.tv_sec; 258 if ((remaining.tv_nsec = requested->tv_nsec - total 416 struct timespec total; // total elapsed time spent waiting local [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 51 uint64_t total = 0; local 54 total += (*it)->totalSize(); 56 return total;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 155 size_t* total = (size_t*) arg; local 162 *total += static_cast<size_t>(uncompLen);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBLAS.cpp | 851 int32_t total = 0; local 860 total += mult_as_int; 864 ((((total + c_offset) * c_mult_int) + (1 << (c_shift - 1)))
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.cpp | 121 sf_count_t total = 0; local 155 total += actual; 158 if ((total & 0xFF00) == 0xFF00) {
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 1003 int total, 1009 if (total % components != 0) { 1012 components, total); 1017 float* data_cpy = new float[total]; 1018 memcpy(data_cpy, data, sizeof(float) * total); 1001 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
|
/frameworks/base/tools/bit/ |
H A D | main.cpp | 823 int total = action.passCount + action.failCount; local 825 total, total > 1 ? "s" : "", action.target->name.c_str());
|