Searched refs:SIZE (Results 1 - 25 of 107) sorted by relevance

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DSmallCircleActivity.java38 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 DAudioRoute.cpp29 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 DAudioSourceDescriptor.cpp34 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 DAudioCollections.cpp45 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 DVolumeCurve.cpp65 const size_t SIZE = 256; local
66 char buffer[SIZE];
68 snprintf(buffer, SIZE, " {");
71 snprintf(buffer, SIZE, "(%3d, %5d)",
81 const size_t SIZE = 256; local
82 char buffer[SIZE];
86 snprintf(buffer, SIZE, "%s %02d %02d ",
90 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i));
101 snprintf(buffer, SIZE, "%*s %s :",
112 const size_t SIZE local
[all...]
H A DAudioGain.cpp103 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 DAudioPatch.cpp40 const size_t SIZE = 256; local
41 char buffer[SIZE];
44 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
46 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
48 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
50 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid);
52 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources);
58 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "",
62 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
67 snprintf(buffer, SIZE, "
167 const size_t SIZE = 256; local
[all...]
H A DAudioSession.cpp135 const size_t SIZE = 256; local
136 char buffer[SIZE];
139 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1);
141 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mSession);
143 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid);
145 snprintf(buffer, SIZE, "%*s- input source: %d\n", spaces, "", mInputSource);
147 snprintf(buffer, SIZE, "%*s- format: %08x\n", spaces, "", mConfig.format);
149 snprintf(buffer, SIZE, "%*s- sample: %d\n", spaces, "", mConfig.sample_rate);
151 snprintf(buffer, SIZE, "%*s- channel mask: %08x\n",
154 snprintf(buffer, SIZE, "
249 const size_t SIZE = 256; local
[all...]
H A DEffectDescriptor.cpp27 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 DIOProfile.cpp105 const size_t SIZE = 256; local
106 char buffer[SIZE];
111 snprintf(buffer, SIZE, " - flags: 0x%04x\n", getFlags());
H A DAudioInputDescriptor.cpp180 const size_t SIZE = 256; local
181 char buffer[SIZE];
184 snprintf(buffer, SIZE, " ID: %d\n", getId());
186 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate);
188 snprintf(buffer, SIZE, " Format: %d\n", mFormat);
190 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask);
192 snprintf(buffer, SIZE, " Devices %08x\n", mDevice);
259 const size_t SIZE = 256; local
260 char buffer[SIZE];
262 snprintf(buffer, SIZE, "\nInput
[all...]
H A DAudioOutputDescriptor.cpp188 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",
242 const size_t SIZE local
399 const size_t SIZE = 256; local
537 const size_t SIZE = 256; local
582 const size_t SIZE = 256; local
[all...]
H A DAudioProfile.cpp187 const size_t SIZE = 256; local
188 char buffer[SIZE];
191 snprintf(buffer, SIZE, "%s%s%s\n", mIsDynamicFormat ? "[dynamic format]" : "",
196 snprintf(buffer, SIZE, "%*s- name: %s\n", spaces, "", mName.string());
201 snprintf(buffer, SIZE, "%*s- format: %s\n", spaces, "", formatLiteral.c_str());
205 snprintf(buffer, SIZE, "%*s- sampling rates:", spaces, "");
208 snprintf(buffer, SIZE, "%d", mSamplingRates[i]);
216 snprintf(buffer, SIZE, "%*s- channel masks:", spaces, "");
219 snprintf(buffer, SIZE, "0x%04x", mChannelMasks[i]);
/frameworks/base/core/java/android/provider/
H A DOpenableColumns.java42 public static final String SIZE = "_size"; field in interface:OpenableColumns
/frameworks/base/libs/hwui/utils/
H A DFatVector.h41 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 DRingBuffer.h26 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 Dvec.h36 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 DDatabasePerformanceTests.java198 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 DNewDatabasePerformanceTests.java107 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 DByteArrayHelpers.java51 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 DMarshalHelpers.java36 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 DELFObjectWriter.h50 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/base/core/java/com/android/internal/util/
H A DCallbackRegistry.java100 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 DCallbackRegistry.java98 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);
226 if (index < Long.SIZE) {
234 final int maskIndex = (index / Long.SIZE) - 1;
241 final long bitMask = 1L << (index % Long.SIZE);
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp59 const size_t SIZE = 4096; local
60 char buffer[SIZE];
61 snprintf(buffer, SIZE, "Allocated buffers:\n");
67 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %8X | 0x%08x\n",
71 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %8X | 0x%08x\n",
78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f);
81 mAllocDev->dump(mAllocDev, buffer, SIZE);

Completed in 458 milliseconds

12345