/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSimpleAdapter.java | 63 private CalendarRow[] mData; field in SelectCalendarsSimpleAdapter 181 mData = null; in initData() 195 mData = new CalendarRow[(c.getCount())]; in initData() 199 mData[p] = new CalendarRow(); in initData() 200 mData[p].id = c.getLong(mIdColumn); in initData() 201 mData[p].displayName = c.getString(mNameColumn); in initData() 202 mData[p].color = c.getInt(mColorColumn); in initData() 203 mData[p].selected = c.getInt(mVisibleColumn) != 0; in initData() 204 mData[p].ownerAccount = c.getString(mOwnerAccountColumn); in initData() 205 mData[p].accountName = c.getString(mAccountNameColumn); in initData() [all …]
|
D | SelectCalendarsSyncAdapter.java | 58 private CalendarRow[] mData; field in SelectCalendarsSyncAdapter 108 mData = null; in initData() 120 mData = new CalendarRow[mRowCount]; in initData() 125 mData[p] = new CalendarRow(); in initData() 126 mData[p].id = id; in initData() 127 mData[p].displayName = c.getString(mNameColumn); in initData() 128 mData[p].color = c.getInt(mColorColumn); in initData() 129 mData[p].originalSynced = c.getInt(mSyncedColumn) != 0; in initData() 130 mData[p].accountName = c.getString(mAccountNameColumn); in initData() 131 mData[p].accountType = c.getString(mAccountTypeColumn); in initData() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlidingWindow.java | 59 private final AlbumSetEntry mData[]; field in AlbumSetSlidingWindow 98 mData = new AlbumSetEntry[cacheSize]; in AlbumSetSlidingWindow() 125 return mData[slotIndex % mData.length]; in get() 168 if (!(start <= end && end - start <= mData.length && end <= mSize)) { in setActiveWindow() 170 start, end, mData.length, mSize); in setActiveWindow() 173 AlbumSetEntry data[] = mData; in setActiveWindow() 212 AlbumSetEntry entry = mData[slotIndex % mData.length]; in requestImagesInSlot() 219 AlbumSetEntry entry = mData[slotIndex % mData.length]; in cancelImagesInSlot() 231 AlbumSetEntry entry = mData[slotIndex % mData.length]; in freeSlotContent() 236 mData[slotIndex % mData.length] = null; in freeSlotContent() [all …]
|
D | AlbumSlidingWindow.java | 61 private final AlbumEntry mData[]; field in AlbumSlidingWindow 95 mData = new AlbumEntry[cacheSize]; in AlbumSlidingWindow() 119 return mData[slotIndex % mData.length]; in get() 165 if (!(start <= end && end - start <= mData.length && end <= mSize)) { in setActiveWindow() 166 Utils.fail("%s, %s, %s, %s", start, end, mData.length, mSize); in setActiveWindow() 168 AlbumEntry data[] = mData; in setActiveWindow() 183 AlbumEntry entry = mData[index % mData.length]; in uploadBgTextureInSlot() 196 AlbumEntry entry = mData[i % mData.length]; in updateTextureUploadQueue() 228 AlbumEntry entry = mData[slotIndex % mData.length]; in requestSlotImage() 250 AlbumEntry item = mData[slotIndex % mData.length]; in cancelSlotImage() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 67 private byte[] mData; field in BluetoothMapSmsPdu.SmsPdu 80 this.mData = data; in SmsPdu() 96 this.mData = data; in SmsPdu() 102 return mData; in getData() 121 return mData.length - mUserDataMsgOffset; in getUserDataMsgSize() 160 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetParameterOffset() 194 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetSubParameterOffset() 233 if(mData == null) { in cdmaChangeToDeliverPdu() 237 if(mData.length < offset) { in cdmaChangeToDeliverPdu() 240 mData[offset] = ORIGINATING_ADDRESS; in cdmaChangeToDeliverPdu() [all …]
|
D | BluetoothMapbMessageMms.java | 44 …public byte[] mData = null; /* The raw un-encoded data e.g. the raw jpeg data or the text.g… field in BluetoothMapbMessageMms.MimePart 66 result = new String(mData, charset); in getDataAsString() 70 result = new String(mData, "UTF-8"); in getDataAsString() 89 if(mData != null) { in encode() 97 sb.append(new String(mData,"UTF-8")).append("\r\n"); in encode() 101 sb.append(Base64.encodeToString(mData, Base64.DEFAULT)).append("\r\n"); in encode() 111 sb.append(new String(mData,"UTF-8")).append("\r\n"); in encodePlainText() 163 sb.append(new String(part.mData)); in getMessageAsText() 300 message_size += part.mData.length; in getSize() 615 newPart.mData = decodeBody(body, partEncoding, newPart.mCharsetName); in parseMmsMimePart() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 47 ArrayList<PtNode> mData; field in FusionDictionary.PtNodeArray 60 mData = new ArrayList<>(); in PtNodeArray() 64 mData = data; in PtNodeArray() 133 mChildren.mData.add(n); in addChild() 353 ArrayList<PtNode> stack = ptNodeArray.mData; in checkStack() 418 currentPtNode = currentNodeArray.mData.get(nodeIndex); in add() 435 currentNodeArray.mData.add(insertionIndex, newPtNode); in add() 454 currentPtNode.mChildren.mData.add(newNode); in add() 473 newChildren.mData.add(newOldWord); in add() 493 newChildren.mData.add(addIndex, newWord); in add() [all …]
|
D | BinaryDictEncoderUtils.java | 87 return BinaryDictIOUtils.getPtNodeCountSize(nodeArray.mData.size()); in getPtNodeCountSize() 151 for (PtNode node : ptNodeArray.mData) { in calculatePtNodeArrayMaximumSize() 285 final ArrayList<PtNode> branches = ptNodeArray.mData; in flattenTreeInner() 371 for (PtNode ptNode : ptNodeArray.mData) { in computeActualPtNodeArraySize() 416 for (final PtNode ptNode : nodeArray.mData) { in initializePtNodeArraysCachedAddresses() 434 for (final PtNode ptNode : nodeArray.mData) { in updatePtNodeArraysCachedAddresses() 735 final int ptNodeCount = ptNodeArray.mData.size(); in writePlacedPtNodeArray() 742 final PtNode ptNode = ptNodeArray.mData.get(i); in writePlacedPtNodeArray() 780 if (maxNodes < ptNodeArray.mData.size()) maxNodes = ptNodeArray.mData.size(); in showStatistics() 781 for (final PtNode ptNode : ptNodeArray.mData) { in showStatistics() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MiscFilesHandler.java | 188 private ArrayList<StorageMeasurement.FileInfo> mData = null; field in MiscFilesHandler.MemoryMearurementAdapter 199 mData = (ArrayList<StorageMeasurement.FileInfo>) mMeasurement.mFileInfoForMisc; in MemoryMearurementAdapter() 200 if (mData != null) { in MemoryMearurementAdapter() 201 for (StorageMeasurement.FileInfo info : mData) { in MemoryMearurementAdapter() 209 return (mData == null) ? 0 : mData.size(); in getCount() 214 if (mData == null || mData.size() <= position) { in getItem() 217 return mData.get(position); in getItem() 222 if (mData == null || mData.size() <= position) { in getItemId() 225 return mData.get(position).mId; in getItemId() 229 if (mData == null) { in removeAll() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; field in IntArray 26 if (mData.length == mSize) { in add() 28 System.arraycopy(mData, 0, temp, 0, mSize); in add() 29 mData = temp; in add() 31 mData[mSize++] = value; in add() 36 return mData[mSize]; in removeLast() 48 System.arraycopy(mData, 0, result, 0, mSize); in toArray() 53 return mData; in getInternalArray() 58 if (mData.length != INIT_CAPACITY) mData = new int[INIT_CAPACITY]; in clear()
|
D | RangeIntArray.java | 21 private int[] mData; field in RangeIntArray 25 mData = new int[max - min + 1]; in RangeIntArray() 31 mData = src; in RangeIntArray() 36 mData[i - mOffset] = object; in put() 40 return mData[i - mOffset]; in get() 44 for (int i = 0; i < mData.length; i++) { in indexOf() 45 if (mData[i] == object) return i + mOffset; in indexOf()
|
D | RangeBoolArray.java | 21 private boolean[] mData; field in RangeBoolArray 25 mData = new boolean[max - min + 1]; in RangeBoolArray() 31 mData = src; in RangeBoolArray() 36 mData[i - mOffset] = object; in put() 40 return mData[i - mOffset]; in get() 44 for (int i = 0; i < mData.length; i++) { in indexOf() 45 if (mData[i] == object) return i + mOffset; in indexOf()
|
D | RangeArray.java | 21 private T[] mData; field in RangeArray 25 mData = (T[]) new Object[max - min + 1]; in RangeArray() 34 mData = src; in RangeArray() 39 mData[i - mOffset] = object; in put() 43 return mData[i - mOffset]; in get() 47 for (int i = 0; i < mData.length; i++) { in indexOf() 48 if (mData[i] == object) return i + mOffset; in indexOf()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/util/ |
D | IntArray.java | 22 private int mData[] = new int[INIT_CAPACITY]; field in IntArray 26 if (mData.length == mSize) { in add() 28 System.arraycopy(mData, 0, temp, 0, mSize); in add() 29 mData = temp; in add() 31 mData[mSize++] = value; in add() 36 return mData[mSize]; in removeLast() 48 System.arraycopy(mData, 0, result, 0, mSize); in toArray() 53 return mData; in getInternalArray() 58 if (mData.length != INIT_CAPACITY) mData = new int[INIT_CAPACITY]; in clear()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapMemoryLiteral.java | 32 private byte[] mData; field in ImapMemoryLiteral 37 mData = new byte[in.getLength()]; in ImapMemoryLiteral() 39 while (pos < mData.length) { in ImapMemoryLiteral() 40 int read = in.read(mData, pos, mData.length - pos); in ImapMemoryLiteral() 46 if (pos != mData.length) { in ImapMemoryLiteral() 53 mData = null; in destroy() 59 return Utility.fromAscii(mData); in getString() 64 return new ByteArrayInputStream(mData); in getAsStream() 69 return String.format("{%d byte literal(memory)}", mData.length); in toString()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 710 private ExifData mData = new ExifData(DEFAULT_BYTE_ORDER); field in ExifInterface 745 mData = d; in readExif() 786 mData = new ExifData(DEFAULT_BYTE_ORDER); in clearExif() 966 eos.setExifData(mData); in getExifWriterStream() 1099 ExifData tempData = mData; in forceRewriteExif() 1100 mData = new ExifData(DEFAULT_BYTE_ORDER); in forceRewriteExif() 1117 mData = tempData; in forceRewriteExif() 1142 return mData.getAllTags(); in getAllTags() 1155 return mData.getAllTagsForTagId(tagId); in getTagsForTagId() 1168 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId() [all …]
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 710 private ExifData mData = new ExifData(DEFAULT_BYTE_ORDER); field in ExifInterface 745 mData = d; in readExif() 786 mData = new ExifData(DEFAULT_BYTE_ORDER); in clearExif() 966 eos.setExifData(mData); in getExifWriterStream() 1099 ExifData tempData = mData; in forceRewriteExif() 1100 mData = new ExifData(DEFAULT_BYTE_ORDER); in forceRewriteExif() 1117 mData = tempData; in forceRewriteExif() 1142 return mData.getAllTags(); in getAllTags() 1155 return mData.getAllTagsForTagId(tagId); in getTagsForTagId() 1168 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 710 private ExifData mData = new ExifData(DEFAULT_BYTE_ORDER); field in ExifInterface 745 mData = d; in readExif() 786 mData = new ExifData(DEFAULT_BYTE_ORDER); in clearExif() 966 eos.setExifData(mData); in getExifWriterStream() 1099 ExifData tempData = mData; in forceRewriteExif() 1100 mData = new ExifData(DEFAULT_BYTE_ORDER); in forceRewriteExif() 1117 mData = tempData; in forceRewriteExif() 1142 return mData.getAllTags(); in getAllTags() 1155 return mData.getAllTagsForTagId(tagId); in getTagsForTagId() 1168 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId() [all …]
|
/packages/apps/Mms/src/com/android/mms/exif/ |
D | ExifInterface.java | 710 private ExifData mData = new ExifData(DEFAULT_BYTE_ORDER); field in ExifInterface 745 mData = d; in readExif() 786 mData = new ExifData(DEFAULT_BYTE_ORDER); in clearExif() 966 eos.setExifData(mData); in getExifWriterStream() 1099 ExifData tempData = mData; in forceRewriteExif() 1100 mData = new ExifData(DEFAULT_BYTE_ORDER); in forceRewriteExif() 1117 mData = tempData; in forceRewriteExif() 1142 return mData.getAllTags(); in getAllTags() 1155 return mData.getAllTagsForTagId(tagId); in getTagsForTagId() 1168 return mData.getAllTagsForIfd(ifdId); in getTagsForIfdId() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 276 private AdapterData mData; field in TrustedCredentialsSettings.TrustedCertificateExpandableAdapter 279 mData = new AdapterData(tab, this); in TrustedCertificateExpandableAdapter() 284 mData.remove(certHolder); in remove() 288 return mData.mCertHoldersByUserId.size(); in getGroupCount() 292 List<CertHolder> certHolders = mData.mCertHoldersByUserId.valueAt(groupPosition); in getChildrenCount() 300 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition)); in getGroup() 304 return mData.mCertHoldersByUserId.valueAt(groupPosition).get(childPosition); in getChild() 308 return mData.mCertHoldersByUserId.keyAt(groupPosition); in getGroupId() 342 return getViewForCertificate(getChild(groupPosition, childPosition), mData.mTab, in getChildView() 351 mData.new AliasLoader().execute(); in load() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumDataLoader.java | 49 private final MediaItem[] mData; field in AlbumDataLoader 81 mData = new MediaItem[DATA_CACHE_SIZE]; in AlbumDataLoader() 125 return mData[index % mData.length]; in get() 144 MediaItem item = mData[i % DATA_CACHE_SIZE]; in findItem() 153 mData[slotIndex] = null; in clearSlot() 189 && end - start <= mData.length && end <= mSize); in setActiveWindow() 191 int length = mData.length; in setActiveWindow() 313 mData[index] = updateItem; in call()
|
D | PhotoDataAdapter.java | 114 private final MediaItem mData[] = new MediaItem[DATA_CACHE_SIZE]; field in PhotoDataAdapter 224 return mData[index % DATA_CACHE_SIZE]; in getItemInternal() 390 return mData[index % DATA_CACHE_SIZE]; in getItem() 400 MediaItem item = mData[index % DATA_CACHE_SIZE]; in updateCurrentIndex() 570 return mData[index % DATA_CACHE_SIZE]; in getMediaItem() 647 mData[i % DATA_CACHE_SIZE] = null; in updateSlidingWindow() 660 MediaItem item = mData[currentIndex % DATA_CACHE_SIZE]; in updateImageRequests() 775 MediaItem item = mData[index % DATA_CACHE_SIZE]; in startTaskIfNeeded() 811 MediaItem item = mData[i % DATA_CACHE_SIZE]; in updateImageCache() 941 if (mData[i % DATA_CACHE_SIZE] == null) return true; in needContentReload() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | SmsInteractionsLoader.java | 44 private List<ContactInteraction> mData; field in SmsInteractionsLoader 123 if (mData != null) { in onStartLoading() 124 deliverResult(mData); in onStartLoading() 127 if (takeContentChanged() || mData == null) { in onStartLoading() 140 mData = data; in deliverResult() 152 if (mData != null) { in onReset() 153 mData.clear(); in onReset()
|
D | CallLogInteractionsLoader.java | 40 private List<ContactInteraction> mData; field in CallLogInteractionsLoader 144 if (mData != null) { in onStartLoading() 145 deliverResult(mData); in onStartLoading() 148 if (takeContentChanged() || mData == null) { in onStartLoading() 161 mData = data; in deliverResult() 173 if (mData != null) { in onReset() 174 mData.clear(); in onReset()
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
D | Template.java | 147 HashMap<String, Object> mData; field in Template.HashMapEntityData 150 mData = map; in HashMapEntityData() 155 return (ListEntityIterator) mData.get(key); in getListIterator() 160 stream.write((byte[]) mData.get(key)); in writeValue() 166 private HashMap<String, Object> mData = new HashMap<String, Object>(); field in Template 219 mData.put(name, value.getBytes()); in assign() 223 mData.put(name, iter); in assignLoop() 227 write(stream, new HashMapEntityData(mData)); in write()
|