/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
D | PrescrollToBottom.java | 37 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/ |
D | PrescrollToBottom.java | 37 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/ |
D | AppUsageStatisticsFragmentTests.java | 93 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/ |
D | AppUsageStatisticsFragmentTests.java | 93 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/ |
D | RecyclerViewSampleTests.java | 65 int elementCount = recyclerView.getAdapter().getItemCount(); in testRecyclerViewElementCount()
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
D | DirectoryEntryAdapterTest.java | 80 assertEquals(2, mTestFragment.mAdapter.getItemCount()); in testGetItemCount()
|
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
D | PlanetAdapter.kt | 57 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/ |
D | PlanetAdapter.kt | 57 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/ |
D | AttractionsRecyclerView.java | 74 boolean showEmptyView = getAdapter().getItemCount() == 0; in updateEmptyView()
|
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/ |
D | CustomAdapter.kt | 69 override fun getItemCount() = dataSet.size in getItemCount() method
|
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/ |
D | CustomAdapter.kt | 69 override fun getItemCount() = dataSet.size in getItemCount() method
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
D | AttractionsRecyclerView.java | 75 boolean showEmptyView = getAdapter().getItemCount() == 0; in updateEmptyView()
|
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
D | CustomAdapter.java | 95 public int getItemCount() { in getItemCount() method in CustomAdapter
|
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
D | CustomAdapter.java | 95 public int getItemCount() { in getItemCount() method in CustomAdapter
|
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/ |
D | SpeedPickerListAdapter.java | 88 public int getItemCount() { in getItemCount() method in SpeedPickerListAdapter
|
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/ |
D | SpeedPickerListAdapter.java | 88 public int getItemCount() { in getItemCount() method in SpeedPickerListAdapter
|
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/ |
D | ImageDragListener.java | 72 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/ |
D | ImageDragListener.java | 72 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
|
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/ |
D | PlanetAdapter.java | 78 public int getItemCount() { in getItemCount() method in PlanetAdapter
|
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | ImageDragListener.java | 80 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | ImageDragListener.java | 80 if (clipData == null || clipData.getItemCount() == 0) { in processDrop()
|
/developers/samples/android/ui/views/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/ |
D | PlanetAdapter.java | 78 public int getItemCount() { in getItemCount() method in PlanetAdapter
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
D | ImageAdapter.kt | 85 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/ |
D | CustomRecyclerAdapter.java | 93 public int getItemCount() { in getItemCount() method in CustomRecyclerAdapter
|
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
D | ImageAdapter.kt | 85 override fun getItemCount(): Int { in getItemCount() method in com.example.android.contentproviderpaging.ImageAdapter
|