Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java141 ipSettingsSpinner.setSelection(DHCP); in setUp()
274 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithoutDomain_shouldReturnFalse()
288 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithDomain_shouldReturnTrue()
490 privacySetting.setSelection(prefMacNone); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
580 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
581 phase2Spinner.setSelection(WifiConfigController2.WIFI_PEAP_PHASE2_MSCHAPV2); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
589 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
590 phase2Spinner.setSelection(WifiConfigController2.WIFI_TTLS_PHASE2_MSCHAPV2); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
666 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
670 phase2Spinner.setSelection(WifiConfigController2.WIFI_PEAP_PHASE2_GTC); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
[all …]
DWifiConfigControllerTest.java103 ipSettingsSpinner.setSelection(DHCP); in setUp()
236 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithoutDomain_shouldReturnFalse()
250 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithDomain_shouldReturnTrue()
441 privacySetting.setSelection(PRIVACY_SPINNER_INDEX_DEVICE_MAC); in saveMacRandomizedValue_ChangedToDeviceMac_shouldGetNone()
540 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
541 phase2Spinner.setSelection(WifiConfigController.WIFI_PEAP_PHASE2_MSCHAPV2); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
549 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
550 phase2Spinner.setSelection(WifiConfigController.WIFI_TTLS_PHASE2_MSCHAPV2); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java307 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController2()
308 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController2()
314 mPrivacySettingsSpinner.setSelection(prefMacValue); in initWifiConfigController2()
317 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController2()
327 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController2()
337 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController2()
340 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController2()
343 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController2()
1018 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
1051 setSelection(mEapCaCertSpinner, mUnspecifiedCertString); in showSecurityFields()
[all …]
DWifiConfigController.java308 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController()
309 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController()
313 mPrivacySettingsSpinner.setSelection( in initWifiConfigController()
318 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController()
328 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController()
338 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController()
341 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController()
344 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController()
1038 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
1073 setSelection(mEapCaCertSpinner, mUseSystemCertsString); in showSecurityFields()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerServiceTest.java29 mEditText.setSelection(mEditText.getText().length()); in testSpellchecker()
49 mEditText.setSelection(mEditText.getText().length()); in testRussianSpellchecker()
63 mEditText.setSelection(mEditText.getText().length()); in testSpellcheckWithPeriods()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java71 setSelection(savedInstanceState.getInt(STATE_SELECTION, 0)); in onViewCreated()
95 public void setSelection(int position) { in setSelection() method in BaseScrollAdapterFragment
96 mScrollAdapterView.setSelection(position); in setSelection()
DScrollAdapterFragment.java63 public void setSelection(int position) { in setSelection() method in ScrollAdapterFragment
64 mBase.setSelection(position); in setSelection()
/packages/apps/Contacts/src/com/android/contacts/widget/
DNotifyingSpinner.java48 public void setSelection(int position) { in setSelection() method in NotifyingSpinner
49 super.setSelection(position); in setSelection()
/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java139 mSpinner.setSelection(position); in updateCycleList()
170 mSpinner.setSelection(position); in updateCycleList()
228 void setSelection(int position); in setSelection() method
DSpinnerPreference.java57 public void setSelection(int position) { in setSelection() method in SpinnerPreference
68 spinner.setSelection(mPosition); in onBindViewHolder()
/packages/apps/Contacts/src/com/android/contacts/list/
DAutoScrollListView.java100 setSelection(preliminaryPosition); in layoutChildren()
109 setSelection(preliminaryPosition); in layoutChildren()
DDefaultContactListAdapter.java68 loader.setSelection("0"); in configureLoader()
76 loader.setSelection( in configureLoader()
231 loader.setSelection(selection.toString()); in configureSelection()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DGbaActivity.java190 mOrganizationSpinner.setSelection(1); in initOrganization()
254 mProtocolSpinner.setSelection(8); in initProtocol()
296 mUiccSpinner.setSelection(5); in initUicctype()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java120 mInputConnection.setSelection(SELECTION_START, SELECTION_END); in testDeleteSelection()
141 mInputConnection.setSelection(SELECTION_START, SELECTION_END); in testDeleteSelectionTwice()
339 mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); in testBackspaceAtStartAfterAutocorrect()
353 mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); in testAutoCorrectThenMoveCursorThenBackspace()
575 mInputConnection.setSelection(indexForManualCursor, indexForManualCursor); in testPredictionsAfterRecorrection()
DInputLogicTestsLanguageWithoutSpaces.java76 mInputConnection.setSelection(CURSOR_POS, CURSOR_POS); in testStartComposingInsideText()
101 mInputConnection.setSelection(CURSOR_POS, CURSOR_POS); in testMovingCursorInsideWordAndType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java611 public boolean setSelection(final int start, final int end) { in setSelection() method in RichInputConnection
620 final boolean isIcValid = mIC.setSelection(start, end); in setSelection()
1005 mIC.setSelection(mExpectedSelStart - 1, mExpectedSelStart - 1); in maybeMoveTheCursorAroundAndRestoreToWorkaroundABug()
1007 mIC.setSelection(mExpectedSelStart + 1, mExpectedSelStart + 1); in maybeMoveTheCursorAroundAndRestoreToWorkaroundABug()
1009 mIC.setSelection(mExpectedSelStart, mExpectedSelEnd); in maybeMoveTheCursorAroundAndRestoreToWorkaroundABug()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DValidatedEditTextPreferenceTest.java81 verify(editText, never()).setSelection(anyInt()); in bindDialogView_emptyEditText_shouldNotSetSelection()
94 verify(editText).setSelection(testText.length()); in bindDialogView_nonemptyEditText_shouldSetSelection()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsBase.java114 mFilterSpinner.setSelection(mDurationIndex); in onViewCreated()
128 mFilterSpinner.setSelection(0); in onNothingSelected()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java81 Selection.setSelection(mSearchQueryBuilder, 0); in AppsSearchContainerLayout()
196 Selection.setSelection(mSearchQueryBuilder, 0); in clearSearchResult()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java168 editText.setSelection(0, in selectFileName()
178 editText.setSelection(0, 0); in clearFileNameSelection()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java146 public void setSelection(int position) { in setSelection() method in MultiSelectGridFragment
148 mGrid.setSelection(position); in setSelection()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
DLeanbackImeService.java292 ic.setSelection(newCursorPosition, newCursorPosition); in handleTextEntry()
316 ic.setSelection(location, location); in handleTextEntry()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java571 spinner.setSelection(mPRPreset); in reverbSpinnerInit()
593 spinner.setSelection(mEQPreset); in equalizerSpinnerInit()
655 ((Spinner)findViewById(R.id.prSpinner)).setSelection(reverb); in updateUI()
777 ((Spinner)findViewById(R.id.eqSpinner)).setSelection(mEQPresetUserPos); in onStartTrackingTouch()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java171 mNameView.setSelection(displayName.length()); in populateView()
180 mColorSpinner.setSelection(i); in populateView()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPasswordEditTextPreferenceDialogFragment.java69 mEditText.setSelection(mEditText.getText().length()); in onBindDialogView()

1234