Home
last modified time | relevance | path

Searched refs:NO_POSITION (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java25 private static final int NO_POSITION = -1; field in AllAppsFastScrollHelper
27 private int mTargetFastScrollPosition = NO_POSITION;
48 mTargetFastScrollPosition = NO_POSITION; in onFastScrollCompleted()
DRecyclerViewAnimationController.java18 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION;
231 if (adapterPosition == NO_POSITION) { in getSpanIndex()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java125 if (endPos != RecyclerView.NO_POSITION) { in handleKey()
163 final int focusPos = (mScope.lastFocusPosition != RecyclerView.NO_POSITION) in focusDirectoryList()
166 if (focusPos == RecyclerView.NO_POSITION) { in focusDirectoryList()
231 return mScope.lastFocusPosition != RecyclerView.NO_POSITION; in hasFocusedItem()
236 if (mScope.lastFocusPosition != RecyclerView.NO_POSITION) { in getFocusModelId()
314 return RecyclerView.NO_POSITION; in findTargetPosition()
675 mScope.lastFocusPosition = RecyclerView.NO_POSITION; in reset()
688 private int lastFocusPosition = RecyclerView.NO_POSITION;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DTestItemDetails.java37 mPosition = RecyclerView.NO_POSITION; in TestItemDetails()
54 mStableId = (position == RecyclerView.NO_POSITION) in at()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java71 private int mCenteredAdapterPosition = RecyclerView.NO_POSITION;
163 && mCenteredAdapterPosition != NO_POSITION) { in updatePadding()
247 if (childAdapterPosition == RecyclerView.NO_POSITION) { in updateCardView()
285 mCenteredAdapterPosition = RecyclerView.NO_POSITION;
291 if (mCenteredAdapterPosition == RecyclerView.NO_POSITION || dx == 0) {
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DHighlightablePreferenceGroupAdapter.java38 private int mHighlightPosition = RecyclerView.NO_POSITION;
107 mHighlightPosition = RecyclerView.NO_POSITION; in clearHighlight()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightableTopLevelPreferenceAdapter.java65 private int mHighlightPosition = RecyclerView.NO_POSITION;
66 private int mScrollPosition = RecyclerView.NO_POSITION;
126 mHighlightPosition = RecyclerView.NO_POSITION; in requestHighlight()
DHighlightablePreferenceGroupAdapter.java69 private int mHighlightPosition = RecyclerView.NO_POSITION;
222 mHighlightPosition = RecyclerView.NO_POSITION; in requestRemoveHighlightDelayed()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DHighlightablePreferenceGroupAdapter.java59 private int mHighlightPosition = RecyclerView.NO_POSITION;
166 mHighlightPosition = RecyclerView.NO_POSITION; in requestRemoveHighlightDelayed()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.kt45 if (position != RecyclerView.NO_POSITION) { in onItemChanged()
53 if (position != RecyclerView.NO_POSITION) { in onItemChanged()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/
DItemViewHolder.java38 private int mListPosition = ChooserListAdapter.NO_POSITION;
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt101 private var mIndexOfRingtoneToRemove: Int = RecyclerView.NO_POSITION in <lambda>()
149 if (mIndexOfRingtoneToRemove != RecyclerView.NO_POSITION) { in <lambda>()
291 mIndexOfRingtoneToRemove = RecyclerView.NO_POSITION in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumsTabItemDecoration.java50 if (adapterPosition == RecyclerView.NO_POSITION) { in getItemOffsets()
DPhotosTabItemDecoration.java48 if (adapterPosition == RecyclerView.NO_POSITION) { in getItemOffsets()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/reorder/
DReorderAppCardTouchHelper.kt45 if (from < to && from == RecyclerView.NO_POSITION) { in onMove()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DFocusManagerTest.java84 mTestGridLayoutManager.setFirstVisibleItemPosition(RecyclerView.NO_POSITION); in testFocusDirectoryList_noVisibleItems()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DBroadcastItemsAdapter.java157 if (position != RecyclerView.NO_POSITION) { in BroadcastItemHolder()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/
DRecentsRecyclerView.java106 if (position == NO_POSITION) { in focusSearch()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DHighlightableAdapter.java145 return RecyclerView.NO_POSITION; in getPositionFromTitle()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelListPreferenceDialogFragment.java176 if (index == RecyclerView.NO_POSITION) { in onItemClick()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java200 return position >= 0 ? position : RecyclerView.NO_POSITION; in getPosition()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugInfoAdapter.java219 if (position != RecyclerView.NO_POSITION) { in updateBugReportInDataSet()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserListAdapter.java86 public static final int NO_POSITION = -1; field in ChooserListAdapter
681 if (position == NO_POSITION) { in targetInfoForPosition()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java973 if (applicationPosition == RecyclerView.NO_POSITION) { in onClick()
1727 || applicationPosition == RecyclerView.NO_POSITION) { in getItemId()
1747 if (applicationPosition == RecyclerView.NO_POSITION) { in isEnabled()
1765 if (applicationPosition == RecyclerView.NO_POSITION) { in onBindViewHolder()
1904 applicationPosition = position > 0 ? position - 1 : RecyclerView.NO_POSITION; in getApplicationPosition()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsFragment.java283 if (firstCompletelyVisible == RecyclerView.NO_POSITION) { in onScrollChange()

12