Home
last modified time | relevance | path

Searched refs:selectedPosition (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java459 final int selectedPosition = adapter.getSelectedContactPosition(); in checkSelection() local
460 if (selectedPosition != -1) { in checkSelection()
461 mLastSelectedPosition = selectedPosition; in checkSelection()
516 requestSelectionToScreen(selectedPosition); in checkSelection()
564 protected void requestSelectionToScreen(int selectedPosition) { in requestSelectionToScreen() argument
565 if (selectedPosition != -1) { in requestSelectionToScreen()
568 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested); in requestSelectionToScreen()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java504 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions() local
505 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()
DMonthWeekEventsView.java1008 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions() local
1009 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()
/packages/apps/Settings/src/com/android/settings/accessibility/
DListDialogPreference.java164 final int selectedPosition = getIndexForValue(mValue); in onPrepareDialogBuilder() local
165 if (selectedPosition != AbsListView.INVALID_POSITION) { in onPrepareDialogBuilder()
166 list.setSelection(selectedPosition); in onPrepareDialogBuilder()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListFragment.java266 int selectedPosition = mAdapter.getSelectedGroupPosition(); in requestSelectionToScreen() local
267 if (selectedPosition != -1) { in requestSelectionToScreen()
268 mListView.requestPositionToScreen(selectedPosition, in requestSelectionToScreen()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java508 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid() local
511 if (selectedPosition == PROXY_STATIC && mProxyHostView != null) { in ipAndProxyFieldsAreValid()
529 } else if (selectedPosition == PROXY_PAC && mProxyPacView != null) { in ipAndProxyFieldsAreValid()