/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/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,
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 29 import static com.android.internal.util.ArrayUtils.total; 158 totalBytes = total(rxBytes) + total(txBytes); 173 totalBytes = total(rxBytes) + total(txBytes); 230 * Return total bytes represented by this history.
|
/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/base/services/java/com/android/server/ |
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/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1440 uint32_t total = 0; local 1443 total++; 1450 return total;
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 239 uint32_t total; member in struct:android::gl::vertex_cache_t
|
/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/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/base/tools/aapt/ |
H A D | AaptAssets.cpp | 1594 size_t total = size + end; local 1595 void* buf = editData(total);
|
/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/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
|