Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAdapterViewICS.java688 public void setFocusable(boolean focusable) { in setFocusable() argument
692 mDesiredFocusableState = focusable; in setFocusable()
693 if (!focusable) { in setFocusable()
697 super.setFocusable(focusable && (!empty || isInFilterMode())); in setFocusable()
701 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
705 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
706 if (focusable) { in setFocusableInTouchMode()
710 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
716 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
720 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
/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/core/java/android/widget/
DAdapterView.java686 public void setFocusable(boolean focusable) { in setFocusable() argument
690 mDesiredFocusableState = focusable; in setFocusable()
691 if (!focusable) { in setFocusable()
695 super.setFocusable(focusable && (!empty || isInFilterMode())); in setFocusable()
699 public void setFocusableInTouchMode(boolean focusable) { in setFocusableInTouchMode() argument
703 mDesiredFocusableInTouchModeState = focusable; in setFocusableInTouchMode()
704 if (focusable) { in setFocusableInTouchMode()
708 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode())); in setFocusableInTouchMode()
714 final boolean focusable = !empty || isInFilterMode(); in checkFocus()
718 super.setFocusableInTouchMode(focusable && mDesiredFocusableInTouchModeState); in checkFocus()
[all …]
DPopupWindow.java301 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
309 setFocusable(focusable); in PopupWindow()
446 public void setFocusable(boolean focusable) { in setFocusable() argument
447 mFocusable = focusable; in setFocusable()
DZoomButtonsController.java298 public void setFocusable(boolean focusable) { in setFocusable() argument
300 if (focusable) { in setFocusable()
DSearchView.java305 boolean focusable = true; in SearchView()
308 focusable = a.getBoolean(R.styleable.View_focusable, focusable); in SearchView()
310 setFocusable(focusable); in SearchView()
DTextView.java1282 boolean focusable = mMovement != null || getKeyListener() != null; in TextView()
1283 boolean clickable = focusable; in TextView()
1284 boolean longClickable = focusable; in TextView()
1292 focusable = a.getBoolean(attr, focusable); in TextView()
1306 setFocusable(focusable); in TextView()
/frameworks/base/core/java/android/view/
DFocusFinder.java226 View focusable = focusables.get(i); in findNextFocusInAbsoluteDirection() local
229 if (focusable == focused || focusable == root) continue; in findNextFocusInAbsoluteDirection()
232 focusable.getFocusedRect(mOtherRect); in findNextFocusInAbsoluteDirection()
233 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); in findNextFocusInAbsoluteDirection()
237 closest = focusable; in findNextFocusInAbsoluteDirection()
/frameworks/base/docs/html/training/accessibility/
Daccessible-app.jd102 the user should be able to navigate to need to be set as focusable. This
107 href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code
108 android:focusable}</a>
130 focusable, such that pressing down takes you from the button to the text view, and
136 android:focusable="true"
140 android:focusable=”true”
/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/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java70 public void setFocusable(Object info, boolean focusable); in setFocusable() argument
321 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument
608 public void setFocusable(Object info, boolean focusable) { in setFocusable() argument
609 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable); in setFocusable()
1548 public void setFocusable(boolean focusable) { in setFocusable() argument
1549 IMPL.setFocusable(mInfo, focusable); in setFocusable()
/frameworks/base/docs/html/training/keyboard-input/
Dnavigation.jd53 and {@link android.widget.EditText}) are focusable. This means users can navigate with
76 <p>From each focusable element in your UI, press Up, Down, Left, and Right.</p>
98 for each of the focusable elements with the <a
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dapps.jd159 <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable">
160 {@code android:focusable}</a> attribute is set to {@code true}. This setting allows users to focus
162 provided by the Android framework are focusable by default and visually indicate focus by changing
165 <p>Android provides several APIs that let you control whether a user interface control is focusable
174 <p>If a view is not focusable by default, you can make it focusable in your layout file by setting
175 the <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable">
176 {@code android:focusable}</a> attribute to {@code true} or by calling the its {@link
204 <p>The following example XML layout shows two focusable user interface elements where the
220 android:focusable=”true”
221 android:text="Hello, I am a focusable TextView"
Dchecklist.jd68 <a href="{@docRoot}reference/android/view/View.html#attr_android:focusable">focusable</a>
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtext.jd173 href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code
174 android:focusable}</a> fields. If any focusable fields are found following this one, the system
176 select Next to move to the next field. If there's no subsequent focusable field, the system applies
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java318 boolean focusable = true; in SearchView()
321 focusable = a.getBoolean(R.styleable.View_android_focusable, focusable); in SearchView()
323 setFocusable(focusable); in SearchView()
/frameworks/base/docs/html/guide/topics/ui/
Dui-events.jd207 {@link android.view.View#isFocusableInTouchMode} is true will be focusable, such as text editing wi…
260 <p>If you'd like to declare a View as focusable in your UI (when it is traditionally not),
261 add the <code>android:focusable</code> XML attribute to the View, in your layout declaration.
263 as focusable while in Touch Mode with <code>android:focusableInTouchMode</code>.</p>
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1113 public void setFocusable(boolean focusable) { in setFocusable() argument
1114 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSABLE, focusable); in setFocusable()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd305 <span class="sympad"><a href="#focusable(boolean)">focusable</a></span>(boolean val)</nobr>
307 <div class="jd-descrdiv">Set the search criteria to match widgets that are focusable.</div>
1488 <A NAME="focusable(boolean)"></A>
1500 <span class="sympad">focusable</span>
1511 …<div class="jd-tagdata jd-tagdescr"><p>Set the search criteria to match widgets that are focusable.
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java400 public UiSelector focusable(boolean val) { in focusable() method in UiSelector
/frameworks/base/docs/html/training/tv/
Doptimizing-navigation-tv.jd146 Provide sufficient padding within the focusable and selectable controls so that the highlights arou…
/frameworks/testing/uiautomator/api/
D16.txt140 method public com.android.uiautomator.core.UiSelector focusable(boolean);
D17.txt155 method public com.android.uiautomator.core.UiSelector focusable(boolean);
Dcurrent.txt183 method public com.android.uiautomator.core.UiSelector focusable(boolean);
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd66 <p>For section-related screens, offering touchable and keyboard-focusable targets in the parent is …

12