Searched refs:getCount (Results 1 - 25 of 182) sorted by relevance

12345678

/frameworks/base/media/java/android/drm/mobile1/
H A DDrmConstraintInfo.java60 public int getCount() { method in class:DrmConstraintInfo
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryCounter.java24 public int getCount() { method in class:VCardEntryCounter
/frameworks/rs/tests/
H A Dcompute.cpp41 uint32_t *buf = new uint32_t[t->getCount()];
42 for (uint32_t ct=0; ct < t->getCount(); ct++) {
46 ain->copy1DRangeFromUnchecked(0, t->getCount(), buf, t->getCount()*4);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java49 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
63 mGridView.getAdapter().getCount() - 1, lastChild.getId());
80 mGridView.getAdapter().getCount() - 1, lastChild.getId());
97 mGridView.getAdapter().getCount() - 1, lastChild.getId());
114 mGridView.getAdapter().getCount() - 1, lastChild.getId());
H A DGridTouchStackFromBottomManyTest.java50 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
80 assertEquals("Grid is not scrolled to the bottom", mGridView.getAdapter().getCount() - 1,
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java30 assertEquals(0, RecipientAlternatesAdapter.removeDuplicateDestinations(c).getCount());
37 assertEquals(1, result.getCount());
44 assertEquals(2, result.getCount());
53 assertEquals(2, result.getCount());
62 assertEquals(2, result.getCount());
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DGroupingListAdapterTests.java55 int count = cursor.getCount();
120 assertEquals(3, mAdapter.getCount());
130 assertEquals(2, mAdapter.getCount());
140 assertEquals(4, mAdapter.getCount());
153 assertEquals(2, mAdapter.getCount());
162 assertEquals(3, mAdapter.getCount());
173 assertEquals(6, mAdapter.getCount());
186 assertEquals(3, mAdapter.getCount());
197 assertEquals(6, mAdapter.getCount());
210 assertEquals(6, mAdapter.getCount());
[all...]
H A DCompositeCursorAdapterTest.java88 assertEquals(5, adapter.getCount());
99 for (int i = 0; i < adapter.getCount(); i++) {
114 assertEquals(7, adapter.getCount());
125 for (int i = 0; i < adapter.getCount(); i++) {
139 assertEquals(3, adapter.getCount());
189 for (int i = 0; i < adapter.getCount(); i++) {
203 assertEquals(4, adapter.getCount());
213 for (int i = 0; i < adapter.getCount(); i++) {
/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsFactory.aidl27 int getCount();
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithFooterViewAndNewLabelsTest.java61 1, mAdapter.getCount());
64 2, mListView.getCount());
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithNoFadingEdgeTest.java47 mListView.getChildCount() < mListView.getCount());
52 final int numItems = mListView.getCount();
63 final int numItems = mListView.getCount();
H A DListWithScreenOfNoSelectablesTest.java44 final int numItems = mListView.getCount();
50 mListView.getChildCount() < mListView.getCount());
70 final int lastPosition = mListView.getCount() - 1;
H A DListOfThinItemsTest.java46 mListView.getChildCount() < mListView.getAdapter().getCount());
51 final int numItems = mListView.getAdapter().getCount();
61 int bottomThreshold = (lastVisiblePosition < mListView.getAdapter().getCount() - 1) ?
79 final int numItems = mListView.getAdapter().getCount();
H A DListLastItemPartiallyVisibleTest.java45 "in adapter", mListView.getCount(), mListView.getChildCount());
66 int numMovesToLast = mListView.getCount() - 1;
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityTest.java53 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
68 assertEquals("List is not scrolled to the bottom", mListView.getAdapter().getCount() - 1,
87 assertEquals("List is not scrolled to the bottom", mListView.getAdapter().getCount() - 1,
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java79 abstract public int getCount(); method in class:AbstractCursor
197 final int count = getCount();
241 return moveToPosition(getCount() - 1);
253 return mPos == 0 && getCount() != 0;
257 int cnt = getCount();
262 if (getCount() == 0) {
269 if (getCount() == 0) {
272 return mPos == getCount();
293 if (getCount() > 0) {
423 if (-1 == mPos || getCount()
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java93 assertEquals(2, ca.getCount());
104 assertEquals(0, ca.getCount());
115 assertEquals(2, ca.getCount());
123 assertEquals(5, ca.getCount());
134 assertEquals(2, ca.getCount());
140 assertEquals(0, ca.getCount());
162 assertEquals(2, ca.getCount());
177 assertEquals(0, ca.getCount());
187 assertEquals(0, ca.getCount());
190 assertEquals(2, ca.getCount());
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSetSelectionBaseTest.java49 assertEquals(mGridView.getAdapter().getCount() - 1,
58 final int target = mGridView.getAdapter().getCount() - 1;
74 final int target = mGridView.getAdapter().getCount() / 2;
H A DGridStackFromBottomManyTest.java47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
H A DGridStackFromBottomTest.java47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
/frameworks/base/core/java/android/widget/
H A DAdapter.java54 int getCount(); method in interface:Adapter
146 * getCount() == 0 but since getCount() includes the headers and footers, specialized
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListBottomGravityManyTest.java47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
H A DListBottomGravityTest.java47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/
H A DMergedAdapterTest.java47 public int getCount() { method in class:MergedAdapterTest.TestAdapter
129 assertEquals(15, adapter.getCount());
130 for (int i = 0; i < adapter.getCount(); i++) {
139 for (int i = 0; i < adapter.getCount(); i++) {
150 for (int i = 0; i < mFirst.getCount(); i++) {
161 for (int i = 0; i < mFirst.getCount(); i++) {
165 for (int i = mFirst.getCount(); i < adapter.getCount(); i++) {
185 assertEquals(13, adapter.getCount());
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java79 public int getCount() { method in class:BaseCursorPagerAdapter
81 return mCursor.getCount();
172 Log.v(TAG, "swapCursor old=" + (mCursor == null ? -1 : mCursor.getCount()) +
173 "; new=" + (newCursor == null ? -1 : newCursor.getCount()));
250 SparseIntArray itemPosition = new SparseIntArray(mCursor.getCount());

Completed in 400 milliseconds

12345678