Searched refs:focusable (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithMailMessages.java82 public MailMessage(String subject, String body, boolean focusable) { argument
85 mFocusable = focusable;
109 public void setFocusable(boolean focusable) { argument
110 mFocusable = focusable;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAdapterViewCompat.java211 * Indicates what focusable state is requested when calling setFocusable().
213 * determining the focusable state (such as whether its empty or the text
690 public void setFocusable(boolean focusable) { argument
694 mDesiredFocusableState = focusable;
695 if (!focusable) {
699 super.setFocusable(focusable && (!empty || isInFilterMode()));
703 public void setFocusableInTouchMode(boolean focusable) { argument
707 mDesiredFocusableInTouchModeState = focusable;
708 if (focusable) {
712 super.setFocusableInTouchMode(focusable
[all...]
/frameworks/base/core/java/android/widget/
H A DAdapterView.java207 * Indicates what focusable state is requested when calling setFocusable().
209 * determining the focusable state (such as whether its empty or the text
695 public void setFocusable(boolean focusable) { argument
699 mDesiredFocusableState = focusable;
700 if (!focusable) {
704 super.setFocusable(focusable && (!empty || isInFilterMode()));
708 public void setFocusableInTouchMode(boolean focusable) { argument
712 mDesiredFocusableInTouchModeState = focusable;
713 if (focusable) {
717 super.setFocusableInTouchMode(focusable
[all...]
H A DZoomButtonsController.java44 * - This window is never touchable, and by default is not focusable.
52 * - When it is focusable, it forwards uninteresting events to the owner view's
291 * Sets whether the zoom controls should be focusable. If the controls are
292 * focusable, then trackball and arrow key interactions are possible.
295 * @param focusable Whether the zoom controls should be focusable.
297 public void setFocusable(boolean focusable) { argument
299 if (focusable) {
H A DPopupWindow.java57 * if it is focusable than it needs to work with the input method, else
64 * work with an input method, regardless of whether it is focusable. This
72 * work with an input method, regardless of whether it is focusable. This
165 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
174 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
183 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
192 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
215 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
225 * <p>Create a new non focusable popup window which can display the
238 * <p>Create a new empty, non focusable popu
279 PopupWindow(View contentView, int width, int height, boolean focusable) argument
499 setFocusable(boolean focusable) argument
[all...]
H A DSearchView.java349 boolean focusable = true;
350 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable);
351 setFocusable(focusable);
471 // Check if SearchView is focusable.
H A DTextView.java1324 * Views are not normally focusable unless specified to be.
1326 * focusable by default.
1331 boolean focusable = mMovement != null || getKeyListener() != null;
1332 boolean clickable = focusable || isClickable();
1333 boolean longClickable = focusable || isLongClickable();
1341 focusable = a.getBoolean(attr, focusable);
1355 setFocusable(focusable);
1637 * method not to be focusable, or if you want a TextView without a
1638 * key listener or movement method to be focusable, yo
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinder.java26 * The algorithm used for finding the next focusable view in a given direction
62 * @return The next focusable view, or null if none exists.
74 * @return The next focusable view, or null if none exists.
226 View focusable = focusables.get(i);
229 if (focusable == focused || focusable == root) continue;
232 focusable.getFocusedRect(mOtherRect);
233 root.offsetDescendantRectToMyCoords(focusable, mOtherRect);
237 closest = focusable;
H A DView.java534 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets.
1080 * should add all focusable Views regardless if they are focusable in touch mode.
1086 * should add only Views focusable in touch mode.
5058 * to give focus to the first focusable View from the top. Hence, if this
5137 * Returns true if this view is focusable or if it contains a reachable View
5141 * Only {@link #VISIBLE} views are considered focusable.
5143 * @return True if the view is focusable or if the view contains a focusable
6738 * Setting this to false will also ensure that this view is not focusable
6746 setFocusable(boolean focusable) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowManager.java199 public void setStatusBarFocusable(boolean focusable) { argument
200 mCurrentState.statusBarFocusable = focusable;
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java176 public static void setFocusable(Object info, boolean focusable) { argument
177 ((AccessibilityNodeInfo) info).setFocusable(focusable);
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java225 public void setFocusable(Object info, boolean focusable); argument
521 public void setFocusable(Object info, boolean focusable) { argument
919 public void setFocusable(Object info, boolean focusable) { argument
920 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
2054 * Gets whether this node is focusable.
2056 * @return True if the node is focusable.
2063 * Sets whether this node is focusable.
2070 * @param focusable True if the node is focusable.
2073 public void setFocusable(boolean focusable) { argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java348 boolean focusable = true;
349 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable);
350 setFocusable(focusable);
483 // Check if SearchView is focusable.
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java386 * Set the search criteria to match widgets that are focusable.
400 public UiSelector focusable(boolean val) { method in class:UiSelector
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1513 * Gets whether this node is focusable.
1515 * @return True if the node is focusable.
1522 * Sets whether this node is focusable.
1529 * @param focusable True if the node is focusable.
1533 public void setFocusable(boolean focusable) { argument
1534 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSABLE, focusable);
3069 builder.append("; focusable: ").append(isFocusable());

Completed in 2488 milliseconds