Searched refs:focusable (Results 1 - 11 of 11) 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/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
673 public void setFocusable(boolean focusable) { argument
677 mDesiredFocusableState = focusable;
678 if (!focusable) {
682 super.setFocusable(focusable && (!empty || isInFilterMode()));
686 public void setFocusableInTouchMode(boolean focusable) { argument
690 mDesiredFocusableInTouchModeState = focusable;
691 if (focusable) {
695 super.setFocusableInTouchMode(focusable
[all...]
H A DZoomButtonsController.java45 * - This window is never touchable, and by default is not focusable.
53 * - When it is focusable, it forwards uninteresting events to the owner view's
292 * Sets whether the zoom controls should be focusable. If the controls are
293 * focusable, then trackball and arrow key interactions are possible.
296 * @param focusable Whether the zoom controls should be focusable.
298 public void setFocusable(boolean focusable) { argument
300 if (focusable) {
H A DPopupWindow.java55 * if it is focusable than it needs to work with the input method, else
62 * work with an input method, regardless of whether it is focusable. This
70 * work with an input method, regardless of whether it is focusable. This
146 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
155 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
164 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
173 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
232 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
242 * <p>Create a new non focusable popup window which can display the
255 * <p>Create a new empty, non focusable popu
296 PopupWindow(View contentView, int width, int height, boolean focusable) argument
441 setFocusable(boolean focusable) argument
[all...]
H A DSearchView.java303 boolean focusable = true;
306 focusable = a.getBoolean(R.styleable.View_focusable, focusable);
308 setFocusable(focusable);
398 // Check if SearchView is focusable.
H A DTextView.java1094 * Views are not normally focusable unless specified to be.
1096 * focusable by default.
1102 boolean focusable = mMovement != null || mInput != null;
1103 boolean clickable = focusable;
1104 boolean longClickable = focusable;
1112 focusable = a.getBoolean(attr, focusable);
1126 setFocusable(focusable);
1328 * method not to be focusable, or if you want a TextView without a
1329 * 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
60 * @return The next focusable view, or null if none exists.
107 * @return The next focusable view, or null if none exists.
179 View focusable = focusables.get(i);
182 if (focusable == focused || focusable == root) continue;
185 focusable.getDrawingRect(mOtherRect);
186 root.offsetDescendantRectToMyCoords(focusable, mOtherRect);
190 closest = focusable;
H A DView.java501 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets.
1003 * should add all focusable Views regardless if they are focusable in touch mode.
1009 * should add only Views focusable in touch mode.
3802 * Returns true if this view is focusable or if it contains a reachable View
3806 * Only {@link #VISIBLE} views are considered focusable.
3808 * @return True if the view is focusable or if the view contains a focusable
4658 * Setting this to false will also ensure that this view is not focusable
4661 * @param focusable I
4666 setFocusable(boolean focusable) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java57 public void setFocusable(Object info, boolean focusable); argument
228 public void setFocusable(Object info, boolean focusable) { argument
455 public void setFocusable(Object info, boolean focusable) { argument
456 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
844 * Gets whether this node is focusable.
846 * @return True if the node is focusable.
853 * Sets whether this node is focusable.
860 * @param focusable True if the node is focusable.
863 public void setFocusable(boolean focusable) { argument
[all...]
/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/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java427 * Gets whether this node is focusable.
429 * @return True if the node is focusable.
436 * Sets whether this node is focusable.
443 * @param focusable True if the node is focusable.
447 public void setFocusable(boolean focusable) { argument
448 setBooleanProperty(PROPERTY_FOCUSABLE, focusable);
1108 builder.append("; focusable: ").append(isFocusable());

Completed in 208 milliseconds