Home
last modified time | relevance | path

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

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowEditText.java51 public void setSelection(int index) { in setSelection() method in ShadowEditText
52 super.setSelection(index); in setSelection()
57 public void setSelection(int start, int end) { in setSelection() method in ShadowEditText
58 super.setSelection(start, end); in setSelection()
DShadowAbsSpinner.java27 public void setSelection(int position, boolean animate) { in setSelection() method in ShadowAbsSpinner
28 super.setSelection(position); in setSelection()
DShadowAutoCompleteTextView.java58 setSelection(getText().length()); in replaceText()
DShadowAdapterView.java46 setSelection(0); in setAdapter()
227 public void setSelection(final int position) { in setSelection() method in ShadowAdapterView
DShadowCursorLoader.java58 public void setSelection(String selection) { in setSelection() method in ShadowCursorLoader
DShadowTextView.java488 public void setSelection(int index) { in setSelection() method in ShadowTextView
489 setSelection(index, index); in setSelection()
492 public void setSelection(int start, int end) { in setSelection() method in ShadowTextView
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAbsSpinnerTest.java57 spinner.setSelection(0); in getSelectedItemShouldReturnCorrectValue()
61 spinner.setSelection(1); in getSelectedItemShouldReturnCorrectValue()
80 spinner.setSelection(0, true); in setSelectionWithAnimatedTransition()
96 spinner.setSelection(AdapterView.INVALID_POSITION); in testGetSelectedView_noSelection()
112 spinner.setSelection(1); in testGetSelectedView_changed()
DCursorLoaderTest.java46 cursorLoader.setSelection(selection); in testSetters()
DTextViewTest.java295 shadowOf(textView).setSelection(0, 0); in append_whenSelectionIsAtTheEnd_shouldKeepSelectionAtTheEnd()
300 shadowOf(textView).setSelection(2, 2); in append_whenSelectionIsAtTheEnd_shouldKeepSelectionAtTheEnd()
309 shadowOf(textView).setSelection(0, 2); in append_whenSelectionReachesToEnd_shouldExtendSelectionToTheEnd()
DListViewTest.java67 listView.setSelection(0); in testSetSelection_ShouldFireOnItemSelectedListener()
205 listView.setSelection(0); in testSetSelection_WhenNoItemSelectedListenerIsSet_ShouldDoNothing()
DAdapterViewBehavior.java54 adapterView.setSelection(AdapterView.INVALID_POSITION); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsActivity.java83 mSpinnerMicSource.setSelection(micSource, false); in onCreate()
95 mSpinnerPerformanceMode.setSelection(performanceMode + 1, false); in onCreate()
110 mSpinnerSamplingRate.setSelection(nPosition, false); in onCreate()
123 mSpinnerAudioThreadType.setSelection(audioThreadType, false); in onCreate()
298 mSpinnerSamplingRate.setSelection(nPosition); in refresh()
302 mSpinnerChannelIndex.setSelection(getApp().getChannelIndex() + 1, false); in refresh()
305 mSpinnerChannelIndex.setSelection(0, false); in refresh()
/external/clang/test/CodeGenObjC/
Ddebuginfo-properties.m17 // CHECK: !DISubprogram(name: "-[MyClass setSelection:]"
23 // CHECK: !DISubprogram(name: "-[OtherClass setSelection:]"
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptEditor.java130 mNameText.setSelection(1); in onCreate()
132 mNameText.setSelection(0); in onCreate()
159 mContentText.setSelection(lastLocation); in onCreate()
391 mContentText.setSelection(Math.min(text.length() - 1, i)); in gotoLine()
549 Selection.setSelection(text, edit.mmBefore == null ? start : (start + edit.mmBefore.length())); in undo()
566 Selection.setSelection(text, edit.mmAfter == null ? start : (start + edit.mmAfter.length())); in redo()
603 mContentText.setSelection(foundpos, foundpos + findText.length()); in onClick()
616 mContentText.setSelection(foundpos, foundpos + replaceText.length()); in onClick()
DLogcatViewer.java82 getListView().setSelection(lastPosition); in run()
133 getListView().setSelection(mLogcatMessages.size() - 1); in onOptionsItemSelected()
/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/
DAndroidTest.java215 spinnerSettings2.setSelection(_codecIndex); in onCreate()
219 spinnerSettings2.setSelection(_ecIndex); in onCreate()
223 spinnerSettings2.setSelection(_nsIndex); in onCreate()
227 spinnerSettings2.setSelection(_agcIndex); in onCreate()
231 spinnerSettings2.setSelection(_vadIndex); in onCreate()
261 spinnerSettings2.setSelection(_audioIndex); in onCreate()
/external/llvm/include/llvm/CodeGen/PBQP/
DSolution.h76 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { in setSelection() function
DReductionRules.h212 s.setSelection(NId, v.minIndex()); in backpropagate()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/
DSolution.h77 void setSelection(Graph::NodeItr nItr, unsigned selection) { in setSelection() function
/external/llvm/include/llvm/MC/
DMCSectionCOFF.h74 void setSelection(int Selection) const;
/external/llvm/lib/MC/
DMCSectionCOFF.cpp34 void MCSectionCOFF::setSelection(int Selection) const { in setSelection() function in MCSectionCOFF
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DOptionAdapter.java52 mSpinner.setSelection(filteredOptions.indexOf(mCurrentOption)); in publishResults()
DStateAdapter.java177 optionSpinner.setSelection(optionList.indexOf(value)); in populateView()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DBarPlotExampleActivity.java167 spRenderStyle.setSelection(BarRenderer.BarRenderStyle.OVERLAID.ordinal()); in onCreate()
181 spWidthStyle.setSelection(BarRenderer.BarWidthStyle.FIXED_WIDTH.ordinal()); in onCreate()
202 spSeriesSize.setSelection(SeriesSize.TEN.ordinal()); in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java63 mColorGrid.setSelection(0); in onCreate()

12