/frameworks/base/core/java/android/app/ |
ResultInfo.java | 30 public final Intent mData; 37 mData = data; 42 + ", result=" + mResultCode + ", data=" + mData + "}"; 53 if (mData != null) { 55 mData.writeToParcel(out, 0); 77 mData = Intent.CREATOR.createFromParcel(in); 79 mData = null;
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactListItemView.java | 49 final ContactListItemData mData; 62 mData = DataModel.get().createContactListItemData(); 87 mData.bind(cursor, headerLabel); 110 mData.bind(recipientEntry, styledName, styledDestination, isSingleRecipient, isWorkContact); 117 mContactNameTextView.setText(mData.getDisplayName()); 118 mContactDetailsTextView.setText(mData.getDestination()); 120 mData.getDestinationType(), mData.getDestinationLabel())); 121 final RecipientEntry recipientEntry = mData.getRecipientEntry(); 122 final String destinationString = String.valueOf(mData.getDestination()) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
ContextHubMessage.java | 33 private byte[]mData; 62 return Arrays.copyOf(mData, mData.length); 89 mData = Arrays.copyOf(data, data.length); 102 mData = Arrays.copyOf(data, data.length); 113 mData = new byte[bufferLength]; 114 in.readByteArray(mData); 120 out.writeInt(mData.length); 121 out.writeByteArray(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/av/media/libstagefright/id3/ |
ID3.cpp | 35 : mData(data), 47 memcpy(data, mData + offset, copy); 53 const uint8_t *mData; 61 mData(NULL), 75 mData(NULL), 93 if (mData) { 94 free(mData); 95 mData = NULL; 182 mData = (uint8_t *)malloc(size); 184 if (mData == NULL) [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
FakeCursor.java | 30 private final Object[][] mData; 36 mData = data; 46 return (dataIdx < 0 || row < 0 || row >= mData.length) ? 0 : mData[row][dataIdx]; 51 return mData.length; 61 return mIndex == mData.length - 1; 66 if (mData.length == 0) { 75 if (position < 0 || position >= mData.length) { 98 if (mIndex == mData.length - 1) { 134 final Object obj = (dataIdx < 0 ? null : mData[mIndex][dataIdx]) [all...] |
/cts/tests/openglperf2/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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
DspBufferDouble.java | 20 public double[] mData; 31 mData = new double[size]; 38 mData[index] = values[0]; 43 mData[index] = value; 53 sb.append(String.format("%.3f, ", mData[i])); 56 sb.append(String.format("%.3f", mData[i]));
|
VectorAverage.java | 24 private double[] mData; 35 if (mData == null || mData.length != size) { 36 mData = new double[size]; 40 System.arraycopy(data, 0, mData, 0, size); 47 mData[i] += data[i]; 54 if (data[i] > mData[i]) { 55 mData[i] = data[i]; 63 if (data[i] < mData[i]) { 64 mData[i] = data[i] [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ABuffer.cpp | 31 mData = malloc(capacity); 32 if (mData == NULL) { 43 mData(data), 64 if (mData != NULL) { 65 free(mData); 66 mData = NULL;
|
/frameworks/base/core/java/android/content/ |
UndoOwner.java | 28 Object mData; 62 return mData; 69 " mData=" + mData + 70 " mData=" + mData +
|
/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...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryCellParser.java | 26 private final SparseIntArray mData = new SparseIntArray(); 57 mData.put((int) time, value); 66 mData.put((int) mLastTime, 0); 74 mData.put((int) mLastTime, 0); 86 return mData.size() > 1; 92 for (int i = 0; i < mData.size(); i++) { 93 ret.put(mData.keyAt(i), getColor(mData.valueAt(i)));
|
BatteryFlagParser.java | 25 private final SparseBooleanArray mData = new SparseBooleanArray(); 53 mData.put((int) time, isSet); 62 mData.put((int) mLastTime, false); 70 mData.put((int) mLastTime, false); 82 return mData.size() > 1; 88 for (int i = 0; i < mData.size(); i++) { 89 ret.put(mData.keyAt(i), getColor(mData.valueAt(i)));
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
FieldArray.java | 48 private FieldData[] mData; 66 mData = new FieldData[initialCapacity]; 77 if (i < 0 || mData[i] == DELETED) { 80 return mData[i]; 90 if (i >= 0 && mData[i] != DELETED) { 91 mData[i] = DELETED; 100 FieldData[] values = mData; 128 mData[i] = data; 132 if (i < mSize && mData[i] == DELETED) { 134 mData[i] = data [all...] |
/frameworks/av/media/mtp/ |
MtpServer.cpp | 182 int ret = mData.read(fd); 192 mData.dump(); 194 mData.reset(); 198 if (!dataIn && mData.hasData()) { 199 mData.setOperationCode(operation); 200 mData.setTransactionID(transaction); 202 mData.dump(); 203 ret = mData.write(fd); 448 mData.putUInt16(MTP_STANDARD_VERSION); 450 mData.putUInt32(0) [all...] |
/hardware/libhardware/modules/usbcamera/ |
Metadata.cpp | 31 mData(NULL) { 39 if (m == mData) { 42 if (mData) 43 free_camera_metadata(mData); 44 mData = m; 119 if (!add_camera_metadata_entry(mData, tag, tag_data, count)) { 127 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; 128 size_t data_capacity = get_camera_metadata_data_count(mData) + size; 138 res = append_camera_metadata(tmp, mData); 141 __func__, mData, tmp) [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
EncodedStringValue.java | 43 private byte[] mData; 59 mData = new byte[data.length]; 60 System.arraycopy(data, 0, mData, 0, data.length); 90 mData = data.getBytes(CharacterSets.getMimeName(charset)); 93 mData = data.getBytes(); 122 byte[] byteArray = new byte[mData.length]; 124 System.arraycopy(mData, 0, byteArray, 0, mData.length); 139 mData = new byte[textString.length]; 140 System.arraycopy(textString, 0, mData, 0, textString.length) [all...] |
/frameworks/opt/telephony/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...] |
/packages/apps/Messaging/src/android/support/v7/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/av/media/libstagefright/ |
ESDS.cpp | 30 : mData(new uint8_t[size]), 36 memcpy(mData, data, size); 42 delete[] mData; 43 mData = NULL; 65 *data = &mData[mDecoderSpecificOffset]; 78 *tag = mData[offset++]; 88 uint8_t x = mData[offset++]; 133 unsigned streamDependenceFlag = mData[offset] & 0x80; 134 unsigned URL_Flag = mData[offset] & 0x40; 135 unsigned OCRstreamFlag = mData[offset] & 0x20 [all...] |
/frameworks/base/core/java/android/webkit/ |
WebMessage.java | 27 private String mData; 35 mData = data; 44 mData = data; 52 return mData;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
SimSelectorItemView.java | 37 private SubscriptionListEntry mData; 55 mHost.onSimItemClicked(mData); 62 mData = simEntry; 71 Assert.notNull(mData); 72 final String displayName = mData.displayName; 80 final String details = mData.displayDestination; 88 mSimIconView.setImageResourceUri(mData.iconUri);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/ |
ChannelState.java | 53 private final ChannelStateData mData; 58 mData = channelStateData; 65 return mData.mSelectedAudioTrackId; 72 return mData.mSelectedVideoTrackId; 90 return mData.mTuneStatus; 98 return Collections.unmodifiableList(mData.mTvTrackInfos); 103 return "v" + mVersion + ":" + mData;
|