/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsContext.cpp | 128 double total = 0; local 130 total += mTimers[ct]; 141 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, 142 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, 143 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000, 144 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
|
H A D | rsElement.cpp | 64 size_t total = 0; local 66 total += mFields[ct].e->mBits * mFields[ct].arraySize; 68 return total; 76 size_t total = 0; local 78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; 80 return total;
|
/frameworks/rs/ |
H A D | rsContext.cpp | 147 double total = 0; local 149 total += mTimers[ct]; 160 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, 161 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, 162 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000, 163 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
|
H A D | rsElement.cpp | 64 size_t total = 0; local 66 total += mFields[ct].e->mBits * mFields[ct].arraySize; 68 return total; 76 size_t total = 0; local 78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; 80 return total;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsTest.java | 818 private void encodeDecodeAssertEquals(String payload, int index, int total, argument 834 concatRef.msgCount = total;
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | carousel.rs | 359 void createCards(int start, int total) 364 // Here we ensure that it is initialized when growing the total. 367 for (int k = start; k < total; k++) { 373 cardAllocationValid = total > 0; 386 // Returns total angle for given number of slots
|
/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/native/opengl/libagl/ |
H A D | array.cpp | 375 total = 0; 404 uint32_t hits = total - misses; 407 case GL_POINTS: prim_count = total; break; 408 case GL_LINE_STRIP: prim_count = total - 1; break; 409 case GL_LINE_LOOP: prim_count = total - 1; break; 410 case GL_LINES: prim_count = total / 2; break; 411 case GL_TRIANGLE_STRIP: prim_count = total - 2; break; 412 case GL_TRIANGLE_FAN: prim_count = total - 2; break; 413 case GL_TRIANGLES: prim_count = total / 3; break; 416 printf( "total [all...] |
H A D | context.h | 239 uint32_t total; member in struct:android::gl::vertex_cache_t
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1440 uint32_t total = 0; local 1443 total++; 1450 return total;
|
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 313 float total = 0; 315 total += (float)mTiming[i]; 317 total /= mTiming.length; 318 Log.e(TAG, "time + " + total);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PlaybackGraphs.java | 79 double total = 0, totalCount = 0; 83 total += coverage * (data.isReady ? 100 : 0); 89 return total / totalCount;
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 1594 size_t total = size + end; local 1595 void* buf = editData(total);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 1194 float total = 0f; 1200 return total + mainFont.mMetrics.charsWidth(text, i, lastIndex - i); 1202 total += mainFont.mMetrics.charsWidth(text, i, upTo - i); 1222 total += fontInfo.mMetrics.charsWidth(text, i, charCount); 1233 total += mainFont.mMetrics.charsWidth(text, i, size); 1238 return total;
|
/frameworks/base/services/java/com/android/server/ |
H A D | DiskStatsService.java | 92 long total = statfs.getBlockCount(); 93 if (bsize <= 0 || total <= 0) { 95 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); 102 pw.print(total * bsize / 1024); 103 pw.print("K total = "); 104 pw.print(avail * 100 / total);
|
H A D | RandomBlock.java | 54 int total = 0; 55 while(total < BLOCK_SIZE) { 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 60 total += result;
|
H A D | ThrottleService.java | 552 long total = periodRx + periodTx; 555 ", read =" + incRead + ", written =" + incWrite + ", new total =" + total); 560 checkThrottleAndPostNotification(total); 638 // adding another factor - it must be greater than the total cap/4
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1722 int total = user + system + iowait + irq + softIrq + idle; 1723 if (total == 0) total = 1; 1726 ((user+system+iowait+irq+softIrq) * 100) / total, 1727 (user * 100) / total, 1728 (system * 100) / total, 1729 (iowait * 100) / total, 1730 (irq * 100) / total, 1731 (softIrq * 100) / total); 10501 appendMemBucket(outTag, totalPss, "total", fals [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationCoreTestRunner.java | 152 long total = runtime.totalMemory(); 154 long used = total - free; 156 Log.d(TAG, "Total memory : " + total);
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 175 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 206 uint32_t total = 0; local 207 total += textureCache.getSize(); 208 total += layerCache.getSize(); 209 total += gradientCache.getSize(); 210 total += pathCache.getSize(); 211 total += dropShadowCache.getSize(); 212 total += roundRectShapeCache.getSize(); 213 total += circleShapeCache.getSize(); 214 total [all...] |
/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
|
H A D | shader_program.h | 293 // total number of elements in total. 296 int total, 469 // total size.
|
/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/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/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 168 // IAudioFlinger::createTrack() reports back to client the total size of shared memory area 1666 snprintf(buffer, SIZE, "total writes: %d\n", mNumWrites); 3631 size_t total = 0; local 3649 total += actual; 3652 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8; 3655 temp = total * channelCount * sizeof(short); 4782 // a track is considered presented when the total number of frames written to audio HAL
|