/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
H A D | PageIndicatorCaretLandscape.java | 58 int count = canvas.save(); 62 canvas.restoreToCount(count);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | MediaCacheManager.java | 42 final int count = mCaches.size(); 43 for (int i = 0; i < count; i++) {
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
H A D | DefaultBrowserPicker.java | 55 final int count = list.size(); 56 for (int i = 0; i < count; i++) {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | FixedLineSummaryPreference.java | 46 public void setSummaryLineCount(int count) { argument 47 mSummaryLineCount = count;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
H A D | RadioPreference.java | 55 final int count = preferenceGroup.getPreferenceCount(); 56 for (int i = 0; i < count; i++) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderDisplayer.java | 136 int count = 0; 140 if (count > numDisplayedFolders - 1) { 155 measurements[count] = Math.min(neededWidth, maxCellWidth); 158 measurements[count] = maxAllowedCellSize + extraWidth; 164 measurements[count] = neededWidth; 167 measurements[count - 1] += missingWidth; 170 measurements[count - 1] += extraWidth; 177 count++;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | ThresholdingOutputStream.java | 211 * @param count The number of bytes about to be written to the underlying 216 protected void checkThreshold(int count) throws IOException argument 218 if (!thresholdExceeded && (written + count > threshold))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | ProbabilityInfo.java | 52 final int count) { 56 mCount = count; 51 ProbabilityInfo(final int probability, final int timestamp, final int level, final int count) argument
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | entry_counters.h | 77 void setNgramCount(const NgramType ngramType, const int count) { argument 78 mEntryCounters[static_cast<int>(ngramType)] = count;
|
H A D | forgetting_curve_utils.cpp | 53 const int count = clampToValidCountRange(newHistoricalInfo->getCount(), headerPolicy); local 54 return HistoricalInfo(timestamp, level, count); 60 int count = newHistoricalInfo->getCount(); local 61 if (count >= OCCURRENCES_TO_RAISE_THE_LEVEL) { 63 return HistoricalInfo(timestamp, level, 0 /* count */); 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); 70 // The count exceeds the max value the level can be incremented. 78 originalHistoricalInfo->getLevel() + 1, 0 /* count */); 124 originalHistoricalInfo->getLevel() - levelDownAmount, 0 /* count */); 133 // Unigram count exceed 166 clampToValidCountRange(const int count, const HeaderPolicy *const headerPolicy) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForIdentity.java | 64 final int count = super.delete(db, txContext, c); 70 return count;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapConvoListing.java | 124 public void segment(int count, int offset) { argument 125 count = Math.min(count, mList.size() - offset); 126 if (count > 0) { 127 mList = mList.subList(offset, offset + count);
|
/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/Contacts/src/com/android/contacts/list/ |
H A D | ContactEntryListAdapter.java | 180 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++) { 443 int count = getPartitionCount(); 444 for (int i = count; 667 getQuantityText(int count, int zeroResourceId, int pluralResourceId) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | LegacyVoicemailNotifier.java | 54 int count, 75 count, 90 int count, 98 .getQuantityString(R.plurals.notification_voicemail_title, count, count); 51 showNotification( @onNull Context context, @NonNull PhoneAccountHandle handle, int count, String voicemailNumber, PendingIntent callVoicemailIntent, PendingIntent voicemailSettingsIntent, boolean isRefresh) argument 86 createNotification( @onNull Context context, @NonNull TelephonyManager pinnedTelephonyManager, @NonNull PhoneAccountHandle handle, int count, String voicemailNumber, PendingIntent callVoicemailIntent, PendingIntent voicemailSettingsIntent, boolean isRefresh) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockProvider.java | 211 int count; 217 count = db.update(ALARMS_TABLE_NAME, values, 223 count = db.update(INSTANCES_TABLE_NAME, values, 233 return count; 258 int count; 263 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); 272 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); 275 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); 284 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); 291 return count; [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/Settings/src/com/android/settings/ |
H A D | TrustAgentSettings.java | 118 final int count = mAvailableAgents.size(); 119 for (int i = 0; i < count; i++) { 162 final int count = resolveInfos.size(); 163 agents.ensureCapacity(count); 164 for (int i = 0; i < count; i++ ) { 185 final int count = mAvailableAgents.size(); 186 for (int i = 0; i < count; i++) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
H A D | SeriesRecordingPresenter.java | 159 int count = 0; 164 count = mDvrManager.getAvailableScheduledRecording(mSeriesRecording.getId()).size(); 170 count++; 173 if (count == 0) { 174 count = recordedPrograms.size(); 181 .getQuantityString(quantityStringID, count, count), null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | AttachmentUtils.java | 67 final String count; 71 count = String.valueOf(size); 72 return context.getString(R.string.bytes, count); 74 count = String.valueOf(size / KILO); 75 return context.getString(R.string.kilobytes, count); 78 count = onePlace.format((float) size / (float) MEGA); 79 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 | 71 int count = 0; 74 count++; 77 ArrayList<Size> camera1Sizes = new ArrayList<Size>(count);
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountDisplayInfoFactory.java | 102 int count = 0; 105 count++; 108 return count;
|
/packages/apps/Contacts/tests/src/com/android/contacts/group/ |
H A D | GroupUtilTest.java | 39 final int count = 22; 42 assertFalse(GroupUtil.needTrimming(count, positions, counts)); 46 assertTrue(GroupUtil.needTrimming(count, positions, counts));
|