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

1234567891011>>

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
H A Dunigram_property.h57 const int count, const std::vector<ShortcutProperty> *const shortcuts)
60 mTimestamp(timestamp), mLevel(level), mCount(count), mShortcuts(*shortcuts) {}
55 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isBlacklisted, const int probability, const int timestamp, const int level, const int count, const std::vector<ShortcutProperty> *const shortcuts) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForIdentity.java65 final int count = super.delete(db, txContext, c);
71 return count;
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java223 int count;
226 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs);
231 count = db.delete(USERDICT_TABLE_NAME, Words._ID + "=" + wordId
241 return count;
247 int count;
250 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs);
255 count = db.update(USERDICT_TABLE_NAME, values, Words._ID + "=" + wordId
265 return count;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputMethodManager.java172 final int count = imiList.size();
173 for (int index = 0; index < count; index++) {
185 final int count = imiList.size();
186 for (int i = 1; i < count; i++) {
187 final int nextIndex = (currentIndex + i) % count;
198 final int count = imi.getSubtypeCount();
199 if (count == 0) {
202 for (int index = 0; index < count; index++) {
274 final int count = subtypes.size();
275 for (int index = 0; index < count; inde
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectSyncedCalendarsMultiAccountActivity.java93 int count = mList.getCount();
94 for(int i = 0; i < count; i++) {
130 int count = mList.getCount();
131 isExpanded = new boolean[count];
132 for(int i = 0; i < count; i++) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntryListAdapter.java179 int count = getPartitionCount();
180 for (int i = 0; i < count; i++) {
192 int count = getPartitionCount();
193 for (int i = 0; i < count; i++) {
213 int count = getPartitionCount();
214 for (int i = 0; i < count; i++) {
231 int count = getPartitionCount();
232 for (int i = 0; i < count; i++) {
432 int count = getPartitionCount();
433 for (int i = count;
675 getQuantityText(int count, int zeroResourceId, int pluralResourceId) 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/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMessageStateChange.java169 final int count = changesMap.size();
170 final long[] unchangedMessages = new long[count];
172 final ArrayList<MessageStateChange> changes = new ArrayList(count);
223 * @param count The number of messages.
226 final int count) {
227 deleteRowsForMessages(cr, CONTENT_URI, messageKeys, count);
234 * @param count The number of messages.
237 final int count) {
238 retryMessages(cr, CONTENT_URI, messageKeys, count);
225 upsyncSuccessful(final ContentResolver cr, final long[] messageKeys, final int count) argument
236 upsyncRetry(final ContentResolver cr, final long[] messageKeys, final int count) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionImageAnimation.java282 for (int i = 0, count = mTransitions.size(); i < count; i++) {
318 int count = mTransitions.size();
319 if (count > 0) {
320 for (int i = 0; i < count; i++) {
338 for (int i = 0, count = mTransitions.size(); i < count; i++) {
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DAttachmentUtils.java65 final String count;
69 count = String.valueOf(size);
70 return context.getString(R.string.bytes, count);
72 count = String.valueOf(size / KILO);
73 return context.getString(R.string.kilobytes, count);
76 count = onePlace.format((float) size / (float) MEGA);
77 return context.getString(R.string.megabytes, count);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowPage.java229 int count = subset.getTotalMediaItemCount();
230 if (index < count) {
233 index -= count;
277 int count = mMediaSet.getTotalMediaItemCount();
278 if (count != mOrder.length) generateOrderArray(count);
333 int count = mMediaSet.getMediaItemCount();
334 if (count == 0) return null;
335 index = index % count;
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModuleUtil.java61 int count = 0;
64 count++;
67 ArrayList<Size> camera1Sizes = new ArrayList<Size>(count);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DPingParser.java205 final int count = mSyncList.size();
206 LogUtils.d(TAG, "Folders has %d elements", count);
207 if (count == 0) {
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DWbxmlResponseLogger.java62 int count;
65 while ((count = is.read(data, 0, data.length)) != -1) {
66 buffer.write(data, 0, count);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFingerprint.java84 long count = 0;
92 count += n;
97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterGradRepresentation.java101 int count = 0;
104 count++;
107 return "c=" + mBands.indexOf(mBands) + "[" + mBands.size() + "]" + count;
179 int count = 0;
182 count++;
185 return count;
195 int count = 0;
200 count++;
201 if (count > 14) {
436 int count
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/content/
H A DThreadSafeCursorWrapper.java165 final int count = getCount();
166 if (position >= count) {
167 mPosition.set(count);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DIOUtils.java998 * @throws ArithmeticException if the byte count is too large
1002 long count = copyLarge(input, output);
1003 if (count > Integer.MAX_VALUE) {
1006 return (int) count;
1026 long count = 0;
1030 count += n;
1032 return count;
1103 * @throws ArithmeticException if the character count is too large
1107 long count = copyLarge(input, output);
1108 if (count > Intege
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardParams.java135 final int count = (index >= 0 ? histogram.get(key) : 0) + 1;
136 histogram.put(key, count);
137 return count;
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
H A DFusionDictionaryTest.java50 int count = random.nextInt() % 30;
51 while (count > 0) {
58 --count;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DEvenMoreAsserts.java72 int count;
73 while ((count = actualStream.read(buffer)) != -1) {
74 baos.write(buffer, 0, count);
H A DPhotoLoadingTestCase.java104 int count;
106 while ((count = is.read(buffer)) != -1) {
107 os.write(buffer, 0, count);
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
H A DFillCallLogTestActivity.java105 int count;
107 count = Integer.parseInt(mNumberTextView.getText().toString());
108 if (count > 100) {
116 addEntriesToCallLog(count, mUseRandomNumbers.isChecked());
120 mProgressBar.setMax(count);
155 * @param count the number of entries to add
157 private void addEntriesToCallLog(final int count, boolean useRandomNumbers) { argument
159 addRandomNumbers(count);
162 new CallLogLoaderListener(count));
217 private void addRandomNumbers(int count) { argument
238 CallLogLoaderListener(int count) argument
302 onPostExecute(Integer count) argument
364 updateCount(Integer count) argument
[all...]
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpeg_reader.h49 * Decompresses bytes from the InputStream and writes at most count
58 int32_t read(int8_t * bytes, int32_t offset, int32_t count);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpAdapter.java177 int count = getCount();
178 if (count == 0) {
181 if (position >= count) {
182 position = count - 1;

Completed in 732 milliseconds

1234567891011>>