Searched refs:getCount (Results 76 - 100 of 313) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DMiscFilesHandler.java81 mDataCount = mAdapter.getCount();
126 mDataCount = mAdapter.getCount();
168 mode.setTitle(String.format(mNumSelectedFormat, numChecked, mAdapter.getCount()));
208 public int getCount() { method in class:MiscFilesHandler.MemoryMearurementAdapter
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java109 if (mCursor.getCount() == 0 || !mCursor.moveToFirst()) {
265 public int getCount() { method in class:BluetoothPbapCallLogComposer
269 return mCursor.getCount();
/packages/apps/Browser/src/com/android/browser/
H A DDateSortedExpandableListAdapter.java84 if (mCursor.moveToFirst() && mCursor.getCount() > 0) {
93 array[index] = mCursor.getCount()
376 return !mDataValid || mCursor == null || mCursor.isClosed() || mCursor.getCount() == 0;
H A DErrorConsoleView.java152 return mErrorList.getCount();
222 setSelection(mConsoleMessages.getCount());
279 public int getCount() { method in class:ErrorConsoleView.ErrorConsoleListView.ErrorConsoleMessageList
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DExchangeDirectoryProviderTests.java62 assertEquals(4, c.getCount());
105 assertEquals(DISPLAY_NAME_TEST_FIELDS.length, c.getCount());
119 assertEquals(DISPLAY_NAME_TEST_FIELDS.length, c.getCount());
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DBlendingPromoterTest.java120 int expectedCount = Math.min(maxPromoted, shortcuts.getCount());
121 assertEquals(expectedCount, promoted.getCount());
122 int count = Math.min(maxPromoted, shortcuts.getCount());
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
H A DApplicationsProviderTest.java259 expectedResultCount, cursor.getCount());
265 for (int i = 0; i < cursor.getCount(); i++) {
299 for (int i = 0; i < cursor.getCount(); i++) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java119 assertEquals(1, c.getCount());
146 assertEquals(0, c.getCount());
193 assertEquals(0, c.getCount());
H A DCallLogProviderTest.java157 assertEquals(0, getCount(uri, null, null));
166 assertEquals(1, c.getCount());
173 assertEquals(0, c.getCount());
208 assertEquals(2, getCount(Calls.CONTENT_URI, null, null));
209 assertEquals(3, getCount(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null));
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDateSortedExpandableListAdapter.java105 if (mCursor.moveToFirst() && mCursor.getCount() > 0) {
114 array[index] = mCursor.getCount()
352 return mCursor.isClosed() || mCursor.getCount() == 0;
/packages/apps/Email/src/com/android/email/activity/
H A DShortcutPickerFragment.java127 int cursorCount = parentCursor.getCount();
199 if (data.getCount() == 0) {
203 if (data.getCount() == 1 && data.moveToFirst()) {
402 if (data.getCount() == 0) {
407 if (data.getCount() == 1 && data.moveToFirst()) {
/packages/apps/Mms/src/com/android/mms/util/
H A DRecycler.java207 int count = cursor.getCount();
268 if (msgs.getCount() >= limit) {
355 int count = cursor.getCount();
401 int count = cursor.getCount();
463 if (msgs.getCount() >= limit) {
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java141 boolean showNext = mCurrentPosition < mAllImages.getCount() - 1;
411 if (mAllImages.getCount() > 0) {
438 if (mAllImages.getCount() == 0) {
442 if (mCurrentPosition == mAllImages.getCount()) {
759 || mShuffleOrder.length != mAllImages.getCount()) {
760 mShuffleOrder = new int[mAllImages.getCount()];
861 (mCurrentPosition + 1) % mAllImages.getCount(),
903 if (mAllImages.getCount() == 0) return null;
931 int count = mAllImages.getCount();
1050 if ((0 <= nextImagePos) && (nextImagePos < mAllImages.getCount())) {
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactTileAdapter.java226 return cursor.getCount();
232 if (cursor == null || cursor.isClosed() || cursor.getCount() <= position) return null;
280 public int getCount() { method in class:ContactTileAdapter
288 return getRowCount(mContactCursor.getCount());
295 int frequentRowCount = mContactCursor.getCount() - mDividerPosition ;
304 return mContactCursor.getCount();
399 contactTileRowView.configureRow(contactList, position == getCount() - 1);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSimpleAdapter.java174 mRowCount = c.getCount();
175 mData = new CalendarRow[(c.getCount())];
299 public int getCount() { method in class:SelectCalendarsSimpleAdapter
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeUtility.java221 for (int i = 0, count = multipart.getCount(); i < count; i++) {
238 for (int i = 0, count = multipart.getCount(); i < count; i++) {
442 for (int i = 0; i < mp.getCount(); i++) {
/packages/apps/Mms/src/com/android/mms/
H A DSuggestionsProvider.java112 public int getCount() { method in class:SuggestionsProvider.SuggestionsCursor
137 int count = mDatabaseCursor.getCount();
161 int count = getCount();
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java126 public int getCount() { method in class:FolderSpinnerAdapter
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogGroupBuilder.java55 final int count = cursor.getCount();
H A DCallTypeIconsView.java69 public int getCount() { method in class:CallTypeIconsView
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DStreamItemAdapter.java59 public int getCount() { method in class:StreamItemAdapter
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountsListAdapter.java109 public int getCount() { method in class:AccountsListAdapter
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupOptionsTests.java153 for (int i = 0; i < sa.getCount(); ++i) {
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java275 if (mDragPos == mSrcDragPos || getPositionForView(vv) == getCount() - 1) {
286 if (mDragPos >= numheaders && mDragPos < getCount() - 1) {
316 if (mDropListener != null && mDragPos >= 0 && mDragPos < getCount()) {
341 if (getLastVisiblePosition() < getCount() - 1) {
H A DVideoBrowserActivity.java61 if (mCursor.getCount() > 0) {

Completed in 1310 milliseconds

1234567891011>>