Searched refs:SIZE (Results 1 - 25 of 125) 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 DAudioCollections.cpp43 const size_t SIZE = 256; local
44 char buffer[SIZE];
46 snprintf(buffer, SIZE, "\n%*sAudio Routes (%zu):\n", spaces, "", size());
49 snprintf(buffer, SIZE, "%*s- Route %zu:\n", spaces, "", i + 1);
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 DVolumeCurve.cpp73 const size_t SIZE = 256; local
74 char buffer[SIZE];
76 snprintf(buffer, SIZE, " {");
79 snprintf(buffer, SIZE, "(%3d, %5d)",
89 const size_t SIZE = 256; local
90 char buffer[SIZE];
94 snprintf(buffer, SIZE, "%s %02d %02d ",
98 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i));
109 snprintf(buffer, SIZE, "%*s %s :",
120 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.cpp39 const size_t SIZE = 256; local
40 char buffer[SIZE];
43 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
45 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
47 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
49 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid);
51 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources);
57 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "",
61 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
66 snprintf(buffer, SIZE, "
166 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 DAudioSession.cpp140 const size_t SIZE = 256; local
141 char buffer[SIZE];
144 snprintf(buffer, SIZE, "%*sAudio session %d:\n", spaces, "", index+1);
146 snprintf(buffer, SIZE, "%*s- session: %2d\n", spaces, "", mRecordClientInfo.session);
148 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mRecordClientInfo.uid);
150 snprintf(buffer, SIZE, "%*s- input source: %d\n", spaces, "", mRecordClientInfo.source);
152 snprintf(buffer, SIZE, "%*s- format: %08x\n", spaces, "", mConfig.format);
154 snprintf(buffer, SIZE, "%*s- sample: %d\n", spaces, "", mConfig.sample_rate);
156 snprintf(buffer, SIZE, "%*s- channel mask: %08x\n",
159 snprintf(buffer, SIZE, "
283 const size_t SIZE = 256; local
[all...]
H A DIOProfile.cpp113 const size_t SIZE = 256; local
114 char buffer[SIZE];
119 snprintf(buffer, SIZE, " - flags: 0x%04x", getFlags());
135 snprintf(buffer, SIZE, "\n - maxOpenCount: %u - curOpenCount: %u\n",
138 snprintf(buffer, SIZE, " - maxActiveCount: %u - curActiveCount: %u\n",
H A DAudioOutputDescriptor.cpp189 const size_t SIZE = 256; local
190 char buffer[SIZE];
193 snprintf(buffer, SIZE, " ID: %d\n", mId);
195 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate);
197 snprintf(buffer, SIZE, " Format: %08x\n", mFormat);
199 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask);
201 snprintf(buffer, SIZE, " Devices %08x\n", device());
203 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n");
206 snprintf(buffer, SIZE, " %02d %.03f %02d %02d\n",
237 const size_t SIZE local
546 const size_t SIZE = 256; local
720 const size_t SIZE = 256; local
765 const size_t SIZE = 256; local
[all...]
H A DAudioPolicyMix.cpp57 const size_t SIZE = 256; local
58 char buffer[SIZE];
61 snprintf(buffer, SIZE, "%*sAudio Policy Mix %d:\n", spaces, "", index+1);
68 snprintf(buffer, SIZE, "%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str());
72 snprintf(buffer, SIZE, "%*s- Route Flags: %s\n", spaces, "", routeFlagLiteral.c_str());
76 snprintf(buffer, SIZE, "%*s- device type: %s\n", spaces, "", deviceLiteral.c_str());
78 snprintf(buffer, SIZE, "%*s- device address: %s\n", spaces, "", mMix.mDeviceAddress.string());
83 snprintf(buffer, SIZE, "%*s- Criterion %d:\n", spaces + 2, "", indexCriterion++);
90 snprintf(buffer, SIZE, "%*s- Usage:%s\n", spaces + 4, "", usageLiteral.c_str());
98 snprintf(buffer, SIZE, "
[all...]
/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>
50 char array[sizeof(T) * SIZE];
62 if (!mAllocation.inUse && num <= SIZE) {
82 * std::vector with SIZE elements preallocated into an internal buffer.
84 * Useful for avoiding the cost of malloc in cases where only SIZE or
87 template <typename T, size_t SIZE>
88 class FatVector : public std::vector<T, InlineStdAllocator<T, SIZE>> {
91 : 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) {
59 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/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/base/core/java/com/android/internal/util/
H A DStatLogger.java40 private final int SIZE; field in class:StatLogger
69 SIZE = eventLabels.length;
70 mCountStats = new int[SIZE];
71 mDurationStats = new long[SIZE];
72 mCallsPerSecond = new int[SIZE];
73 mMaxCallsPerSecond = new int[SIZE];
74 mDurationPerSecond = new long[SIZE];
75 mMaxDurationPerSecond = new long[SIZE];
76 mMaxDurationStats = new long[SIZE];
97 if (eventId >= 0 && eventId < SIZE) {
[all...]
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/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/av/services/audioflinger/
H A DBufLog.h81 #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/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);
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 DFifoBuffer.h32 SIZE = 2 enumerator in enum:android::WrappingBuffer::__anon171
34 void *data[SIZE];
35 int32_t numFrames[SIZE];
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp58 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);

Completed in 447 milliseconds

12345