Searched defs:count (Results 101 - 125 of 153) sorted by relevance

1234567

/packages/apps/Browser/src/com/android/browser/
H A DUrlInputView.java317 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } argument
320 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Camera/jni/
H A Dfeature_mos_jni.cpp127 int count = 0; local
137 count++;
149 count++;
161 count++;
345 static int count = 0; variable
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageBackend.java51 * the application and does NOT count against the limits of application memory.
303 // And count how image references need to be kept track of.
308 // count
312 // Update the done count on the new tasks.
440 // And count how image references need to be kept track of.
591 // Create a set w/ no session duplicates and count them
619 * count to take into account the new tasks being spawned.
639 * Decrement the semaphore count of the ImageShadowTask. Should be called
695 * Initializes the semaphore count for the image
698 * count an
700 setSemaphoreReferenceCount(ImageToProcess img, int count, boolean blockUntilRelease, boolean closeOnRelease) argument
735 incrementSemaphoreReferenceCount(ImageToProcess img, int count) argument
849 private int count; field in class:ImageBackend.BlockSignalProtocol
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DActionBarAdapter.java230 public void onTextChanged(CharSequence queryString, int start, int before, int count) { argument
250 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java473 int count = getGroupSize(position);
499 details.callTypes = getCallTypes(c, count);
503 details.features = getCallFeatures(c, count);
534 views.callIds = getCallIds(c, count);
644 * It uses the next {@code count} rows in the cursor to extract the types.
648 private int[] getCallTypes(Cursor cursor, int count) { argument
650 int[] callTypes = new int[count];
651 for (int index = 0; index < count; ++index) {
664 * @param count The number of calls for the current call log entry.
667 private int getCallFeatures(Cursor cursor, int count) { argument
[all...]
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java145 /** Sets the message count of all mailboxes to {@code -1}. */
361 * Get the value of the unread count in the mailbox of the account.
621 int numBoxes = EmailContent.count(mMockContext, Account.CONTENT_URI, null, null);
629 numBoxes = EmailContent.count(mMockContext, Account.CONTENT_URI, null, null);
637 numBoxes = EmailContent.count(mMockContext, Account.CONTENT_URI, null, null);
853 * Note that we can't use EmailContent.count() here because it uses a projection including
854 * count(*), and count(*) is incompatible with a LIMIT (i.e. the limit would be applied to the
855 * single column returned with count(*), rather than to the query itself)
857 private int count(Contex method in class:ProviderTests
[all...]
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSyncContacts.java656 private static void sendIm(final Serializer s, final ContentValues cv, final int count) argument
660 if (count < MAX_IM_ROWS) {
661 s.data(IM_TAGS[count], value);
723 * @param count The number of email addresses that have already been added.
728 private void sendEmail(final Serializer s, final ContentValues cv, final int count, argument
750 if (count < MAX_EMAIL_ROWS) {
751 s.data(EMAIL_TAGS[count], value);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolderPagedView.java112 * Sets up the grid size such that {@param count} items can fit in the grid.
113 * The grid size is calculated such that countY <= countX and countX = ceil(sqrt(count)) while
116 private void setupContentDimensions(int count) { argument
117 mAllocatedContentSize = count;
119 if (count >= mMaxItemsPerPage) {
130 if (mGridCountX * mGridCountY < count) {
138 } else if ((mGridCountY - 1) * mGridCountX >= count && mGridCountY >= mGridCountX) {
140 } else if ((mGridCountX - 1) * mGridCountY >= count) {
277 * @param itemCount if greater than the total children count, empty spaces are left
648 int count
[all...]
/packages/apps/LegacyCamera/jni/
H A Dfeature_mos_jni.cpp127 int count = 0; local
137 count++;
149 count++;
161 count++;
345 static int count = 0; variable
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeper.java139 // but don't count it against attempts.
408 // want to be running, so need to finish this activity. We can count
1008 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
1013 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DChooseLockPassword.java645 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
649 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigController.java968 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
973 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardBuilder.java202 private static String spaces(final int count) { argument
203 return (count < SPACES.length()) ? SPACES.substring(0, count) : SPACES;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java369 final String word, final boolean isValidWord, final int count, final int timestamp) {
378 isValidWord, count, timestamp)) {
368 updateEntriesForWord(@onnull final NgramContext ngramContext, final String word, final boolean isValidWord, final int count, final int timestamp) argument
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java590 int count = 6 * 4;
596 count += 4;
603 count += 4;
611 while (i < count) {
620 canvas.drawLines(lines, 0, count, p);
778 protected int addChipOutline(FloatRef lines, int count, int x, int y) { argument
779 lines.ensureSize(count + 16);
781 lines.array[count++] = x;
782 lines.array[count++] = y;
783 lines.array[count
[all...]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DRecurrencePickerDialog.java263 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
267 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
371 if (er.count > 0 && !TextUtils.isEmpty(er.until)) {
443 // End by count:
444 model.endCount = er.count;
473 int count = 0;
486 count++;
495 if (count != 1) {
541 er.count = 0;
547 er.count
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntryListAdapter.java180 int count = getPartitionCount();
181 for (int i = 0; i < count; i++) {
193 int count = getPartitionCount();
194 for (int i = 0; i < count; i++) {
214 int count = getPartitionCount();
215 for (int i = 0; i < count; i++) {
232 int count = getPartitionCount();
233 for (int i = 0; i < count; i++) {
433 int count = getPartitionCount();
434 for (int i = count;
676 getQuantityText(int count, int zeroResourceId, int pluralResourceId) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java333 int count = items.size();
334 for (int i = 0; i < count; i++) {
344 for (int i = 0; i < count; i++) {
359 int count = 0;
365 count++;
370 setupContentForNumItems(count);
761 private void setupContentDimensions(int count) { argument
771 if (countX * countY < count) {
779 } else if ((countY - 1) * countX >= count && countY >= countX) {
781 } else if ((countX - 1) * countY >= count) {
856 setupContentForNumItems(int count) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMessageNotificationState.java291 public ConversationInfoList(final int count, final List<ConversationLineInfo> infos) { argument
292 mMessageCount = count;
616 final Integer count = map.get(firstName);
617 if (count != null) {
618 return count > 1;
914 final Integer count = firstNames.get(authorFirstName);
915 if (count != null && count > 1) {
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DComposeMessageView.java831 public void beforeTextChanged(final CharSequence s, final int start, final int count, argument
848 final int count) {
847 onTextChanged(final CharSequence s, final int start, final int before, final int count) argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSearchActivityView.java352 int count = cursor.getCount();
353 ArrayList<CompletionInfo> completions = new ArrayList<CompletionInfo>(count);
354 for (int i = 0; i < count; i++) {
409 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
413 public void onTextChanged(CharSequence s, int start, int before, int count) { argument

Completed in 970 milliseconds

1234567