Searched defs:mData (Results 1 - 25 of 55) sorted by relevance

123

/packages/apps/Browser/src/com/android/browser/
H A DDataUri.java34 private byte[] mData; field in class:DataUri
47 mData = uri.substring(commaIndex + 1).getBytes();
49 mData = Base64.decode(mData);
72 return mData;
/packages/apps/Camera/src/com/android/camera/
H A DIntArray.java22 private int mData[] = new int[INIT_CAPACITY]; field in class:IntArray
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/Email/provider_src/com/android/email/mail/store/imap/
H A DImapMemoryLiteral.java32 private byte[] mData; field in class:ImapMemoryLiteral
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
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIntArray.java22 private int mData[] = new int[INIT_CAPACITY]; field in class:IntArray
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
[all...]
H A DRangeArray.java21 private T[] mData; field in class:RangeArray
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;
H A DRangeBoolArray.java21 private boolean[] mData; field in class:RangeBoolArray
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;
H A DRangeIntArray.java21 private int[] mData; field in class:RangeIntArray
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;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DIntArray.java22 private int mData[] = new int[INIT_CAPACITY]; field in class:IntArray
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
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DIntArray.java22 private int mData[] = new int[INIT_CAPACITY]; field in class:IntArray
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/Messaging/src/com/android/messaging/ui/
H A DBlockedParticipantListItemView.java37 private ParticipantListItemData mData; field in class:BlockedParticipantListItemView
50 mData.unblock(getContext());
56 mData = data;
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
H A DImapMemoryLiteral.java33 private byte[] mData; field in class:ImapMemoryLiteral
38 mData = new byte[in.getLength()];
40 while (pos < mData.length) {
41 int read = in.read(mData, pos, mData.length - pos);
47 if (pos != mData.length) {
54 mData = null;
61 return new String(mData, "US-ASCII");
70 return new ByteArrayInputStream(mData);
75 return String.format("{%d byte literal(memory)}", mData
[all...]
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DSmsInteractionsLoader.java44 private List<ContactInteraction> mData; field in class:SmsInteractionsLoader
123 if (mData != null) {
124 deliverResult(mData);
127 if (takeContentChanged() || mData == null) {
140 mData = data;
152 if (mData != null) {
153 mData.clear();
H A DCallLogInteractionsLoader.java42 private List<ContactInteraction> mData; field in class:CallLogInteractionsLoader
148 if (mData != null) {
149 deliverResult(mData);
152 if (takeContentChanged() || mData == null) {
165 mData = data;
177 if (mData != null) {
178 mData.clear();
H A DCalendarInteractionsLoader.java39 private List<ContactInteraction> mData; field in class:CalendarInteractionsLoader
204 if (mData != null) {
205 deliverResult(mData);
208 if (takeContentChanged() || mData == null) {
225 if (mData != null) {
226 mData.clear();
232 mData = data;
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
H A DBinding.java25 private T mData; field in class:Binding
39 return mData;
44 return (mData != null && mData.isBound(mBindingId));
49 return (isBound() && data == mData);
63 } else if (data != mData) {
64 throw new IllegalStateException("not bound to correct data " + data + " vs " + mData);
75 if (mData != null || data.isBound()) {
81 mData = data;
87 if (mData
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppReceiveFileInfo.java69 public String mData; field in class:BluetoothOppReceiveFileInfo
72 mData = data;
H A DBluetoothOppSendFileInfo.java71 public final String mData; field in class:BluetoothOppSendFileInfo
87 mData = null;
94 mData = data;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageBubbleView.java42 private final ConversationMessageBubbleData mData; field in class:ConversationMessageBubbleView
48 mData = new ConversationMessageBubbleData();
84 final boolean changed = mData.bind(data);
H A DSimSelectorItemView.java37 private SubscriptionListEntry mData; field in class:SimSelectorItemView
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/Messaging/src/com/android/messaging/ui/conversationlist/
H A DShareIntentAdapter.java74 private final ConversationListItemData mData = new ConversationListItemData(); field in class:ShareIntentAdapter.ShareIntentViewHolder
78 return mData.getIcon() == null ? null : Uri.parse(mData.getIcon());
83 return mData.getName();
88 final String conversationName = mData.getName();
90 mData.getOtherParticipantNormalizedDestination());
124 mData.bind(cursor);
130 mHostInterface.onConversationClicked(mData);
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
H A DPeopleOptionsItemView.java47 private final PeopleOptionsItemData mData; field in class:PeopleOptionsItemView
52 mData = DataModel.get().createPeopleOptionsItemData(context);
63 mHostInterface.onOptionsItemViewClicked(mData, !mData.getChecked());
71 mData.bind(cursor, otherParticipant, columnIndex);
74 mTitle.setText(mData.getTitle());
75 final String subtitle = mData.getSubtitle();
83 if (mData.getCheckable()) {
85 mSwitch.setChecked(mData.getChecked());
90 final boolean enabled = mData
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItemBase.java47 protected final T mData; field in class:FilmstripItemBase
58 mData = data;
68 return mData;
73 File fileToDelete = new File(mData.getFilePath());
96 mediaDetails.addDetail(MediaDetails.INDEX_TITLE, mData.getTitle());
99 mediaDetails.addDetail(MediaDetails.INDEX_PATH, mData.getFilePath());
101 mDateFormatter.format(mData.getLastModifiedDate()));
102 long mSizeInBytes = mData.getSizeInBytes();
107 Location location = mData.getLocation();
126 return mData
[all...]
H A DSessionItem.java43 private FilmstripItemData mData; field in class:SessionItem
73 mData = new FilmstripItemData.Builder(uri)
104 Optional<Bitmap> placeholder = Storage.getPlaceholderForSession(mData.getUri());
144 Size dimension = getSessionSize(mData.getUri());
150 mData = FilmstripItemData.Builder.from(mData)
164 return mData;
184 return mData.getDimensions();
189 return mData.getOrientation();
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DEncodedStringValue.java43 private byte[] mData; field in class:EncodedStringValue
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); // syste
[all...]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DEncodedStringValue.java43 private byte[] mData; field in class:EncodedStringValue
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,
[all...]

Completed in 1257 milliseconds

123