/packages/apps/Email/emailcommon/src/org/apache/commons/io/output/ |
H A D | CountingOutputStream.java | 33 /** The count of bytes that have passed. */
34 private long count;
field in class:CountingOutputStream 48 * keeping count of the number of bytes written.
55 count += b.length;
61 * keeping count of the number of bytes written.
70 count += len;
75 * Writes a single byte to the output stream adding to the count of the
83 count++;
92 * count is greater than can be expressed by an <code>int</code>.
96 * @throws ArithmeticException if the byte count i [all...] |
H A D | ByteArrayOutputStream.java | 60 /** The total count of bytes in all the filled buffers. */
64 /** The total count of bytes written. */
65 private int count;
field in class:ByteArrayOutputStream 151 int newcount = count + len;
153 int inBufferPos = count - filledBufferSum;
163 count = newcount;
173 int inBufferPos = count - filledBufferSum;
175 needNewBuffer(count + 1);
179 count++;
195 int inBufferPos = count [all...] |
/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/ |
H A D | CountingInputStream.java | 34 /** The count of bytes that have passed. */
35 private long count;
field in class:CountingInputStream 48 * Reads a number of bytes into the byte array, keeping count of the
58 this.count += (found >= 0) ? found : 0;
64 * keeping count of the number read.
75 this.count += (found >= 0) ? found : 0;
80 * Reads the next byte of data adding to the count of bytes received
89 this.count += (found >= 0) ? 1 : 0;
95 * amount to the count.
104 this.count [all...] |
H A D | CharSequenceReader.java | 106 int count = 0;
110 return count;
113 count++;
115 return count;
141 int count = dest - idx;
143 return count;
|
H A D | SwappedDataInputStream.java | 141 int count = read( data, location, remaining );
143 if( -1 == count )
148 remaining -= count;
240 * @param count the number of bytes to skip
245 public int skipBytes( int count )
248 return (int)in.skip( count );
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | SnapshotByteArrayOutputStream.java | 40 public void write(byte[] buffer, int offset, int count) throws IOException { argument 41 checkError(count); 42 mStream.write(buffer, offset, count);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ComboAlbum.java | 42 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 46 if (count < 1) break; 48 int fetchCount = (start + count <= size) ? count : size - start; 51 count -= fetchItems.size(); 62 int count = 0; 64 count += set.getMediaItemCount(); 66 return count;
|
H A D | Exif.java | 100 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; 101 if (count < 10 || count > length) { 105 offset += count; 106 length -= count; 108 // Get the count and go through all the elements. 109 count = pack(jpeg, offset - 2, 2, littleEndian); 110 while (count-- > 0 && length >= 12) { 114 // We do not really care about type and count, do we?
|
H A D | ComboAlbumSet.java | 55 int count = 0; 57 count += set.getSubMediaSetCount(); 59 return count;
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Exif.java | 83 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; 84 if (count < 10 || count > length) { 88 offset += count; 89 length -= count; 91 // Get the count and go through all the elements. 92 count = pack(jpeg, offset - 2, 2, littleEndian); 93 while (count-- > 0 && length >= 12) { 97 // We do not really care about type and count, do we?
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | StackLayout.java | 34 final int count = getChildCount(); 50 final int count = super.getChildCount(); 52 for (int i = 0; i < count; i++) {
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | nj_str.c | 55 NJ_UINT16 count = 0; local 59 count++; 61 return count; 92 NJ_UINT16 count = 0; local 96 count++; 99 return count;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | SpinnerOption.java | 27 for (int i = 0, count = spinner.getCount(); i < count; i++) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FocusOnlyTabWidget.java | 38 final int count = getTabCount(); 39 for (int i = 0; i < count; ++i) { 61 final int count = getTabCount(); 62 for (int i = 0; i < count; ++i) {
|
H A D | CellLayoutChildren.java | 57 final int count = getChildCount(); 58 for (int i = 0; i < count; i++) { 72 int count = getChildCount(); 73 for (int i = 0; i < count; i++) { 100 int count = getChildCount(); 101 for (int i = 0; i < count; i++) { 144 final int count = getChildCount(); 145 for (int i = 0; i < count; i++) { 153 final int count = getChildCount(); 154 for (int i = 0; i < count; [all...] |
H A D | PagedViewCellLayoutChildren.java | 48 final int count = getChildCount(); 49 for (int i = 0; i < count; i++) { 89 final int count = getChildCount(); 90 for (int i = 0; i < count; i++) { 111 int count = getChildCount(); 114 if (mCenterContent && count > 0) { 118 for (int i = 0; i < count; i++) { 131 for (int i = 0; i < count; i++) { 157 final int count = getChildCount(); 158 for (int i = 0; i < count; [all...] |
/packages/apps/Email/emailcommon/src/org/apache/commons/io/ |
H A D | CopyUtils.java | 197 int count = 0;
201 count += n;
203 return count;
222 int count = 0;
226 count += n;
228 return count;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CommonNicknameCache.java | 75 int count = cursor.getCount(); 76 for (int i = 0; i < count; i++) { 138 int count = cursor.getCount(); 139 if (count > 0) { 140 clusters = new String[count]; 141 for (int i = 0; i < count; i++) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
H A D | FillCallLogTestActivity.java | 64 int count = Integer.parseInt(mNumberTextView.getText().toString()); 65 addEntriesToCallLog(count); 69 mProgressBar.setMax(count); 79 * @param count the number of entries to add 81 private void addEntriesToCallLog(final int count) { argument 82 getLoaderManager().initLoader(CALLLOG_LOADER_ID, null, new CallLogLoaderListener(count)); 141 private CallLogLoaderListener(int count) { argument 142 mCount = count; 192 public AsyncCallLogInserter(int count, ContentValues[] values) { argument 193 mCount = count; 211 onPostExecute(Integer count) argument 259 updateCount(Integer count) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | EvenlySpacedLayout.java | 50 int count = getChildCount(); 53 for (int i = 0; i < count; i++) { 70 int count = getChildCount(); 74 for (int i = 0; i < count; i++) { 85 for (int i = 0; i < count; i++) { 97 int count = getChildCount(); 101 for (int i = 0; i < count; i++) { 112 for (int i = 0; i < count; i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | InterruptableOutputStream.java | 43 public void write(byte[] buffer, int offset, int count) throws IOException { argument 44 int end = offset + count;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
H A D | MockTask.java | 58 public void assertRunCount(String message, int count) { argument 59 assertEquals(message + ": " + toString() + " bad run count", count, getRunCount());
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventRecurrenceFormatter.java | 42 int count = recurrence.bydayCount - 1; 43 if (count >= 0) { 44 for (int i = 0 ; i < count ; i++) { 48 days.append(dayToString(recurrence.byday[count]));
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestSyncAdapter.java | 58 final int count = cr.update(RawContacts.CONTENT_URI, values, 61 if (count > 0) { 62 Log.v(TestauthConstants.LOG_TAG, "Claimed " + count + " local raw contacts");
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | BatchingNamedTaskExecutor.java | 67 int count = Math.min(mQueuedTasks.size(), batchSize); 68 List<NamedTask> nextTasks = mQueuedTasks.subList(0, count); 71 if (DBG) Log.d(TAG, "Dispatching batch of " + count);
|