Home
last modified time | relevance | path

Searched refs:getSelectedItemPosition (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java232 int position = getSelectedItemPosition(); in deleteSelectedEvent()
253 int position = getSelectedItemPosition(); in getSelectedTime()
373 int position = getSelectedItemPosition(); in shiftSelection()
404 Log.v(TAG, "Shifting: Looking at header here. " + getSelectedItemPosition()); in shiftPosition()
407 } else if (getSelectedItemPosition() >= 0) { in shiftPosition()
409 Log.v(TAG, "Shifting selection from " + getSelectedItemPosition() + in shiftPosition()
412 setSelection(getSelectedItemPosition() + offset); in shiftPosition()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java91 boolean hasSelection = (getSelectedItemPosition() >= 0); in onPrepareOptionsMenu()
146 editSelected(getSelectedItemPosition()); in editSelected()
165 if (mCursor.moveToPosition(getSelectedItemPosition())) { in deleteSelected()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java330 switch (mType.getSelectedItemPosition()) { in validate()
341 return mIpsecUserCert.getSelectedItemPosition() != 0; in validate()
408 profile.type = mType.getSelectedItemPosition(); in getProfile()
434 if (mIpsecUserCert.getSelectedItemPosition() != 0) { in getProfile()
439 if (mIpsecCaCert.getSelectedItemPosition() != 0) { in getProfile()
442 if (mIpsecServerCert.getSelectedItemPosition() != 0) { in getProfile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java64 outState.putInt(STATE_SELECTION, getSelectedItemPosition()); in onSaveInstanceState()
103 public int getSelectedItemPosition() { in getSelectedItemPosition() method in BaseScrollAdapterFragment
104 return mScrollAdapterView.getSelectedItemPosition(); in getSelectedItemPosition()
DScrollAdapterFragment.java71 public int getSelectedItemPosition() { in getSelectedItemPosition() method in ScrollAdapterFragment
72 return mBase.getSelectedItemPosition(); in getSelectedItemPosition()
DBaseActionFragment.java152 outState.putInt(EXTRA_INDEX, getScrollAdapterView().getSelectedItemPosition()); in onSaveInstanceState()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCustomHeaderViewPager.java88 public int getSelectedItemPosition() { in getSelectedItemPosition() method in CustomHeaderViewPager
89 return mTabstrip.getSelectedItemPosition(); in getSelectedItemPosition()
DViewPagerTabs.java233 public int getSelectedItemPosition() { in getSelectedItemPosition() method in ViewPagerTabs
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java510 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
511 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
622 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
634 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid()
870 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
873 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
1015 if (mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) { in showIpConfigFields()
1067 if (mProxySettingsSpinner.getSelectedItemPosition() == PROXY_STATIC) { in showProxyFields()
1087 } else if (mProxySettingsSpinner.getSelectedItemPosition() == PROXY_PAC) { in showProxyFields()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java154 public int getSelectedItemPosition() { in getSelectedItemPosition() method in MultiSelectGridFragment
156 return mGrid.getSelectedItemPosition(); in getSelectedItemPosition()
/packages/apps/Calendar/src/com/android/calendar/event/
DEventViewUtils.java124 int minutes = reminderMinuteValues.get(minuteSpinner.getSelectedItemPosition()); in reminderItemsToReminders()
125 int method = reminderMethodValues.get(methodSpinner.getSelectedItemPosition()); in reminderItemsToReminders()
DEditEventView.java707 int calendarCursorPosition = mCalendarsSpinner.getSelectedItemPosition(); in fillModelFromUI()
750 mModel.mAccessLevel = mAccessLevelSpinner.getSelectedItemPosition(); in fillModelFromUI()
753 .getSelectedItemPosition()); in fillModelFromUI()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsView.java63 return getSelectedItemPosition(); in getSelectedPosition()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationListFragment.java498 sb.append(mListView.getSelectedItemPosition()); in toString()
697 int currentPos = list.getSelectedItemPosition(); in onKey()
719 final int position = list.getSelectedItemPosition(); in onKey()
DSwipeableListView.java456 final int index = getSelectedItemPosition(); in onTouchModeChanged()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java97 int selectedIndex = mSubscriptionSpinner.getSelectedItemPosition(); in showFinalConfirmation()
/packages/apps/Settings/src/com/android/settings/notification/
DRestrictedDropDownPreference.java237 int previousSelectedPosition = getSelectedItemPosition(); in setSelection()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java164 final int tintSelected = tintSpinner.getSelectedItemPosition(); in createEditDialog()
/packages/apps/Launcher2/src/com/android/launcher2/
DWallpaperChooserDialogFragment.java152 selectWallpaper(gallery.getSelectedItemPosition()); in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java744 ExpandedView ev = findExpandedView(mExpandedViews, getSelectedItemPosition());
757 public int getSelectedItemPosition() {
763 int index = getSelectedItemPosition();
771 int index = getSelectedItemPosition();
1899 listener.onItemSelected(this, getSelectedView(), getSelectedItemPosition(),
/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java776 int curpos = mTrackList.getSelectedItemPosition(); in dispatchKeyEvent()
797 int curpos = mTrackList.getSelectedItemPosition(); in removeItem()
840 int curpos = mTrackList.getSelectedItemPosition();
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java230 * (spinner.getSelectedItemPosition() == 0 ? MB_IN_BYTES : GB_IN_BYTES)); in onClick()
/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java334 int position = getSelectedItemPosition(); in onOptionsItemSelected()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java365 if (mCursor != null && mCursor.moveToPosition(getSelectedItemPosition())) { in onKeyDown()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1056 final int selectedPos = mFromSpinner.getSelectedItemPosition(); in saveState()