Searched refs:count (Results 101 - 125 of 362) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupNameDialogFragment.java74 public void onTextChanged(CharSequence s, int start, int before, int count) {
78 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
/packages/apps/Contacts/tests/src/com/android/contacts/detail/
H A DStreamItemAdapterTest.java85 private ArrayList<StreamItemEntry> createStreamItemList(int count) { argument
87 for (int index = 0; index < count; ++index) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeMultipart.java92 for (int i = 0, count = mParts.size(); i < count; i++) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFilterTypeSet.java62 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
64 mPaths, start, count, mDataManager);
H A DFilterDeleteSet.java89 // start + count). Because we remove some of the MediaItems, the index need
113 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
114 if (count <= 0) return new ArrayList<MediaItem>();
116 int end = start + count - 1;
133 ArrayList<MediaItem> base = mBaseSet.getMediaItem(start + i, count + (j - i));
H A DMediaSet.java65 // Returns the media items in the range [start, start + count).
67 // The number of media items returned may be less than the specified count
72 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
212 int count = Math.min(MEDIAITEM_BATCH_FETCH_COUNT, total - start);
213 ArrayList<MediaItem> items = getMediaItem(start, count);
218 start += count;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlBar.java89 int count = getChildCount();
90 if (count == 0) return;
H A DIndicatorControl.java66 int count = getChildCount();
67 for (int i = 0 ; i < count ; ++i) {
197 final int count = getChildCount();
198 for (int i = 0; i < count; i++) {
H A DIndicatorControlWheel.java136 // Get current child count by level.
205 int count = getChildCountByLevel(mCurrentLevel);
206 if (count == 0) return -1;
207 int sectors = count - 1;
392 int count = getChildCountByLevel(1);
393 int sectors = (count <= 1) ? 1 : (count - 1);
402 for (int i = 0; i < count; i++) {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMultiSourceCorpusTest.java71 int count = cursor.getCount();
72 for (int i = 0; i < count; i++) {
H A DRankAwarePromoterTest.java131 private static List<Corpus> createMockCorpora(int count, int defaultCount) { argument
133 for (int i = 0; i < count; i++) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java78 int count = super.delete(db, txContext, c);
83 return count;
H A DDataRowHandlerForNickname.java80 int count = super.delete(db, txContext, c);
85 return count;
H A DLegacyApiSupport.java947 int count = 0;
950 count = updateContactTime(uri, values);
970 count = updateAll(uri, match, values, selection, selectionArgs);
974 if (count > 0) {
978 return count;
988 int count = 0;
992 count += update(match, id, values);
998 return count;
1002 int count = 0;
1006 count
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DPhoneCallDetailsHelper.java69 int count = details.callTypes.length;
70 for (int index = 0; index < count && index < MAX_CALL_TYPE_ICONS; ++index) {
75 // Show the total call count only if there are more than the maximum number of icons.
77 if (count > MAX_CALL_TYPE_ICONS) {
78 callCount = count;
82 // The color to highlight the count and date in, if any. This is based on the first call.
93 // Set the call count and date.
163 /** Sets the call count and date. */
166 // Combine the count (if present) and the date.
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListPinnedHeaderView.java159 public void setCountView(String count) { argument
167 mCountTextView.setText(count);
168 if (count == null || count.isEmpty()) {
H A DContactBrowseListFragment.java453 int count = adapter.getPartitionCount();
454 for (int i = 0; i < count; i++) {
562 int count = adapter.getCount();
564 if (pos >= count && count > 0) {
565 pos = count - 1;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java185 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
187 public void onTextChanged(CharSequence s, int start, int before, int count) {
201 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
203 public void onTextChanged(CharSequence s, int start, int before, int count) {
H A DKeyboard.java413 int count = 0;
416 count++;
418 count++;
421 int[] values = new int[count];
422 count = 0;
426 values[count++] = Integer.parseInt(st.nextToken());
710 int count = 0;
719 indices[count++] = i;
722 int [] cell = new int[count];
723 System.arraycopy(indices, 0, cell, 0, count);
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java393 int count;
417 count = db.update(DB_TABLE, values, myWhere, selectionArgs);
419 count = 0;
430 return count;
436 int count;
457 count = db.delete(DB_TABLE, myWhere, selectionArgs);
466 return count;
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapFolder.java601 for (int i = 0, count = flags.size(); i < count; i++) {
659 // (We'll need to share a temp file. Protect it with a ref-count.)
689 int count = 0;
692 count += n;
694 listener.loadAttachmentProgress(count * 100 / size);
738 for (int i = 0, count = bs.size(); i < count; i++) {
811 for (int i = 1, count = bodyParams.size(); i < count;
[all...]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DCommandRecognizerEngine.java198 int count = 0;
218 count, e);
222 count++;
331 int count = 0;
332 for (int i = 0; 0 != (i = entry.indexOf(' ', i) + 1); count++) ;
333 if (count > RESULT_LIMIT) continue;
998 int count = 0;
1018 count++;
1046 count++;
1050 if (count
[all...]
H A DVoiceDialerActivity.java646 int count = 0;
653 while (count < maxBytes) {
681 if (false) Log.d(TAG, "start RISING: " + count +" time: "+ (((1000*count)/2)/mSampleRate));
687 if (false) Log.d(TAG, "back to START: " + count +" time: "+ (((1000*count)/2)/mSampleRate));
692 if (false) Log.d(TAG, "start TOP: " + count +" time: "+ (((1000*count)/2)/mSampleRate));
702 if (false) Log.d(TAG, "end TOP: " + count +" time: "+ (((1000*count)/
[all...]
/packages/inputmethods/PinyinIME/jni/share/
H A Duserdict.cpp416 uint16 count = searchable->splid_count[i]; local
417 if (fullids[i] >= start_id && fullids[i] < start_id + count)
434 uint16 count = searchable->splid_count[i]; local
435 if (fullids[i] >= start_id && fullids[i] < start_id + count)
535 uint32 start, count; local
536 bool cached = cache_hit(&searchable, &start, &count);
539 max_off = start + count;
601 count = middle - start;
602 cache_push(USER_DICT_CACHE, &searchable, start, count);
698 uint32 start, count;
[all...]
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxFragmentAdapter.java378 // Set count
379 final int count;
381 count = getUnreadCount(cursor);
384 count = fp.getMessageCount(type, getUnreadCount(cursor), getMessageCount(cursor));
426 // If the unread count is zero, not to show countView.
427 if (count > 0) {
429 countView.setText(Integer.toString(count));
499 int count = FolderProperties.getMessageCountForCombinedMailbox(context, id);
500 if (showAlways || (count > 0)) {
502 cursor, id, "", mailboxType, count, coun
[all...]

Completed in 769 milliseconds

1234567891011>>