/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseRecyclerViewInstrumentationTest.java | 209 while (lm.layoutLatch.getCount() > 0) { 569 layoutLatch.getCount(), CoreMatchers.is(0L)); 593 assertEquals(msg, count, layoutLatch.getCount()); 598 assertFalse(msg, layoutLatch.getCount() == 0);
|
H A D | AsyncListUtilLayoutTest.java | 193 assertTrue("Unexpected tile load @" + startPosition, mTilesLatch.getCount() > 0); 328 mLayoutLatch.getCount(), CoreMatchers.is(0L));
|
H A D | BaseStaggeredGridLayoutManagerTest.java | 498 layoutLatch.getCount(), CoreMatchers.is(0L)); 515 prefetchLatch.getCount(), CoreMatchers.is(0L)); 532 if (mSnapLatch.getCount() == 0L) { 544 mSnapLatch.getCount(), CoreMatchers.is(0L)); 555 assertFalse(msg, layoutLatch.getCount() == 0);
|
/frameworks/support/wear/tests/src/android/support/wear/widget/drawer/ |
H A D | DrawerTestActivity.java | 76 public int getCount() {
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SearchRecentSuggestionsProviderTest.java | 303 assertEquals(expectCount, c.getCount()); 322 assertTrue("Insufficient rows in filtered cursor", c.getCount() >= minRows);
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 231 public int getCount() { method in class:GroupingListAdapter 259 mCount = count + mCursor.getCount() - cursorPosition;
|
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/util/ |
H A D | TableInfo.java | 93 final int count = cursor.getCount(); 128 final int count = cursor.getCount();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 166 final int count = adapter.getCount(); 300 int count = adapter.getCount();
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | ViewPager.java | 526 mExpectedAdapterCount = mAdapter.getCount(); 628 if (mAdapter == null || mAdapter.getCount() <= 0) { 639 } else if (item >= mAdapter.getCount()) { 640 item = mAdapter.getCount() - 1; 1015 final int adapterCount = mAdapter.getCount(); 1120 final int N = mAdapter.getCount(); 1290 final int N = mAdapter.getCount(); 2171 if (mAdapter == null || mAdapter.getCount() == 0) { 2322 if (lastItem.position != mAdapter.getCount() - 1) { 2424 && mAdapter != null && mAdapter.getCount() > [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 384 return mVerticalAxis.getCount(); 417 return mHorizontalAxis.getCount(); 678 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 1273 public int getCount() { method in class:GridLayout.Axis 1415 int N = getCount() + 1; // the number of vertices 1439 int[] visited = new int[getCount() + 1]; 1496 for (int i = 0; i < getCount(); i++) { 1503 int N = getCount(); 1614 int N = getCount() + 1; // The number of vertices is the number of columns/rows + 1. 1681 leadingMargins = new int[getCount() [all...] |
H A D | Spinner.java | 550 } else if (mAdapter != null && mAdapter.getCount() > 0) { 847 final int end = Math.min(adapter.getCount(), start + MAX_ITEMS_MEASURED); 977 public int getCount() { method in class:Spinner.DropDownAdapter 978 return mAdapter == null ? 0 : mAdapter.getCount(); 1048 return getCount() == 0;
|
H A D | SimpleAdapter.java | 97 * @see android.widget.Adapter#getCount() 99 public int getCount() { method in class:SimpleAdapter
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 373 return mVerticalAxis.getCount(); 406 return mHorizontalAxis.getCount(); 662 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 1164 public int getCount() { method in class:GridLayout.Axis 1306 int N = getCount() + 1; // the number of vertices 1330 int[] visited = new int[getCount() + 1]; 1387 for (int i = 0; i < getCount(); i++) { 1394 int N = getCount(); 1505 int N = getCount() + 1; // The number of vertices is the number of columns/rows + 1. 1572 leadingMargins = new int[getCount() [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 491 assertEquals(1, cursor.getCount()); 765 if (cursor.getCount() == 0) { 910 assertEquals(0, cursor.getCount());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsNumberUtils.java | 264 if (cursor.getCount() > 0) { 469 if (cursor.getCount() > 0) { 470 ALL_COUNTRY_CODES = new int[cursor.getCount()];
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 378 boolean finished = cursor.getCount() == 1; 488 if (response.getCount() < 1) {
|
/frameworks/support/content/tests/java/android/support/content/ |
H A D | ContentPagerTest.java | 324 assertEquals(leftOvers, cursor.getCount()); 389 for (int row = 0; row < cursor.getCount(); row++) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 416 mExpectedAdapterCount = mAdapter.getCount(); 495 if (mAdapter == null || mAdapter.getCount() <= 0) { 500 item = MathUtils.constrain(item, 0, mAdapter.getCount() - 1); 822 final int adapterCount = mAdapter.getCount(); 929 final int N = mAdapter.getCount(); 1108 final int N = mAdapter.getCount(); 1951 if (mAdapter == null || mAdapter.getCount() == 0) { 2114 final boolean endAbsolute = endItem.position == mAdapter.getCount() - 1; 2251 mAdapter != null && mAdapter.getCount() > 1)) { 2701 event.setItemCount(mAdapter.getCount()); [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffEntry.cpp | 128 uint32_t count = getCount();
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 82 // Calling getCount() causes the cursor window to be filled, 85 cursor.getCount();
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 264 if (position < 0 || position >= cursor.getCount()) { 1048 mColumns = new HashMap<String, Integer>(cur.getCount()); 1066 sb.append(i == cur.getCount() ? ") " : ", "); 1067 sbv.append(i == cur.getCount() ? ");" : ", ");
|
H A D | MatrixCursor.java | 243 public int getCount() { method in class:MatrixCursor
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AccessibilityButtonChooserActivity.java | 122 public int getCount() { method in class:AccessibilityButtonChooserActivity.TargetAdapter
|
H A D | SuggestedLocaleAdapter.java | 114 public int getCount() { method in class:SuggestedLocaleAdapter
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 230 public int getCount() { method in class:ListMenuPresenter.MenuAdapter
|