Home
last modified time | relevance | path

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

12345

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java282 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController()
283 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController()
290 mPrivacySettingsSpinner.setSelection(prefMacValue); in initWifiConfigController()
293 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController()
302 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController()
311 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController()
314 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController()
317 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController()
982 mEapMethodSpinner.setSelection(mAccessPoint.getCarrierApEapType()); in showSecurityFields()
1003 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java281 mMeteredSettingsSpinner.setSelection(config.meteredOverride); in initWifiConfigController()
282 mHiddenSettingsSpinner.setSelection(config.hiddenSSID in initWifiConfigController()
289 mPrivacySettingsSpinner.setSelection(prefMacValue); in initWifiConfigController()
292 mIpSettingsSpinner.setSelection(STATIC_IP); in initWifiConfigController()
301 mIpSettingsSpinner.setSelection(DHCP); in initWifiConfigController()
310 mProxySettingsSpinner.setSelection(PROXY_STATIC); in initWifiConfigController()
313 mProxySettingsSpinner.setSelection(PROXY_PAC); in initWifiConfigController()
316 mProxySettingsSpinner.setSelection(PROXY_NONE); in initWifiConfigController()
1013 mEapMethodSpinner.setSelection(mAccessPoint.getCarrierApEapType()); in showSecurityFields()
1034 mEapMethodSpinner.setSelection(eapMethod); 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCycleAdapter.java139 mSpinner.setSelection(position); in updateCycleList()
170 mSpinner.setSelection(position); in updateCycleList()
228 void setSelection(int position); in setSelection() method
DBillingCycleSettings.java294 bytesPicker.setSelection(0, bytesText.length()); in setupPicker()
296 type.setSelection(1); in setupPicker()
300 bytesPicker.setSelection(0, bytesText.length()); in setupPicker()
302 type.setSelection(0); in setupPicker()
DSpinnerPreference.java57 public void setSelection(int position) { in setSelection() method in SpinnerPreference
68 spinner.setSelection(mPosition); in onBindViewHolder()
/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
DBillingCycleSettings.java294 bytesPicker.setSelection(0, bytesText.length()); in setupPicker()
296 type.setSelection(1); in setupPicker()
300 bytesPicker.setSelection(0, bytesText.length()); in setupPicker()
302 type.setSelection(0); in setupPicker()
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/widget/
DNotifyingSpinner.java48 public void setSelection(int position) { in setSelection() method in NotifyingSpinner
49 super.setSelection(position); in setSelection()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactListAdapter.java68 loader.setSelection("0"); in configureLoader()
76 loader.setSelection( in configureLoader()
228 loader.setSelection(selection.toString()); in configureSelection()
DAutoScrollListView.java100 setSelection(preliminaryPosition); in layoutChildren()
109 setSelection(preliminaryPosition); in layoutChildren()
/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/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/apps/Email/src/com/android/email/activity/
DComposeActivityEmail.java66 mBodyView.setSelection(replaceStart + quickResponse.length()); in onQuickResponseSelected()
69 mBodyView.setSelection(mBodyView.getText().length()); in onQuickResponseSelected()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java98 tintSpinner.setSelection(pos); in onRestoreInstanceState()
119 tintSpinner.setSelection(i); in createEditDialog()
129 tintSpinner.setSelection(pos); in createEditDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimPreferenceDialog.java98 tintSpinner.setSelection(pos); in onRestoreInstanceState()
119 tintSpinner.setSelection(i); in createEditDialog()
129 tintSpinner.setSelection(pos); in createEditDialog()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsBase.java114 mFilterSpinner.setSelection(mDurationIndex); in onViewCreated()
128 mFilterSpinner.setSelection(0); in onNothingSelected()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java174 editText.setSelection(0, in selectFileName()
184 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()

12345