/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Matrix.cpp | 34 const float* d = &(mData[i * 4]); 41 const float* d = src.mData; 43 if (mData[i] != d[i]) { 51 memcpy(mData, src.mData, MATRIX_SIZE * sizeof(float)); 55 mData[0] = 1.0f; 56 mData[1] = 0.0f; 57 mData[2] = 0.0f; 58 mData[3] = 0.0f; 60 mData[4] = 0.0f [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncAdapter.java | 58 private CalendarRow[] mData; 108 mData = null; 120 mData = new CalendarRow[mRowCount]; 125 mData[p] = new CalendarRow(); 126 mData[p].id = id; 127 mData[p].displayName = c.getString(mNameColumn); 128 mData[p].color = c.getInt(mColorColumn); 129 mData[p].originalSynced = c.getInt(mSyncedColumn) != 0; 130 mData[p].accountName = c.getString(mAccountNameColumn); 131 mData[p].accountType = c.getString(mAccountTypeColumn) [all...] |
SelectCalendarsSimpleAdapter.java | 63 private CalendarRow[] mData; 181 mData = null; 195 mData = new CalendarRow[(c.getCount())]; 199 mData[p] = new CalendarRow(); 200 mData[p].id = c.getLong(mIdColumn); 201 mData[p].displayName = c.getString(mNameColumn); 202 mData[p].color = c.getInt(mColorColumn); 203 mData[p].selected = c.getInt(mVisibleColumn) != 0; 204 mData[p].ownerAccount = c.getString(mOwnerAccountColumn); 205 mData[p].accountName = c.getString(mAccountNameColumn) [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
Buffer.cpp | 30 mData = new char[capacity]; 31 //LOGV("Buffer %d data %x", capacity, (unsigned int)mData); 33 ASSERT(((long)mData & 0x3) == 0); 36 memset(mData, capacity, 0); 41 delete[] mData; 48 int16_t* data = reinterpret_cast<int16_t*>(mData); 103 file.read(buffer->mData, size); //TODO handle read error 123 file.write(mData, mSize); 144 if (mData[i] != b.mData[i]) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Float4Param.java | 67 mData.float_value.x = x; 68 mData.float_value.y = y; 69 mData.float_value.z = z; 70 mData.float_value.w = w; 72 mField.set_float_value(0, mData.float_value, true); 82 return mData.float_value; 88 mData.light = mLight.getRSData().getAllocation(); 89 mField.set_light(0, mData.light, true); 133 mData.type = getTypeFromName(); 135 mData.camera = mCamera.getRSData().getAllocation() [all...] |
TextureParam.java | 57 mData.type = ScriptC_export.const_ShaderParam_TEXTURE; 59 mData.texture = mTexture.getRsData(false).getAllocation();
|
Texture2D.java | 68 mData.texture = tex != null ? tex : SceneManager.getDefaultTex2D(); 70 mField.set_texture(0, mData.texture, true); 101 mData.texture = SceneManager.getDefaultTex2D(); 105 mField.set(mData, 0, true);
|
TextureCube.java | 69 mData.texture = tex != null ? tex : SceneManager.getDefaultTexCube(); 71 mField.set_texture(0, mData.texture, true); 102 mData.texture = SceneManager.getDefaultTexCube(); 106 mField.set(mData, 0, true);
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), 64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement)); 73 free(mData); 81 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 82 mData[mDataLen].mIsStart = true; 85 mStart = mData[mDataLen].mTime; // mDataLen should be 0 95 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 96 mData[mDataLen].mIsStart = false; 114 if (mDataLen > 0 && mData[mDataLen - 1].mIsStart) 136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
Buffer.h | 59 return mData; 64 memcpy(mData, data, len); 69 return mData + mHandled; 131 char* mData;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Mesh.h | 41 float* mData; 43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } 46 return *reinterpret_cast<TYPE*>(&mData[index*mStride]); 49 return *reinterpret_cast<TYPE const*>(&mData[index*mStride]);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_check_dims.java | 26 int mData[]; 52 mData = new int[X*Y]; 54 mData[i] = Pattern; 56 mA.copyFrom(mData);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceResponse.java | 101 if (mData == null) { 106 if (mData.length < 1) { 110 mVersion = mData[0] & 0xff; 111 String[] names = new String(mData, 1, mData.length-1).split(",");
|
/frameworks/av/media/libstagefright/ |
MediaBuffer.cpp | 38 mData(data), 51 mData(malloc(size)), 64 mData(NULL), 78 mData(buffer->data()), 120 return mData; 162 if (mOwnsData && mData != NULL) { 163 free(mData); 164 mData = NULL; 193 MediaBuffer *buffer = new MediaBuffer(mData, mSize);
|
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 38 m1.mData[4] = 9; 39 m2.mData[4] = 9; 57 checkValues(m.mData, expected, Matrix::MATRIX_SIZE); 63 float* d1 = m1.mData; 79 checkValues(m2.mData, data, Matrix::MATRIX_SIZE); 114 float* d1 = m1.mData; 115 float* d2 = m2.mData; 134 checkValues(m3.mData, expected, Matrix::MATRIX_SIZE); 163 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); 184 checkValues(m->mData, expected, Matrix::MATRIX_SIZE) [all...] |
/dalvik/hit/src/com/android/hit/ |
ArrayInstance.java | 26 private byte[] mData; 34 mData = data; 43 * mData holds a stream of object instance ids 49 ByteArrayInputStream bais = new ByteArrayInputStream(mData); 75 return mData.length; 98 * mData holds a stream of object instance ids 104 ByteArrayInputStream bais = new ByteArrayInputStream(mData); 149 ByteArrayInputStream bais = new ByteArrayInputStream(mData);
|
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 316 info->read(mData); 332 return mData.getAUInt32(); 349 info->read(mData); 369 return mData.getAUInt32(); 388 info->read(mData); 402 return mData.getData(outLength); 420 mData.putUInt32(info->mStorageID); 421 mData.putUInt16(info->mFormat); 422 mData.putUInt16(info->mProtectionStatus); 423 mData.putUInt32(info->mCompressedSize) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
FieldPacker.java | 37 mData = new byte[len]; 53 mData[mPos++] = 0; 92 mData[mPos++] = v; 101 mData[mPos++] = (byte)(v & 0xff); 102 mData[mPos++] = (byte)(v >> 8); 111 mData[mPos++] = (byte)(v & 0xff); 112 mData[mPos++] = (byte)((v >> 8) & 0xff); 113 mData[mPos++] = (byte)((v >> 16) & 0xff); 114 mData[mPos++] = (byte)((v >> 24) & 0xff); 123 mData[mPos++] = (byte)(v & 0xff) [all...] |
/development/apps/Development/src/com/android/development/ |
Details.java | 51 mData = (ArrayList<ColumnData>)getIntent().getExtra("data"); 84 int count = mData.size(); 86 ColumnData cd = mData.get(i); 120 mData.clear(); 125 mData.add(cd); 143 int count = mData.size(); 145 ColumnData cd = mData.get(i); 155 ArrayList<ColumnData> mData;
|
/frameworks/av/media/libstagefright/include/ |
DataUriSource.h | 44 *size = mData.size(); 66 AString mData;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlidingWindow.java | 59 private final AlbumSetEntry mData[]; 98 mData = new AlbumSetEntry[cacheSize]; 125 return mData[slotIndex % mData.length]; 168 if (!(start <= end && end - start <= mData.length && end <= mSize)) { 170 start, end, mData.length, mSize); 173 AlbumSetEntry data[] = mData; 212 AlbumSetEntry entry = mData[slotIndex % mData.length]; 219 AlbumSetEntry entry = mData[slotIndex % mData.length] [all...] |
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
ExpandingCells.java | 57 List<ExpandableListItem> mData = new ArrayList<ExpandableListItem>(); 61 mData.add(new ExpandableListItem(obj.getTitle(), obj.getImgResource(), 65 CustomArrayAdapter adapter = new CustomArrayAdapter(this, R.layout.list_view_item, mData);
|
/frameworks/av/include/media/stagefright/foundation/ |
ABuffer.h | 37 uint8_t *base() { return (uint8_t *)mData; } 38 uint8_t *data() { return (uint8_t *)mData + mRangeOffset; } 57 void *mData;
|
/frameworks/av/media/libstagefright/chromium_http/ |
DataUriSource.cpp | 35 // Copy3: std::string dataStr -> AString mData 36 mData.setTo(dataStr.data(), dataStr.length()); 52 const off64_t length = mData.size(); 57 const char *dataBuf = mData.c_str();
|
/frameworks/base/core/java/android/os/ |
DropBoxManager.java | 93 private final byte[] mData; 103 mData = null; 115 mData = text.getBytes(); 132 mData = data; 149 mData = null; 164 mData = null; 189 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length)); 212 if (mData != null) [all...] |