Home
last modified time | relevance | path

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

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java154 ipSettingsSpinner.setSelection(DHCP); in setUp()
293 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithoutDomain_shouldReturnFalse()
306 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithDomain_shouldReturnTrue()
511 privacySetting.setSelection(prefMacNone); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
547 privacySetting.setSelection(DHCP_SPINNER_INDEX_SEND_DHCP_HOST_NAME_DISABLE); in saveDhcpValue_changedToFalse()
639 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
640 phase2Spinner.setSelection(WifiConfigController2.WIFI_PEAP_PHASE2_MSCHAPV2); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
648 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
649 phase2Spinner.setSelection(WifiConfigController2.WIFI_TTLS_PHASE2_MSCHAPV2); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
730 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
[all …]
DWifiConfigControllerTest.java108 ipSettingsSpinner.setSelection(DHCP); in setUp()
241 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithoutDomain_shouldReturnFalse()
255 eapCaCertSpinner.setSelection(0); in isSubmittable_caCertWithDomain_shouldReturnTrue()
449 privacySetting.setSelection(PRIVACY_SPINNER_INDEX_DEVICE_MAC); in saveMacRandomizedValue_ChangedToDeviceMac_shouldGetNone()
484 privacySetting.setSelection(DHCP_SPINNER_INDEX_SEND_DHCP_HOST_NAME_DISABLE); in saveDhcpValue_changedToFalse()
583 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
584 phase2Spinner.setSelection(WifiConfigController.WIFI_PEAP_PHASE2_MSCHAPV2); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
592 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
593 phase2Spinner.setSelection(WifiConfigController.WIFI_TTLS_PHASE2_MSCHAPV2); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java339 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController2()
341 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController2()
348 mPrivacySettingsSpinner.setSelection(prefMacValue); in initWifiConfigController2()
355 mDhcpSettingsSpinner.setSelection(prefDhcpValue); in initWifiConfigController2()
359 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController2()
369 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController2()
379 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController2()
382 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController2()
385 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController2()
1087 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
[all …]
DWifiConfigController.java324 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController()
325 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController()
329 mPrivacySettingsSpinner.setSelection( in initWifiConfigController()
333 mDhcpSettingsSpinner.setSelection( in initWifiConfigController()
340 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController()
350 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController()
360 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController()
363 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController()
366 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController()
1070 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerServiceTest.java30 mEditText.setSelection(mEditText.getText().length()); in testSpellchecker()
50 mEditText.setSelection(mEditText.getText().length()); in testRussianSpellchecker()
64 mEditText.setSelection(mEditText.getText().length()); in testSpellcheckWithPeriods()
/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java56 mSpinner.setSelection(i); in setInitialCycleList()
79 mSpinner.setSelection(position); in updateCycleList()
122 void setSelection(int position); in setSelection() method
DSpinnerPreference.java60 public void setSelection(int position) { in setSelection() method in SpinnerPreference
73 spinner.setSelection(mPosition); in onBindViewHolder()
DDataUsageListHeaderController.kt66 override fun setSelection(position: Int) { in getSelectedItem() method
67 cycleSpinner.setSelection(position) in getSelectedItem()
/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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DScrollAdapterFragment.java63 public void setSelection(int position) { in setSelection() method in ScrollAdapterFragment
64 mBase.setSelection(position); in setSelection()
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()
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTestsLanguageWithoutSpaces.java77 mInputConnection.setSelection(CURSOR_POS, CURSOR_POS); in testStartComposingInsideText()
102 mInputConnection.setSelection(CURSOR_POS, CURSOR_POS); in testMovingCursorInsideWordAndType()
DInputLogicTests.java121 mInputConnection.setSelection(SELECTION_START, SELECTION_END); in testDeleteSelection()
142 mInputConnection.setSelection(SELECTION_START, SELECTION_END); in testDeleteSelectionTwice()
340 mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); in testBackspaceAtStartAfterAutocorrect()
354 mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); in testAutoCorrectThenMoveCursorThenBackspace()
576 mInputConnection.setSelection(indexForManualCursor, indexForManualCursor); in testPredictionsAfterRecorrection()
/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/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/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/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java79 Selection.setSelection(mSearchQueryBuilder, 0); in AppsSearchContainerLayout()
179 Selection.setSelection(mSearchQueryBuilder, 0); in clearSearchResult()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DMainActivity.java929 spinnerAdditionalMedia.setSelection(1); in updateAdditionalMedia()
931 spinnerAdditionalMedia.setSelection(2); in updateAdditionalMedia()
933 spinnerAdditionalMedia.setSelection(0); in updateAdditionalMedia()
2236 videoCodecSpinner.setSelection(getSpinnerIndex(videoCodecSpinner, mSelectedVideoCodec)); in setupVideoCodecSelectionLists()
2244 videoCodecProfileSpinner.setSelection(getSpinnerIndex(videoCodecProfileSpinner, in setupVideoCodecSelectionLists()
2253 videoCodecLevelSpinner.setSelection(getSpinnerIndex(videoCodecLevelSpinner, in setupVideoCodecSelectionLists()
2262 videoModeSpinner.setSelection(getSpinnerIndex(videoModeSpinner, mSelectedVideoMode)); in setupVideoCodecSelectionLists()
2270 videoCameraIdSpinner.setSelection(getSpinnerIndex(videoCameraIdSpinner, mSelectedCameraId)); in setupVideoCodecSelectionLists()
2278 videoCameraZoomSpinner.setSelection(getSpinnerIndex(videoCameraZoomSpinner, in setupVideoCodecSelectionLists()
2287 videoFramerateSpinner.setSelection(getSpinnerIndex(videoFramerateSpinner, in setupVideoCodecSelectionLists()
[all …]
/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/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java168 editText.setSelection(0, in selectFileName()
178 editText.setSelection(0, 0); in clearFileNameSelection()
/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/Car/Settings/src/com/android/car/settings/common/
DPasswordEditTextPreferenceDialogFragment.java69 mEditText.setSelection(mEditText.getText().length()); in onBindDialogView()

12345