/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | rasterize.rs | 38 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 D | AppItem.java | 33 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 D | contrast.cpp | 34 float total = 0; local 41 total += lumArray[i]; 43 const float avg = total / numPixels;
|
/frameworks/base/core/java/android/net/ |
H A D | TrafficStats.java | 353 long total = 0; 355 total += getTxPackets(iface); 357 return total; 370 long total = 0; 372 total += getRxPackets(iface); 374 return total; 387 long total = 0; 389 total += getTxBytes(iface); 391 return total; 404 long total [all...] |
/frameworks/base/services/core/java/com/android/server/ |
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 | DiskStatsService.java | 109 long total = statfs.getBlockCount(); 110 if (bsize <= 0 || total <= 0) { 112 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); 119 pw.print(total * bsize / 1024); 120 pw.print("K total = "); 121 pw.print(avail * 100 / total);
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 167 uint32_t total = 0; local 168 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 184 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", 186 total += memused; 207 total += textureCache.getSize(); 208 total += renderBufferCache.getSize(); 209 total += gradientCache.getSize(); 210 total += pathCache.getSize(); 211 total += tessellationCache.getSize(); 212 total [all...] |
H A D | ShadowTessellator.cpp | 185 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);
|
H A D | ShadowTessellator.h | 49 // 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. 90 static void checkOverflow(int used, int total, const char* bufferName);
|
/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/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
H A D | GridLayoutTest.java | 72 int total = mGridView.getWidth(); 75 assertTrue("test sanity", total > 0); 85 int total = mGridView.getWidth(); 88 assertTrue("test sanity", total > 0); 98 int total = mGridView.getWidth(); 101 assertTrue("test sanity", total > 0); 115 assertEquals(total, left); 123 int total = mGridView.getHeight(); 126 assertTrue("test sanity", total > 0); 128 assertTrue("total heigh [all...] |
/frameworks/av/media/libnbaio/ |
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, size_t block) argument 114 while (accumulator < total) { 115 size_t count = total - accumulator;
|
H A D | AudioBufferProviderSource.cpp | 82 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 D | ColorfulnessFilter.java | 67 float total = 0; 73 total += value; 78 float value = hueHistogram[c] / total;
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
|
H A D | NBAIO.h | 185 // total Estimate of the number of frames the provider has available. This is an estimate, 210 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 212 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number 273 // total Estimate of the number of frames the consumer desires. This is an estimate, 298 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 D | RequestQueue.java | 140 long total = mCurrentFrameNumber; 142 total += b.getNumberOfRequests(); 144 return total - 1;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationCoreTestRunner.java | 147 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 D | TokenBucketTest.java | 132 int total = 0; 133 while (total < want) { 137 total += tb.get(tb.available()); 140 assertDuration(total * delta, SystemClock.elapsedRealtime() - start);
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 115 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/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/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 149 int total = 0; local 258 total += t2 - t1;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBufferGroup.cpp | 55 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; local 56 sp<MemoryDealer> memoryDealer = new MemoryDealer(total, "MediaBufferGroup");
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 319 float total = 0; 321 total += (float)mTiming[i]; 323 total /= mTiming.length; 324 Log.e(TAG, "time + " + total);
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SysMemUsageTable.java | 94 long[] total = new long[SYS_MEM_USAGE_COUNT]; 102 SysMemUsageTable.mergeSysMemUsage(total, 0, addData, addOff); 104 return total;
|