/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | SmallCircleActivity.java | 38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 47 private static final int SIZE = 37; field in class:SmallCircleActivity.PathView 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0. [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioRoute.cpp | 29 const size_t SIZE = 256; local 30 char buffer[SIZE]; 33 snprintf(buffer, SIZE, "%*s- Type: %s\n", spaces, "", mType == AUDIO_ROUTE_MUX ? "Mux" : "Mix"); 36 snprintf(buffer, SIZE, "%*s- Sink: %s\n", spaces, "", mSink->getTagName().string()); 40 snprintf(buffer, SIZE, "%*s- Sources: \n", spaces, ""); 43 snprintf(buffer, SIZE, "%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string());
|
H A D | AudioSourceDescriptor.cpp | 34 const size_t SIZE = 256; local 35 char buffer[SIZE]; 38 snprintf(buffer, SIZE, "mStream: %d\n", audio_attributes_to_stream_type(&mAttributes)); 40 snprintf(buffer, SIZE, "mDevice:\n"); 50 const size_t SIZE = 256; local 51 char buffer[SIZE]; 53 snprintf(buffer, SIZE, "\nAudio sources dump:\n"); 56 snprintf(buffer, SIZE, "- Source %d dump:\n", keyAt(i));
|
H A D | AudioCollections.cpp | 45 const size_t SIZE = 256; local 46 char buffer[SIZE]; 48 snprintf(buffer, SIZE, "\n%*sAudio Routes (%zu):\n", spaces, "", size()); 51 snprintf(buffer, SIZE, "%*s- Route %zu:\n", spaces, "", i + 1);
|
H A D | VolumeCurve.cpp | 66 const size_t SIZE = 256; local 67 char buffer[SIZE]; 69 snprintf(buffer, SIZE, " {"); 72 snprintf(buffer, SIZE, "(%3d, %5d)", 82 const size_t SIZE = 256; local 83 char buffer[SIZE]; 87 snprintf(buffer, SIZE, "%s %02d %02d ", 91 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i)); 102 snprintf(buffer, SIZE, "%*s %s :", 113 const size_t SIZE local [all...] |
H A D | AudioGain.cpp | 103 const size_t SIZE = 256; local 104 char buffer[SIZE]; 107 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1); 109 snprintf(buffer, SIZE, "%*s- mode: %08x\n", spaces, "", mGain.mode); 111 snprintf(buffer, SIZE, "%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask); 113 snprintf(buffer, SIZE, "%*s- min_value: %d mB\n", spaces, "", mGain.min_value); 115 snprintf(buffer, SIZE, "%*s- max_value: %d mB\n", spaces, "", mGain.max_value); 117 snprintf(buffer, SIZE, "%*s- default_value: %d mB\n", spaces, "", mGain.default_value); 119 snprintf(buffer, SIZE, "%*s- step_value: %d mB\n", spaces, "", mGain.step_value); 121 snprintf(buffer, SIZE, " [all...] |
H A D | AudioPatch.cpp | 42 const size_t SIZE = 256; local 43 char buffer[SIZE]; 46 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1); 48 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle); 50 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle); 52 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid); 54 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources); 60 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "", 64 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "", 69 snprintf(buffer, SIZE, " 169 const size_t SIZE = 256; local [all...] |
H A D | EffectDescriptor.cpp | 27 const size_t SIZE = 256; local 28 char buffer[SIZE]; 31 snprintf(buffer, SIZE, " I/O: %d\n", mIo); 33 snprintf(buffer, SIZE, " Strategy: %d\n", mStrategy); 35 snprintf(buffer, SIZE, " Session: %d\n", mSession); 37 snprintf(buffer, SIZE, " Name: %s\n", mDesc.name); 39 snprintf(buffer, SIZE, " %s\n", mEnabled ? "Enabled" : "Disabled"); 179 const size_t SIZE = 256; local 180 char buffer[SIZE]; 182 snprintf(buffer, SIZE, [all...] |
H A D | AudioSession.cpp | 141 const size_t SIZE = 256; local 142 char buffer[SIZE]; 145 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1); 147 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession); 149 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid); 151 snprintf(buffer, SIZE, "%*s- input source: %d\n", spaces, "", mInputSource); 153 snprintf(buffer, SIZE, "%*s- format: %08x\n", spaces, "", mConfig.format); 155 snprintf(buffer, SIZE, "%*s- sample: %d\n", spaces, "", mConfig.sample_rate); 157 snprintf(buffer, SIZE, "%*s- channel mask: %08x\n", 160 snprintf(buffer, SIZE, " 284 const size_t SIZE = 256; local [all...] |
H A D | AudioInputDescriptor.cpp | 197 const size_t SIZE = 256; local 198 char buffer[SIZE]; 201 snprintf(buffer, SIZE, " ID: %d\n", getId()); 203 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); 205 snprintf(buffer, SIZE, " Format: %d\n", mFormat); 207 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); 209 snprintf(buffer, SIZE, " Devices %08x\n", mDevice); 280 const size_t SIZE = 256; local 281 char buffer[SIZE]; 283 snprintf(buffer, SIZE, "\nInput [all...] |
H A D | AudioOutputDescriptor.cpp | 188 const size_t SIZE = 256; local 189 char buffer[SIZE]; 192 snprintf(buffer, SIZE, " ID: %d\n", mId); 194 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); 196 snprintf(buffer, SIZE, " Format: %08x\n", mFormat); 198 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); 200 snprintf(buffer, SIZE, " Devices %08x\n", device()); 202 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n"); 205 snprintf(buffer, SIZE, " %02d %.03f %02d %02d\n", 243 const size_t SIZE local 400 const size_t SIZE = 256; local 538 const size_t SIZE = 256; local 583 const size_t SIZE = 256; local [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | OpenableColumns.java | 42 public static final String SIZE = "_size"; field in interface:OpenableColumns
|
/frameworks/base/libs/hwui/utils/ |
H A D | FatVector.h | 41 template <typename T, size_t SIZE> 49 char array[sizeof(T) * SIZE]; 63 if (!mAllocation.inUse && num <= SIZE) { 83 * std::vector with SIZE elements preallocated into an internal buffer. 85 * Useful for avoiding the cost of malloc in cases where only SIZE or 88 template <typename T, size_t SIZE> 89 class FatVector : public std::vector<T, InlineStdAllocator<T, SIZE>> { 91 FatVector() : std::vector<T, InlineStdAllocator<T, SIZE>>( 92 InlineStdAllocator<T, SIZE>(mAllocation)) { 93 this->reserve(SIZE); [all...] |
H A D | RingBuffer.h | 26 template<class T, size_t SIZE> 34 constexpr size_t capacity() const { return SIZE; } 38 mHead = (mHead + 1) % SIZE; 39 if (mCount < SIZE) { 67 T mBuffer[SIZE];
|
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 48 typename TYPE, size_t SIZE, size_t S> 49 vec<TYPE, SIZE>& doAssign( 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { 51 const size_t minSize = min(SIZE, S); 52 const size_t maxSize = max(SIZE, S); 65 size_t SIZE 67 VLHS<TYPE, SIZE> PURE doAdd( 68 const VLHS<TYPE, SIZE> [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabasePerformanceTests.java | 198 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf1Test 200 private String[] statements = new String[SIZE]; 207 for (int i = 0; i < SIZE; i++) { 220 for (int i = 0; i < SIZE; i++) { 231 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf2Test 233 private String[] statements = new String[SIZE]; 240 for (int i = 0; i < SIZE; i++) { 254 for (int i = 0; i < SIZE; i++) { 265 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf3Test 268 private String[] where = new String[SIZE]; 305 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf4Test 343 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf5Test 384 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf6Test 422 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf7Test 462 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf8Test 502 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf9Test 554 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf10Test 593 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf11Test 627 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf12Test 661 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf13Test 694 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf14Test 727 private static final int SIZE = 100; field in class:DatabasePerformanceTests.Perf15Test 768 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf16Test 801 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf17Test 833 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf18Test 870 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf19Test 908 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf20Test 952 private static final int SIZE = 1000; field in class:DatabasePerformanceTests.Perf21Test 994 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf22Test 1026 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf23Test 1059 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf24Test 1091 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf25Test 1125 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf26Test 1163 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf27Test 1202 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf28Test 1236 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf29Test 1274 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf30Test 1311 private static final int SIZE = 10000; field in class:DatabasePerformanceTests.Perf31Test [all...] |
H A D | NewDatabasePerformanceTests.java | 107 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.Insert1000 109 private String[] statements = new String[SIZE]; 116 for (int i = 0; i < SIZE; i++) { 128 for (int i = 0; i < SIZE; i++) { 139 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.InsertIndexed1000 141 private String[] statements = new String[SIZE]; 148 for (int i = 0; i < SIZE; i++) { 161 for (int i = 0; i < SIZE; i++) { 172 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.Select100 175 private String[] where = new String[SIZE]; 211 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringComparison100 248 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectIndex100 288 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.InnerJoin100 325 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.InnerJoinOneSide100 364 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.InnerJoinNoIndex100 403 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectSubQIndex100 454 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectIndexStringComparison100 492 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectInteger100 523 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectString100 554 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectIntegerIndex100 586 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectIndexString100 618 private static final int SIZE = 1 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringStartsWith100 658 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.DeleteIndexed1000 689 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.Delete1000 719 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.DeleteWhere1000 755 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.DeleteIndexWhere1000 792 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.UpdateIndexWhere1000 835 private static final int SIZE = 10 * kMultiplier; field in class:NewDatabasePerformanceTests.UpdateWhere1000 876 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.InsertInteger10000 907 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.InsertIntegerIndex10000 939 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.InsertString10000 970 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.InsertStringIndexed10000 1003 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringStartsWith10000 1041 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringIndexedStartsWith10000 1079 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectInteger10000 1112 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectIntegerIndexed10000 1149 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringContains10000 1186 private static final int SIZE = 100 * kMultiplier; field in class:NewDatabasePerformanceTests.SelectStringIndexedContains10000 [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | ByteArrayHelpers.java | 51 return toByteArray(array, Short.SIZE); 61 return toByteArray(array, Character.SIZE); 70 return toByteArray(array, Integer.SIZE); 79 return toByteArray(array, Long.SIZE); 88 return toByteArray(array, Float.SIZE); 97 return toByteArray(array, Double.SIZE); 127 sizeInBits = Integer.SIZE; 129 sizeInBits = Float.SIZE; 131 sizeInBits = Double.SIZE; 133 sizeInBits = Short.SIZE; [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | MarshalHelpers.java | 36 public static final int SIZEOF_INT32 = Integer.SIZE / Byte.SIZE; 37 public static final int SIZEOF_INT64 = Long.SIZE / Byte.SIZE; 38 public static final int SIZEOF_FLOAT = Float.SIZE / Byte.SIZE; 39 public static final int SIZEOF_DOUBLE = Double.SIZE / Byte.SIZE;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFObjectWriter.h | 50 template <size_t SIZE> 59 template <size_t SIZE> 65 template <size_t SIZE> 84 template <size_t SIZE> 90 template <size_t SIZE> 96 template <size_t SIZE> 106 template <size_t SIZE>
|
/frameworks/av/services/audioflinger/ |
H A D | BufLog.h | 81 #define __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ 83 BUF, SIZE) 85 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ 88 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ 89 __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE)
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 100 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits); 113 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>. 123 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size()); 129 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for 152 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE; 175 final int startIndex = (remainderIndex + 1) * Long.SIZE; 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 229 if (index < Long.SIZE) { 237 final int maskIndex = (index / Long.SIZE) - 1; 244 final long bitMask = 1L << (index % Long.SIZE); [all...] |
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 98 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits); 111 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>. 121 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size()); 127 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for 149 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE; 172 final int startIndex = (remainderIndex + 1) * Long.SIZE; 173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); 229 if (index < Long.SIZE) { 237 final int maskIndex = (index / Long.SIZE) - 1; 244 final long bitMask = 1L << (index % Long.SIZE); [all...] |
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoBuffer.h | 32 SIZE = 2 enumerator in enum:android::WrappingBuffer::__anon175 34 void *data[SIZE]; 35 int32_t numFrames[SIZE];
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 58 const size_t SIZE = 4096; local 59 char buffer[SIZE]; 60 snprintf(buffer, SIZE, "Allocated buffers:\n"); 66 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64 72 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64 81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0);
|