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

12

/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/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/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/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;
H A DMimeMessage.java68 protected int mSize; field in class:MimeMessage
210 return mSize;
H A DRfc822Output.java292 + "\n size=" + Long.toString(attachment.mSize));
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DEmailContent.java1134 public long mSize; field in class:EmailContent.Attachment
1285 mSize = cursor.getLong(CONTENT_SIZE_COLUMN);
1305 values.put(AttachmentColumns.SIZE, mSize);
1332 dest.writeLong(mSize);
1357 mSize = in.readLong();
1393 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", "
/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 + "}";
H A DLegacyConversions.java217 localAttachment.mSize = size; // May be reset below if file handled
312 localAttachment.mSize = copySize;
H A DMessagingController.java1955 storePart.setSize((int)attachment.mSize);
/packages/apps/Email/src/com/android/email/activity/
H A DMessageCompose.java1606 attachment.mSize = size;
1613 if (attachment.mSize > AttachmentUtilities.MAX_ATTACHMENT_UPLOAD_SIZE) {
1643 if (attachment.mSize > 0) {
1644 sizeView.setText(UiUtilities.formatSize(this, attachment.mSize));
H A DMessageViewFragmentBase.java803 info.mContentType, absolutePath, info.mSize,
1520 attachmentInfoView.setText(UiUtilities.formatSize(mContext, attachmentInfo.mSize));
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapStore.java593 mSize = size;
H A DPop3Store.java974 mSize = -1;
978 mSize = size;
/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/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java571 mAttachmentStorageMap.put(accountId, currentStorage + attachment.mSize);
997 pw.println(" Size: " + att.mSize);
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java426 assertEquals(tag, expectedSize, actual.mSize);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DSmtpSenderUnitTests.java196 attachment.mSize = 0;
215 mockTransport.expect(" size=" + Long.toString(attachment.mSize));
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java249 att.mSize = length;
438 assertEquals(caller + " mSize", expect.mSize, actual.mSize);
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAttachmentLoader.java68 mAttachmentSize = (int)mAttachment.mSize;
H A DEmailSyncAdapter.java869 att.mSize = Long.parseLong(length);
884 (att.mSize > mPolicy.mMaxAttachmentSize))) {
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DCalendarUtilities.java1969 att.mSize = att.mContentBytes.length;
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java317 assertEquals(att.mSize, att.mContentBytes.length);
359 assertEquals(att.mSize, att.mContentBytes.length);
421 assertEquals(att.mSize, att.mContentBytes.length);
487 assertEquals(att.mSize, att.mContentBytes.length);
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java327 assertEquals(att.mSize, att.mContentBytes.length);
369 assertEquals(att.mSize, att.mContentBytes.length);
431 assertEquals(att.mSize, att.mContentBytes.length);
497 assertEquals(att.mSize, att.mContentBytes.length);

Completed in 364 milliseconds

12