/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/libmediaplayerservice/nuplayer/mp4/ |
H A D | MP4Source.cpp | 71 size_t total = 0; local 72 while (total < size) { 74 (uint8_t *)data + total, size - total, &extra); 82 mPosition += total; 86 total += n; 91 mPosition += total; 93 return total;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, argument 94 ALOG_ASSERT(accumulator <= total); 95 size_t count = total - accumulator;
|
H A D | NBAIO.cpp | 141 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 155 while (accumulator < total) { 156 size_t count = total - accumulator; 177 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument 192 while (accumulator < total) { 193 size_t count = total - accumulator;
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 58 size_t total = 0; local 76 total += rec.size; 78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 169 public static long total(long[] array) { method in class:ArrayUtils 170 long total = 0; 172 total += value; 174 return total;
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseCursorTest.java | 263 int total; field in class:DatabaseCursorTest.TestObserver 268 total = total_; 274 if (total == count) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 149 int total = 0; local 258 total += t2 - t1;
|
/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/libmedia/ |
H A D | AudioTrackShared.cpp | 68 struct timespec total; // total elapsed time spent waiting local 69 total.tv_sec = 0; 70 total.tv_nsec = 0; 71 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting 186 if (!measure || requested->tv_sec < total.tv_sec || 187 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { 191 remaining.tv_sec = requested->tv_sec - total.tv_sec; 192 if ((remaining.tv_nsec = requested->tv_nsec - total 357 struct timespec total; // total elapsed time spent waiting local [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 148 size_t* total = (size_t*) arg; local 155 *total += uncompLen;
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 260 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 280 log.appendFormat(" FontRenderer %d total %8d / %8d\n", i, sizeA8 + sizeRGBA, 287 uint32_t total = 0; local 288 total += textureCache.getSize(); 289 total += layerCache.getSize(); 290 total += renderBufferCache.getSize(); 291 total += gradientCache.getSize(); 292 total += pathCache.getSize(); 293 total += dropShadowCache.getSize(); 294 total [all...] |
H A D | OpenGLRenderer.cpp | 563 size_t total = 0; local 565 total += buffer[i] & 0xff; 568 mOverdraw = total / float(count);
|
/frameworks/rs/ |
H A D | rsElement.cpp | 69 size_t total = 0; local 71 total += mFields[ct].e->mBits * mFields[ct].arraySize; 73 return total; 81 size_t total = 0; local 83 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; 85 return total;
|
H A D | rsContext.cpp | 176 double total = 0; local 178 total += mTimers[ct]; 189 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, 190 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, 191 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000, 192 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 87 size_t total = 0; local 89 total += cert_chain[i].size(); 91 size_t bytesize = total + numcerts * 4; 96 ALOGV("%d certs: %d -> %d", numcerts, total, bytesize);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 119 sf_count_t total = 0; local 137 total += actual; 140 if ((total & 0xFF00) == 0xFF00) {
|
H A D | playbq.cpp | 119 sf_count_t total = 0; local 137 total += actual; 140 if ((total & 0xFF00) == 0xFF00) {
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 60 virtual int Length(long long* total, long long* available) { argument 63 *total = -1; 69 if (total) { 70 *total = size;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 1010 int total, 1016 if (total % components != 0) { 1019 components, total); 1024 float* data_cpy = new float[total]; 1025 memcpy(data_cpy, data, sizeof(float) * total); 1008 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 1602 size_t total = size + end; local 1603 void* buf = editData(total);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1440 uint32_t total = 0; local 1443 total++; 1450 return total;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2489 size_t total = 0; local 2507 total += actual; 2510 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8; 2513 temp = total * channelCount * sizeof(short);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 239 uint32_t total; member in struct:android::gl::vertex_cache_t
|