Home
last modified time | relevance | path

Searched refs:findViewHolderForAdapterPosition (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/view/
DRecentsRecyclerViewTest.java273 doReturn(mNextTaskViewHolder).when(mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_thumbnailFocused_forward_nextViewDismissFocus_noReverseLayout_NoRTL()
303 doReturn(mNextTaskViewHolder).when(mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_thumbnailFocused_backward_nextViewDismissFocus_reverseLayout_NoRTL()
334 mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_dismissFocused_backward_prevViewThumbnailFocus_noReverseLayout_NoRTL()
365 mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_dismissFocused_forward_prevViewThumbnailFocus_reverseLayout_NoRTL()
381 doReturn(null).when(mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_nextViewNotFound_scrollOnce_nextViewFound_focusRequested()
391 .findViewHolderForAdapterPosition(NEXT_ADAPTER_POSITION); in focusSearch_nextViewNotFound_scrollOnce_nextViewFound_focusRequested()
405 doReturn(null).when(mRecentsRecyclerView).findViewHolderForAdapterPosition( in focusSearch_nextViewNotFound_scrollOnce_nextViewNotFound_noMoreScroll()
429 .findViewHolderForAdapterPosition(NEXT_ADAPTER_POSITION); in focusSearch_thumbnailFocused_forward_clearAllViewFocus_noReverseLayout_NoRTL()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDisconnectDialogFragmentTest.java190 view.findViewHolderForAdapterPosition(0).itemView.findViewById(R.id.device_button); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
197 view.findViewHolderForAdapterPosition(1).itemView.findViewById(R.id.device_button); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
221 btn1 = view.findViewHolderForAdapterPosition(0).itemView.findViewById(R.id.device_button); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
272 view.findViewHolderForAdapterPosition(0).itemView.findViewById(R.id.device_button); in onCreateDialog_dialogIsShowingForNewGroup_showNewDialog()
279 view.findViewHolderForAdapterPosition(1).itemView.findViewById(R.id.device_button); in onCreateDialog_dialogIsShowingForNewGroup_showNewDialog()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java212 if (pos != -1 && mScope.view.findViewHolderForAdapterPosition(pos) != null) { in focusDocument()
238 .findViewHolderForAdapterPosition(mScope.lastFocusPosition); in getFocusModelId()
387 final RecyclerView.ViewHolder vh = recyclerView.findViewHolderForAdapterPosition(pos); in focusItem()
403 .findViewHolderForAdapterPosition(pos); in focusItem()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewTest.java288 when(mockListView.findViewHolderForAdapterPosition(0)).thenReturn( in resetState_collapseGroupForAllGroupsCalled()
290 when(mockListView.findViewHolderForAdapterPosition(1)).thenReturn( in resetState_collapseGroupForAllGroupsCalled()
292 when(mockListView.findViewHolderForAdapterPosition(2)).thenReturn( in resetState_collapseGroupForAllGroupsCalled()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapter.java174 ViewHolder target = recyclerView.findViewHolderForAdapterPosition(highlightPosition); in highlightAndFocusTargetItem()
185 .findViewHolderForAdapterPosition(highlightPosition); in highlightAndFocusTargetItem()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplWorkProfileTest.java188 .findViewHolderForAdapterPosition(0).itemView; in toggleWorks()
216 .findViewHolderForAdapterPosition(0); in waitForWorkCard()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DRecyclerViewMatcher.java68 recyclerView.findViewHolderForAdapterPosition(position); in atPositionOnView()
DRecyclerViewTestUtils.java87 view.findViewHolderForAdapterPosition(position); in atPositionOnItemViewType()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java85 ViewHolder currentHolder = mRv.findViewHolderForAdapterPosition(mTargetPosition); in onStop()
DPrivateProfileManager.java459 allAppsRecyclerView.findViewHolderForAdapterPosition(i); in collapse()
573 allAppsRecyclerView.findViewHolderForAdapterPosition(i); in animateAlphaOfIcons()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/recyclerview/
DRecyclerViewAdapterProxyV1.java299 public ViewHolderOEMV1 findViewHolderForAdapterPosition(int position) { in findViewHolderForAdapterPosition() method in RecyclerViewAdapterProxyV1
300 ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(position); in findViewHolderForAdapterPosition()
DRecyclerViewAdapterProxyV2.java298 public ViewHolderOEMV1 findViewHolderForAdapterPosition(int position) { in findViewHolderForAdapterPosition() method in RecyclerViewAdapterProxyV2
299 ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(position); in findViewHolderForAdapterPosition()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsSelectionPredicate.java93 final RecyclerView.ViewHolder vh = mRecView.findViewHolderForAdapterPosition(position); in canSetStateAtPosition()
DInputHandlers.java106 mRecView.findViewHolderForAdapterPosition(details.getPosition()); in createKeyHandler()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestRecyclerView.java52 public ViewHolder findViewHolderForAdapterPosition(int position) { in findViewHolderForAdapterPosition() method in TestRecyclerView
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DViewMatchers.kt61 view.findViewHolderForAdapterPosition(position) in atPosition()
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DPreferenceHighlighter.java87 ViewHolder holder = parent.findViewHolderForAdapterPosition(mIndex); in onDraw()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsControllerTest.kt142 .findViewHolderForAdapterPosition(0) in testUpdateNotificationDots_appInfo_hasDot()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/
DRecentsRecyclerView.java124 ViewHolder nextFocusViewHolder = findViewHolderForAdapterPosition(nextPosition); in getNextFocusView()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridPageSnapper.java129 RecyclerView.ViewHolder childToReturn = mRecyclerView.findViewHolderForAdapterPosition( in handleScrollToPos()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsFragment.java318 return ((ContactViewHolder) recyclerView.findViewHolderForAdapterPosition(position)); in getContactHolder()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java251 RecyclerView.ViewHolder holder = mListView.findViewHolderForAdapterPosition(i); in resetState()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java164 ViewHolder viewHolder = findViewHolderForAdapterPosition(mCenteredAdapterPosition); in updatePadding()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java362 .findViewHolderForAdapterPosition(mNumberOfShownNotifications - 1) in updateOnClickListener()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java317 final ViewHolder vh = mRv.findViewHolderForAdapterPosition(pos); in updatePreviewText()

12