Searched refs:getCount (Results 26 - 50 of 182) sorted by relevance

12345678

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java80 public int getCount() { method in class:BaseCursorPagerAdapter
82 return mCursor.getCount();
173 Log.v(TAG, "swapCursor old=" + (mCursor == null ? -1 : mCursor.getCount()) +
174 "; new=" + (newCursor == null ? -1 : newCursor.getCount()));
248 SparseIntArray itemPosition = new SparseIntArray(mCursor.getCount());
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizer.java338 txt.append("UNEXPECTED FAILURES: " + mUnexpectedFailuresCursor.getCount() + "\n");
339 txt.append("UNEXPECTED PASSES: " + mUnexpectedPassesCursor.getCount() + "\n");
340 txt.append("EXPECTED FAILURES: " + mExpectedFailuresCursor.getCount() + "\n");
341 txt.append("EXPECTED PASSES: " + mExpectedPassesCursor.getCount() + "\n");
368 return mUnexpectedFailuresCursor.getCount() +
369 mUnexpectedPassesCursor.getCount() +
370 mExpectedPassesCursor.getCount() +
371 mExpectedFailuresCursor.getCount();
420 createSummaryTableRow(html, "UNEXPECTED FAILURES", mUnexpectedFailuresCursor.getCount());
421 createSummaryTableRow(html, "UNEXPECTED PASSES", mUnexpectedPassesCursor.getCount());
[all...]
/frameworks/base/core/java/android/widget/
H A DHeaderViewListAdapter.java130 public int getCount() { method in class:HeaderViewListAdapter
132 return getFootersCount() + getHeadersCount() + mAdapter.getCount();
157 adapterCount = mAdapter.getCount();
178 adapterCount = mAdapter.getCount();
192 int adapterCount = mAdapter.getCount();
218 adapterCount = mAdapter.getCount();
232 int adapterCount = mAdapter.getCount();
H A DBaseAdapter.java83 return getCount() == 0;
H A DRemoteViewsService.java78 * See {@link Adapter#getCount()}
82 public int getCount(); method in interface:RemoteViewsService.RemoteViewsFactory
151 public synchronized int getCount() { method in class:RemoteViewsService.RemoteViewsFactoryAdapter
154 count = mFactory.getCount();
H A DCursorFilter.java53 results.count = cursor.getCount();
H A DCursorTreeAdapter.java178 return (mGroupCursorHelper.isValid() && helper != null) ? helper.getCount() : 0;
187 return mGroupCursorHelper.getCount();
425 int getCount() { method in class:CursorTreeAdapter.MyCursorHelper
427 return mCursor.getCount();
/frameworks/base/core/java/android/database/
H A DMergeCursor.java55 public int getCount() method in class:MergeCursor
61 count += mCursors[i].getCount();
79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) {
84 cursorStartPos += mCursors[i].getCount();
H A DCursorWrapper.java56 public int getCount() { method in class:CursorWrapper
57 return mCursor.getCount();
H A DCursor.java57 int getCount(); method in interface:Cursor
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java196 public int getCount() { method in class:PreferenceGroupAdapter
201 if (position < 0 || position >= getCount()) return null;
206 if (position < 0 || position >= getCount()) return ListView.INVALID_ROW_ID;
226 if (position < 0 || position >= getCount()) return true;
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java155 assertSame(3, c.getCount());
211 assertEquals(0, c.getCount());
252 assertEquals(1, c.getCount());
273 int count = c.getCount();
311 assertEquals(count, c.getCount());
347 assertEquals(count, c.getCount());
385 assertEquals(count, c.getCount());
395 assertEquals(3, c.getCount());
398 assertEquals(3, c.getCount());
409 assertEquals(1, c.getCount());
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchVerticalSpacingStackFromBottomTest.java56 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
73 assertEquals("Wrong view in last position", mGridView.getAdapter().getCount() - 1,
95 assertEquals("Wrong view in last position", mGridView.getAdapter().getCount() - 1,
157 assertEquals("Grid is not scrolled to the bottom", mGridView.getAdapter().getCount() - 1,
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityManyTest.java56 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
91 assertEquals("List is not scrolled to the bottom", mListView.getAdapter().getCount() - 1,
111 assertEquals("Wrong view in last position", mListView.getAdapter().getCount() - 1,
133 assertEquals("Wrong view in last position", mListView.getAdapter().getCount() - 1,
H A DListSetSelectionTest.java62 final int targetPosition = mListView.getAdapter().getCount() / 2;
92 final int targetPosition = mListView.getAdapter().getCount() / 2;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithEmptyView.java43 if (position < 0 || position >= this.getCount()) {
91 if (mAdapter.getCount() > 0) {
H A DListThrasher.java75 public int getCount() { method in class:ListThrasher.ThrashListAdapter
101 int position = mRandomizer.nextInt(getCount());
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMergedAdapter.java90 public int getCount() { method in class:MergedAdapter
93 count += adapter.getCount();
114 int newCount = count + a.getCount();
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridThrasher.java77 public int getCount() { method in class:GridThrasher.ThrashListAdapter
103 int position = mRandomizer.nextInt(getCount());
H A DGridDelete.java91 public int getCount() { method in class:GridDelete.DeleteAdapter
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java117 int pos = (cursor.getCount() < limit ? 0 : cursor.getCount() - limit);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java65 int count = dataBindingItem.getCount();
83 public int getCount() { method in class:FakeAdapter
/frameworks/av/include/drm/
H A DDrmInfo.h126 int getCount(void) const;
H A DDrmInfoRequest.h133 int getCount(void) const;
H A DDrmMetadata.h93 int getCount(void) const;

Completed in 304 milliseconds

12345678