Home
last modified time | relevance | path

Searched refs:getSelectedItemPosition (Results 1 – 24 of 24) 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/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java363 switch (mType.getSelectedItemPosition()) { in validate()
374 return mIpsecUserCert.getSelectedItemPosition() != 0; in validate()
441 profile.type = mType.getSelectedItemPosition(); in getProfile()
467 if (mIpsecUserCert.getSelectedItemPosition() != 0) { in getProfile()
472 if (mIpsecCaCert.getSelectedItemPosition() != 0) { in getProfile()
475 if (mIpsecServerCert.getSelectedItemPosition() != 0) { in getProfile()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java540 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
541 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
661 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
673 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid()
920 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
923 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
1022 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in showPeapFields()
1081 if (mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) { in showIpConfigFields()
1133 if (mProxySettingsSpinner.getSelectedItemPosition() == PROXY_STATIC) { in showProxyFields()
1153 } else if (mProxySettingsSpinner.getSelectedItemPosition() == PROXY_PAC) { in showProxyFields()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java154 boolean hasSelection = (getSelectedItemPosition() >= 0); in onPrepareOptionsMenu()
214 editSelected(getSelectedItemPosition()); in editSelected()
233 deleteSelected(getSelectedItemPosition()); in deleteSelected()
249 dialSelected(getSelectedItemPosition()); in dialSelected()
/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/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/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/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsView.java63 return getSelectedItemPosition(); in getSelectedPosition()
/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.java746 int curpos = mTrackList.getSelectedItemPosition(); in dispatchKeyEvent()
767 int curpos = mTrackList.getSelectedItemPosition(); in removeItem()
808 int curpos = mTrackList.getSelectedItemPosition();
/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/Launcher2/src/com/android/launcher2/
DWallpaperChooserDialogFragment.java152 selectWallpaper(gallery.getSelectedItemPosition()); in onCreateView()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java164 final int tintSelected = tintSpinner.getSelectedItemPosition(); in createEditDialog()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java365 if (mCursor != null && mCursor.moveToPosition(getSelectedItemPosition())) { in onKeyDown()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java289 * (spinner.getSelectedItemPosition() == 0 ? MB_IN_BYTES : GB_IN_BYTES)); in onClick()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1057 final int selectedPos = mFromSpinner.getSelectedItemPosition(); in saveState()