Searched refs:selectable (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/preference/
H A DPreference.java742 * Sets whether this Preference is selectable.
744 * @param selectable Set true to make it selectable.
746 public void setSelectable(boolean selectable) { argument
747 if (mSelectable != selectable) {
748 mSelectable = selectable;
754 * Checks whether this Preference should be selectable in the list.
756 * @return True if it is selectable, false otherwise.
/frameworks/base/core/java/android/widget/
H A DTextView.java4885 * Sets whether the content of this view is selectable by the user. The default is
4886 * {@code false}, meaning that the content is not selectable.
4889 * contact's address), make it selectable, so that the user can select and copy its
4906 * @param selectable Whether the content of this TextView should be selectable.
4908 public void setTextIsSelectable(boolean selectable) { argument
4909 if (!selectable && mEditor == null) return; // false is default value with no edit data
4912 if (mEditor.mTextIsSelectable == selectable) return;
4914 mEditor.mTextIsSelectable = selectable;
4915 setFocusableInTouchMode(selectable);
[all...]

Completed in 75 milliseconds