/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListWithMailMessages.java | 82 public MailMessage(String subject, String body, boolean focusable) { argument 85 mFocusable = focusable; 109 public void setFocusable(boolean focusable) { argument 110 mFocusable = focusable;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 135 * An EditText that changes appearance based on whether it's focusable and becomes 136 * un-focusable whenever the user navigates away from it or it becomes invisible. 177 void setInnerFocusable(boolean focusable) { argument 178 setFocusableInTouchMode(focusable); 179 setFocusable(focusable); 180 setCursorVisible(focusable); 182 if (focusable) {
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 210 * Indicates what focusable state is requested when calling setFocusable(). 212 * determining the focusable state (such as whether its empty or the text 705 public void setFocusable(boolean focusable) { argument 709 mDesiredFocusableState = focusable; 710 if (!focusable) { 714 super.setFocusable(focusable && (!empty || isInFilterMode())); 718 public void setFocusableInTouchMode(boolean focusable) { argument 722 mDesiredFocusableInTouchModeState = focusable; 723 if (focusable) { 727 super.setFocusableInTouchMode(focusable [all...] |
H A D | ZoomButtonsController.java | 44 * - 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 D | PopupWindow.java | 65 * if it is focusable than it needs to work with the input method, else 72 * work with an input method, regardless of whether it is focusable. This 80 * work with an input method, regardless of whether it is focusable. This 187 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 196 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 205 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 214 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p> 260 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 270 * <p>Create a new non focusable popup window which can display the 283 * <p>Create a new empty, non focusable popu 324 PopupWindow(View contentView, int width, int height, boolean focusable) argument 567 setFocusable(boolean focusable) argument [all...] |
H A D | SearchView.java | 348 boolean focusable = true; 349 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable); 350 setFocusable(focusable); 470 // Check if SearchView is focusable.
|
H A D | TextView.java | 1405 * Views are not normally focusable unless specified to be. 1407 * focusable by default. 1412 boolean focusable = mMovement != null || getKeyListener() != null; 1413 boolean clickable = focusable || isClickable(); 1414 boolean longClickable = focusable || isLongClickable(); 1422 focusable = a.getBoolean(attr, focusable); 1436 setFocusable(focusable); 1746 * method not to be focusable, or if you want a TextView without a 1747 * key listener or movement method to be focusable, yo [all...] |
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
H A D | GridWidgetTest.java | 896 boolean[] focusable = new boolean[numItems]; 897 for (int i = 0; i < focusable.length; i++) { 898 focusable[i] = true; 901 focusable[i] = false; 903 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); 938 boolean[] focusable = new boolean[numItems]; 941 focusable[i] = false; 943 for (int i = firstFocusableIndex; i < focusable.length; i++) { 944 focusable[i] = true; 946 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); [all...] |
H A D | GridActivity.java | 364 boolean focusable = true; 366 focusable = mItemFocusables[position]; 368 ((TextView) holder.itemView).setFocusable(focusable); 369 ((TextView) holder.itemView).setFocusableInTouchMode(focusable);
|
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 26 * 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 D | View.java | 547 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets. 1110 * should add all focusable Views regardless if they are focusable in touch mode. 1116 * should add only Views focusable in touch mode. 5568 * to give focus to the first focusable View from the top. Hence, if this 5647 * Returns true if this view is focusable or if it contains a reachable View 5651 * Only {@link #VISIBLE} views are considered focusable. 5653 * @return True if the view is focusable or if the view contains a focusable 7469 * Setting this to false will also ensure that this view is not focusable 7477 setFocusable(boolean focusable) argument [all...] |
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 176 public static void setFocusable(Object info, boolean focusable) { argument 177 ((AccessibilityNodeInfo) info).setFocusable(focusable);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowManager.java | 229 public void setStatusBarFocusable(boolean focusable) { argument 230 mCurrentState.statusBarFocusable = focusable;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 360 boolean focusable = true; 361 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable); 362 setFocusable(focusable); 495 // Check if SearchView is focusable.
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 527 public void setFocusable(Object info, boolean focusable); argument 868 public void setFocusable(Object info, boolean focusable) { argument 1402 public void setFocusable(Object info, boolean focusable) { argument 1403 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable); 2764 * Gets whether this node is focusable. 2766 * @return True if the node is focusable. 2773 * Sets whether this node is focusable. 2780 * @param focusable True if the node is focusable. 2783 public void setFocusable(boolean focusable) { argument [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 386 * 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 D | AccessibilityNodeInfo.java | 1574 * Gets whether this node is focusable. 1576 * @return True if the node is focusable. 1583 * Sets whether this node is focusable. 1590 * @param focusable True if the node is focusable. 1594 public void setFocusable(boolean focusable) { argument 1595 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSABLE, focusable); 3156 builder.append("; focusable: ").append(isFocusable());
|