/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/base/core/java/android/provider/ |
H A D | OpenableColumns.java | 42 public static final String SIZE = "_size"; field in interface:OpenableColumns
|
/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/libs/hwui/utils/ |
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) { 63 T mBuffer[SIZE];
|
/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/av/services/audiopolicy/common/managerdefinitions/src/ |
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"); 175 const size_t SIZE = 256; local 176 char buffer[SIZE]; 178 snprintf(buffer, SIZE, "\nTota [all...] |
H A D | AudioGain.cpp | 104 const size_t SIZE = 256; local 105 char buffer[SIZE]; 108 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1); 110 snprintf(buffer, SIZE, "%*s- mode: %08x\n", spaces, "", mGain.mode); 112 snprintf(buffer, SIZE, "%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask); 114 snprintf(buffer, SIZE, "%*s- min_value: %d mB\n", spaces, "", mGain.min_value); 116 snprintf(buffer, SIZE, "%*s- max_value: %d mB\n", spaces, "", mGain.max_value); 118 snprintf(buffer, SIZE, "%*s- default_value: %d mB\n", spaces, "", mGain.default_value); 120 snprintf(buffer, SIZE, "%*s- step_value: %d mB\n", spaces, "", mGain.step_value); 122 snprintf(buffer, SIZE, " [all...] |
H A D | AudioPatch.cpp | 40 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); 56 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, " 144 const size_t SIZE = 256; local [all...] |
H A D | StreamDescriptor.cpp | 79 const size_t SIZE = 256; local 80 char buffer[SIZE]; 83 snprintf(buffer, SIZE, "%s %02d %02d ", 87 snprintf(buffer, SIZE, "%04x : %02d, ", 145 const size_t SIZE = 256; local 146 char buffer[SIZE]; 148 snprintf(buffer, SIZE, "\nStreams dump:\n"); 150 snprintf(buffer, SIZE, 154 snprintf(buffer, SIZE, " %02zu ", i);
|
H A D | IOProfile.cpp | 123 const size_t SIZE = 256; local 124 char buffer[SIZE]; 129 snprintf(buffer, SIZE, " - flags: 0x%04x\n", mFlags); 131 snprintf(buffer, SIZE, " - devices:\n"); 141 const size_t SIZE = 256; local 142 char buffer[SIZE];
|
H A D | AudioInputDescriptor.cpp | 118 const size_t SIZE = 256; local 119 char buffer[SIZE]; 122 snprintf(buffer, SIZE, " ID: %d\n", getId()); 124 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); 126 snprintf(buffer, SIZE, " Format: %d\n", mFormat); 128 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); 130 snprintf(buffer, SIZE, " Devices %08x\n", mDevice); 132 snprintf(buffer, SIZE, " Ref Count %d\n", mRefCount); 134 snprintf(buffer, SIZE, " Open Ref Count %d\n", mOpenRefCount); 201 const size_t SIZE local [all...] |
H A D | AudioOutputDescriptor.cpp | 190 const size_t SIZE = 256; local 191 char buffer[SIZE]; 194 snprintf(buffer, SIZE, " ID: %d\n", mId); 196 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); 198 snprintf(buffer, SIZE, " Format: %08x\n", mFormat); 200 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); 202 snprintf(buffer, SIZE, " Devices %08x\n", device()); 204 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n"); 207 snprintf(buffer, SIZE, " %02d %.03f %02d %02d\n", 244 const size_t SIZE local 483 const size_t SIZE = 256; local [all...] |
/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/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); 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 D | GraphicBufferAllocator.cpp | 59 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);
|
/frameworks/av/media/libmedia/ |
H A D | MemoryLeakTrackUtil.cpp | 78 const size_t SIZE = 256; local 79 char buffer[SIZE]; 99 snprintf(buffer, SIZE, " Allocation count %i\n", count); 101 snprintf(buffer, SIZE, " Total memory %i\n", totalMemory); 154 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size, e->dups); 160 snprintf(buffer, SIZE, "0x%08x", e->backtrace[ct]);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenLog.java | 39 private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20; field in class:ZenLog 41 private static final long[] TIMES = new long[SIZE]; 42 private static final int[] TYPES = new int[SIZE]; 43 private static final String[] MSGS = new String[SIZE]; 201 sNext = (sNext + 1) % SIZE; 202 if (sSize < SIZE) { 211 final int start = (sNext - sSize + SIZE) % SIZE; 213 final int j = (start + i) % SIZE;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableBlackLevelPattern.java | 32 private static final int SIZE = SIZEOF_INT32 * BlackLevelPattern.COUNT; field in class:MarshalQueryableBlackLevelPattern 60 return SIZE;
|
H A D | MarshalQueryableColorSpaceTransform.java | 35 private static final int SIZE = SIZEOF_INT32 * ELEMENTS_INT32; field in class:MarshalQueryableColorSpaceTransform 67 return SIZE;
|
H A D | MarshalQueryableRect.java | 32 private static final int SIZE = SIZEOF_INT32 * 4; field in class:MarshalQueryableRect 63 return SIZE;
|
H A D | MarshalQueryableRggbChannelVector.java | 32 private static final int SIZE = SIZEOF_FLOAT * RggbChannelVector.COUNT; field in class:MarshalQueryableRggbChannelVector 59 return SIZE;
|