/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
H A D | unigram_property.h | 57 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 D | DataRowHandlerForIdentity.java | 65 final int count = super.delete(db, txContext, c); 71 return count;
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | UserDictionaryProvider.java | 223 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 D | RichInputMethodManager.java | 172 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 D | SelectSyncedCalendarsMultiAccountActivity.java | 93 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 D | ContactEntryListAdapter.java | 179 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 D | ProviderTests.java | 145 /** 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 D | MessageStateChange.java | 169 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 D | TransitionImageAnimation.java | 282 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 D | AttachmentUtils.java | 65 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 D | SlideshowPage.java | 229 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 D | CaptureModuleUtil.java | 61 int count = 0; 64 count++; 67 ArrayList<Size> camera1Sizes = new ArrayList<Size>(count);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | PingParser.java | 205 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 D | WbxmlResponseLogger.java | 62 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 D | Fingerprint.java | 84 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 D | FilterGradRepresentation.java | 101 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 D | ThreadSafeCursorWrapper.java | 165 final int count = getCount(); 166 if (position >= count) { 167 mPosition.set(count);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | IOUtils.java | 998 * @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 D | KeyboardParams.java | 135 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 D | FusionDictionaryTest.java | 50 int count = random.nextInt() % 30; 51 while (count > 0) { 58 --count;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | EvenMoreAsserts.java | 72 int count; 73 while ((count = actualStream.read(buffer)) != -1) { 74 baos.write(buffer, 0, count);
|
H A D | PhotoLoadingTestCase.java | 104 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 D | FillCallLogTestActivity.java | 105 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 D | jpeg_reader.h | 49 * 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 D | MtpAdapter.java | 177 int count = getCount(); 178 if (count == 0) { 181 if (position >= count) { 182 position = count - 1;
|