Searched refs:selectedPosition (Results 1 – 9 of 9) sorted by relevance
164 int selectedPosition = mLayoutManager.getSelectedPosition(); in onRequestFocusInDescendants() local166 if (selectedPosition >= 0 && selectedPosition < mMenuRowViews.size()) { in onRequestFocusInDescendants()167 return mMenuRowViews.get(selectedPosition).requestFocus(); in onRequestFocusInDescendants()209 int selectedPosition = mLayoutManager.getSelectedPosition(); in focusSearch() local212 for (int i = selectedPosition - 1; i >= 0; --i) { in focusSearch()224 int selectedPosition = mLayoutManager.getSelectedPosition(); in focusSearch() local228 for (int i = selectedPosition + 1; i < count; ++i) { in focusSearch()
208 public SearchState createSearchStateForSearchResultClick(int selectedPosition) { in createSearchStateForSearchResultClick() argument209 return createSearchState(selectedPosition); in createSearchStateForSearchResultClick()212 private SearchState createSearchState(int selectedPosition) { in createSearchState() argument244 if (selectedPosition >= 0) { in createSearchState()245 searchState.selectedPartition = adapter.getPartitionForPosition(selectedPosition); in createSearchState()246 searchState.selectedIndexInPartition = adapter.getOffsetInPartition(selectedPosition); in createSearchState()
459 final int selectedPosition = adapter.getSelectedContactPosition(); in checkSelection() local460 if (selectedPosition != -1) { in checkSelection()461 mLastSelectedPosition = selectedPosition; in checkSelection()516 requestSelectionToScreen(selectedPosition); in checkSelection()564 protected void requestSelectionToScreen(int selectedPosition) { in requestSelectionToScreen() argument565 if (selectedPosition != -1) { in requestSelectionToScreen()568 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested); in requestSelectionToScreen()
110 int selectedPosition = listView.getCheckedItemPosition(); in onDialogStateRestored() local113 panel.setVisibility(checkboxVisibilityForSelectedIndex(selectedPosition, in onDialogStateRestored()155 int selectedPosition = listView.getCheckedItemPosition(); in onClick() local158 checkboxVisibilityForSelectedIndex(selectedPosition, mShowRemoteInput)); in onClick()
504 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions() local505 if (selectedPosition < 0) { in updateSelectionPositions()506 selectedPosition += 7; in updateSelectionPositions()509 selectedPosition++; in updateSelectionPositions()511 mSelectedLeft = selectedPosition * (mWidth - mPadding * 2) / mNumCells in updateSelectionPositions()513 mSelectedRight = (selectedPosition + 1) * (mWidth - mPadding * 2) / mNumCells in updateSelectionPositions()
1008 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions() local1009 if (selectedPosition < 0) { in updateSelectionPositions()1010 selectedPosition += 7; in updateSelectionPositions()1014 mSelectedLeft = selectedPosition * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()1015 mSelectedRight = (selectedPosition + 1) * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions()
166 final int selectedPosition = getIndexForValue(mValue); in onPrepareDialogBuilder() local167 if (selectedPosition != AbsListView.INVALID_POSITION) { in onPrepareDialogBuilder()168 list.setSelection(selectedPosition); in onPrepareDialogBuilder()
266 int selectedPosition = mAdapter.getSelectedGroupPosition(); in requestSelectionToScreen() local267 if (selectedPosition != -1) { in requestSelectionToScreen()268 mListView.requestPositionToScreen(selectedPosition, in requestSelectionToScreen()
634 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid() local637 if (selectedPosition == PROXY_STATIC && mProxyHostView != null) { in ipAndProxyFieldsAreValid()655 } else if (selectedPosition == PROXY_PAC && mProxyPacView != null) { in ipAndProxyFieldsAreValid()