Searched refs:total (Results 26 - 40 of 40) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java1194 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 DrsContext.cpp147 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 DNetworkStatsHistory.java29 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 Dshader_program.cpp1010 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 Dshader_program.h293 // total number of elements in total.
296 int total,
469 // total size.
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java263 int total; field in class:DatabaseCursorTest.TestObserver
268 total = total_;
274 if (total == count) {
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp60 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 DThrottleService.java552 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 DhwcCommit.cpp1440 uint32_t total = 0; local
1443 total++;
1450 return total;
/frameworks/native/opengl/libagl/
H A Dcontext.h239 uint32_t total; member in struct:android::gl::vertex_cache_t
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs359 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 DCdmaSmsTest.java818 private void encodeDecodeAssertEquals(String payload, int index, int total, argument
834 concatRef.msgCount = total;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1594 size_t total = size + end; local
1595 void* buf = editData(total);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java1722 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 DAudioFlinger.cpp168 // 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

Completed in 4096 milliseconds

12