/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | ContactsMatchers.java | 70 public static Matcher<Cursor> hasCount(final int count) { argument 75 return ((Cursor)o).getCount() == count; 80 description.appendText("Cursor with " + count + " rows");
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | ListsFragment.java | 243 final int count = mOnPageChangeListeners.size(); 244 for (int i = 0; i < count; i++) { 259 final int count = mOnPageChangeListeners.size(); 260 for (int i = 0; i < count; i++) { 276 final int count = mOnPageChangeListeners.size(); 277 for (int i = 0; i < count; i++) { 332 int count = 0; 334 count = cursor.getCount(); 339 mViewPagerTabs.setUnreadCount(count, TAB_INDEX_VOICEMAIL); 349 int count [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
H A D | FilteringCursorWrapper.java | 51 final int count = cursor.getCount(); 52 mPosition = new int[count]; 55 while (cursor.moveToNext() && mCount < count) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
H A D | RootCursorWrapper.java | 50 final int count = cursor.getCount(); 51 if (maxCount > 0 && count > maxCount) { 54 mCount = count;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
H A D | TestNotificationManager.java | 96 int count = 0; 98 count += mNotifications.valueAt(i).size(); 101 assertEquals(expect, count);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestTimer.java | 72 int count = 0; 78 ++count; 81 return 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/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/services/Car/tools/emulator/ |
H A D | diagnostic_builder.py | 28 self.count = numElements 36 if (bit < 0) or (bit >= self.count): 37 raise IndexError("index %d not in range [0,%d)" % (bit, self.count))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | RichInputMethodManager.java | 190 final int count = imiList.size(); 191 for (int index = 0; index < count; index++) { 203 final int count = imiList.size(); 204 for (int i = 1; i < count; i++) { 205 final int nextIndex = (currentIndex + i) % count; 216 final int count = imi.getSubtypeCount(); 217 if (count == 0) { 220 for (int index = 0; index < count; index++) { 312 final int count = subtypes.size(); 313 for (int index = 0; index < count; inde [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
H A D | AnglesClassifier.java | 147 // the angle variance so far and start to count the values for the angle 170 public float getAnglesVariance(float sumSquares, float sum, float count) { argument 171 return sumSquares / count - (sum / count) * (sum / count);
|
/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;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | OtherSettingsPopup.java | 121 int count = mSettingList.getChildCount(); 125 for (int j = 0; j < count; j++) { 146 int count = mSettingList.getChildCount(); 147 for (int i = 0; i < count; i++) {
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
H A D | EncodedStringValue.java | 273 int count = array.length; 274 if (count > 0) { 275 EncodedStringValue[] encodedArray = new EncodedStringValue[count]; 276 for (int i = 0; i < count; i++) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | DeleteConversationAction.java | 107 final int count = MmsUtils.deleteThread(threadId, cutoffTimestamp); 108 if (count > 0) { 165 int count = MmsUtils.deleteMessage(messageUri); 166 if (count > 0) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
H A D | AttachmentGridView.java | 42 void updateSelectionCount(final int count); argument 89 final int count = getAdapter().getCount() - mUnselectedSet.size(); 90 Assert.isTrue(count >= 0); 91 mHost.updateSelectionCount(count);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothSummaryUpdater.java | 112 int count = 0; 124 count++; 125 if (count > 1) { 139 return count > 1 ? mContext.getString(R.string.bluetooth_connected_multiple_devices_summary)
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | LogWriter.java | 62 * Logs a count. 64 void count(Context context, String name, int value); method in interface:LogWriter
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | DataSaverSummary.java | 135 int count = 0; 145 count++; 149 R.plurals.data_saver_unrestricted_summary, count, count));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | EditTextFragment.java | 129 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 131 mTextWatcher.beforeTextChanged(s, start, count, after); 136 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 138 mTextWatcher.onTextChanged(s, start, before, count);
|