Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java365 isLegacyType(mType.getSelectedItemPosition()) ? View.VISIBLE : View.GONE; in configureAdvancedOptionsVisibility()
425 final int type = mType.getSelectedItemPosition(); in validate()
463 return mIpsecUserCert.getSelectedItemPosition() != 0; in validate()
561 return mProxySettings.getSelectedItemPosition() == VpnProfile.PROXY_MANUAL; in hasProxy()
568 profile.type = mType.getSelectedItemPosition(); in getProfile()
613 if (mIpsecUserCert.getSelectedItemPosition() != 0) { in getProfile()
619 if (mIpsecCaCert.getSelectedItemPosition() != 0) { in getProfile()
622 if (mIpsecServerCert.getSelectedItemPosition() != 0) { in getProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java403 switch (mType.getSelectedItemPosition()) { in validate()
414 return mIpsecUserCert.getSelectedItemPosition() != 0; in validate()
478 return mProxySettings.getSelectedItemPosition() == VpnProfile.PROXY_MANUAL; in hasProxy()
485 profile.type = mType.getSelectedItemPosition(); in getProfile()
520 if (mIpsecUserCert.getSelectedItemPosition() != 0) { in getProfile()
525 if (mIpsecCaCert.getSelectedItemPosition() != 0) { in getProfile()
528 if (mIpsecServerCert.getSelectedItemPosition() != 0) { in getProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java264 mHiddenSettingsSpinner.getSelectedItemPosition() == NOT_HIDDEN_NETWORK in initWifiConfigController()
595 config.hiddenSSID = mHiddenSettingsSpinner.getSelectedItemPosition() == HIDDEN_NETWORK; in getConfig()
654 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
655 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
783 config.meteredOverride = mMeteredSettingsSpinner.getSelectedItemPosition(); in getConfig()
789 mPrivacySettingsSpinner.getSelectedItemPosition()); in getConfig()
799 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
811 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid()
1064 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
1067 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java153 boolean hasSelection = (getSelectedItemPosition() >= 0); in onPrepareOptionsMenu()
213 editSelected(getSelectedItemPosition()); in editSelected()
232 deleteSelected(getSelectedItemPosition()); in deleteSelected()
248 dialSelected(getSelectedItemPosition()); in dialSelected()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java279 mHiddenSettingsSpinner.getSelectedItemPosition() == NOT_HIDDEN_NETWORK in initWifiConfigController()
610 config.hiddenSSID = mHiddenSettingsSpinner.getSelectedItemPosition() == HIDDEN_NETWORK; in getConfig()
669 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
670 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
813 config.meteredOverride = mMeteredSettingsSpinner.getSelectedItemPosition(); in getConfig()
819 mPrivacySettingsSpinner.getSelectedItemPosition()); in getConfig()
829 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
841 final int selectedPosition = mProxySettingsSpinner.getSelectedItemPosition(); in ipAndProxyFieldsAreValid()
1126 showEapFieldsByMethod(mEapMethodSpinner.getSelectedItemPosition()); in showSecurityFields()
1228 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in showPeapFields()
[all …]
/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/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java417 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo(prefPersist); in loadMacRandomizedValue_shouldPersistentAsDefault()
444 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo(expectedPrefValue); in checkSavedMacRandomizedValue()
486 final int selectedItemPosition = eapMethodSpinner.getSelectedItemPosition(); in selectSecurity_wpa3Eap192bit_eapMethodTls()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java383 int position = mZoneSpinner.getSelectedItemPosition(); in handleZoneSelection()
547 mDisplaySpinner.getSelectedItemPosition()).byteValue(); in createDisplayAudioPlayer()
568 mDisplaySpinner.getSelectedItemPosition()).byteValue(); in startDisplayAudio()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsView.java63 return getSelectedItemPosition(); in getSelectedPosition()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java315 ? mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getTotalUsage() : 0; in updateDetailData()
434 mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getEndTime()); in startAppDataUsage()
DBillingCycleSettings.java329 * (spinner.getSelectedItemPosition() == 0 ? MIB_IN_BYTES : GIB_IN_BYTES)); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java312 ? mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getTotalUsage() : 0; in updateDetailData()
431 mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getEndTime()); in startAppDataUsage()
/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/Settings/src/com/android/settings/
DResetNetwork.java120 int selectedIndex = mSubscriptionSpinner.getSelectedItemPosition(); in showFinalConfirmation()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DResetNetwork.java121 int selectedIndex = mSubscriptionSpinner.getSelectedItemPosition(); in showFinalConfirmation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java159 when(spinner.getSelectedItemPosition()).thenReturn(0); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java121 : mColors[mColorSpinner.getSelectedItemPosition()]; in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java167 final int tintSelected = tintSpinner.getSelectedItemPosition(); in createEditDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimPreferenceDialog.java167 final int tintSelected = tintSpinner.getSelectedItemPosition(); in createEditDialog()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java364 if (mCursor != null && mCursor.moveToPosition(getSelectedItemPosition())) { in onKeyDown()

12