Home
last modified time | relevance | path

Searched refs:focusable (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/widget/
DAdapterView.java673 public void setFocusable(boolean focusable) { in setFocusable() argument
677 mDesiredFocusableState = focusable; in setFocusable()
678 if (!focusable) { in setFocusable()
682 super.setFocusable(focusable && (!empty || isInFilterMode())); in setFocusable()
686 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
690 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
691 if (focusable) { in setFocusableInTouchMode()
695 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
701 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
705 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
DPopupWindow.java296 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
304 setFocusable(focusable); in PopupWindow()
441 public void setFocusable(boolean focusable) { in setFocusable() argument
442 mFocusable = focusable; in setFocusable()
DZoomButtonsController.java298 public void setFocusable(boolean focusable) { in setFocusable() argument
300 if (focusable) { in setFocusable()
DSearchView.java295 boolean focusable = true; in SearchView()
298 focusable = a.getBoolean(R.styleable.View_focusable, focusable); in SearchView()
300 setFocusable(focusable); in SearchView()
DTextView.java1091 boolean focusable = mMovement != null || mInput != null; in TextView()
1092 boolean clickable = focusable; in TextView()
1093 boolean longClickable = focusable; in TextView()
1101 focusable = a.getBoolean(attr, focusable); in TextView()
1115 setFocusable(focusable); in TextView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java82 public MailMessage(String subject, String body, boolean focusable) { in MailMessage() argument
85 mFocusable = focusable; in MailMessage()
109 public void setFocusable(boolean focusable) { in setFocusable() argument
110 mFocusable = focusable; in setFocusable()
/frameworks/base/docs/html/resources/articles/
Dtouch-mode.jd86 touch mode in a very special way called <em>focusable</em>. This special mode
89 {@link android.widget.ListView}. The focusable mode is what lets the user enter text
97 focus. If the user touches a widget that is focusable in touch
99 focused widget will not retain focus unless it is focusable in touch
110 is a good example of an application that could make good use of the focusable in
112 another good example of where you can use focusable in touch mode correctly.</p>
114 <p>Below is another example of a focusable in touch mode widget. When the user
121 <p>Developers new to Android often think that focusable in touch mode is the
126 you need to handle user interactions without using focusable in touch mode. For
136 <li>Use focusable in touch mode if you write a game</li>
Don-screen-inputs.jd220 there is a focusable field after this one; you can explicitly force no action
/frameworks/base/core/java/android/view/
DFocusFinder.java179 View focusable = focusables.get(i); in findNextFocus() local
182 if (focusable == focused || focusable == root) continue; in findNextFocus()
185 focusable.getDrawingRect(mOtherRect); in findNextFocus()
186 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocus()
190 closest = focusable; in findNextFocus()
DView.java4613 public void setFocusable(boolean focusable) { in setFocusable() argument
4614 if (!focusable) { in setFocusable()
4617 setFlags(focusable ? FOCUSABLE : NOT_FOCUSABLE, FOCUSABLE_MASK); in setFocusable()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java56 public void setFocusable(Object info, boolean focusable); in setFocusable() argument
227 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument
454 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument
455 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable); in setFocusable()
862 public void setFocusable(boolean focusable) { in setFocusable() argument
863 IMPL.setFocusable(mInfo, focusable); in setFocusable()
/frameworks/base/docs/html/guide/practices/design/
Daccessibility.jd90 "focusable" property is "true." This means that users can focus on the widget using the directional
91 controls and then interact with it. Widgets provided by the Android APIs are focusable by default
94 <p>Android provides several APIs that let you control whether a widget is focusable and even
103 <p>When working with a view that is not focusable by default, you can make it focusable from the XML
105 href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code
106 android:focusable}</a> attribute to {@code "true"}.</p>
134 <p>For example, here is an XML layout that contains a focusable {@link android.widget.TextView}.
146 android:focusable=”true”
147 android:text="Hello, I am a focusable TextView"
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatIcs.java176 public static void setFocusable(Object info, boolean focusable) { in setFocusable() argument
177 ((AccessibilityNodeInfo) info).setFocusable(focusable); in setFocusable()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java446 public void setFocusable(boolean focusable) { in setFocusable() argument
447 setBooleanProperty(PROPERTY_FOCUSABLE, focusable); in setFocusable()
/frameworks/base/docs/html/guide/topics/ui/
Dui-events.jd201 {@link android.view.View#isFocusableInTouchMode} is true will be focusable, such as text editing wi…
254 <p>If you'd like to declare a View as focusable in your UI (when it is traditionally not),
255 add the <code>android:focusable</code> XML attribute to the View, in your layout declaration.
257 as focusable while in Touch Mode with <code>android:focusableInTouchMode</code>.</p>
/frameworks/base/api/
Dcurrent.txt458 field public static final int focusable = 16842970; // 0x10100da
D14.txt458 field public static final int focusable = 16842970; // 0x10100da