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/wifi/
DWifiConfigController2.java291 mHiddenSettingsSpinner.getSelectedItemPosition() == NOT_HIDDEN_NETWORK in initWifiConfigController2()
570 && mEapMethodSpinner.getSelectedItemPosition() == WIFI_EAP_METHOD_TLS) { in showWarningMessagesIfAppropriate()
591 config.hiddenSSID = mHiddenSettingsSpinner.getSelectedItemPosition() == HIDDEN_NETWORK; in getConfig()
645 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
646 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
701 .get(mEapSimSpinner.getSelectedItemPosition()).getCarrierId(); in getConfig()
744 config.enterpriseConfig.setOcsp(mEapOcspSpinner.getSelectedItemPosition()); in getConfig()
801 config.meteredOverride = mMeteredSettingsSpinner.getSelectedItemPosition(); in getConfig()
807 .getSelectedItemPosition()); in getConfig()
816 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
[all …]
DWifiConfigController.java292 mHiddenSettingsSpinner.getSelectedItemPosition() == NOT_HIDDEN_NETWORK in initWifiConfigController()
591 mEapMethodSpinner.getSelectedItemPosition() == WIFI_EAP_METHOD_TLS) { in showWarningMessagesIfAppropriate()
610 config.hiddenSSID = mHiddenSettingsSpinner.getSelectedItemPosition() == HIDDEN_NETWORK; in getConfig()
665 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig()
666 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig()
759 config.enterpriseConfig.setOcsp(mEapOcspSpinner.getSelectedItemPosition()); in getConfig()
812 .get(mEapSimSpinner.getSelectedItemPosition()).getCarrierId(); in getConfig()
822 config.meteredOverride = mMeteredSettingsSpinner.getSelectedItemPosition(); in getConfig()
826 config.macRandomizationSetting = mPrivacySettingsSpinner.getSelectedItemPosition() in getConfig()
838 && mIpSettingsSpinner.getSelectedItemPosition() == STATIC_IP) in ipAndProxyFieldsAreValid()
[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/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/Settings/src/com/android/settings/vpn2/
DConfigDialog.java485 return mIpsecUserCert.getSelectedItemPosition() != 0; in validate()
608 return mProxySettings.getSelectedItemPosition() == VpnProfile.PROXY_MANUAL; in hasProxy()
660 if (mIpsecUserCert.getSelectedItemPosition() != 0) { in getProfile()
666 if (mIpsecCaCert.getSelectedItemPosition() != 0) { in getProfile()
669 if (mIpsecServerCert.getSelectedItemPosition() != 0) { in getProfile()
691 return convertAllowedIndexToProfileType(mType.getSelectedItemPosition()); in getSelectedVpnType()
/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/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java401 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo( in loadMacRandomizedValue_shouldMandomizedMacAsDefault()
426 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo( in checkSavedMacRandomizedValue()
506 final int selectedItemPosition = eapMethodSpinner.getSelectedItemPosition(); in selectSecurity_wpa3Eap192bit_eapMethodTls()
591 when(eapMethodSpinner.getSelectedItemPosition()).thenReturn( in loadSims_noSim_simSpinnerDefaultNoSim()
615 when(eapMethodSpinner.getSelectedItemPosition()).thenReturn( in loadSims_oneSim_simSpinnerDefaultSubscription()
DWifiConfigController2Test.java446 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo(prefPersist); in loadMacRandomizedValue_shouldPersistentAsDefault()
474 assertThat(privacySetting.getSelectedItemPosition()).isEqualTo(expectedPrefValue); in checkSavedMacRandomizedValue()
555 final int selectedItemPosition = eapMethodSpinner.getSelectedItemPosition(); in selectSecurity_wpa3Eap192bit_eapMethodTls()
816 when(eapMethodSpinner.getSelectedItemPosition()).thenReturn( in loadSims_noSim_simSpinnerDefaultNoSim()
840 when(eapMethodSpinner.getSelectedItemPosition()).thenReturn( in loadSims_oneSim_simSpinnerDefaultSubscription()
/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/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java535 assertEquals(adapter.getSelectedItemPosition(), -1); in testRadioButtonListItemAdapter()
542 assertEquals(adapter.getSelectedItemPosition(), 0); in testRadioButtonListItemAdapter()
549 assertEquals(adapter.getSelectedItemPosition(), 1); in testRadioButtonListItemAdapter()
556 assertEquals(adapter.getSelectedItemPosition(), 2); in testRadioButtonListItemAdapter()
584 assertEquals(adapter.getSelectedItemPosition(), 0); in testRadioButtonListItemAdapter_itemInitiallyChecked()
590 assertEquals(adapter.getSelectedItemPosition(), 1); in testRadioButtonListItemAdapter_itemInitiallyChecked()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsView.java63 return getSelectedItemPosition(); in getSelectedPosition()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiRadioButtonListItemAdapter.java112 public int getSelectedItemPosition() { in getSelectedItemPosition() method in CarUiRadioButtonListItemAdapter
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUsersSpinner.java105 int selectedIndex = getSelectedItemPosition(); in getSelectedUser()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java349 ? mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getTotalUsage() : 0; in updateDetailData()
468 mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getEndTime()); in startAppDataUsage()
DBillingCycleSettings.java341 * (spinner.getSelectedItemPosition() == 0 ? MIB_IN_BYTES : GIB_IN_BYTES)); in onClick()
/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.java127 int selectedIndex = mSubscriptionSpinner.getSelectedItemPosition(); in showFinalConfirmation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java177 when(spinner.getSelectedItemPosition()).thenReturn(0); in startAppDataUsage_shouldAddCyclesInfoToLaunchArguments()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java564 int position = mZoneSpinner.getSelectedItemPosition(); in handleZoneSelection()
774 mDeviceAddressSpinner.getSelectedItemPosition()); in createDeviceAddressAudioPlayer()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java142 : mColors[mColorSpinner.getSelectedItemPosition()]; in onCreateDialog()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java364 if (mCursor != null && mCursor.moveToPosition(getSelectedItemPosition())) { in onKeyDown()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java323 int index = mDeviceAdminAppsSpinner.getSelectedItemPosition(); in launchSetDeviceAdminIntent()

12