/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/data/ |
H A D | SingleItemAlbum.java | 39 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 42 // If [start, start+count) contains the index 0, return the item. 43 if (start <= 0 && start + count > 0) {
|
H A D | ComboAlbumSet.java | 56 int count = 0; 58 count += set.getSubMediaSetCount(); 60 return count;
|
H A D | SizeClustering.java | 78 int count = 0; 81 count++; 85 mClusters = new ArrayList[count]; 86 mNames = new String[count]; 87 mMinSizes = new long[count];
|
/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/Email/src/com/android/email/activity/ |
H A D | UiUtilities.java | 58 public static String getMessageCountForUi(Context context, int count, argument 60 if (replaceZeroWithBlank && (count == 0)) { 62 } else if (count > 999) { 65 return Integer.toString(count);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | inputstream_wrapper.h | 28 virtual int64_t skip(int64_t count);
|
H A D | jpeg_reader.cpp | 117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { argument 128 if (count <= 0) { 131 int32_t total_length = count; 133 if (count < mScanlineBytesRemaining) { 138 count * sizeof(int8_t)); 140 mScanlineBytesRemaining -= count; 141 mScanlineIter += count; 143 } else if (count > 0) { 151 count -= mScanlineBytesRemaining; 171 return total_length - count; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SuperCollapsedBlock.java | 76 public void setCount(int count) { argument 77 final String strCount = NumberFormat.getIntegerInstance().format(count); 84 res.getQuantityString(R.plurals.show_messages_read, count, count));
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | DragGestureDetector.java | 52 float count = 0f; 57 count += 1f; 60 position[0] /= count; 61 position[1] /= count;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/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/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 123 int count = mClickedSet.size(); 125 count = getTotalCount() - count; 127 return count; 139 int count = getSelectedCount(); 140 if (count == getTotalCount()) { 145 if (count == 0 && mAutoLeave) { 162 int count = index + batch < total 165 ArrayList<MediaItem> list = set.getMediaItem(index, count); 223 int count [all...] |
/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);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | UiHandler.java | 81 int count = mCount.getAndSet(0); 82 if (count > 0) { 83 LogUtils.e(LOG_TAG, "Disable UiHandler. Dropping %d Runnables.", count);
|
H A D | FolderItemView.java | 160 * Sets the unread count, taking care to hide/show the textview if the count is zero/non-zero. 162 private void setUnreadCount(int count) { argument 163 mUnreadCountTextView.setVisibility(count > 0 ? View.VISIBLE : View.GONE); 164 if (count > 0) { 165 mUnreadCountTextView.setText(Utils.getUnreadCountString(getContext(), count)); 170 * Sets the unseen count, taking care to hide/show the textview if the count is zero/non-zero. 172 private void setUnseenCount(final int color, final int count) { argument 173 mUnseenCountTextView.setVisibility(count > 187 overrideUnreadCount(int count) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/ |
H A D | language_model_dict_content_test.cpp | 46 const int count = 10; local 48 const HistoricalInfo historicalInfo(timestamp, level, count); 55 EXPECT_EQ(count, entry.getHistoricalInfo()->getCount());
|
H A D | probability_entry_test.cpp | 43 const int count = 10; local 45 const HistoricalInfo historicalInfo(timestamp, level, count); 56 EXPECT_EQ(count, decodedEntry.getHistoricalInfo()->getCount());
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | SQLiteContentProvider.java | 145 int count = 0; 153 count = updateInTransaction(uri, values, selection, selectionArgs, 155 if (count > 0) { 166 count = updateInTransaction(uri, values, selection, selectionArgs, 168 if (count > 0) { 173 return count; 178 int count = 0; 186 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 187 if (count > 0) { 198 count [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | BootCompletedReceiver.java | 61 int count = 0; 65 while (TextUtils.isEmpty(dbTime) && count != 3) { 69 count++;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | JPEGInputStream.java | 102 public int read(byte[] buffer, int offset, int count) throws IOException { argument 103 if (offset < 0 || count < 0 || (offset + count) > buffer.length) { 106 buffer.length, offset, count)); 114 flag = readDecodedBytes(buffer, offset, count);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | QuotedPrintableInputStream.java | 60 if (byteq.count() == 0) 81 //Debug.verify(pushbackq.count() == 0, "PopulatePushbackQueue called when pushback queue was not empty!"); 83 if (pushbackq.count() != 0) 119 while (byteq.count() == 0) { 120 if (pushbackq.count() == 0) { 122 if (pushbackq.count() == 0)
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | TrustAgentSettings.java | 86 final int count = mAvailableAgents.size(); 87 for (int i = 0; i < count; i++) { 119 final int count = resolveInfos.size(); 120 agents.ensureCapacity(count); 121 for (int i = 0; i < count; i++ ) { 138 final int count = mAvailableAgents.size(); 139 for (int i = 0; i < count; i++) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ShortcutAndWidgetContainer.java | 61 final int count = getChildCount(); 62 for (int i = 0; i < count; i++) { 94 int count = getChildCount(); 95 for (int i = 0; i < count; i++) { 136 int count = getChildCount(); 137 for (int i = 0; i < count; i++) { 180 final int count = getChildCount(); 181 for (int i = 0; i < count; i++) { 189 final int count = getChildCount(); 190 for (int i = 0; i < count; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutAndWidgetContainer.java | 65 final int count = getChildCount(); 66 for (int i = 0; i < count; i++) { 98 int count = getChildCount(); 104 for (int i = 0; i < count; i++) { 181 int count = getChildCount(); 182 for (int i = 0; i < count; i++) { 224 final int count = getChildCount(); 225 for (int i = 0; i < count; i++) { 233 final int count = getChildCount(); 234 for (int i = 0; i < count; [all...] |