Home
last modified time | relevance | path

Searched refs:mArray (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DColorMatrix.java62 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/
DStringArray.cpp32 : 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/v4/java/android/support/v4/util/
DSimpleArrayMap.java58 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 …]
DArrayMap.java81 return mArray[(index<<1) + offset]; in getCollection()
/frameworks/base/core/java/android/util/
DArrayMap.java84 Object[] mArray; field in ArrayMap
104 if (key.equals(mArray[index<<1])) { in indexOf()
111 if (key.equals(mArray[end << 1])) return end; in indexOf()
116 if (key.equals(mArray[i << 1])) return i; in indexOf()
142 if (null == mArray[index<<1]) { in indexOfNull()
149 if (null == mArray[end << 1]) return end; in indexOfNull()
154 if (null == mArray[i << 1]) return i; in indexOfNull()
172 mArray = array; in allocArrays()
186 mArray = array; in allocArrays()
199 mArray = new Object[size<<1]; in allocArrays()
[all …]
DArraySet.java73 Object[] mArray; field in ArraySet
93 if (key.equals(mArray[index])) { in indexOf()
100 if (key.equals(mArray[end])) return end; in indexOf()
105 if (key.equals(mArray[i])) return i; in indexOf()
131 if (null == mArray[index]) { in indexOfNull()
138 if (null == mArray[end]) return end; in indexOfNull()
143 if (null == mArray[i]) return i; in indexOfNull()
158 mArray = array; in allocArrays()
172 mArray = array; in allocArrays()
185 mArray = new Object[size]; in allocArrays()
[all …]
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java48 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 …]
DApplicationParameter.java40 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/
DUnmodifiableSparseIntArray.java27 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()
DUnmodifiableSparseArray.java27 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/wilhelm/src/itf/
DIBufferQueue.c59 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()
184 thiz->mArray = NULL; in IBufferQueue_init()
207 if ((NULL != thiz->mArray) && (thiz->mArray != thiz->mTypical)) { in IBufferQueue_deinit()
208 free(thiz->mArray); in IBufferQueue_deinit()
209 thiz->mArray = NULL; in IBufferQueue_deinit()
DIEngine.c28 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()
DIOutputMixExt.c73 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/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_script_group2_gatherscatter.java31 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/base/core/java/android/animation/
DIntArrayEvaluator.java27 private int[] mArray; field in IntArrayEvaluator
48 mArray = reuseArray; in IntArrayEvaluator()
64 int[] array = mArray; in evaluate()
DFloatArrayEvaluator.java27 private float[] mArray; field in FloatArrayEvaluator
48 mArray = reuseArray; in FloatArrayEvaluator()
65 float[] array = mArray; in evaluate()
/frameworks/av/include/media/
DStringArray.h66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry()
78 char** mArray; variable
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLogger.java240 private CircularArray<E> mArray; field in WifiLogger.LimitedCircularArray
243 mArray = new CircularArray<E>(); in LimitedCircularArray()
248 if (mArray.size() >= mMax) in addLast()
249 mArray.popFirst(); in addLast()
250 mArray.addLast(e); in addLast()
254 return mArray.size(); in size()
258 return mArray.get(i); in get()
/frameworks/base/rs/java/android/renderscript/
DType.java340 int[] mArray = new int[mMaxArrays]; field in Type.Builder
399 mArray[dim] = value; in setArray()
469 if (mArray[ct] != 0 && arrays == null) { in create()
472 if ((mArray[ct] == 0) && (arrays != null)) { in create()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBracketTest.java26 private String[] mArray = { field in BracketTest
51 mBinder.setArray(mArray); in setUp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java128 private int[] mArray; field in Bridge.IntArray
135 mArray = a; in IntArray()
139 mArray = a; in set()
144 return Arrays.hashCode(mArray); in hashCode()
154 return Arrays.equals(mArray, other.mArray); in equals()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp275 if (newFront == &ar->mBufferQueue.mArray[ar->mBufferQueue.mNumBuffers + 1]) { in audioRecorder_callback()
276 newFront = ar->mBufferQueue.mArray; in audioRecorder_callback()
DAudioPlayer_to_android.cpp137 if (newFront == &ap->mBufferQueue.mArray[ap->mBufferQueue.mNumBuffers + 1]) { in adecoder_writeToBufferQueue()
138 newFront = ap->mBufferQueue.mArray; in adecoder_writeToBufferQueue()
1177 &ap->mBufferQueue.mArray in audioTrack_callBack_pullFromBuffQueue()
1180 newFront = ap->mBufferQueue.mArray; in audioTrack_callBack_pullFromBuffQueue()
/frameworks/base/docs/html/training/articles/
Dperf-tips.jd202 Foo[] mArray = ...
206 for (int i = 0; i &lt; mArray.length; ++i) {
207 sum += mArray[i].mSplat;
213 Foo[] localArray = mArray;
223 for (Foo a : mArray) {
/frameworks/wilhelm/src/
Ditfstruct.h236 BufferHeader *mArray; member