/frameworks/av/include/private/media/ |
VideoFrame.h | 32 MediaAlbumArt(): mSize(0), mData(0) {} 36 mData = NULL; 43 if (mSize == 0 || (mData = new uint8_t[mSize]) == NULL) { 51 if (fread(mData, 1, mSize, in) != mSize) { // Read failed. 52 delete[] mData; 53 mData = NULL; 62 mData = NULL; // initialize it first 63 if (mSize > 0 && copy.mData != NULL) { 64 mData = new uint8_t[copy.mSize]; 65 if (mData != NULL) [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackupDataOutput.java | 12 private BackupDataOutput mData; 16 mData = new BackupDataOutput(fd.getFileDescriptor()); 20 public BackupDataOutput getData() { return mData; }
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
RangeBoolArray.java | 21 private boolean[] mData; 25 mData = new boolean[max - min + 1]; 31 mData = src; 36 mData[i - mOffset] = object; 40 return mData[i - mOffset]; 44 for (int i = 0; i < mData.length; i++) { 45 if (mData[i] == object) return i + mOffset;
|
RangeIntArray.java | 21 private int[] mData; 25 mData = new int[max - min + 1]; 31 mData = src; 36 mData[i - mOffset] = object; 40 return mData[i - mOffset]; 44 for (int i = 0; i < mData.length; i++) { 45 if (mData[i] == object) return i + mOffset;
|
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 36 return mData[mSize]; 48 System.arraycopy(mData, 0, result, 0, mSize); 53 return mData; 58 if (mData.length != INIT_CAPACITY) mData = new int[INIT_CAPACITY] [all...] |
RangeArray.java | 21 private T[] mData; 25 mData = (T[]) new Object[max - min + 1]; 34 mData = src; 39 mData[i - mOffset] = object; 43 return mData[i - mOffset]; 47 for (int i = 0; i < mData.length; i++) { 48 if (mData[i] == object) return i + mOffset;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 36 return mData[mSize]; 48 System.arraycopy(mData, 0, result, 0, mSize); 53 return mData; 58 if (mData.length != INIT_CAPACITY) mData = new int[INIT_CAPACITY] [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/util/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 36 return mData[mSize]; 48 System.arraycopy(mData, 0, result, 0, mSize); 53 return mData; 58 if (mData.length != INIT_CAPACITY) mData = new int[INIT_CAPACITY] [all...] |
/frameworks/av/media/libmedia/ |
Metadata.cpp | 59 :mData(p), 66 mData->setDataPosition(mBegin); 73 const size_t end = mData->dataPosition(); 75 mData->setDataPosition(mBegin); 76 mData->writeInt32(end - mBegin); 77 mData->setDataPosition(end); 86 ok = ok && mData->writeInt32(-1) == OK; 87 ok = ok && mData->writeInt32(kMetaMarker) == OK; 97 const size_t begin = mData->dataPosition(); 101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK [all...] |
/packages/apps/Camera/src/com/android/camera/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 42 System.arraycopy(mData, 0, result, 0, mSize);
|
/packages/apps/Camera2/src/com/android/camera/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 42 System.arraycopy(mData, 0, result, 0, mSize);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; 26 if (mData.length == mSize) { 28 System.arraycopy(mData, 0, temp, 0, mSize); 29 mData = temp; 31 mData[mSize++] = value; 42 System.arraycopy(mData, 0, result, 0, mSize);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Camera.java | 36 ScriptField_Camera_s.Item mData; 40 mData = new ScriptField_Camera_s.Item(); 41 mData.near = 0.1f; 42 mData.far = 1000.0f; 43 mData.horizontalFOV = 60.0f; 44 mData.aspect = 0; 55 mData.horizontalFOV = fov; 63 mData.near = n; 71 mData.far = f; 82 mData.name = getNameAlloc(rs) [all...] |
/frameworks/base/drm/java/android/drm/ |
ProcessedData.java | 28 private final byte[] mData; 39 mData = data; 51 mData = data; 62 return mData;
|
DrmInfo.java | 34 private byte[] mData; 51 mData = data; 72 mData = DrmUtils.readBytes(path); 75 // set mData = null, so that further processDrmInfo() 76 // call would fail with IllegalArgumentException because of mData = null 77 mData = null; 82 "data: " + mData; 137 return mData; 167 && null != mData && mData.length > 0 && DrmInfoRequest.isValidType(mInfoType)) [all...] |
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
InMemorySharedPreferences.java | 22 private final Map<String, Object> mData; 25 mData = new HashMap<String, Object>(); 29 mData = data; 34 synchronized (mData) { 35 return Collections.unmodifiableMap(mData); 41 synchronized (mData) { 42 if (mData.containsKey(key)) { 43 return (String) mData.get(key); 52 synchronized (mData) { 53 if (mData.containsKey(key)) [all...] |
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 45 private byte[] mData; 49 mData = new byte[0]; 54 mData = (byte[]) data.clone(); 59 if (src != null && src.mData != null) { 60 mData = (byte[]) src.mData.clone(); 121 for (int i=0; avStart < mData.length; i++) { 122 int avLen = mData[avStart]; 124 (key.length() == avLen || mData[avStart + key.length() + 1] == mSeperator)) { 125 String s = new String(mData, avStart + 1, key.length()) [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AString.cpp | 32 : mData((char *)kEmptyString), 38 : mData(NULL), 45 : mData(NULL), 52 : mData(NULL), 59 : mData(NULL), 82 return mData; 102 setTo(from.mData + offset, n); 106 if (mData && mData != kEmptyString) { 107 free(mData); [all...] |
/frameworks/base/obex/javax/obex/ |
PrivateInputStream.java | 47 private byte[] mData; 59 mData = new byte[0]; 76 return mData.length - mIndex; 92 while (mData.length == mIndex) { 97 return (mData[mIndex++] & 0xFF); 116 int currentDataLength = mData.length - mIndex; 122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength); 131 currentDataLength = mData.length - mIndex; 134 System.arraycopy(mData, mIndex, b, offset1, remainReadLength); 149 int length = (body.length - start) + (mData.length - mIndex) [all...] |
/frameworks/rs/ |
rsStream.cpp | 25 mData = buf; 31 memcpy(dest, mData + mPos, numBytes); 39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0]; 48 const char *s = rsuCopyString((const char *)&mData[mPos], len); 55 mData = (uint8_t*)malloc(len); 62 free(mData); 70 memcpy(mData + mPos, src, numBytes); 80 mData[mPos++] = (uint8_t)(v & 0xff); 81 mData[mPos++] = (uint8_t)((v >> 8) & 0xff); 82 mData[mPos++] = (uint8_t)((v >> 16) & 0xff) [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapMemoryLiteral.java | 32 private byte[] mData; 37 mData = new byte[in.getLength()]; 39 while (pos < mData.length) { 40 int read = in.read(mData, pos, mData.length - pos); 46 if (pos != mData.length) { 53 mData = null; 59 return Utility.fromAscii(mData); 64 return new ByteArrayInputStream(mData); 69 return String.format("{%d byte literal(memory)}", mData.length) [all...] |
/frameworks/base/media/java/android/media/ |
SubtitleData.java | 50 private byte[] mData; 71 return mData; 83 mData = new byte[parcel.readInt()]; 84 parcel.readByteArray(mData);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridDelete.java | 70 private ArrayList<Integer> mData; 74 mData = new ArrayList<Integer>(initialNumItems); 78 mData.add(new Integer(10000 + i)); 84 if (selectedItemPosition >=0 && selectedItemPosition < mData.size()) { 85 mData.remove(selectedItemPosition); 92 return mData.size(); 96 return mData.get(position); 100 return mData.get(position); 105 return createView(mData.get(position), parent, desiredHeight);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
EncodedStringValue.java | 43 private byte[] mData; 59 mData = new byte[data.length]; 60 System.arraycopy(data, 0, mData, 0, data.length); 75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); 107 byte[] byteArray = new byte[mData.length]; 109 System.arraycopy(mData, 0, byteArray, 0, mData.length); 124 mData = new byte[textString.length]; 125 System.arraycopy(textString, 0, mData, 0, textString.length); 137 return new String(mData); // system default encoding [all...] |
/frameworks/base/core/java/android/content/ |
UndoOwner.java | 28 Object mData; 55 return mData;
|