Home
last modified time | relevance | path

Searched refs:viewType (Results 1 – 25 of 60) sorted by relevance

123

/developers/samples/android/connectivity/wifirtt/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
DMyAdapter.java83 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
87 if (viewType == TYPE_HEADER) { in onCreateViewHolder()
93 } else if (viewType == TYPE_ITEM) { in onCreateViewHolder()
99 throw new RuntimeException(viewType + " isn't a valid view type."); in onCreateViewHolder()
/developers/build/prebuilts/gradle/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
DMyAdapter.java83 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
87 if (viewType == TYPE_HEADER) { in onCreateViewHolder()
93 } else if (viewType == TYPE_ITEM) { in onCreateViewHolder()
99 throw new RuntimeException(viewType + " isn't a valid view type."); in onCreateViewHolder()
/developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DAppItem.java28 public AppItem(String itemName, int imageId, int viewType, Class<? extends Activity> clazz) { in AppItem() argument
31 mViewType = viewType; in AppItem()
DLongListRecyclerViewAdapter.java57 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
59 switch (viewType) { in onCreateViewHolder()
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DAppItem.java28 public AppItem(String itemName, int imageId, int viewType, Class<? extends Activity> clazz) { in AppItem() argument
31 mViewType = viewType; in AppItem()
DLongListRecyclerViewAdapter.java58 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
60 switch (viewType) { in onCreateViewHolder()
/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
DCustomRecyclerAdapter.java59 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
60 Log.d(TAG, "onCreateViewHolder(): viewType: " + viewType); in onCreateViewHolder()
64 switch (viewType) { in onCreateViewHolder()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DColorSelectionRecyclerViewAdapter.java56 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
57 Log.d(TAG, "onCreateViewHolder(): viewType: " + viewType); in onCreateViewHolder()
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DColorSelectionRecyclerViewAdapter.java55 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
56 Log.d(TAG, "onCreateViewHolder(): viewType: " + viewType); in onCreateViewHolder()
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/
DContactsListAdapter.java142 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
143 if (viewType == TYPE_TITLE) { in onCreateViewHolder()
147 } else if (viewType == TYPE_CONTENT) { in onCreateViewHolder()
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/
DContactsListAdapter.java142 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
143 if (viewType == TYPE_TITLE) { in onCreateViewHolder()
147 } else if (viewType == TYPE_CONTENT) { in onCreateViewHolder()
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.kt45 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = in <lambda>()
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.kt45 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = in <lambda>()
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt51 override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { in onCreateViewHolder()
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt51 override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { in onCreateViewHolder()
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java63 int viewType) { in onCreateViewHolder() argument
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
DSpeedPickerListAdapter.java63 int viewType) { in onCreateViewHolder() argument
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java59 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/developers/samples/android/ui/views/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java59 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageAdapter.kt41 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ImageViewHolder { in onCreateViewHolder()
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java68 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageAdapter.kt41 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ImageViewHolder { in onCreateViewHolder()
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
DCustomRecyclerAdapter.java67 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument

123