Searched refs:setSelection (Results 26 - 50 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/app/
H A DListFragment.java255 public void setSelection(int position) { method in class:ListFragment
257 mList.setSelection(position);
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java83 Selection.setSelection(span, length, length);
211 Selection.setSelection(edit, edit.length());
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DRenameDocumentFragment.java169 editText.setSelection(0,
179 editText.setSelection(0, 0);
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java197 public void setSelection(int position) { method in class:ListFragment
199 mList.setSelection(position);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DMenuPopupWindow.java154 setSelection(INVALID_POSITION);
169 setSelection(INVALID_POSITION);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java808 mMediaSizeSpinner.setSelection(i);
811 mOrientationSpinner.setSelection(0);
815 mOrientationSpinner.setSelection(1);
850 mColorModeSpinner.setSelection(i);
865 mDuplexModeSpinner.setSelection(i);
960 mRangeOptionsSpinner.setSelection(0);
966 mRangeOptionsSpinner.setSelection(1);
1061 mRangeOptionsSpinner.setSelection(0);
1247 mCopiesEditText.setSelection(mCopiesEditText.getText().length());
1630 mMediaSizeSpinner.setSelection(oldMediaSizeNewInde
[all...]
/frameworks/base/core/java/android/content/
H A DCursorLoader.java38 * in the desired paramters with {@link #setUri(Uri)}, {@link #setSelection(String)},
119 * calls to {@link #setUri(Uri)}, {@link #setSelection(String)}, etc
210 public void setSelection(String selection) { method in class:CursorLoader
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java138 Selection.setSelection(mEditable, 0);
662 public boolean setSelection(int start, int end) { method in class:BaseInputConnection
663 if (DEBUG) Log.v(TAG, "setSelection " + start + ", " + end);
680 Selection.setSelection(content, start, end);
842 Selection.setSelection(content, newCursorPosition);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java80 listView.setSelection(1);
H A DTextViewActivityTest.java625 textView.post(() -> Selection.setSelection((Spannable) textView.getText(), 0, 3));
636 textView.post(() -> Selection.setSelection((Spannable) textView.getText(), 0, 3));
645 () -> Selection.setSelection((Spannable) textView.getText(), 0, text.length()));
653 textView.post(() -> Selection.setSelection((Spannable) textView.getText(), 0));
664 textView.post(() -> Selection.setSelection((Spannable) textView.getText(), 0));
673 () -> Selection.setSelection((Spannable) textView.getText(), 1, text.length()));
697 () -> Selection.setSelection((Spannable) textView.getText(), 0, text.length()));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java64 selectedText.setSelection(3, 8);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DBlend.java93 s.setSelection(0, false);
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java115 * calls to {@link #setUri(Uri)}, {@link #setSelection(String)}, etc
206 public void setSelection(String selection) { method in class:CursorLoader
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java269 public void setSelection(int position, boolean animate) { method in class:AbsSpinner
277 public void setSelection(int position) { method in class:AbsSpinner
H A DDialerFilter.java283 Selection.setSelection(lettersText, lettersText.length());
288 Selection.setSelection(digitsText, digitsText.length());
H A DEditor.java362 Selection.setSelection((Spannable) mTextView.getText(), middle);
865 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
890 Selection.setSelection((Spannable) mTextView.getText(), start, end);
994 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
1106 Selection.setSelection((Spannable) mTextView.getText(), offset);
1158 Selection.setSelection((Spannable) mTextView.getText(), lastTapPosition);
1183 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd);
2114 Selection.setSelection((Spannable) text, offset);
2433 Selection.setSelection((Spannable) mTextView.getText(), max);
2499 Selection.setSelection((Spannabl
[all...]
H A DSpinner.java778 setSelection(which);
1116 setSelection(which);
1167 Spinner.this.setSelection(position);
1240 setSelection(Spinner.this.getSelectedItemPosition());
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java329 public boolean setSelection(int start, int end) { method in class:InputConnectionWrapper
331 mIInputContext.setSelection(start, end);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialSelectorView.java140 setSelection(selectionDegrees, isInnerCircle, false);
166 public void setSelection(int selectionDegrees, boolean isInnerCircle, boolean forceDrawDot) { method in class:RadialSelectorView
H A DRadialPickerLayout.java242 mHourRadialSelectorView.setSelection(hourDegrees, isHourInnerCircle(value), false);
247 mMinuteRadialSelectorView.setSelection(minuteDegrees, false, false);
456 radialSelectorView.setSelection(degrees, isInnerCircle, forceDrawDot);
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DChipsTest.java729 view.setSelection(mEditable.length());
739 view.setSelection(mEditable.length());
749 view.setSelection(mEditable.length());
758 view.setSelection(mEditable.length());
773 view.setSelection(mEditable.length());
785 view.setSelection(mEditable.length());
802 view.setSelection(mEditable.length());
824 view.setSelection(mEditable.length());
837 view.setSelection(mEditable.length());
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1072 mEST.setSelection(curpos);
1404 mEST.setSelection(end);
1522 Selection.setSelection(mEST.getText(), max);
1571 private void setSelection() { method in class:EditStyledText.EditorManager
1578 mEST.setSelection(mCurStart, mCurEnd);
1581 mEST.setSelection(mCurEnd, mCurStart);
1599 mEST.setSelection(currpos, currpos);
1624 setSelection();
1675 Selection.setSelection(mEST.getText(), max);
1690 Selection.setSelection(mES
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java225 mEditText.setSelection(mEditText.getText().length());
471 setSelection(getText().length());
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DIPControls.java112 mResolutionSpinner.setSelection(ct);
119 mResolutionSpinner.setSelection(Resolutions.values().length - 1);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java528 mLayoutManager.setSelection(position, 0);
544 mLayoutManager.setSelection(position, scrollExtra);

Completed in 604 milliseconds

1234