/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/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/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 | 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, argument 115 while (accumulator < total) { 116 size_t count = total - accumulator;
|
/frameworks/av/media/libstagefright/ |
H A D | ClockEstimator.cpp | 160 LinearFit total; local 161 total.combine(mHead); 162 total.combine(mMain); 163 total.combine(mTail); 164 return total.interpolate(x);
|
/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/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/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 203 public static long total(long[] array) { method in class:ArrayUtils 204 long total = 0; 206 total += value; 208 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/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 49 uint64_t total = 0; local 52 total += (*it)->totalSize(); 54 return total;
|
/frameworks/base/libs/hwui/ |
H A D | ShadowTessellator.cpp | 274 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { argument 275 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d", 276 bufferName, used, total);
|
H A D | Caches.cpp | 268 uint32_t total = 0; local 269 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 285 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", 287 total += memused; 306 log.appendFormat(" FontRenderer %d total %8d / %8d\n", i, sizeA8 + sizeRGBA, 313 total += textureCache.getSize(); 314 total += renderBufferCache.getSize(); 315 total += gradientCache.getSize(); 316 total += pathCache.getSize(); 317 total [all...] |
H A D | SpotShadow.cpp | 200 const int total = lUpperSize + lLowerSize - 2; local 201 int outIndex = total - 1; 212 return total; 626 * @param rays The total number of rays. 774 // and its ratio against the total length. 915 // The total pair number can be as high as umbraLength + penumbraLength.
|
/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/libmedia/ |
H A D | AudioTrackShared.cpp | 74 struct timespec total; // total elapsed time spent waiting local 75 total.tv_sec = 0; 76 total.tv_nsec = 0; 77 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting 199 if (!measure || requested->tv_sec < total.tv_sec || 200 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { 204 remaining.tv_sec = requested->tv_sec - total.tv_sec; 205 if ((remaining.tv_nsec = requested->tv_nsec - total 378 struct timespec total; // total elapsed time spent waiting local [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 156 size_t* total = (size_t*) arg; local 163 *total += uncompLen;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 137 sf_count_t total = 0; local 171 total += actual; 174 if ((total & 0xFF00) == 0xFF00) {
|
H A D | playbq.cpp | 137 sf_count_t total = 0; local 171 total += actual; 174 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/webview/chromium/tests/prebuilts/ |
H A D | android-janktesthelper.jar | ... private static double getAverage (int[]) int i
int[] intArray
int total
int numberTests
private static double getAverage (double[]) int i
double ... |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 515 size_t total = size + end; local 516 void* buf = editData(total);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1439 uint32_t total = 0; local 1442 total++; 1449 return total;
|