Home
last modified time | relevance | path

Searched refs:mData (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSimpleAdapter.java63 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 …]
DSelectCalendarsSyncAdapter.java58 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/
DAlbumSetSlidingWindow.java59 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 …]
DAlbumSlidingWindow.java61 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java48 ArrayList<PtNode> mData; field in FusionDictionary.PtNodeArray
61 mData = new ArrayList<PtNode>(); in PtNodeArray()
64 mData = data; in PtNodeArray()
158 mChildren.mData.add(n); in addChild()
424 ArrayList<PtNode> stack = ptNodeArray.mData; in checkStack()
488 currentPtNode = currentNodeArray.mData.get(nodeIndex); in add()
504 currentNodeArray.mData.add(insertionIndex, newPtNode); in add()
523 currentPtNode.mChildren.mData.add(newNode); in add()
542 newChildren.mData.add(newOldWord); in add()
561 newChildren.mData.add(addIndex, newWord); in add()
[all …]
DBinaryDictEncoderUtils.java87 return BinaryDictIOUtils.getPtNodeCountSize(nodeArray.mData.size()); in getPtNodeCountSize()
158 for (PtNode node : ptNodeArray.mData) { in calculatePtNodeArrayMaximumSize()
280 final ArrayList<PtNode> branches = ptNodeArray.mData; in flattenTreeInner()
367 for (PtNode ptNode : ptNodeArray.mData) { in computeActualPtNodeArraySize()
424 for (final PtNode ptNode : nodeArray.mData) { in initializePtNodeArraysCachedAddresses()
442 for (final PtNode ptNode : nodeArray.mData) { in updatePtNodeArraysCachedAddresses()
458 for (final PtNode ptNode : nodeArray.mData) { in computeParentAddresses()
808 final int ptNodeCount = ptNodeArray.mData.size(); in writePlacedPtNodeArray()
815 final PtNode ptNode = ptNodeArray.mData.get(i); in writePlacedPtNodeArray()
856 if (maxNodes < ptNodeArray.mData.size()) maxNodes = ptNodeArray.mData.size(); in showStatistics()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMiscFilesHandler.java188 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/Launcher3/WallpaperPicker/src/com/android/gallery3d/util/
DIntArray.java22 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/Gallery2/src/com/android/gallery3d/util/
DIntArray.java22 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()
DRangeIntArray.java21 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()
DRangeBoolArray.java21 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()
DRangeArray.java21 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/Email/src/com/android/email/mail/store/imap/
DImapMemoryLiteral.java32 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/
DExifInterface.java710 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/
DExifInterface.java710 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/
DExifInterface.java710 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/
DExifInterface.java710 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/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java49 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()
DPhotoDataAdapter.java114 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 …]
DAlbumSetDataLoader.java53 private final MediaSet[] mData; field in AlbumSetDataLoader
80 mData = new MediaSet[cacheSize]; in AlbumSetDataLoader()
126 return mData[index % mData.length]; in getMediaSet()
154 int length = mData.length; in findSet()
156 MediaSet set = mData[i % length]; in findSet()
165 mData[slotIndex] = null; in clearSlot()
301 mData[pos] = info.item; in call()
/packages/apps/Browser/src/com/android/browser/homepages/
DTemplate.java147 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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java59 Node[] mData; field in ExpandableDictionary.NodeArray
64 mData = new Node[INCREMENT]; in NodeArray()
68 if (mLength + 1 > mData.length) { in add()
71 System.arraycopy(mData, 0, tempData, 0, mLength); in add()
73 mData = tempData; in add()
75 mData[mLength++] = n; in add()
196 final Node node = children.mData[i]; in addWordRec()
424 final Node node = roots.mData[i]; in getWordsRec()
567 final Node node = children.mData[i]; in searchWord()
653 final Node node = children.mData[j]; in searchNode()
/packages/apps/Camera/src/com/android/camera/
DIntArray.java22 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()
42 System.arraycopy(mData, 0, result, 0, mSize); in toArray()
/packages/apps/LegacyCamera/src/com/android/camera/
DIntArray.java22 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()
42 System.arraycopy(mData, 0, result, 0, mSize); in toArray()
/packages/apps/Camera2/src/com/android/camera/
DIntArray.java22 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()
42 System.arraycopy(mData, 0, result, 0, mSize); in toArray()

12