Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java119 if (endPos != RecyclerView.NO_POSITION) { in handleKey()
153 final int focusPos = (mScope.lastFocusPosition != RecyclerView.NO_POSITION) in focusDirectoryList()
199 return mScope.lastFocusPosition != RecyclerView.NO_POSITION; in hasFocusedItem()
204 if (mScope.lastFocusPosition != RecyclerView.NO_POSITION) { in getFocusModelId()
282 return RecyclerView.NO_POSITION; in findTargetPosition()
641 mScope.lastFocusPosition = RecyclerView.NO_POSITION; in reset()
654 private int lastFocusPosition = RecyclerView.NO_POSITION;
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEvents.java200 private static final int UNSET_POSITION = RecyclerView.NO_POSITION - 1;
358 return getItemPosition() != RecyclerView.NO_POSITION; in isOverItem()
372 : RecyclerView.NO_POSITION; in getItemPosition()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java131 private int mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
301 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
421 if (lastExpandedPosition != RecyclerView.NO_POSITION) { in expandViewHolderActions()
434 savedInstanceState.getInt(KEY_EXPANDED_POSITION, RecyclerView.NO_POSITION); in onRestoreInstanceState()
1005 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION; in collapseExpandedCard()
1010 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION; in invalidatePositions()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java878 if (position == NO_POSITION) { in onLayoutChildren()
885 if (position != NO_POSITION) { in onLayoutChildren()
893 if (position != NO_POSITION) { in onLayoutChildren()
900 if (position == NO_POSITION) { in onLayoutChildren()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.java127 private int mIndexOfRingtoneToRemove = RecyclerView.NO_POSITION;
201 if (mIndexOfRingtoneToRemove != RecyclerView.NO_POSITION) { in onCreate()
355 mIndexOfRingtoneToRemove = RecyclerView.NO_POSITION; in onContextItemSelected()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java50 if (position != RecyclerView.NO_POSITION) {
61 if (position != RecyclerView.NO_POSITION) {
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java44 public static final int NO_POSITION = -1; field in Conversation
223 position = NO_POSITION; in Conversation()
300 position = NO_POSITION; in Conversation()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java191 if (position != NO_POSITION) { in getContainerType()
369 if (position == NO_POSITION) { in getCurrentScrollY()
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DRange.java43 assert(position != RecyclerView.NO_POSITION); in snapSelection()
DGestureSelector.java234 if (lastGlidedItemPos != RecyclerView.NO_POSITION) { in handleOnTouchMoveEvent()
DSelectionManager.java368 if (position == RecyclerView.NO_POSITION) { in setSelectionRangeBegin()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DUserInputHandler_TouchTest.java138 mInputHandler.onSingleTapUp(mEvent.at(RecyclerView.NO_POSITION).build()); in testTapOff_ClearsSelection()
DUserInputHandler_MouseTest.java205 mInputHandler.onSingleTapUp(mEvent.at(RecyclerView.NO_POSITION).build()); in testClickOff_ClearsSelection()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvent.java283 return mPosition != Integer.MIN_VALUE && mPosition != RecyclerView.NO_POSITION; in isOverItem()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceListAdapter.java185 if (holder.getOldPosition() != RecyclerView.NO_POSITION) { in onBindViewHolder()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java314 if (pos == RecyclerView.NO_POSITION) { in updatePreviewText()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java746 || mGrid.getChildAdapterPosition(mSelectedRow) == RecyclerView.NO_POSITION) { in selectRow()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java1392 : Conversation.NO_POSITION; in toggleCheckedState()