Home
last modified time | relevance | path

Searched refs:getItemCount (Results 1 – 25 of 76) sorted by relevance

1234

/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
DPrescrollToBottom.java37 boolean shouldScroll = mAdapter.getItemCount() > 2; in onPreDraw()
39 Log.d(TAG, "Smooth scrolling after draw to position " + mAdapter.getItemCount()); in onPreDraw()
40 mRecyclerView.smoothScrollToPosition(mAdapter.getItemCount()); in onPreDraw()
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
DPrescrollToBottom.java37 boolean shouldScroll = mAdapter.getItemCount() > 2; in onPreDraw()
39 Log.d(TAG, "Smooth scrolling after draw to position " + mAdapter.getItemCount()); in onPreDraw()
40 mRecyclerView.smoothScrollToPosition(mAdapter.getItemCount()); in onPreDraw()
/developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
DAppUsageStatisticsFragmentTests.java93 assertTrue(mTestFragment.mUsageListAdapter.getItemCount() == 0); in testUpdateAppsList()
95 assertTrue(mTestFragment.mUsageListAdapter.getItemCount() > 0); in testUpdateAppsList()
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
DAppUsageStatisticsFragmentTests.java93 assertTrue(mTestFragment.mUsageListAdapter.getItemCount() == 0); in testUpdateAppsList()
95 assertTrue(mTestFragment.mUsageListAdapter.getItemCount() > 0); in testUpdateAppsList()
/developers/samples/android/ui/views/RecyclerView/Application/src/androidTest/java/com/example/android/recyclerview/test/
DRecyclerViewSampleTests.java65 int elementCount = recyclerView.getAdapter().getItemCount(); in testRecyclerViewElementCount()
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/
DDirectoryEntryAdapterTest.java80 assertEquals(2, mTestFragment.mAdapter.getItemCount()); in testGetItemCount()
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.kt57 override fun getItemCount() = dataset.size in <lambda>() method in com.example.android.navigationdrawer.PlanetAdapter
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.kt57 override fun getItemCount() = dataset.size in <lambda>() method in com.example.android.navigationdrawer.PlanetAdapter
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionsRecyclerView.java74 boolean showEmptyView = getAdapter().getItemCount() == 0; in updateEmptyView()
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt69 override fun getItemCount() = dataSet.size in getItemCount() method
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt69 override fun getItemCount() = dataSet.size in getItemCount() method
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionsRecyclerView.java75 boolean showEmptyView = getAdapter().getItemCount() == 0; in updateEmptyView()
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java95 public int getItemCount() { in getItemCount() method in CustomAdapter
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java95 public int getItemCount() { in getItemCount() method in CustomAdapter
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java88 public int getItemCount() { in getItemCount() method in SpeedPickerListAdapter
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java88 public int getItemCount() { in getItemCount() method in SpeedPickerListAdapter
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
DImageDragListener.java72 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
/developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
DImageDragListener.java72 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java78 public int getItemCount() { in getItemCount() method in PlanetAdapter
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
DImageDragListener.java80 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
DImageDragListener.java80 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
/developers/samples/android/ui/views/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java78 public int getItemCount() { in getItemCount() method in PlanetAdapter
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageAdapter.kt85 override fun getItemCount(): Int { in getItemCount() method in com.example.android.contentproviderpaging.ImageAdapter
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java93 public int getItemCount() { in getItemCount() method in CustomRecyclerAdapter
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageAdapter.kt85 override fun getItemCount(): Int { in getItemCount() method in com.example.android.contentproviderpaging.ImageAdapter

1234