/frameworks/base/libs/hwui/apex/java/android/graphics/ |
D | ColorMatrix.java | 62 private final float[] mArray = new float[20]; field in ColorMatrix 76 System.arraycopy(src, 0, mArray, 0, 20); in ColorMatrix() 83 System.arraycopy(src.mArray, 0, mArray, 0, 20); in ColorMatrix() 89 public final float[] getArray() { return mArray; } in getArray() 101 final float[] a = mArray; in reset() 110 System.arraycopy(src.mArray, 0, mArray, 0, 20); in set() 117 System.arraycopy(src, 0, mArray, 0, 20); in set() 125 final float[] a = mArray; in setScale() 152 mArray[6] = mArray[12] = cosine; in setRotate() 153 mArray[7] = sine; in setRotate() [all …]
|
/frameworks/av/media/libmedia/ |
D | StringArray.cpp | 32 : mMax(0), mCurrent(0), mArray(NULL) in StringArray() 38 delete[] mArray[i]; in ~StringArray() 39 delete[] mArray; in ~StringArray() 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); in push_back() 59 delete[] mArray; in push_back() 60 mArray = tmp; in push_back() 64 mArray[mCurrent] = new char[len+1]; in push_back() 65 memcpy(mArray[mCurrent], str, len+1); in push_back() 77 delete[] mArray[idx]; in erase() 79 memmove(&mArray[idx], &mArray[idx+1], in erase() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | DeepArrayOpsPerfTest.java | 40 private Object[] mArray; field in DeepArrayOpsPerfTest 48 mArray = new Object[arrayLength * 14]; in setUp() 51 mArray[i] = new IntWrapper(i); in setUp() 54 mArray[i + 1] = new16ElementObjectmArray(); in setUp() 57 mArray[i + 2] = new boolean[16]; in setUp() 60 mArray[i + 3] = new byte[16]; in setUp() 63 mArray[i + 4] = new char[16]; in setUp() 66 mArray[i + 5] = new short[16]; in setUp() 69 mArray[i + 6] = new float[16]; in setUp() 72 mArray[i + 7] = new long[16]; in setUp() [all …]
|
D | ArrayIterationPerfTest.java | 43 Foo[] mArray = new Foo[27]; field in ArrayIterationPerfTest 45 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo(); 52 for (int i = 0; i < mArray.length; i++) { in timeArrayIteration() 53 sum += mArray[i].mSplat; in timeArrayIteration() 62 Foo[] localArray = mArray; in timeArrayIterationCached() 75 for (Foo a: mArray) { in timeArrayIterationForEach()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | UnmodifiableSparseIntArray.java | 27 private final SparseIntArray mArray; field in UnmodifiableSparseIntArray 30 mArray = array; in UnmodifiableSparseIntArray() 34 return mArray.size(); in size() 38 return mArray.get(key); in get() 42 return mArray.get(key, valueIfKeyNotFound); in get() 46 return mArray.keyAt(index); in keyAt() 50 return mArray.valueAt(index); in valueAt() 54 return mArray.indexOfValue(value); in indexOfValue() 59 return mArray.toString(); in toString()
|
D | UnmodifiableSparseArray.java | 27 private final SparseArray<E> mArray; field in UnmodifiableSparseArray 30 mArray = array; in UnmodifiableSparseArray() 34 return mArray.size(); in size() 38 return mArray.get(key); in get() 42 return mArray.get(key, valueIfKeyNotFound); in get() 46 return mArray.keyAt(index); in keyAt() 50 return mArray.valueAt(index); in valueAt() 54 return mArray.indexOfValue(value); in indexOfValue() 59 return mArray.toString(); in toString()
|
/frameworks/base/core/java/android/util/ |
D | ArrayMap.java | 123 Object[] mArray; field in ArrayMap 157 if (key.equals(mArray[index<<1])) { in indexOf() 164 if (key.equals(mArray[end << 1])) return end; in indexOf() 169 if (key.equals(mArray[i << 1])) return i; in indexOf() 196 if (null == mArray[index<<1]) { in indexOfNull() 203 if (null == mArray[end << 1]) return end; in indexOfNull() 208 if (null == mArray[i << 1]) return i; in indexOfNull() 227 mArray = array; in allocArrays() 254 mArray = array; in allocArrays() 280 mArray = new Object[size<<1]; in allocArrays() [all …]
|
D | ArraySet.java | 92 Object[] mArray; field in ArraySet 123 if (key.equals(mArray[index])) { in indexOf() 130 if (key.equals(mArray[end])) return end; in indexOf() 135 if (key.equals(mArray[i])) return i; in indexOf() 162 if (null == mArray[index]) { in indexOfNull() 169 if (null == mArray[end]) return end; in indexOfNull() 174 if (null == mArray[i]) return i; in indexOfNull() 191 mArray = array; in allocArrays() 218 mArray = array; in allocArrays() 243 mArray = new Object[size]; in allocArrays() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteMemoryIntArrayService.java | 31 private MemoryIntArray mArray; field in RemoteMemoryIntArrayService 41 mArray = new MemoryIntArray(size); in onBind() 51 return mArray; in onBind() 58 return mArray.isWritable(); in onBind() 66 return mArray.get(index); in onBind() 77 mArray.set(index, value); in onBind() 88 return mArray.size(); in onBind() 99 mArray.close(); in onBind() 109 return mArray.isClosed(); in onBind()
|
/frameworks/base/startop/apps/test/src/ |
D | CPUIntensiveBenchmarks.java | 27 public static int[][] mArray; field in CPUIntensiveBenchmarks 35 final int arrayLength = mArray[mThreadNumber].length; in run() 37 mArray[mThreadNumber][i] = i * i; in run() 41 int swap = mArray[mThreadNumber][j]; in run() 42 mArray[mThreadNumber][j] = mArray[mThreadNumber][(j + i) % arrayLength]; in run() 43 mArray[mThreadNumber][(j + i) % arrayLength] = swap; in run() 50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()
|
/frameworks/wilhelm/src/itf/ |
D | IBufferQueue.cpp | 58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { in IBufferQueue_Enqueue() 59 newRear = thiz->mArray; in IBufferQueue_Enqueue() 95 thiz->mFront = &thiz->mArray[0]; in IBufferQueue_Clear() 96 thiz->mRear = &thiz->mArray[0]; in IBufferQueue_Clear() 187 thiz->mArray = NULL; in IBufferQueue_init() 210 if ((NULL != thiz->mArray) && (thiz->mArray != thiz->mTypical)) { in IBufferQueue_deinit() 211 free(thiz->mArray); in IBufferQueue_deinit() 212 thiz->mArray = NULL; in IBufferQueue_deinit()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_script_group2_gatherscatter.java | 32 int[] mArray; field in UT_script_group2_gatherscatter 39 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals() 42 mArray[i * 4] = i * 7; in initializeGlobals() 43 mArray[i * 4 + 1] = i * 7 + 1; in initializeGlobals() 44 mArray[i * 4 + 2] = i * 7 + 2; in initializeGlobals() 45 mArray[i * 4 + 3] = i * 7 + 3; in initializeGlobals() 70 input.copyFrom(mArray); in run()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_script_group2_gatherscatter.java | 30 int[] mArray; field in UT_script_group2_gatherscatter 37 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals() 40 mArray[i * 4] = i * 7; in initializeGlobals() 41 mArray[i * 4 + 1] = i * 7 + 1; in initializeGlobals() 42 mArray[i * 4 + 2] = i * 7 + 2; in initializeGlobals() 43 mArray[i * 4 + 3] = i * 7 + 3; in initializeGlobals() 68 input.copyFrom(mArray); in run()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 185 int[] mArray; field in HealthKeys.SortedIntArray 191 mArray = new int[maxCount]; in SortedIntArray() 198 mArray[mCount++] = value; in addValue() 206 if (mCount == mArray.length) { in getArray() 207 Arrays.sort(mArray); in getArray() 208 return mArray; in getArray() 211 System.arraycopy(mArray, 0, result, 0, mCount); in getArray()
|
/frameworks/minikin/include/minikin/ |
D | SparseBitSet.h | 107 __attribute__((aligned(4))) uint32_t mArray[]; member 108 const element* bitmaps() const { return mArray; } in bitmaps() 109 element* bitmaps() { return mArray; } in bitmaps() 111 return reinterpret_cast<const uint16_t*>(mArray + mBitmapsCount); in indices() 113 uint16_t* indices() { return reinterpret_cast<uint16_t*>(mArray + mBitmapsCount); } in indices() 121 return offsetof(MappableData, mArray) + sizeof(uint32_t) * arrayCount; in calcSize()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/varhandles/ |
D | VarHandleSetArrayLittleEndianIntPerfTest.java | 38 int[] mArray = {ELEMENT_VALUE}; field in VarHandleSetArrayLittleEndianIntPerfTest 47 if (mArray[0] != ~42) { in teardown() 48 throw new RuntimeException("array element has unexpected value: " + mArray[0]); in teardown() 54 int[] a = mArray; in run()
|
D | VarHandleSetArrayLittleEndianStringPerfTest.java | 38 String[] mArray = {ELEMENT_VALUE}; field in VarHandleSetArrayLittleEndianStringPerfTest 47 if (mArray[0] != null) { in teardown() 48 throw new RuntimeException("array element has unexpected value: " + mArray[0]); in teardown() 54 String[] a = mArray; in run()
|
D | VarHandleGetArrayLittleEndianIntPerfTest.java | 38 int[] mArray = {ELEMENT_VALUE}; field in VarHandleGetArrayLittleEndianIntPerfTest 47 int v = (int) mVh.get(mArray, 0); in setup() 55 int[] a = mArray; in run()
|
D | VarHandleGetArrayLittleEndianStringPerfTest.java | 38 String[] mArray = {ELEMENT_VALUE}; field in VarHandleGetArrayLittleEndianStringPerfTest 47 String v = (String) mVh.get(mArray, 0); in setup() 55 String[] a = mArray; in run()
|
/frameworks/base/core/java/android/animation/ |
D | IntArrayEvaluator.java | 27 private int[] mArray; field in IntArrayEvaluator 48 mArray = reuseArray; in IntArrayEvaluator() 64 int[] array = mArray; in evaluate()
|
D | FloatArrayEvaluator.java | 27 private float[] mArray; field in FloatArrayEvaluator 48 mArray = reuseArray; in FloatArrayEvaluator() 65 float[] array = mArray; in evaluate()
|
/frameworks/av/media/libmedia/include/media/ |
D | StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry() 78 char** mArray; variable
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 1063 private final TagData[] mArray; field in TagDatabase 1070 mArray = new TagData[size - 1]; in TagDatabase() 1077 sb.append("Tag Database: size(").append(mArray.length).append(")"); in toString() 1082 for (TagData tagData : mArray) { in toString() 1098 sb.append("\n ").append(Arrays.toString(mArray)); in toString() 1118 if (index < 0 || index >= mArray.length || index == mInvalidIndex) { in getTag() 1121 return mArray[index]; in getTag() 1162 for (int i = 0; i < mArray.length; i++) { in findOrCreateTag() 1163 TagData current = mArray[i]; in findOrCreateTag() 1214 if (index < 0 || index >= mArray.length) { in setToIndex() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 345 int[] mArray = new int[mMaxArrays]; field in Type.Builder 404 mArray[dim] = value; in setArray() 474 if (mArray[ct] != 0 && arrays == null) { in create() 477 if ((mArray[ct] == 0) && (arrays != null)) { in create()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | PowerProfile.java | 283 private ArrayList<Float> mArray; field in PowerProfile.AndroidResourceHandler 334 mArray = new ArrayList<Float>(); in startElement() 367 final int N = mArray.size(); in endElement() 370 values[i] = mArray.get(i); in endElement() 372 mArray = null; in endElement() 378 mArray.add(parseFloat(finishCapturingText())); in endElement()
|