Searched refs:getCount (Results 226 - 250 of 398) sorted by relevance

1234567891011>>

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java209 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 DAsyncListUtilLayoutTest.java193 assertTrue("Unexpected tile load @" + startPosition, mTilesLatch.getCount() > 0);
328 mLayoutLatch.getCount(), CoreMatchers.is(0L));
H A DBaseStaggeredGridLayoutManagerTest.java498 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 DDrawerTestActivity.java76 public int getCount() {
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSearchRecentSuggestionsProviderTest.java303 assertEquals(expectCount, c.getCount());
322 assertTrue("Insufficient rows in filtered cursor", c.getCount() >= minRows);
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java231 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 DTableInfo.java93 final int count = cursor.getCount();
128 final int count = cursor.getCount();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListViewCompat.java166 final int count = adapter.getCount();
300 int count = adapter.getCount();
/frameworks/support/core-ui/java/android/support/v4/view/
H A DViewPager.java526 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 DGridLayout.java384 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 DSpinner.java550 } 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 DSimpleAdapter.java97 * @see android.widget.Adapter#getCount()
99 public int getCount() { method in class:SimpleAdapter
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java373 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 DDownloadManagerBaseTest.java491 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 DSmsNumberUtils.java264 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 DDownloadManagerBaseTest.java378 boolean finished = cursor.getCount() == 1;
488 if (response.getCount() < 1) {
/frameworks/support/content/tests/java/android/support/content/
H A DContentPagerTest.java324 assertEquals(leftOvers, cursor.getCount());
389 for (int row = 0; row < cursor.getCount(); row++) {
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java416 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 DTiffEntry.cpp128 uint32_t count = getCount();
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java82 // Calling getCount() causes the cursor window to be filled,
85 cursor.getCount();
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java264 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 DMatrixCursor.java243 public int getCount() { method in class:MatrixCursor
/frameworks/base/core/java/com/android/internal/app/
H A DAccessibilityButtonChooserActivity.java122 public int getCount() { method in class:AccessibilityButtonChooserActivity.TargetAdapter
H A DSuggestedLocaleAdapter.java114 public int getCount() { method in class:SuggestedLocaleAdapter
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuPresenter.java230 public int getCount() { method in class:ListMenuPresenter.MenuAdapter

Completed in 719 milliseconds

1234567891011>>