Lines Matching defs:FOCUSABLE
534 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets.
746 private static final int FOCUSABLE = 0x00000001;
1080 * should add all focusable Views regardless if they are focusable in touch mode.
1086 * should add only Views focusable in touch mode.
3835 viewFlagValues |= FOCUSABLE;
3841 viewFlagValues |= FOCUSABLE_IN_TOUCH_MODE | FOCUSABLE;
4261 out.append((mViewFlags&FOCUSABLE_MASK) == FOCUSABLE ? 'F' : '.');
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
6741 * @param focusable If true, this view can receive the focus.
6746 public void setFocusable(boolean focusable) {
6747 if (!focusable) {
6750 setFlags(focusable ? FOCUSABLE : NOT_FOCUSABLE, FOCUSABLE_MASK);
6756 * Setting this to true will also ensure that this view is focusable.
6765 // Focusable in touch mode should always be set before the focusable flag
6766 // otherwise, setting the focusable flag will trigger a focusableViewAvailable()
6768 // because the focusable in touch mode flag is not set
6771 setFlags(FOCUSABLE, FOCUSABLE_MASK);
7268 return FOCUSABLE == (mViewFlags & FOCUSABLE_MASK);
7272 * When a view is focusable, it may not want to take focus when in touch mode.
7276 * @return Whether the view is focusable in touch mode.
7290 * @return The nearest focusable in the specified direction, or null if none
7368 * Find and return all focusable views that are descendants of this view,
7369 * possibly including this view if it is focusable itself.
7372 * @return A list of focusable views
7381 * Add any focusable views that are descendants of this view (possibly
7382 * including this view if it is focusable itself) to views. If we are in touch mode,
7383 * only add views that are also focusable in touch mode.
7385 * @param views Focusable views found so far
7393 * Adds any focusable views that are descendants of this view (possibly
7394 * including this view if it is focusable itself) to views. This method
7395 * adds all focusable views regardless if we are in touch mode or
7396 * only views focusable in touch mode if we are in touch mode or
7398 * depending on the focusable mode paramater.
7400 * @param views Focusable views found so far or null if all we are interested is
7590 * A view will not actually take focus if it is not focusable ({@link #isFocusable} returns
7591 * false), or if it is focusable and it is not focusable in touch mode
7610 * A view will not actually take focus if it is not focusable ({@link #isFocusable} returns
7611 * false), or if it is focusable and it is not focusable in touch mode
7634 * A view will not actually take focus if it is not focusable ({@link #isFocusable} returns
7635 * false), or if it is focusable and it is not focusable in touch mode
7661 // need to be focusable
7662 if ((mViewFlags & FOCUSABLE_MASK) != FOCUSABLE ||
7667 // need to be focusable in touch mode if in touch mode
7970 * as children and parent. For example, the view became focusable. The
9678 /* Check if the FOCUSABLE bit has changed */
9681 if (((old & FOCUSABLE_MASK) == FOCUSABLE)
9683 /* Give up focus if we are no longer focusable */
9710 // isn't focusable, it may contain something that is, so let
15522 if ((flags & FOCUSABLE_MASK) == FOCUSABLE) {
20517 * Temporary list for use in collecting focusable descendents of a view.