/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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewFocusRecoveryTest.java | 488 void setFocusable(boolean focusable) { argument 489 parent1.setFocusableInTouchMode(focusable); 490 parent2.setFocusableInTouchMode(focusable); 491 textView.setFocusableInTouchMode(focusable); 492 root.setFocusableInTouchMode(focusable); 494 parent1.setFocusable(focusable); 495 parent2.setFocusable(focusable); 496 textView.setFocusable(focusable); 497 root.setFocusable(focusable); 518 void setFocusable(boolean focusable) { argument 544 setFocusable(boolean focusable) argument [all...] |
/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 712 public void setFocusable(boolean focusable) { argument 716 mDesiredFocusableState = focusable; 717 if (!focusable) { 721 super.setFocusable(focusable && (!empty || isInFilterMode())); 725 public void setFocusableInTouchMode(boolean focusable) { argument 729 mDesiredFocusableInTouchModeState = focusable; 730 if (focusable) { 734 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 | 105 * if it is focusable than it needs to work with the input method, else 112 * work with an input method, regardless of whether it is focusable. This 120 * work with an input method, regardless of whether it is focusable. This 240 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 249 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 258 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 267 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p> 313 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p> 323 * <p>Create a new non focusable popup window which can display the 336 * <p>Create a new empty, non focusable popu 377 PopupWindow(View contentView, int width, int height, boolean focusable) argument 678 setFocusable(boolean focusable) argument [all...] |
H A D | SearchView.java | 360 boolean focusable = true; 361 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable); 362 setFocusable(focusable); 482 // Check if SearchView is focusable.
|
H A D | TextView.java | 1446 * Views are not normally focusable unless specified to be. 1448 * focusable by default. 1453 boolean focusable = mMovement != null || getKeyListener() != null; 1454 boolean clickable = focusable || isClickable(); 1455 boolean longClickable = focusable || isLongClickable(); 1463 focusable = a.getBoolean(attr, focusable); 1477 setFocusable(focusable); 1800 * method not to be focusable, or if you want a TextView without a 1801 * key listener or movement method to be focusable, yo [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedAction.java | 121 * editable, or the action is focusable. 513 * @param focusable 516 public B focusable(boolean focusable) { argument 517 setFlags(focusable ? PF_FOCUSABLE : 0, PF_FOCUSABLE); 821 * Returns whether this action is focusable. 822 * @return true if the action is currently focusable, false otherwise. 829 * Sets whether this action is focusable. 830 * @param focusable Whether this action should be focusable 832 setFocusable(boolean focusable) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 29 * The algorithm used for finding the next focusable view in a given direction 65 * @return The next focusable view, or null if none exists. 77 * @return The next focusable view, or null if none exists. 230 View focusable = focusables.get(i); 233 if (focusable == focused || focusable == root) continue; 236 focusable.getFocusedRect(mOtherRect); 237 root.offsetDescendantRectToMyCoords(focusable, mOtherRect); 241 closest = focusable;
|
H A D | View.java | 549 * {@link #isFocusableInTouchMode} is true will be focusable, such as text editing widgets. 1198 * should add all focusable Views regardless if they are focusable in touch mode. 1204 * should add only Views focusable in touch mode. 6099 * to give focus to the first focusable View from the top. Hence, if this 6178 * Returns true if this view is focusable or if it contains a reachable View 6182 * Only {@link #VISIBLE} views are considered focusable. 6184 * @return True if the view is focusable or if the view contains a focusable 8113 * Setting this to false will also ensure that this view is not focusable 8121 setFocusable(boolean focusable) argument [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | FocusStrategy.java | 63 // The position of the next focusable item, which is the first item if 78 // The position of the previous focusable item, which is the last item 170 final T focusable = collectionAdapter.get(focusables, i); 171 if (focusable == focused) { 176 adapter.obtainBounds(focusable, focusableRect); 179 closest = focusable;
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
H A D | GridActivity.java | 414 boolean focusable = true; 416 focusable = mItemFocusables[position]; 418 ((TextView) holder.itemView).setFocusable(focusable); 419 ((TextView) holder.itemView).setFocusableInTouchMode(focusable);
|
H A D | GridWidgetTest.java | 1140 boolean[] focusable = new boolean[numItems]; 1141 for (int i = 0; i < focusable.length; i++) { 1142 focusable[i] = true; 1145 focusable[i] = false; 1147 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); 1182 boolean[] focusable = new boolean[numItems]; 1185 focusable[i] = false; 1187 for (int i = firstFocusableIndex; i < focusable.length; i++) { 1188 focusable[i] = true; 1190 intent.putExtra(GridActivity.EXTRA_ITEMS_FOCUSABLE, focusable); [all...] |
/frameworks/support/compat/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 175 public static void setFocusable(Object info, boolean focusable) { argument 176 ((AccessibilityNodeInfo) info).setFocusable(focusable);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 456 * An EditText that changes appearance based on whether it's focusable and becomes 457 * un-focusable whenever the user navigates away from it or it becomes invisible. 577 void setInnerFocusable(boolean focusable) { argument 578 setFocusableInTouchMode(focusable); 579 setFocusable(focusable); 580 setCursorVisible(focusable); 582 if (focusable) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowManager.java | 276 public void setStatusBarFocusable(boolean focusable) { argument 277 mCurrentState.statusBarFocusable = focusable;
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 763 void setFocusable(Object info, boolean focusable); argument 1125 public void setFocusable(Object info, boolean focusable) { argument 1757 public void setFocusable(Object info, boolean focusable) { argument 1758 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable); 3274 * Gets whether this node is focusable. 3276 * @return True if the node is focusable. 3283 * Sets whether this node is focusable. 3290 * @param focusable True if the node is focusable. 3293 public void setFocusable(boolean focusable) { argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 377 boolean focusable = true; 378 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable); 379 setFocusable(focusable); 520 // Check if SearchView is focusable.
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
H A D | GuidedStepAttributesTest.java | 339 .focusable(false) 360 .focusable(false)
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 389 * Set the search criteria to match widgets that are focusable. 403 public UiSelector focusable(boolean val) { method in class:UiSelector
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepActivity.java | 479 .focusable(false)
|
H A D | GuidedStepSupportActivity.java | 481 .focusable(false)
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepActivity.java | 479 .focusable(false)
|
H A D | GuidedStepSupportActivity.java | 481 .focusable(false)
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 1594 * Gets whether this node is focusable. 1596 * @return True if the node is focusable. 1603 * Sets whether this node is focusable. 1610 * @param focusable True if the node is focusable. 1614 public void setFocusable(boolean focusable) { argument 1615 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSABLE, focusable); 3276 builder.append("; focusable: ").append(isFocusable());
|