HomeSort by relevance Sort by last modified time
    Searched refs:getCount (Results 51 - 75 of 516) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
RankAwarePromoter.java 50 if (result.getCount() > 0) {
63 int slotsToFill = Math.min(getSlotsAboveKeyboard() - promoted.getCount(), maxPromoted);
111 if (result.getPosition() == result.getCount()) {
128 if (count < 1 || cursor.getPosition() >= cursor.getCount()) {
ShortcutLimitingPromoter.java 54 final int shortcutCount = shortcuts == null ? 0 : shortcuts.getCount();
78 filteredShortcuts.getCount());
ShortcutCursor.java 67 int count = suggestions.getCount();
115 for (int i = 0; i < getCount(); i++) {
118 if (refreshed != null && refreshed.getCount() > 0) {
ShortcutPromoter.java 46 int shortcutCount = shortcuts == null ? 0 : shortcuts.getCount();
  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 148 assertEquals(1, mArrayAdapter.getCount());
151 assertEquals(2, mArrayAdapter.getCount());
158 assertEquals(0, mArrayAdapter.getCount());
169 assertEquals(1, mArrayAdapter.getCount());
191 method = "getCount",
213 assertEquals(0, mArrayAdapter.getCount());
219 assertEquals(3, mArrayAdapter.getCount());
244 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null));
251 mArrayAdapter.getDropDownView(mArrayAdapter.getCount(), textView, null));
316 assertEquals(1, mArrayAdapter.getCount());
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
GridTouchStackFromBottomManyTest.java 50 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
80 assertEquals("Grid is not scrolled to the bottom", mGridView.getAdapter().getCount() - 1,
GridTouchVerticalSpacingStackFromBottomTest.java 56 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/arrowscroll/
ListLastItemPartiallyVisibleTest.java 45 "in adapter", mListView.getCount(), mListView.getChildCount());
66 int numMovesToLast = mListView.getCount() - 1;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
AbstractGoogleSourceResult.java 35 public abstract int getCount();
59 int size = getCount();
  /cts/tests/tests/database/src/android/database/cts/
DatabaseCursorTest.java 142 assertEquals(9, testCursor.getCount());
232 assertSame(3, testCursor.getCount());
290 assertEquals(0, testCursor.getCount());
333 assertEquals(1, testCursor.getCount());
355 int count = c.getCount();
392 testCursor.getCount();
420 testCursor.getCount();
445 testCursor.getCount();
468 testCursor.getCount();
498 assertEquals(count, testCursor.getCount());
    [all...]
MergeCursorTest.java 89 method = "getCount",
96 assertEquals(0, mergeCursor.getCount());
100 // if the items are not null, getCount() will return the sum of all cursors' count.
102 assertEquals(mCursors[0].getCount() + mCursors[1].getCount(), mergeCursor.getCount());
136 assertEquals(1, cursors[0].getCount());
139 assertTrue(cursors[1].getCount() > 0);
231 assertEquals(4, mergeCursor.getCount());
401 method = "getCount",
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseCursorTest.java 127 assertEquals(9, c.getCount());
214 assertSame(3, c.getCount());
270 assertEquals(0, c.getCount());
311 assertEquals(1, c.getCount());
332 int count = c.getCount();
369 c.getCount();
398 c.getCount();
425 c.getCount();
448 c.getCount();
473 assertEquals(count, c.getCount());
    [all...]
  /packages/apps/Camera/src/com/android/camera/gallery/
ImageListUber.java 67 public int getCount() {
70 count += subList.getCount();
80 if (index < 0 || index > getCount()) {
82 "index " + index + " out of range max is " + getCount());
183 if (mOffset >= mList.getCount() - 1) return false;
BaseImageList.java 91 public int getCount() {
95 return cursor.getCount();
100 return getCount() == 0;
  /frameworks/base/core/java/android/widget/
HeaderViewListAdapter.java 130 public int getCount() {
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();
BaseAdapter.java 78 return getCount() == 0;
  /cts/tests/tests/content/src/android/content/cts/
SearchRecentSuggestionsProviderTest.java 108 assertEquals(0, c.getCount());
112 assertEquals(1, c.getCount());
116 assertEquals(2, c.getCount());
120 assertEquals(0, c.getCount());
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java 72 assertEquals(0, c.getCount());
80 assertEquals(1, c.getCount());
115 assertEquals(0, c.getCount());
123 assertEquals(1, c.getCount());
  /external/guava/src/com/google/common/io/
CountingInputStream.java 44 public long getCount() {
  /frameworks/base/core/java/android/database/
MergeCursor.java 55 public int getCount()
61 count += mCursors[i].getCount();
79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) {
84 cursorStartPos += mCursors[i].getCount();
  /frameworks/base/core/java/android/preference/
PreferenceGroupAdapter.java 196 public int getCount() {
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/widget/listview/touch/
ListTouchBottomGravityManyTest.java 56 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,
  /packages/apps/Email/src/com/android/email/mail/
Multipart.java 44 public int getCount() throws MessagingException {
  /packages/apps/Email/src/org/apache/commons/io/output/
CountingOutputStream.java 98 public synchronized int getCount() {
127 * NOTE: This method is an alternative for <code>getCount()</code>.
  /packages/apps/Gallery/src/com/android/camera/gallery/
SingleImageList.java 45 public int getCount() {

Completed in 837 milliseconds

1 23 4 5 6 7 8 91011>>