/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | EllipsizeLayout.java | 32 final int count = getChildCount(); 34 for (int ii = 0; ii < count && !outOfSpec; ++ii) {
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvasTest.java | 174 public void glDrawArrays(int mode, int first, int count) { argument 177 assertEquals(2, count); 218 public void glDrawArrays(int mode, int first, int count) { argument 221 assertEquals(4, count); 248 int count[] = new int[4]; 255 count[i]++; 262 assertEquals(1, count[i]); 287 public void glDrawArrays(int mode, int first, int count) { argument
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ConversationListAdapter.java | 89 int count = getCount(); 90 for (int i = 0; i < count; i++) {
|
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | atomdictbase.h | 192 * @param count The frequency count for this lemma. 195 uint16 lemma_len, uint16 count) = 0; 198 * Update a lemma's occuring count. 201 * @param delta_count The frequnecy count to ajust. 248 * Get the total occuring count of this atom dictionary. 250 * @return The total occuring count of this atom dictionary. 255 * Set the total occuring count of other atom dictionaries. 257 * @param count The total occuring count o [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DbModifierWithNotification.java | 143 int count = mDb.update(table, values, whereClause, whereArgs); 144 if (count > 0 && packagesModified.size() != 0) { 147 if (count > 0 && mIsCallsTable) { 150 return count; 156 int count = mDb.delete(table, whereClause, whereArgs); 157 if (count > 0 && packagesModified.size() != 0) { 160 if (count > 0 && mIsCallsTable) { 163 return count;
|
H A D | SearchIndexManager.java | 272 int count = 0; 275 count = buildAndInsertIndex(db, null); 281 + count + " contacts"); 329 final int count = buildAndInsertIndex(db, rawContactsSelection); 331 Log.v(TAG, "Updated search index for " + count + " contacts"); 353 int count = 0; 365 count++; 379 count++; 384 return count;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventRecurrenceFormatter.java | 51 if (recurrence.count > 0) { 52 sb.append(r.getQuantityString(R.plurals.endByCount, recurrence.count, 53 recurrence.count)); 80 int count = recurrence.bydayCount - 1; 81 for (int i = 0 ; i < count ; i++) { 85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength));
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | MoreSettingPopup.java | 143 int count = mEnabled == null ? 0 : mEnabled.length; 144 for (int j = 0; j < count; j++) { 161 int count = mEnabled == null ? 0 : mEnabled.length; 165 for (int j = 0; j < count; j++) { 193 int count = mSettingList.getChildCount(); 194 for (int i = 0; i < count; i++) {
|
/packages/apps/Gallery2/src/com/android/camera/ui/ |
H A D | MoreSettingPopup.java | 143 int count = mEnabled == null ? 0 : mEnabled.length; 144 for (int j = 0; j < count; j++) { 161 int count = mEnabled == null ? 0 : mEnabled.length; 165 for (int j = 0; j < count; j++) { 193 int count = mSettingList.getChildCount(); 194 for (int i = 0; i < count; i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | LocalPhotoSource.java | 53 private static final String[] COUNT_PROJECTION = {"count(*)"}; 107 private int[] getExponentialIndice(int total, int count) { argument 109 if (count > total) count = total; 110 HashSet<Integer> selected = new HashSet<Integer>(count); 111 while (selected.size() < count) { 115 int values[] = new int[count];
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumLabelMaker.java | 118 String title, String count, int sourceType) { 119 return new AlbumLabelJob(title, count, sourceType); 137 public AlbumLabelJob(String title, String count, int sourceType) { argument 139 mCount = count; 148 String count = mCount; 182 // draw count 186 drawText(canvas, x, y, count, 117 requestLabel( String title, String count, int sourceType) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | PointerTrackerQueue.java | 121 int count = 0; 125 count++; 126 if (count > 1) { 156 int newIndex = 0, count = 0; 160 count++; 161 if (count > 1) {
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapterTests.java | 121 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 131 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 133 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 147 assertEquals(1, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 188 assertEquals(numMessages, EmailContent.count(mProviderContext, Message.CONTENT_URI, 286 assertEquals(1, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 290 assertEquals(2, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 292 assertEquals(1, EmailContent.count(mProviderContext, Message.UPDATED_CONTENT_URI, 299 assertEquals(0, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 301 assertEquals(0, EmailContent.count(mProviderContex [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapterTests.java | 121 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 131 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 133 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 147 assertEquals(1, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 188 assertEquals(numMessages, EmailContent.count(mProviderContext, Message.CONTENT_URI, 286 assertEquals(1, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, 290 assertEquals(2, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 292 assertEquals(1, EmailContent.count(mProviderContext, Message.UPDATED_CONTENT_URI, 299 assertEquals(0, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, 301 assertEquals(0, EmailContent.count(mProviderContex [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
H A D | ContentCache.java | 95 // tend to be closed quickly after use. The value, for each cursor, is its reference count 191 int count = 0; 196 count++; 202 return count; 309 int count = sActiveCursors.subtract(mCursor); 310 if ((count == 0) && mCache.mLruCache.get(mId) != (mCursor)) { 596 int count = mTokenList.invalidateTokens(id); 598 Log.d(mTokenList.mLogTag, "============ Lock invalidated " + count + 719 Integer count; field in class:ContentCache.CacheCounter 723 count [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | GroupMembershipView.java | 321 int count = mAdapter.getCount(); 322 for (int i = 0; i < count; i++) { 339 int count = mAdapter.getCount(); 341 if (list.isItemChecked(count - 1)) { 342 list.setItemChecked(count - 1, false); 347 for (int i = 0; i < count; i++) { 367 for (int i = 0; i < count; i++) { 380 int count = mAdapter.getCount(); 381 for (int i = 0; i < count; i++) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BlobCache.java | 354 for (int count = mMaxEntries * 12; count > 0;) { 355 int todo = Math.min(count, 1024); 357 count -= todo; 374 // the entry count. 601 // Returns the active count (mActiveEntries). This also verifies that 602 // the active count matches matches what's inside the hash region. 604 int count = 0; 609 if (candidateOffset != 0) ++count; 611 if (count [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayout.java | 94 final int count = getChildCount(); 95 for (int i = 0; i < count; i++) { 209 final int count = getChildCount(); 210 for (int i = 0; i < count; i++) { 244 int count = getChildCount(); 245 for (int i = 0; i < count; i++) { 255 int count = getPageChildCount(); 256 if (count > 0) { 258 View child = getChildOnPageAt(count - 1);
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | BlobCache.java | 353 for (int count = mMaxEntries * 12; count > 0;) { 354 int todo = Math.min(count, 1024); 356 count -= todo; 373 // the entry count. 587 // Returns the active count (mActiveEntries). This also verifies that 588 // the active count matches matches what's inside the hash region. 590 int count = 0; 595 if (candidateOffset != 0) ++count; 597 if (count [all...] |
H A D | Recycler.java | 207 int count = cursor.getCount(); 208 int numberToDelete = count - keep; 211 " count: " + count + 284 "thread_id", "count(*) as msg_count" 355 int count = cursor.getCount(); 357 int numberToDelete = count - keep; 360 " count: " + count + 401 int count [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ShowOrCreateActivity.java | 157 int count = 0; 161 count = cursor.getCount(); 162 if (count == 1 && cursor.moveToFirst()) { 171 if (count == 1 && contactId != -1) { 178 } else if (count > 1) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalMergeAlbum.java | 120 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 137 for (int i = markPos; i < start + count; i++) { 168 int count = 0; 170 count += set.getTotalMediaItemCount(); 172 return count;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | SecondLevelIndicatorControlBar.java | 45 // remember the count of the non-indicator buttons for getTouchViewIndex(). 79 int count = getChildCount(); 80 if (count == mNonIndicatorButtonCount) return -1; 174 int count = getChildCount(); 175 if (count == 0) return; 184 for (int i = count - 1; i >= mNonIndicatorButtonCount; --i) {
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
H A D | RecurrencePickerDialog.java | 256 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 260 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 358 if (er.count > 0 && !TextUtils.isEmpty(er.until)) { 430 // End by count: 431 model.endCount = er.count; 460 int count = 0; 472 count++; 481 if (count != 1) { 527 er.count = 0; 533 er.count [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | PanelSwitcher.java | 116 int count = getChildCount(); 117 mChildren = new View[count]; 118 for (int i = 0; i < count; ++i) {
|