Searched refs:focusable (Results 1 - 12 of 12) 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.java208 * Indicates what focusable state is requested when calling setFocusable().
210 * determining the focusable state (such as whether its empty or the text
685 public void setFocusable(boolean focusable) { argument
689 mDesiredFocusableState = focusable;
690 if (!focusable) {
694 super.setFocusable(focusable && (!empty || isInFilterMode()));
698 public void setFocusableInTouchMode(boolean focusable) { argument
702 mDesiredFocusableInTouchModeState = focusable;
703 if (focusable) {
707 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
148 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
157 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
166 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
175 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
234 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
244 * <p>Create a new non focusable popup window which can display the
257 * <p>Create a new empty, non focusable popu
298 PopupWindow(View contentView, int width, int height, boolean focusable) argument
443 setFocusable(boolean focusable) argument
[all...]
H A DSearchView.java305 boolean focusable = true;
308 focusable = a.getBoolean(R.styleable.View_focusable, focusable);
310 setFocusable(focusable);
420 // Check if SearchView is focusable.
H A DTextView.java1088 * Views are not normally focusable unless specified to be.
1090 * focusable by default.
1096 boolean focusable = mMovement != null || getKeyListener() != null;
1097 boolean clickable = focusable;
1098 boolean longClickable = focusable;
1106 focusable = a.getBoolean(attr, focusable);
1120 setFocusable(focusable);
1354 * method not to be focusable, or if you want a TextView without a
1355 * 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.
225 View focusable = focusables.get(i);
228 if (focusable == focused || focusable == root) continue;
231 focusable.getFocusedRect(mOtherRect);
232 root.offsetDescendantRectToMyCoords(focusable, mOtherRect);
236 closest = focusable;
H A DView.java518 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets.
1007 * should add all focusable Views regardless if they are focusable in touch mode.
1013 * should add only Views focusable in touch mode.
4459 * to give focus to the first focusable View from the top. Hence, if this
4529 * Returns true if this view is focusable or if it contains a reachable View
4533 * Only {@link #VISIBLE} views are considered focusable.
4535 * @return True if the view is focusable or if the view contains a focusable
5755 * Setting this to false will also ensure that this view is not focusable
5763 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/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java67 public void setFocusable(Object info, boolean focusable); argument
314 public void setFocusable(Object info, boolean focusable) { argument
581 public void setFocusable(Object info, boolean focusable) { argument
582 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
1379 * Gets whether this node is focusable.
1381 * @return True if the node is focusable.
1388 * Sets whether this node is focusable.
1395 * @param focusable True if the node is focusable.
1398 public void setFocusable(boolean focusable) { argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java883 * Gets whether this node is focusable.
885 * @return True if the node is focusable.
892 * Sets whether this node is focusable.
899 * @param focusable True if the node is focusable.
903 public void setFocusable(boolean focusable) { argument
904 setBooleanProperty(PROPERTY_FOCUSABLE, focusable);
1857 builder.append("; focusable: ").append(isFocusable());
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiSelector.java342 * Set the search criteria to match widgets that are focusable.
355 public UiSelector focusable(boolean val) { method in class:UiSelector

Completed in 204 milliseconds