/frameworks/base/graphics/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/support/compat/java/android/support/v4/util/ |
D | SimpleArrayMap.java | 58 Object[] mArray; field in SimpleArrayMap 77 if (key.equals(mArray[index<<1])) { in indexOf() 84 if (key.equals(mArray[end << 1])) return end; in indexOf() 89 if (key.equals(mArray[i << 1])) return i; in indexOf() 115 if (null == mArray[index<<1]) { in indexOfNull() 122 if (null == mArray[end << 1]) return end; in indexOfNull() 127 if (null == mArray[i << 1]) return i; in indexOfNull() 142 mArray = array; in allocArrays() 156 mArray = array; in allocArrays() 169 mArray = new Object[size<<1]; in allocArrays() [all …]
|
D | ArrayMap.java | 81 return mArray[(index<<1) + offset]; in getCollection()
|
/frameworks/base/core/java/android/util/ |
D | ArrayMap.java | 85 Object[] mArray; field in ArrayMap 105 if (key.equals(mArray[index<<1])) { in indexOf() 112 if (key.equals(mArray[end << 1])) return end; in indexOf() 117 if (key.equals(mArray[i << 1])) return i; in indexOf() 143 if (null == mArray[index<<1]) { in indexOfNull() 150 if (null == mArray[end << 1]) return end; in indexOfNull() 155 if (null == mArray[i << 1]) return i; in indexOfNull() 173 mArray = array; in allocArrays() 187 mArray = array; in allocArrays() 200 mArray = new Object[size<<1]; in allocArrays() [all …]
|
D | ArraySet.java | 74 Object[] mArray; field in ArraySet 94 if (key.equals(mArray[index])) { in indexOf() 101 if (key.equals(mArray[end])) return end; in indexOf() 106 if (key.equals(mArray[i])) return i; in indexOf() 132 if (null == mArray[index]) { in indexOfNull() 139 if (null == mArray[end]) return end; in indexOfNull() 144 if (null == mArray[i]) return i; in indexOfNull() 160 mArray = array; in allocArrays() 183 mArray = array; in allocArrays() 204 mArray = new Object[size]; in allocArrays() [all …]
|
/frameworks/base/obex/javax/obex/ |
D | PrivateOutputStream.java | 48 private ByteArrayOutputStream mArray; field in PrivateOutputStream 60 mArray = new ByteArrayOutputStream(); in PrivateOutputStream() 70 return mArray.size(); in size() 85 mArray.write(b); in write() 86 if (mArray.size() == mMaxPacketSize) { in write() 110 while ((mArray.size() + remainLength) >= mMaxPacketSize) { in write() 111 int bufferLeft = mMaxPacketSize - mArray.size(); in write() 112 mArray.write(buffer, offset1, bufferLeft); in write() 118 mArray.write(buffer, offset1, remainLength); in write() 128 if (mArray.size() > 0) { in readBytes() [all …]
|
D | ApplicationParameter.java | 40 private byte[] mArray; field in ApplicationParameter 112 mArray = new byte[mMaxLength]; in ApplicationParameter() 119 System.arraycopy(mArray, 0, array_tmp, 0, mLength); in addAPPHeader() 120 mArray = array_tmp; in addAPPHeader() 123 mArray[mLength++] = tag; in addAPPHeader() 124 mArray[mLength++] = len; in addAPPHeader() 125 System.arraycopy(value, 0, mArray, mLength, len); in addAPPHeader() 131 System.arraycopy(mArray, 0, para, 0, mLength); in getAPPparam()
|
/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/wifi/java/android/net/wifi/nan/ |
D | TlvBufferUtils.java | 60 private byte[] mArray; field in TlvBufferUtils.TlvConstructor 92 mArray = array; in wrap() 105 mArray = new byte[capacity]; in allocate() 123 mArray[mPosition++] = b; in putByte() 143 System.arraycopy(array, offset, mArray, mPosition, length); in putByteArray() 191 Memory.pokeShort(mArray, mPosition, data, ByteOrder.BIG_ENDIAN); in putShort() 209 Memory.pokeInt(mArray, mPosition, data, ByteOrder.BIG_ENDIAN); in putInt() 242 return mArray; in getArray() 264 mArray[mPosition] = (byte) type; in addHeader() 266 Memory.pokeShort(mArray, mPosition, (short) type, ByteOrder.BIG_ENDIAN); in addHeader() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteMemoryIntArrayService.java | 31 private MemoryIntArray mArray; field in RemoteMemoryIntArrayService 41 mArray = new MemoryIntArray(size, clientWritable); 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/wilhelm/src/itf/ |
D | IBufferQueue.c | 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()
|
D | IEngine.c | 28 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical; in initializeBufferQueueMembers() 36 ap->mBufferQueue.mArray = (BufferHeader *) in initializeBufferQueueMembers() 38 if (NULL == ap->mBufferQueue.mArray) { in initializeBufferQueueMembers() 42 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; in initializeBufferQueueMembers() 43 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray; in initializeBufferQueueMembers() 504 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; in IEngine_CreateAudioRecorder() 513 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. in IEngine_CreateAudioRecorder() 515 if (NULL == thiz->mBufferQueue.mArray) { in IEngine_CreateAudioRecorder() 520 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder() 521 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
|
D | IOutputMixExt.c | 73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0]; in track_check() 74 audioPlayer->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0]; in track_check() 281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) { in IOutputMixExt_FillBuffer() 282 newFront = bufferQueue->mArray; in IOutputMixExt_FillBuffer()
|
/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/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_script_group2_gatherscatter.java | 31 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() 71 input.copyFrom(mArray); in run()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_script_group2_gatherscatter.java | 33 int[] mArray; field in UT_script_group2_gatherscatter 41 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals() 44 mArray[i*4] = i * 7; in initializeGlobals() 45 mArray[i*4 + 1] = i * 7 + 1; in initializeGlobals() 46 mArray[i*4 + 2] = i * 7 + 2; in initializeGlobals() 47 mArray[i*4 + 3] = i * 7 + 3; in initializeGlobals() 73 input.copyFrom(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/include/media/ |
D | StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry() 78 char** mArray; variable
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 341 int[] mArray = new int[mMaxArrays]; field in Type.Builder 400 mArray[dim] = value; in setArray() 470 if (mArray[ct] != 0 && arrays == null) { in create() 473 if ((mArray[ct] == 0) && (arrays != null)) { in create()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | BracketTest.java | 26 private String[] mArray = { field in BracketTest 51 mBinder.setArray(mArray); in setUp()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 129 private int[] mArray; field in Bridge.IntArray 136 mArray = a; in IntArray() 140 mArray = a; in set() 145 return Arrays.hashCode(mArray); in hashCode() 155 return Arrays.equals(mArray, other.mArray); in equals()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 113 mEnv(env), mArray(array), mSize(mEnv->GetArrayLength(mArray)) {} in JavaArrayWriter() 118 mEnv->SetByteArrayRegion(mArray, offset, length, static_cast<jbyte*>(data)); in write() 127 jbyteArray mArray; member in __anon53dd3c460111::JavaArrayWriter
|