Home
last modified time | relevance | path

Searched defs:viewHolder (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java90 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_invalidScheme_sliceShouldBeNull() local
101 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_viewTypeFullWidth_shouldSetCachedSlice() local
112 final RecyclerView.ViewHolder viewHolder = spy(getStickyViewHolder()); in bindView_viewTypeSticky_shouldSetCachedSlice() local
147 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_isPendingDismiss_shouldShowDismissalView() local
159 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_isPendingDismiss_shouldAddViewHolderToSet() local
170 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground() local
181 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding() local
194 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_keepCard_shouldShowSlice() local
210 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_keepCard_shouldRemoveViewHolderFromSet() local
224 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in viewClick_removeCard_shouldRemoveViewHolderFromSet() local
[all …]
DSliceFullCardRendererHelperTest.java72 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in createViewHolder_shouldAlwaysReturnSliceViewHolder() local
79 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetScrollableToFalse() local
88 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetTagToSliceUri() local
98 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetModeToLarge() local
108 final RecyclerView.ViewHolder viewHolder = getSliceViewHolder(); in bindView_shouldSetSlice() local
DSliceHalfCardRendererHelperTest.java69 final RecyclerView.ViewHolder viewHolder = getHalfCardViewHolder(); in createViewHolder_shouldAlwaysReturnCustomViewHolder() local
76 final RecyclerView.ViewHolder viewHolder = getHalfCardViewHolder(); in bindView_shouldSetTitle() local
DSwipeDismissalDelegateTest.java103 final RecyclerView.ViewHolder viewHolder = spy(new SliceViewHolder(view)); in getSliceViewHolder() local
114 final RecyclerView.ViewHolder viewHolder = spy(new ConditionalCardHolder(view)); in getConditionalViewHolder() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSwipeDismissalDelegate.java54 @NonNull RecyclerView.ViewHolder viewHolder) { in getMovementFlags()
73 @NonNull RecyclerView.ViewHolder viewHolder, 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSwipeDismissalDelegate.java54 @NonNull RecyclerView.ViewHolder viewHolder) { in getMovementFlags()
74 @NonNull RecyclerView.ViewHolder viewHolder, in onMove()
80 public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) { in onSwiped()
86 @NonNull RecyclerView.ViewHolder viewHolder) { in clearView()
93 @NonNull RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw()
116 private View getSwipeableView(RecyclerView.ViewHolder viewHolder) { in getSwipeableView()
/packages/apps/Car/Notification/src/com/android/car/notification/
DDismissAnimationHelper.java73 void onDismiss(CarNotificationBaseViewHolder viewHolder); in onDismiss()
84 void animateDismiss(CarNotificationBaseViewHolder viewHolder, in animateDismiss()
91 CarNotificationBaseViewHolder viewHolder, in animateDismiss()
113 void animateRestore(CarNotificationBaseViewHolder viewHolder, float velocityX) { in animateRestore()
130 float calculateAlphaValue(CarNotificationBaseViewHolder viewHolder, float translateX) { in calculateAlphaValue()
140 float calculateTranslateDistance(CarNotificationBaseViewHolder viewHolder, float moveDeltaX) { in calculateTranslateDistance()
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialItemTouchHelperCallback.java65 public int getMovementFlags(@NonNull RecyclerView recyclerView, @NonNull ViewHolder viewHolder) { in getMovementFlags()
78 @NonNull ViewHolder viewHolder, in onMove()
101 @NonNull ViewHolder viewHolder, 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()
156 void onSelectedChanged(@Nullable ViewHolder viewHolder, int actionState); in onSelectedChanged()
DSpeedDialFavoritesViewHolderOnTouchListener.java33 private final ViewHolder viewHolder; field in SpeedDialFavoritesViewHolderOnTouchListener
43 ViewHolder viewHolder, in SpeedDialFavoritesViewHolderOnTouchListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelSlicesAdapterTest.java123 final SliceRowViewHolder viewHolder = in sizeOfAdapter_shouldNotExceedMaxNum() local
138 final SliceRowViewHolder viewHolder = in mediaOutputIndicatorSlice_shouldNotAllowDividerAbove() local
155 final SliceRowViewHolder viewHolder = in sliderLargeIconPanel_shouldNotAllowDividerBelow() local
171 final SliceRowViewHolder viewHolder = in sliderPanelType_shouldAllowDividerBelow() local
187 final SliceRowViewHolder viewHolder = adapter.onCreateViewHolder(view, 0/* viewType */); in defaultPanelType_shouldAllowDividerBelow() local
201 final SliceRowViewHolder viewHolder = in outputSwitcherSlice_shouldAddFirstItemPadding() local
219 final SliceRowViewHolder viewHolder = in outputSwitcherGroupSlice_shouldAddFirstItemPadding() local
237 final SliceRowViewHolder viewHolder = in mediaOutputIndicatorSlice_notSliderPanel_noSliderLayout() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRendererTest.java74 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_shouldSetListener() local
92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_closeButton_shouldSetListener() local
111 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_shouldInvokeControllerPrimaryClick() local
131 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_closeButton_shouldInvokeControllerDismissClick() local
/packages/apps/Settings/src/com/android/settings/utils/
DSettingsDividerItemDecoration.java33 protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedAbove()
41 protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedBelow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DSettingsDividerItemDecoration.java33 protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedAbove()
41 protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedBelow()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DActionPresenterSelector.java77 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder()
85 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder()
100 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder()
137 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder()
DDvrItemPresenter.java67 DvrItemViewHolder viewHolder; in onBindViewHolder() local
87 DvrItemViewHolder viewHolder = (DvrItemViewHolder) baseHolder; in onUnbindViewHolder() local
107 protected abstract void onBindDvrItemViewHolder(DvrItemViewHolder viewHolder, T item); in onBindDvrItemViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionFooterContextualCardRendererTest.java67 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetClickListener() local
85 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_clickView_shouldSetTrueToIsConditionExpanded() local
DConditionContextualCardRendererTest.java73 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetListener() local
92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in viewClick_shouldInvokeControllerPrimaryClick() local
DConditionHeaderContextualCardRendererTest.java75 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_shouldSetClickListener() local
93 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(view, in bindView_clickView_shouldSetTrueToIsConditionExpanded() local
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java78 RecyclerView.ViewHolder viewHolder, in recordPreLayoutInformation()
90 RecyclerView.State state, RecyclerView.ViewHolder viewHolder) { in recordPostLayoutInformation()
117 final RecyclerView.ViewHolder viewHolder; field in DirectoryItemAnimator.ColorAnimation
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java423 private void checkMarkCallLogEntry(CallLogListItemViewHolder viewHolder) { in checkMarkCallLogEntry()
456 private void uncheckMarkCallLogEntry(CallLogListItemViewHolder viewHolder, int id) { in uncheckMarkCallLogEntry()
571 private void expandViewHolderActions(CallLogListItemViewHolder viewHolder) { in expandViewHolderActions()
733 CallLogListItemViewHolder viewHolder = in createCallLogEntryViewHolder() local
762 public void onBindViewHolder(ViewHolder viewHolder, int position) { in onBindViewHolder()
776 public void onViewRecycled(ViewHolder viewHolder) { in onViewRecycled()
788 public void onViewAttachedToWindow(ViewHolder viewHolder) { in onViewAttachedToWindow()
795 public void onViewDetachedFromWindow(ViewHolder viewHolder) { in onViewDetachedFromWindow()
807 private void bindCallLogListViewHolder(final ViewHolder viewHolder, final int position) { in bindCallLogListViewHolder()
864 final CallLogListItemViewHolder viewHolder, in loadAndRender()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationHistoryRecyclerView.java49 public boolean onMove(RecyclerView recyclerView, ViewHolder viewHolder, ViewHolder target) { in onMove()
55 public void onSwiped(ViewHolder viewHolder, int direction) { in onSwiped()
/packages/apps/Messaging/src/com/android/messaging/ui/
DFixedViewPagerAdapter.java44 final PagerViewHolder viewHolder = getViewHolder(position); in instantiateItem() local
56 final PagerViewHolder viewHolder = getViewHolder(position); in destroyItem() local
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DIntentSearchViewHolder.java52 final SearchViewHolder viewHolder = this; in onBind() local
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsAdapterCommon.java58 CallDetailsHeaderViewHolder viewHolder, int position); in bindCallDetailsHeaderViewHolder()
118 CallDetailsEntryViewHolder viewHolder = (CallDetailsEntryViewHolder) holder; in onBindViewHolder() local
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/simulator/
DSessionsAdapter.java43 public void onBindViewHolder(SessionViewHolder viewHolder, int i) { in onBindViewHolder()

123