/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/ |
D | SpeedDialItemTouchHelperCallback.java | 24 import android.support.v7.widget.RecyclerView.ViewHolder; 60 @NonNull RecyclerView recyclerView, @NonNull ViewHolder current, @NonNull ViewHolder target) { in canDropOver() 65 public int getMovementFlags(@NonNull RecyclerView recyclerView, @NonNull ViewHolder viewHolder) { in getMovementFlags() 78 @NonNull ViewHolder viewHolder, in onMove() 79 @NonNull ViewHolder target) { in onMove() 101 @NonNull ViewHolder viewHolder, in onMoved() 103 @NonNull ViewHolder viewHolder1, in onMoved() 116 @NonNull ViewHolder viewHolder, in onChildDraw() 139 public void onSelectedChanged(@Nullable ViewHolder viewHolder, int actionState) { in onSelectedChanged() 145 public void onSwiped(@NonNull ViewHolder viewHolder, int direction) { in onSwiped() [all …]
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 149 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() 160 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupExpandedType_shouldReturnObjectOfGroupNotificationViewHolder() 171 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupCollapsed_shouldReturnObjectOfGroupNotificationViewHolder() 182 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() 193 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() 204 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carInfoInGroup_shouldReturnObjectOfBasicNotificationViewHolder() 215 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_shouldReturnObjectOfMessageNotificationViewHolder() 226 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_message_shouldReturnObjectOfMessageNotificationViewHolder() 237 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_progressInGroupType_shouldReturnObjectOfProgressNotificationViewHolder() 248 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_progressInGroup_shouldReturnObjectOfProgressNotificationViewHolder() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAnimator.kt | 27 import androidx.recyclerview.widget.RecyclerView.ViewHolder 37 private val mAnimators: MutableMap<ViewHolder, Animator> = ArrayMap() 39 override fun animateRemove(holder: ViewHolder): Boolean { in animateRemove() 63 override fun animateAdd(holder: ViewHolder): Boolean { in animateAdd() 89 holder: ViewHolder, in animateMove() 147 oldHolder: ViewHolder, in animateChange() 148 newHolder: ViewHolder, in animateChange() 232 oldHolder: ViewHolder, in animateChange() 233 newHolder: ViewHolder, in animateChange() 278 override fun endAnimation(holder: ViewHolder) { in endAnimation() [all …]
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
D | LeanbackListPreferenceDialogFragmentCompat.java | 201 public static final class ViewHolder extends class in LeanbackListPreferenceDialogFragmentCompat 202 androidx.recyclerview.widget.RecyclerView.ViewHolder implements OnClickListener { 208 public ViewHolder(@NonNull View view, in ViewHolder() method in LeanbackListPreferenceDialogFragmentCompat.ViewHolder 236 void onItemClick(LeanbackListPreferenceDialogFragmentCompat.ViewHolder var1); in onItemClick() 240 Adapter<LeanbackListPreferenceDialogFragmentCompat.ViewHolder> implements 253 public LeanbackListPreferenceDialogFragmentCompat.ViewHolder onCreateViewHolder( in onCreateViewHolder() 257 return new LeanbackListPreferenceDialogFragmentCompat.ViewHolder(view, this); in onCreateViewHolder() 260 public void onBindViewHolder(LeanbackListPreferenceDialogFragmentCompat.ViewHolder holder, in onBindViewHolder() 271 public void onItemClick(LeanbackListPreferenceDialogFragmentCompat.ViewHolder viewHolder) { in onItemClick() 299 Adapter<LeanbackListPreferenceDialogFragmentCompat.ViewHolder> implements [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRendererTest.java | 90 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_invalidScheme_sliceShouldBeNull() 101 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_viewTypeFullWidth_shouldSetCachedSlice() 112 final RecyclerView.ViewHolder viewHolder = spy(getStickyViewHolder()); in bindView_viewTypeSticky_shouldSetCachedSlice() 147 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_isPendingDismiss_shouldShowDismissalView() 159 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_isPendingDismiss_shouldAddViewHolderToSet() 170 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground() 181 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding() 194 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_keepCard_shouldShowSlice() 210 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_keepCard_shouldRemoveViewHolderFromSet() 224 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_removeCard_shouldRemoveViewHolderFromSet() [all …]
|
D | SwipeDismissalDelegateTest.java | 78 final RecyclerView.ViewHolder holder = getSliceViewHolder(); in getMovementFlags_dismissalView_shouldDisableSwipe() 86 final RecyclerView.ViewHolder holder = getSliceViewHolder(); in getMovementFlags_SliceViewHolder_shouldEnableSwipe() 100 private RecyclerView.ViewHolder getSliceViewHolder() { in getSliceViewHolder() 103 final RecyclerView.ViewHolder viewHolder = spy(new SliceViewHolder(view)); in getSliceViewHolder() 110 private RecyclerView.ViewHolder getConditionalViewHolder() { in getConditionalViewHolder() 114 final RecyclerView.ViewHolder viewHolder = spy(new ConditionalCardHolder(view)); in getConditionalViewHolder()
|
D | SliceFullCardRendererHelperTest.java | 70 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in createViewHolder_shouldAlwaysReturnSliceViewHolder() 77 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetScrollableToFalse() 86 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetTagToSliceUri() 96 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetModeToLarge() 106 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetSlice() 114 private RecyclerView.ViewHolder getSliceViewHolder() { in getSliceViewHolder()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | ContentLimitingAdapterTest.java | 62 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toLowerThanTotalItems() 69 RecyclerView.ViewHolder secondToLast = getItemAtPosition(19); in setMaxItem_toLowerThanTotalItems() 86 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toOne() 92 RecyclerView.ViewHolder secondToLast = getItemAtPosition(0); in setMaxItem_toOne() 109 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toZero() 129 RecyclerView.ViewHolder last = getItemAtPosition(49); in setMaxItem_toHigherThanTotalItems() 135 RecyclerView.ViewHolder secondToLast = getItemAtPosition(48); in setMaxItem_toHigherThanTotalItems() 203 private RecyclerView.ViewHolder getItemAtPosition(int position) { in getItemAtPosition() 205 RecyclerView.ViewHolder viewHolder = in getItemAtPosition() 213 private void isTestViewHolderWithText(RecyclerView.ViewHolder secondToLast, String s) { in isTestViewHolderWithText()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsGridAdapter.java | 54 RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> { 81 public static class ViewHolder extends RecyclerView.ViewHolder { class in AllAppsGridAdapter 83 public ViewHolder(View v) { in ViewHolder() method in AllAppsGridAdapter.ViewHolder 347 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 358 return new ViewHolder(icon); in onCreateViewHolder() 360 return new ViewHolder(mLayoutInflater.inflate(R.layout.all_apps_empty_search, in onCreateViewHolder() 367 return new ViewHolder(searchMarketView); in onCreateViewHolder() 369 return new ViewHolder(mLayoutInflater.inflate( in onCreateViewHolder() 381 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 416 public void onViewRecycled(@NonNull ViewHolder holder) { in onViewRecycled() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | HighUsageAdapter.java | 39 public class HighUsageAdapter extends RecyclerView.Adapter<HighUsageAdapter.ViewHolder> { 45 public static class ViewHolder extends RecyclerView.ViewHolder { class in HighUsageAdapter 51 public ViewHolder(View v) { in ViewHolder() method in HighUsageAdapter.ViewHolder 68 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 71 return new ViewHolder(view); in onCreateViewHolder() 75 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | SwipeDismissalDelegate.java | 54 @NonNull RecyclerView.ViewHolder viewHolder) { in getMovementFlags() 73 @NonNull RecyclerView.ViewHolder viewHolder, in onMove() 74 @NonNull RecyclerView.ViewHolder target) { in onMove() 79 public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) { in onSwiped() 85 @NonNull RecyclerView.ViewHolder viewHolder) { in clearView() 92 @NonNull RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() 115 private View getSwipeableView(RecyclerView.ViewHolder viewHolder) { in getSwipeableView()
|
D | SliceContextualCardRenderer.java | 69 final Set<RecyclerView.ViewHolder> mFlippedCardSet; 90 public RecyclerView.ViewHolder createViewHolder(View view, @LayoutRes int viewType) { in createViewHolder() 98 public void bindView(RecyclerView.ViewHolder holder, ContextualCard card) { in bindView() 166 private void initDismissalActions(RecyclerView.ViewHolder holder, ContextualCard card) { in initDismissalActions() 209 private void resetCardView(RecyclerView.ViewHolder holder) { in resetCardView() 214 private void showDismissalView(RecyclerView.ViewHolder holder) { in showDismissalView() 219 private View getInitialView(RecyclerView.ViewHolder viewHolder) { in getInitialView()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | ContentLimitingAdapter.java | 32 public abstract class ContentLimitingAdapter<T extends RecyclerView.ViewHolder> 33 extends RecyclerView.Adapter<RecyclerView.ViewHolder> implements ContentLimiting { 55 public final RecyclerView.ViewHolder onCreateViewHolder( in onCreateViewHolder() 85 public final void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { in onBindViewHolder() 165 public final void onViewRecycled(@NonNull RecyclerView.ViewHolder holder) { in onViewRecycled() 185 public final boolean onFailedToRecycleView(@NonNull RecyclerView.ViewHolder holder) { in onFailedToRecycleView() 205 public final void onViewAttachedToWindow(@NonNull RecyclerView.ViewHolder holder) { in onViewAttachedToWindow() 230 public final void onViewDetachedFromWindow(@NonNull RecyclerView.ViewHolder holder) { in onViewDetachedFromWindow()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryItemAnimator.java | 44 private final Map<RecyclerView.ViewHolder, ColorAnimation> mRunningAnimations = 58 public void endAnimation(RecyclerView.ViewHolder vh) { in endAnimation() 78 RecyclerView.ViewHolder viewHolder, in recordPreLayoutInformation() 90 RecyclerView.State state, RecyclerView.ViewHolder viewHolder) { in recordPostLayoutInformation() 103 public boolean canReuseUpdatedViewHolder(RecyclerView.ViewHolder vh) { in canReuseUpdatedViewHolder() 117 final RecyclerView.ViewHolder viewHolder; 120 public ColorAnimation(RecyclerView.ViewHolder vh, int startColor, int endColor) in ColorAnimation()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | PlayerAdapter.java | 43 public final class PlayerAdapter extends RecyclerView.Adapter<PlayerAdapter.ViewHolder> { 55 public final class ViewHolder extends RecyclerView.ViewHolder { class in PlayerAdapter 60 private ViewHolder(View v) { in ViewHolder() method in PlayerAdapter.ViewHolder 108 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() 112 return new ViewHolder(playerView); in onCreateViewHolder() 117 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ActionPresenterSelector.java | 55 static class ActionViewHolder extends Presenter.ViewHolder { 69 public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 77 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() 85 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder() 92 public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 100 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() 137 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder()
|
D | DetailsContentPresenter.java | 50 public static class ViewHolder extends Presenter.ViewHolder { class in DetailsContentPresenter 136 public ViewHolder(final View view) { in ViewHolder() method in DetailsContentPresenter.ViewHolder 269 public final ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 273 return new ViewHolder(v); in onCreateViewHolder() 277 public final void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() 278 final ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() 356 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) {} in onUnbindViewHolder()
|
D | DvrItemPresenter.java | 42 protected class DvrItemViewHolder extends ViewHolder { 61 public final ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 66 public final void onBindViewHolder(ViewHolder baseHolder, Object item) { in onBindViewHolder() 86 public void onUnbindViewHolder(ViewHolder baseHolder) { in onUnbindViewHolder() 98 for (ViewHolder viewHolder : new HashSet<>(mBoundViewHolders)) { in unbindAllViewHolders()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
D | CalendarItem.java | 34 void bind(RecyclerView.ViewHolder holder); in bind() 40 RecyclerView.ViewHolder createViewHolder(ViewGroup parent) { in createViewHolder() 46 RecyclerView.ViewHolder createViewHolder(ViewGroup parent) { in createViewHolder() 52 RecyclerView.ViewHolder createViewHolder(ViewGroup parent) { in createViewHolder() 58 abstract RecyclerView.ViewHolder createViewHolder(ViewGroup parent); in createViewHolder()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 257 private static class ItemAdapter<T extends Item> extends RecyclerView.Adapter<ViewHolder> { 272 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 274 return new ViewHolder(view); in onCreateViewHolder() 278 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 283 public void onViewRecycled(ViewHolder holder) { in onViewRecycled() 320 private static class ViewHolder extends RecyclerView.ViewHolder class in SideFragment 325 private ViewHolder(View view) { in ViewHolder() method in SideFragment.ViewHolder
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestRecyclerView.java | 34 private List<RecyclerView.ViewHolder> mHolders = new ArrayList<>(); 43 public ViewHolder getChildViewHolder(View child) { in getChildViewHolder() 47 public void setHolders(List<ViewHolder> holders) { in setHolders() 52 public ViewHolder findViewHolderForAdapterPosition(int position) { in findViewHolderForAdapterPosition() 102 private static class TestViewHolder extends RecyclerView.ViewHolder {
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 97 private abstract static class ViewHolder extends RecyclerView.ViewHolder { class in MainActivity 99 ViewHolder(@NonNull View itemView) { in ViewHolder() method in MainActivity.ViewHolder 106 private class ActivityViewHolder extends ViewHolder { 126 private static class SwitchViewHolder extends ViewHolder { 146 private final RecyclerView.Adapter<ViewHolder> mAdapter = 147 new RecyclerView.Adapter<ViewHolder>() { 150 public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { 164 public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/ |
D | WideScreenImeActivity.java | 211 private abstract static class ViewHolder extends RecyclerView.ViewHolder { class in WideScreenImeActivity 213 ViewHolder(@NonNull View itemView) { in ViewHolder() method in WideScreenImeActivity.ViewHolder 220 private static class EditTextViewHolder extends ViewHolder { 240 private final RecyclerView.Adapter<ViewHolder> mAdapter = 241 new RecyclerView.Adapter<ViewHolder>() { 248 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 259 public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment.java | 55 import androidx.recyclerview.widget.RecyclerView.ViewHolder; 238 ViewHolder selectedViewHolder = mImageGrid.findViewHolderForAdapterPosition( 286 ViewHolder viewHolder = mImageGrid.findViewHolderForAdapterPosition( 1082 ViewHolder holder = mImageGrid.findViewHolderForAdapterPosition(index); in updateActivatedStatus() 1099 ViewHolder holder = mImageGrid.findViewHolderForAdapterPosition(index); in updateAppliedStatus() 1215 class IndividualAdapter extends RecyclerView.Adapter<ViewHolder> { 1232 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 1263 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 1288 private ViewHolder createRotationHolder(ViewGroup parent) { in createRotationHolder() 1296 private ViewHolder createIndividualHolder(ViewGroup parent) { in createIndividualHolder() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 25 import android.support.v7.widget.RecyclerView.ViewHolder; 58 public final class SpeedDialAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> 112 public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { in onCreateViewHolder() 138 public void onBindViewHolder(@NonNull ViewHolder holder, int position) { in onBindViewHolder() 247 public boolean canDropOver(ViewHolder target) { 252 public void onSelectedChanged(@Nullable ViewHolder viewHolder, int actionState) { 303 public void dropOnRemoveView(ViewHolder fromViewHolder) {
|