Searched refs:selectedPosition (Results 1 – 4 of 4) sorted by relevance
472 final int selectedPosition = adapter.getSelectedContactPosition(); in checkSelection() local473 if (selectedPosition != -1) { in checkSelection()474 mLastSelectedPosition = selectedPosition; in checkSelection()522 requestSelectionToScreen(selectedPosition); in checkSelection()570 protected void requestSelectionToScreen(int selectedPosition) { in requestSelectionToScreen() argument571 if (selectedPosition != -1) { in requestSelectionToScreen()574 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested); in requestSelectionToScreen()
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()
265 int selectedPosition = mAdapter.getSelectedGroupPosition(); in requestSelectionToScreen() local266 if (selectedPosition != -1) { in requestSelectionToScreen()267 mListView.requestPositionToScreen(selectedPosition, in requestSelectionToScreen()