/packages/apps/Camera/src/com/android/camera/ |
H A D | IntArray.java | 23 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/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapTempFileLiteral.java | 44 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/util/ |
H A D | IntArray.java | 23 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/LegacyCamera/src/com/android/camera/ |
H A D | IntArray.java | 23 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/tests/src/com/android/gallery3d/ui/ |
H A D | PointerInfo.java | 36 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/widget/ |
H A D | InvertedChartAxis.java | 27 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 D | ChartDataUsageView.java | 460 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | UserHistoryDictionaryBigramList.java | 34 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 D | DictionaryPool.java | 47 private int mSize; field in class:DictionaryPool 76 mSize = 0; 86 if (mSize >= mMaxSize) { 93 mSize = 1; 99 ++mSize;
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | CompositeListAdapter.java | 43 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 D | PinnedHeaderListView.java | 95 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/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
H A D | MimeBodyPart.java | 37 protected int mSize; field in class:MimeBodyPart 139 this.mSize = size; 143 return mSize;
|
H A D | MimeMessage.java | 68 protected int mSize; field in class:MimeMessage 210 return mSize;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | LongSparseArray.java | 33 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/Browser/src/com/android/browser/util/ |
H A D | ThreadedCursorAdapter.java | 47 private int mSize; field in class:ThreadedCursorAdapter 78 mSize = getCount(); 86 mSize = getCount(); 92 mSize = mCursorAdapter.getCount(); 130 return mSize;
|
/packages/apps/Email/src/com/android/email/ |
H A D | AttachmentInfo.java | 69 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/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumDataLoader.java | 68 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 D | AlbumSetDataLoader.java | 67 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 D | PhotoDataAdapter.java | 149 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/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSlidingWindow.java | 65 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 D | AlbumSetSlidingWindow.java | 46 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...] |
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | MediaModel.java | 54 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/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageMeasurement.java | 511 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;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningState.java | 312 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...] |
/packages/apps/Music/src/com/android/music/ |
H A D | TrackBrowserActivity.java | 1110 mSize = mNowPlaying.length; 1111 if (mSize == 0) { 1117 for (int i = 0; i < mSize; i++) { 1119 if (i < mSize - 1) { 1130 mSize = 0; 1161 mSize = mNowPlaying.length; 1162 if (mSize == 0) { 1175 return mSize; 1207 mSize--; 1208 while (i < mSize) { 1323 private int mSize; // size of the queue field in class:TrackBrowserActivity.NowPlayingCursor [all...] |