Searched refs:total (Results 1 - 25 of 82) sorted by relevance

1234

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Drasterize.rs38 static int total;
57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z)
59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z)
61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) +
64 p1[total] = f1.xy;
65 p2[total] = f2.xy;
66 p3[total] = f3.xy;
67 d12[total] = p1[total] - p2[total];
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java33 public long total; field in class:AppItem
46 total = parcel.readLong();
57 dest.writeLong(total);
69 comparison = Long.compare(another.total, total);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcontrast.cpp34 float total = 0; local
41 total += lumArray[i];
43 const float avg = total / numPixels;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DResult.java34 // Get total execution time
36 float total = 0.0f;
38 total += time;
40 return total;
/frameworks/base/core/java/android/net/
H A DTrafficStats.java394 long total = 0;
396 total += getTxPackets(iface);
398 return total;
411 long total = 0;
413 total += getRxPackets(iface);
415 return total;
428 long total = 0;
430 total += getTxBytes(iface);
432 return total;
445 long total
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java54 int total = 0;
55 while(total < BLOCK_SIZE) {
56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
60 total += result;
H A DDiskStatsService.java155 long total = statfs.getBlockCount();
156 if (bsize <= 0 || total <= 0) {
158 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total);
165 proto.write(DiskStatsFreeSpaceProto.TOTAL_SPACE, total * bsize / 1024);
172 pw.print(total * bsize / 1024);
173 pw.print("K total = ");
174 pw.print(avail * 100 / total);
/frameworks/base/libs/hwui/
H A DCaches.cpp164 uint32_t total = 0; local
165 log.appendFormat("Current memory usage / total memory usage (bytes):\n");
181 log.appendFormat(" Layers total %8d (numLayers = %zu)\n",
183 total += memused;
204 total += textureCache.getSize();
205 total += renderBufferCache.getSize();
206 total += gradientCache.getSize();
207 total += pathCache.getSize();
208 total += tessellationCache.getSize();
209 total
[all...]
H A DShadowTessellator.h49 // The total number of rays starting from the centroid of shadow area, in order
53 // The total number of all the vertices representing the shadow.
57 // The total number of indices used for drawing the shadow geometry as triangle strips.
88 static void checkOverflow(int used, int total, const char* bufferName);
H A DShadowTessellator.cpp185 void ShadowTessellator::checkOverflow(int used, int total, const char* bufferName) { argument
186 LOG_ALWAYS_FATAL_IF(used > total, "Error: %s overflow!!! used %d, total %d",
187 bufferName, used, total);
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h97 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/support/v7/gridlayout/tests/src/android/support/v7/widget/
H A DGridLayoutTest.java73 int total = mGridView.getWidth();
76 assertTrue("test sanity", total > 0);
86 int total = mGridView.getWidth();
89 assertTrue("test sanity", total > 0);
99 int total = mGridView.getWidth();
102 assertTrue("test sanity", total > 0);
116 assertEquals(total, left);
124 int total = mGridView.getHeight();
127 assertTrue("test sanity", total > 0);
129 assertTrue("total heigh
[all...]
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp64 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, size_t block) argument
114 while (accumulator < total) {
115 size_t count = total - accumulator;
H A DAudioBufferProviderSource.cpp82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) argument
91 ALOG_ASSERT(accumulator <= total);
92 size_t count = total - accumulator;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorfulnessFilter.java67 float total = 0;
73 total += value;
78 float value = hueHistogram[c] / total;
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
H A DNBAIO.h193 // total Estimate of the number of frames the provider has available. This is an estimate,
218 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
220 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number
292 // total Estimate of the number of frames the consumer desires. This is an estimate,
317 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block = 0);
/frameworks/av/media/libnbaio/include/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
H A DNBAIO.h193 // total Estimate of the number of frames the provider has available. This is an estimate,
218 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
220 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number
292 // total Estimate of the number of frames the consumer desires. This is an estimate,
317 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block = 0);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestQueue.java140 long total = mCurrentFrameNumber;
142 total += b.getNumberOfRequests();
144 return total - 1;
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationCoreTestRunner.java147 long total = runtime.totalMemory();
149 long used = total - free;
151 Log.d(TAG, "Total memory : " + total);
/frameworks/base/core/tests/coretests/src/android/util/
H A DTokenBucketTest.java132 int total = 0;
133 while (total < want) {
137 total += tb.get(tb.available());
140 assertDuration(total * delta, SystemClock.elapsedRealtime() - start);
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp115 struct timespec total; // total elapsed time spent waiting local
116 total.tv_sec = 0;
117 total.tv_nsec = 0;
118 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting
252 if (!measure || requested->tv_sec < total.tv_sec ||
253 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) {
257 remaining.tv_sec = requested->tv_sec - total.tv_sec;
258 if ((remaining.tv_nsec = requested->tv_nsec - total
416 struct timespec total; // total elapsed time spent waiting local
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp57 size_t total = 0; local
79 total += rec.size;
81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0);
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DSingleFragmentTestBase.java102 int total = 0;
105 if ((total += 100) >= WAIT_FOR_SCROLL_IDLE_TIMEOUT_MS) {

Completed in 421 milliseconds

1234