Searched refs:mSize (Results 1 - 25 of 45) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIntArray.java23 private int mSize = 0; field in class:IntArray
26 if (mData.length == mSize) {
27 int temp[] = new int[mSize + mSize];
28 System.arraycopy(mData, 0, temp, 0, mSize);
31 mData[mSize++] = value;
35 return mSize;
40 if (result == null || result.length < mSize) {
41 result = new int[mSize];
43 System.arraycopy(mData, 0, result, 0, mSize);
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DIntArray.java23 private int mSize = 0; field in class:IntArray
26 if (mData.length == mSize) {
27 int temp[] = new int[mSize + mSize];
28 System.arraycopy(mData, 0, temp, 0, mSize);
31 mData[mSize++] = value;
35 return mSize;
39 if (result == null || result.length < mSize) {
40 result = new int[mSize];
42 System.arraycopy(mData, 0, result, 0, mSize);
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DIntArray.java23 private int mSize = 0; field in class:IntArray
26 if (mData.length == mSize) {
27 int temp[] = new int[mSize + mSize];
28 System.arraycopy(mData, 0, temp, 0, mSize);
31 mData[mSize++] = value;
35 return mSize;
39 if (result == null || result.length < mSize) {
40 result = new int[mSize];
42 System.arraycopy(mData, 0, result, 0, mSize);
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLongSparseArray.java33 private int mSize; field in class:LongSparseArray
52 mSize = 0;
83 int i = binarySearch(mKeys, 0, mSize, key);
96 int i = binarySearch(mKeys, 0, mSize, key);
124 // Log.e("SparseArray", "gc start with " + mSize);
126 int n = mSize;
146 mSize = o;
148 // Log.e("SparseArray", "gc end with " + mSize);
157 int i = binarySearch(mKeys, 0, mSize, key);
164 if (i < mSize
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DInvertedChartAxis.java27 private float mSize; field in class:InvertedChartAxis
40 mSize = size;
46 return mSize - mWrapped.convertToPoint(value);
51 return mWrapped.convertToValue(mSize - point);
63 points[i] = mSize - points[i];
H A DChartDataUsageView.java460 private float mSize; field in class:ChartDataUsageView.TimeAxis
469 return Objects.hashCode(mMin, mMax, mSize);
485 if (mSize != size) {
486 mSize = size;
495 return (mSize * (value - mMin)) / (mMax - mMin);
500 return (long) (mMin + ((point * (mMax - mMin)) / mSize));
545 private float mSize; field in class:ChartDataUsageView.DataAxis
551 return Objects.hashCode(mMin, mMax, mSize);
567 if (mSize != size) {
568 mSize
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DCompositeListAdapter.java43 private int mSize = 0; field in class:CompositeListAdapter
76 if (mSize >= mAdapters.length) {
77 int newCapacity = mSize + 2;
79 System.arraycopy(mAdapters, 0, newAdapters, 0, mSize);
83 System.arraycopy(mCounts, 0, newCounts, 0, mSize);
87 System.arraycopy(mViewTypeCounts, 0, newViewTypeCounts, 0, mSize);
96 mAdapters[mSize] = adapter;
97 mCounts[mSize] = count;
100 mViewTypeCounts[mSize] = viewTypeCount;
102 mSize
[all...]
H A DPinnedHeaderListView.java95 private int mSize; field in class:PinnedHeaderListView
157 if (count != mSize) {
158 mSize = count;
160 mHeaders = new PinnedHeader[mSize];
161 } else if (mHeaders.length < mSize) {
163 mHeaders = new PinnedHeader[mSize];
168 for (int i = 0; i < mSize; i++) {
188 return mSize > 0 ? 0 : super.getTopFadingEdgeStrength();
210 for (int i = 0; i < mSize; i++) {
373 for (int i = mSize;
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DUserHistoryDictionaryBigramList.java34 private int mSize = 0; field in class:UserHistoryDictionaryBigramList
37 mSize = 0;
63 ++mSize;
88 return mSize;
114 --mSize;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DDictionaryPool.java47 private int mSize; field in class:DictionaryPool
76 mSize = 0;
86 if (mSize >= mMaxSize) {
93 mSize = 1;
99 ++mSize;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java68 private int mSize = 0; field in class:AlbumDataLoader
138 return mSize;
190 && end - start <= mData.length && end <= mSize);
200 0, Math.max(0, mSize - length));
201 int contentEnd = Math.min(contentStart + length, mSize);
261 info.size = mSize;
287 if (mSize != info.size) {
288 mSize = info.size;
289 if (mDataListener != null) mDataListener.onSizeChanged(mSize);
290 if (mContentEnd > mSize) mContentEn
[all...]
H A DAlbumSetDataLoader.java67 private int mSize; field in class:AlbumSetDataLoader
148 return mSize;
201 && end - start <= mCoverItem.length && end <= mSize);
211 0, Math.max(0, mSize - length));
212 int contentEnd = Math.min(contentStart + length, mSize);
269 info.size = mSize;
288 if (mSize != info.size) {
289 mSize = info.size;
290 if (mDataListener != null) mDataListener.onSizeChanged(mSize);
291 if (mContentEnd > mSize) mContentEn
[all...]
H A DPhotoDataAdapter.java149 private int mSize = 0; field in class:PhotoDataAdapter
223 if (index < 0 || index >= mSize) return null;
289 mSize - 1 - mCurrentIndex);
387 if (index < 0 || index >= mSize || !mIsActive) return null;
449 if (index < 0 || index >= mSize || !mIsActive) return null;
560 return mSize == 0;
633 0, Math.max(0, mSize - IMAGE_CACHE_SIZE));
634 int end = Math.min(mSize, start + IMAGE_CACHE_SIZE);
643 0, Math.max(0, mSize - DATA_CACHE_SIZE));
644 end = Math.min(mSize, star
[all...]
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapTempFileLiteral.java44 private final int mSize; field in class:ImapTempFileLiteral
47 mSize = stream.getLength();
113 return String.format("{%d byte literal(file)}", mSize);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSlidingWindow.java65 private int mSize; field in class:AlbumSlidingWindow
95 mSize = source.size();
164 if (!(start <= end && end - start <= mData.length && end <= mSize)) {
165 Utils.fail("%s, %s, %s, %s", start, end, mData.length, mSize);
173 0, Math.max(0, mSize - data.length));
174 int contentEnd = Math.min(contentStart + data.length, mSize);
333 if (mSize != size) {
334 mSize = size;
335 if (mListener != null) mListener.onSizeChanged(mSize);
336 if (mContentEnd > mSize) mContentEn
[all...]
H A DAlbumSetSlidingWindow.java46 private int mSize; field in class:AlbumSetSlidingWindow
96 mSize = source.size();
126 return mSize;
165 if (!(start <= end && end - start <= mData.length && end <= mSize)) {
167 start, end, mData.length, mSize);
174 0, Math.max(0, mSize - data.length));
175 int contentEnd = Math.min(contentStart + data.length, mSize);
351 if (mIsActive && mSize != size) {
352 mSize = size;
353 if (mListener != null) mListener.onSizeChanged(mSize);
[all...]
H A DPhotoView.java592 private Size mSize = new Size(); field in class:PhotoView.FullPicture
611 return mSize;
617 mPositionController.forceImageSize(0, mSize);
631 mSize.width = getRotated(mRotation, w, h);
632 mSize.height = getRotated(mRotation, h, w);
773 private Size mSize = new Size(); field in class:PhotoView.ScreenNailPicture
793 return mSize;
868 mPositionController.forceImageSize(mIndex, mSize);
881 mSize.width = mScreenNail.getWidth();
882 mSize
[all...]
/packages/apps/Mms/src/com/android/mms/model/
H A DMediaModel.java54 protected int mSize; field in class:MediaModel
89 mSize = data.length;
190 return mSize;
239 mSize = (int) f.getChannel().size();
240 // sometimes mSize will be zero here. It's tempting to count the bytes as the code
244 if (isVideo() && mSize > MmsConfig.getMaxMessageSize()) {
245 Log.w(TAG, "initMediaSize: Video size: f.getChannel().size(): " + mSize +
250 mSize++;
/packages/apps/Email/src/com/android/email/
H A DAttachmentInfo.java69 public final long mSize; field in class:AttachmentInfo
85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType,
96 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey,
102 mSize = size;
161 if (mSize > AttachmentUtilities.MAX_ATTACHMENT_DOWNLOAD_SIZE) {
240 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}";
/packages/apps/Browser/src/com/android/browser/util/
H A DThreadedCursorAdapter.java47 private int mSize; field in class:ThreadedCursorAdapter
78 mSize = getCount();
86 mSize = getCount();
92 mSize = mCursorAdapter.getCount();
130 return mSize;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeBodyPart.java37 protected int mSize; field in class:MimeBodyPart
139 this.mSize = size;
143 return mSize;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DPointerInfo.java36 public int mSize; field in class:PointerInfo
44 * The byte offset between consecutive vertices. 0 means mSize *
52 mSize = size;
59 return mStride > 0 ? mStride : sizeof(mType) * mSize;
193 int size = mSize;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageMeasurement.java511 final long mSize; field in class:StorageMeasurement.FileInfo
516 mSize = size;
522 if (this == that || mSize == that.mSize) return 0;
523 else return (mSize < that.mSize) ? 1 : -1; // for descending sort
528 return mFileName + " : " + mSize + ", id:" + mId;
H A DMiscFilesHandler.java177 selectedDataSize += mAdapter.getItem(i).mSize;
202 mDataSize += info.mSize;
234 mDataSize -= ((StorageMeasurement.FileInfo) o).mSize;
254 view.setFileSize(Formatter.formatFileSize(mContext, item.mSize));
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java312 long mSize; field in class:RunningState.BaseItem
506 mSize = pss * 1024;
509 context, mSize);
638 mSize = 0;
642 mSize += child.mSize;
645 mSize = mProcess.mSize;
647 mSize += mOtherProcesses.get(i).mSize;
[all...]

Completed in 388 milliseconds

12