Home
last modified time | relevance | path

Searched refs:viewHolder (Results 1 – 4 of 4) sorted by relevance

/external/setupdesign/main/src/com/google/android/setupdesign/
DDividerItemDecoration.java165 protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedAbove() argument
166 return !(viewHolder instanceof DividedViewHolder) in isDividerAllowedAbove()
167 || ((DividedViewHolder) viewHolder).isDividerAllowedAbove(); in isDividerAllowedAbove()
179 protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedBelow() argument
180 return !(viewHolder instanceof DividedViewHolder) in isDividerAllowedBelow()
181 || ((DividedViewHolder) viewHolder).isDividerAllowedBelow(); in isDividerAllowedBelow()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt157 viewHolder: RecyclerView.ViewHolder, in <lambda>()
161 val fromPos = viewHolder.adapterPosition in <lambda>()
172 override fun onSwiped(viewHolder: RecyclerView.ViewHolder, direction: Int) { in <lambda>()
173 val position = viewHolder.adapterPosition in <lambda>()
185 viewHolder: RecyclerView.ViewHolder in <lambda>()
187 super.clearView(recyclerView, viewHolder) in <lambda>()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DMainActivity.java257 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) { in onSwiped() argument
258 int position = viewHolder.getAdapterPosition(); in onSwiped()
259 QueueItemViewHolder queueItemHolder = (QueueItemViewHolder) viewHolder; in onSwiped()
268 public void clearView(@NonNull RecyclerView recyclerView, @NonNull ViewHolder viewHolder) { in clearView() argument
269 super.clearView(recyclerView, viewHolder); in clearView()
271 QueueItemViewHolder queueItemHolder = (QueueItemViewHolder) viewHolder; in clearView()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DRecyclerItemAdapter.java114 final ItemViewHolder viewHolder = new ItemViewHolder(view); in onCreateViewHolder() local
164 final IItem item = viewHolder.getItem(); in onCreateViewHolder()
171 return viewHolder; in onCreateViewHolder()