Home
last modified time | relevance | path

Searched refs:INVALID_POSITION (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java56 private static final int INVALID_POSITION = -1; field in MenuLayoutManager
62 private int mSelectedPosition = INVALID_POSITION;
63 private int mPendingSelectedPosition = INVALID_POSITION;
130 int firstVisiblePosition = findNextVisiblePosition(INVALID_POSITION); in layout()
131 if (firstVisiblePosition != INVALID_POSITION) { in layout()
158 if (mPendingSelectedPosition != INVALID_POSITION) { in layout()
170 return INVALID_POSITION; in findNextVisiblePosition()
382 mPendingSelectedPosition = INVALID_POSITION; in setSelectedPosition()
463 mPendingSelectedPosition = INVALID_POSITION; in setSelectedPositionSmooth()
651 if (nextPosition != INVALID_POSITION) { in setSelectedPositionSmooth()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java55 return INVALID_POSITION; in intersectsValidDropTarget()
91 return INVALID_POSITION; in intersectsValidDropTarget()
106 return INVALID_POSITION; in intersectsValidDropTarget()
DDragAndDropAccessibilityDelegate.java43 protected static final int INVALID_POSITION = -1; field in DragAndDropAccessibilityDelegate
/packages/apps/Settings/src/com/android/settings/accessibility/
DListDialogPreference.java88 if (mValueSet && mValueIndex == AbsListView.INVALID_POSITION) { in setValues()
168 if (selectedPosition != AbsListView.INVALID_POSITION) { in onPrepareDialogBuilder()
191 return AbsListView.INVALID_POSITION; in getIndexForValue()
DMagnificationModePreferenceController.java195 if (selectedIndex == AdapterView.INVALID_POSITION) { in onMagnificationModeDialogPositiveButtonClicked()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DMultiAudioFragment.java29 private int mInitialSelectedPosition = INVALID_POSITION;
78 if (mInitialSelectedPosition != INVALID_POSITION) { in onResume()
DCustomizeChannelListFragment.java110 int initialChannelPosition = INVALID_POSITION; in onCreateView()
120 if (initialChannelPosition != INVALID_POSITION) { in onCreateView()
DSideFragment.java47 public static final int INVALID_POSITION = -1; field in SideFragment
/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java42 private int position = ListView.INVALID_POSITION;
48 position = ListView.INVALID_POSITION; in invalidate()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java51 private int mSelectedPosition = INVALID_POSITION;
67 if (mSelectedPosition != INVALID_POSITION) { in onCreateView()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java211 private int mLastCheckedPosition = AdapterView.INVALID_POSITION;
259 if (mLastCheckedPosition == AdapterView.INVALID_POSITION) { in getLastCheckedPosition()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java73 private static final float INVALID_POSITION = -1f; field in ImageGallery
99 private float mScrollPosition = INVALID_POSITION;
421 STATE_SCROLL_POSITION, INVALID_POSITION);
748 if (mScrollPosition == INVALID_POSITION) {
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java164 private int mLastSelected = AbsListView.INVALID_POSITION;
1648 mLastSelected = ListView.INVALID_POSITION;
1718 setAlwaysButtonEnabled(false, ListView.INVALID_POSITION, false);
1723 if (useLayoutWithDefault() && filteredPosition != ListView.INVALID_POSITION) {
1734 && currentAdapterView.getCheckedItemPosition() != ListView.INVALID_POSITION) {
1769 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION;
DResolverListAdapter.java204 return AbsListView.INVALID_POSITION; in getFilteredPosition()