/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrix.java | 38 private final float[] mArray = new float[20]; field in ColorMatrix 52 System.arraycopy(src, 0, mArray, 0, 20); in ColorMatrix() 59 System.arraycopy(src.mArray, 0, mArray, 0, 20); in ColorMatrix() 65 public final float[] getArray() { return mArray; } in getArray() 75 final float[] a = mArray; in reset() 87 System.arraycopy(src.mArray, 0, mArray, 0, 20); in set() 94 System.arraycopy(src, 0, mArray, 0, 20); in set() 102 final float[] a = mArray; in setScale() 127 mArray[6] = mArray[12] = cosine; in setRotate() 128 mArray[7] = sine; in setRotate() [all …]
|
/frameworks/native/libs/utils/ |
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/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/core/java/android/webkit/ |
D | WebBackForwardListClassic.java | 28 private ArrayList<WebHistoryItemClassic> mArray; field in WebBackForwardListClassic 36 mArray = new ArrayList<WebHistoryItemClassic>(); in WebBackForwardListClassic() 52 return mArray.get(index); in getItemAtIndex() 56 return mArray.size(); in getSize() 88 final int size = mArray.size(); in addHistoryItem() 92 final WebHistoryItem h = mArray.remove(i); in addHistoryItem() 96 mArray.add((WebHistoryItemClassic) item); in addHistoryItem() 108 mArray.clear(); in close() 124 final WebHistoryItem h = mArray.remove(index); in removeHistoryItem() 139 l.mArray = new ArrayList<WebHistoryItemClassic>(size); in clone() [all …]
|
D | ByteArrayBuilder.java | 54 if (c.mLength == c.mArray.length) { in append() 59 int amount = Math.min(length, c.mArray.length - c.mLength); in append() 60 System.arraycopy(array, offset, c.mArray, c.mLength, amount); in append() 132 public byte[] mArray; field in ByteArrayBuilder.Chunk 136 mArray = new byte[length]; in Chunk()
|
D | KeyStoreHandler.java | 68 System.arraycopy(c.mArray, 0, cert, offset, c.mLength); in installCert()
|
/frameworks/wilhelm/src/itf/ |
D | IBufferQueue.c | 59 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { in IBufferQueue_Enqueue() 60 newRear = thiz->mArray; in IBufferQueue_Enqueue() 94 thiz->mFront = &thiz->mArray[0]; in IBufferQueue_Clear() 95 thiz->mRear = &thiz->mArray[0]; in IBufferQueue_Clear() 183 thiz->mArray = NULL; in IBufferQueue_init() 205 if ((NULL != thiz->mArray) && (thiz->mArray != thiz->mTypical)) { in IBufferQueue_deinit() 206 free(thiz->mArray); in IBufferQueue_deinit() 207 thiz->mArray = NULL; in IBufferQueue_deinit()
|
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()
|
D | IEngine.c | 27 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical; in initializeBufferQueueMembers() 35 ap->mBufferQueue.mArray = (BufferHeader *) in initializeBufferQueueMembers() 37 if (NULL == ap->mBufferQueue.mArray) { in initializeBufferQueueMembers() 41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; in initializeBufferQueueMembers() 42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray; in initializeBufferQueueMembers() 494 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; in IEngine_CreateAudioRecorder() 503 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. in IEngine_CreateAudioRecorder() 505 if (NULL == thiz->mBufferQueue.mArray) { in IEngine_CreateAudioRecorder() 510 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder() 511 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
|
/frameworks/native/include/utils/ |
D | StringArray.h | 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry() 78 char** mArray; variable
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 121 private int[] mArray; field in Bridge.IntArray 128 mArray = a; in IntArray() 132 mArray = a; in set() 137 return Arrays.hashCode(mArray); in hashCode() 147 if (!Arrays.equals(mArray, other.mArray)) return false; in equals()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 247 if (newFront == &ar->mBufferQueue.mArray[ar->mBufferQueue.mNumBuffers + 1]) { in audioRecorder_callback() 248 newFront = ar->mBufferQueue.mArray; in audioRecorder_callback()
|
D | AudioPlayer_to_android.cpp | 135 if (newFront == &ap->mBufferQueue.mArray[ap->mBufferQueue.mNumBuffers + 1]) { in adecoder_writeToBufferQueue() 136 newFront = ap->mBufferQueue.mArray; in adecoder_writeToBufferQueue() 1133 &ap->mBufferQueue.mArray in audioTrack_callBack_pullFromBuffQueue() 1136 newFront = ap->mBufferQueue.mArray; in audioTrack_callBack_pullFromBuffQueue()
|
/frameworks/base/docs/html/training/articles/ |
D | perf-tips.jd | 203 Foo[] mArray = ... 207 for (int i = 0; i < mArray.length; ++i) { 208 sum += mArray[i].mSplat; 214 Foo[] localArray = mArray; 224 for (Foo a : mArray) {
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 236 BufferHeader *mArray; member
|