Searched refs:getCount (Results 51 - 75 of 313) sorted by relevance

1234567891011>>

/packages/apps/Browser/src/com/android/browser/view/
H A DPieListView.java46 mHeight = mChildHeight * mAdapter.getCount();
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailViewPagerAdapter.java70 public int getCount() { method in class:ContactDetailViewPagerAdapter
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupBrowseListAdapter.java62 if (mSelectedGroupUri == null && cursor != null && cursor.getCount() > 0) {
72 if (mSelectedGroupUri == null || mCursor == null || mCursor.getCount() == 0) {
106 public int getCount() { method in class:GroupBrowseListAdapter
107 return mCursor == null ? 0 : mCursor.getCount();
/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
H A DCountingInputStream.java119 public synchronized int getCount() { method in class:CountingInputStream
148 * NOTE: This method is an alternative for <code>getCount()</code>
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProviderTests.java119 assertEquals(2, c.getCount());
149 assertEquals(1, c.getCount());
160 assertEquals(2, c.getCount());
168 assertEquals(2, c.getCount());
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java24 public int getCount() { method in class:MockImageList
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DTransitionsAdapter.java57 public int getCount() { method in class:TransitionsAdapter
/packages/apps/Phone/src/com/android/phone/
H A DBluetoothAtPhonebook.java117 if (cursor.getCount() < 1) {
170 int size = pbr.cursor.getCount();
255 size = pbr.cursor.getCount();
360 Log.i(TAG, "Refreshed phonebook " + pb + " with " + pbr.cursor.getCount() + " results");
410 if (pbr.cursor.getCount() == 0 || mCpbrIndex1 <= 0 || mCpbrIndex2 < mCpbrIndex1 ||
411 mCpbrIndex2 > pbr.cursor.getCount() || mCpbrIndex1 > pbr.cursor.getCount()) {
H A DADNList.java150 if (mInitialSelection >=0 && mInitialSelection < mCursorAdapter.getCount()) {
186 if (DBG) log("onQueryComplete: cursor.count=" + c.getCount());
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
H A DSourceLatency.java84 public synchronized int getCount() { method in class:SourceLatency.ElapsedTime
111 while (time.getCount() < count) {
149 Log.d(TAG, src + ": " + cursor.getCount() + " rows in " + formatTime(elapsed)
244 Log.d(TAG, mSrc + ": " + cursor.getCount() + " rows in " + formatTime(elapsed)
296 Log.d(TAG, mSrc + ", update " + mUpdateCount + ": " + mCursor.getCount()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGlobalSearchSupportTest.java63 assertEquals(0, c.getCount());
128 assertEquals(2, c.getCount());
208 assertEquals(1, c.getCount());
297 assertEquals("Record count", 0, c.getCount());
313 assertEquals("Record count", 1, c.getCount());
H A DVoicemailProviderTest.java125 assertEquals(0, getCount(uri, null, null));
182 assertEquals(2, getCount(voicemailUri(), null, null));
186 assertEquals(1, getCount(voicemailUri(), null, null));
203 assertEquals(2, getCount(voicemailUri(), null, null));
265 assertEquals(1, cursor.getCount());
424 assertEquals(1, getCount(statusUri(), null, null));
429 assertEquals(1, getCount(statusUri(), null, null));
434 assertEquals(2, getCount(statusUri(), null, null));
453 assertEquals(0, getCount(uri, null, null));
H A DGroupsTest.java117 assertTrue("Didn't return summary for all groups", (cursor.getCount() == 4));
188 assertEquals(1, getCount(uri, null, null));
190 assertEquals(1, getCount(uri, null, null));
195 assertEquals(0, getCount(uri, null, null));
203 assertEquals(1, getCount(uri, null, null));
206 assertEquals(0, getCount(uri, null, null));
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkWidgetConfigure.java96 if (cursor == null || cursor.getCount() < 1) {
99 } else if (cursor.getCount() == 1) {
/packages/apps/Email/src/com/android/email/provider/
H A DContentCache.java158 /*package*/ synchronized int getCount(T object) { method in class:ContentCache.CounterMap
323 public int getCount() { method in class:ContentCache.CachedCursor
325 mCount = super.getCount();
335 if (pos >= getCount() || pos < -1) {
369 return moveToPosition(getCount() - 1);
374 return mPosition == (getCount() - 1);
547 if (c.getCount() == 0) {
702 if (c.getCount() == 1) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DMultiSourceCorpus.java183 int count = result.getCount();
209 return "{" + getCorpus() + "[" + getUserQuery() + "]" + ";n=" + getCount() + "}";
H A DSuggestionCursorBackedCursor.java89 public int getCount() { method in class:SuggestionCursorBackedCursor
90 return mCursor.getCount();
H A DWebCorpus.java185 if (browserResult != null && browserResult.getCount() > 0) {
189 int count = webSearchResult.getCount();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorporaAdapter.java99 public int getCount() { method in class:CorporaAdapter
122 int count = getCount();
H A DDelayingSuggestionsAdapter.java77 if (cursor != null && cursor.getCount() > 0) {
82 if (result.getCount() > 0) {
/packages/inputmethods/LatinIME/native/src/
H A Ddictionary.h57 static int getCount(const unsigned char *dict, int *pos);
96 inline int Dictionary::getCount(const unsigned char *dict, int *pos) { function in class:latinime::Dictionary
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDebug.java104 eventCount = eventCursor.getCount();
116 dirtyCount = dirtyCursor.getCount();
/packages/apps/Calculator/src/com/android/calculator2/
H A DHistoryAdapter.java42 public int getCount() { method in class:HistoryAdapter
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java92 public int getCount() { method in class:AddAdapter
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListAdapter.java90 int count = getCount();

Completed in 439 milliseconds

1234567891011>>