Home
last modified time | relevance | path

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

12

/cts/suite/cts/deviceTests/opengl/jni/graphics/
DMatrix.cpp34 const float* d = &(mData[i * 4]); in print()
41 const float* d = src.mData; in equals()
43 if (mData[i] != d[i]) { in equals()
51 memcpy(mData, src.mData, MATRIX_SIZE * sizeof(float)); in loadWith()
55 mData[0] = 1.0f; in identity()
56 mData[1] = 0.0f; in identity()
57 mData[2] = 0.0f; in identity()
58 mData[3] = 0.0f; in identity()
60 mData[4] = 0.0f; in identity()
61 mData[5] = 1.0f; in identity()
[all …]
DPerspectiveMeshNode.cpp48 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
55 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
DMatrix.h20 float mData[MATRIX_SIZE]; variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java24 private double[] mData; field in VectorAverage
29 if (mData == null || mData.length != size) { in setData()
30 mData = new double[size]; in setData()
34 System.arraycopy(data, 0, mData, 0, size); in setData()
38 mData[i] += data[i]; in setData()
46 if (mData != null && mData.length <= data.length) { in getData()
47 nCount = mData.length; in getData()
54 data[i] = mData[i] / mValueCount; in getData()
58 data[i] = mData[i]; in getData()
70 if (mData != null) { in getSize()
[all …]
DDspBufferMath.java78 ((DspBufferDouble) x).mData[i] + ((DspBufferDouble) y).mData[i]; in add()
93 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; in add()
102 ((DspBufferDouble) r).mData[i] = in add()
103 ((DspBufferDouble) x).mData[i] + ((DspBufferDouble) y).mData[i]; in add()
108 ((DspBufferDouble) r).mData[i] = in add()
114 ((DspBufferDouble) r).mData[i] = in add()
115 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; in add()
150 ((DspBufferDouble) x).mData[i] * ((DspBufferDouble) y).mData[i]; in mult()
168 double C = ((DspBufferDouble) y).mData[i]; in mult()
179 ((DspBufferDouble) r).mData[i] = in mult()
[all …]
DDspBufferDouble.java20 public double[] mData; field in DspBufferDouble
31 mData = new double[size]; in setSize()
38 mData[index] = values[0]; in setValues()
43 mData[index] = value; in setValue()
53 sb.append(String.format("%.3f, ", mData[i])); in toString()
56 sb.append(String.format("%.3f", mData[i])); in toString()
DDspWindow.java114 b.mData[i] = value; in fillTriangular()
120 b.mData[i] = 1.0; in fillTriangular()
127 b.mData[i] = value; in fillTriangular()
147 b.mData[i] = value; in fillHamming()
153 b.mData[i] = 1.0; in fillHamming()
162 b.mData[i] = value; in fillHamming()
182 b.mData[i] = value; in fillHanning()
188 b.mData[i] = 1.0; in fillHanning()
196 b.mData[i] = value; in fillHanning()
DDspFftServer.java40 mCos.mData[i] = Math.cos(-2 * Math.PI * i / mN); in init()
41 mSin.mData[i] = Math.sin(-2 * Math.PI * i / mN); in init()
86 cc = mCos.mData[aa]; in fft()
87 ss = sign * mSin.mData[aa]; in fft()
/cts/suite/cts/deviceTests/opengl/test/
DMatrixTest.cpp38 m1.mData[4] = 9; in TEST()
39 m2.mData[4] = 9; in TEST()
57 checkValues(m.mData, expected, Matrix::MATRIX_SIZE); in TEST()
63 float* d1 = m1.mData; in TEST()
79 checkValues(m2.mData, data, Matrix::MATRIX_SIZE); in TEST()
114 float* d1 = m1.mData; in TEST()
115 float* d2 = m2.mData; in TEST()
134 checkValues(m3.mData, expected, Matrix::MATRIX_SIZE); in TEST()
163 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); in TEST()
184 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); in TEST()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DTestMediaDataSource.java34 private byte[] mData; field in TestMediaDataSource
61 mData = data; in TestMediaDataSource()
75 if (position >= mData.length) { in readAt()
78 if (position + size > mData.length) { in readAt()
79 size -= (position + size) - mData.length; in readAt()
81 System.arraycopy(mData, (int)position, buffer, offset, size); in readAt()
94 Log.v(TAG, "getSize: " + mData.length); in getSize()
95 return mData.length; in getSize()
/cts/suite/audio_quality/lib/src/audio/
DBuffer.cpp30 mData = new char[capacity]; in Buffer()
33 ASSERT(((long)mData & 0x3) == 0); in Buffer()
36 memset(mData, capacity, 0); in Buffer()
41 delete[] mData; in ~Buffer()
48 int16_t* data = reinterpret_cast<int16_t*>(mData); in changeToMono()
103 file.read(buffer->mData, size); //TODO handle read error in loadFromFile()
123 file.write(mData, mSize); in saveToFile()
144 if (mData[i] != b.mData[i]) { in operator ==()
145 LOGD("%d %x vs %x", i, mData[i], b.mData[i]); in operator ==()
/cts/tests/tests/media/libaudiojni/
DBlob.h32 mData(byReference ? data : mMem), in BlobReadOnly()
46 const void * const mData;
55 mData(malloc(size)), in Blob()
58 mMem(mData) { } in Blob()
62 mData(data), in Blob()
71 void * const mData; variable
Daudio-record-native.cpp313 memcpy(buffer, (char *)b->mData + b->mOffset, tocopy); in read()
359 (*mBufferQueue)->Enqueue(mBufferQueue, b->mData, b->mSize); in queueBuffers()
378 memcpy((char *)mReadBlob->mData + mReadBlob->mOffset, in bufferQueueCallback()
379 (char *)b->mData + b->mOffset, tocopy); in bufferQueueCallback()
/cts/tests/tests/os/src/android/os/cts/
DActivityTestsBase.java40 private Intent mData; field in ActivityTestsBase
122 mData = data; in finishWithResult()
154 throw new RuntimeException(mData != null ? mData.toString() : "Unable to launch", in waitForResultOrThrow()
157 throw new RuntimeException(mData != null ? mData.toString() : "Unable to launch"); in waitForResultOrThrow()
200 return mData; in getResultData()
/cts/tests/app/src/android/app/cts/
DActivityTestsBase.java40 private Intent mData; field in ActivityTestsBase
122 mData = data; in finishWithResult()
154 throw new RuntimeException(mData != null ? mData.toString() : "Unable to launch", in waitForResultOrThrow()
157 throw new RuntimeException(mData != null ? mData.toString() : "Unable to launch"); in waitForResultOrThrow()
200 return mData; in getResultData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerHardwareScanFilterActivity.java126 private Map<String, Integer> mData; field in BleScannerHardwareScanFilterActivity.MapAdapter
129 mData = new HashMap<>(); in MapAdapter()
135 return mData.size(); in getCount()
140 return mData.get(mKeys.get(position)); in getItem()
149 if (!mData.containsKey(key)) { in addItem()
151 mData.put(key, new Integer(1)); in addItem()
153 mData.put(key, mData.get(key) + 1); in addItem()
/cts/suite/audio_quality/lib/include/audio/
DBuffer.h59 return mData; in getData()
64 memcpy(mData, data, len); in setData()
69 return mData + mHandled; in getUnhanledData()
131 char* mData; variable
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DMultipartForm.java41 private byte[] mData; field in MultipartForm
55 mData = data; in addFormFile()
117 if (mData != null) { in getContentBody()
120 byteOutput.write(mData); in getContentBody()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSendToClient.java36 outArray[1] = mData[0];
37 outArray[2] = mData[1];
38 outArray[3] = mData[2];
DSendToClientBlockingTest.java44 resultData = mData[0];
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
DWaterMeshNode.cpp52 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
59 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java98 private DspBufferDouble mData; field in AudioFrequencySpeakerActivity
152 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
665 mData.mData[index] = value; in onPeriodicNotification()
673 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
674 DspBufferMath.set(mC, mData); in onPeriodicNotification()
DAudioFrequencyLineActivity.java95 private DspBufferDouble mData; field in AudioFrequencyLineActivity
169 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
647 mData.mData[index] = value; in onPeriodicNotification()
655 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
656 DspBufferMath.set(mC, mData); in onPeriodicNotification()
DAudioFrequencyMicActivity.java111 private DspBufferDouble mData; field in AudioFrequencyMicActivity
202 mData = new DspBufferDouble(mBlockSizeSamples); in onCreate()
807 mData.mData[i] = value; in onPeriodicNotification()
813 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
814 DspBufferMath.set(mC, mData); in onPeriodicNotification()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java55 mData = data; in Texture()
75 public ByteBuffer getData() { return mData; } in getData()
92 private ByteBuffer mData; field in CompressedTextureLoader.Texture

12