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

1234567891011

/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java36 null /* desiredMimeType */, null /* lookupKey */).getCount());
44 assertEquals(1, result.getCount());
52 assertEquals(2, result.getCount());
62 assertEquals(2, result.getCount());
72 assertEquals(2, result.getCount());
/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/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();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DColumnAdapter.java73 public int getCount() { method in class:ColumnAdapter
74 return (mWrapped.getCount() + mColumns - 1) / mColumns;
99 final int last = mWrapped.getCount() - 1;
H A DFilteringCursorWrapper.java50 final int count = cursor.getCount();
68 Log.d(TAG, "Before filtering " + cursor.getCount() + ", after " + mCount);
93 public int getCount() { method in class:FilteringCursorWrapper
H A DRootCursorWrapper.java46 final int count = cursor.getCount();
88 public int getCount() { method in class:RootCursorWrapper
/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();
/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/opt/telephony/src/java/com/android/internal/telephony/
H A DHbpcdUtils.java56 int c2Counter = c2.getCount();
86 int c3Counter = c3.getCount();
115 if (c5.getCount() > 0) {
145 if (cur.getCount() > 0) {
/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/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());
/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.java73 int count = dataBindingItem.getCount();
91 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;
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h59 virtual uint32_t getCount() const;
H A DTiffEntry.h57 virtual uint32_t getCount() const = 0;

Completed in 639 milliseconds

1234567891011