HomeSort by relevance Sort by last modified time
    Searched refs:focusable (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPopupWindow.java 22 private boolean focusable; field in class:ShadowPopupWindow
38 public void __constructor__(View contentView, int width, int height, boolean focusable) {
42 this.focusable = focusable;
77 public void setFocusable(boolean focusable) {
78 this.focusable = focusable;
83 return focusable;
ShadowEditText.java 20 focusable = true;
ShadowView.java 67 protected boolean focusable; field in class:ShadowView
130 * Also sets focusable in touch mode to false if {@code focusable} is false, which is the Android behavior.
132 * @param focusable the new status of the {@code View}'s focusability
135 public void setFocusable(boolean focusable) {
136 this.focusable = focusable;
137 if (!focusable) {
148 * Also sets focusable to true if {@code focusableInTouchMode} is true, which is the Android behavior.
167 return focusable;
    [all...]
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
AudioFocusHelper.java 34 public AudioFocusHelper(Context ctx, MusicFocusable focusable) {
36 mFocusable = focusable;
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListWithMailMessages.java 82 public MailMessage(String subject, String body, boolean focusable) {
85 mFocusable = focusable;
109 public void setFocusable(boolean focusable) {
110 mFocusable = focusable;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AdapterViewCompat.java 211 * Indicates what focusable state is requested when calling setFocusable().
213 * determining the focusable state (such as whether its empty or the text
690 public void setFocusable(boolean focusable) {
694 mDesiredFocusableState = focusable;
695 if (!focusable) {
699 super.setFocusable(focusable && (!empty || isInFilterMode()));
703 public void setFocusableInTouchMode(boolean focusable) {
707 mDesiredFocusableInTouchModeState = focusable;
708 if (focusable) {
712 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode()))
    [all...]
  /external/chromium_org/ui/wm/core/
focus_controller.cc 120 aura::Window* focusable = rules_->GetFocusableWindow(window); local
122 focusable ? rules_->GetActivatableWindow(focusable) : NULL;
124 // We need valid focusable/activatable windows in the event we're not clearing
127 if (window && (!focusable || !activatable))
129 DCHECK((focusable && activatable) || !window);
141 if (active_window_ && focusable)
142 DCHECK(active_window_->Contains(focusable));
143 SetFocusedWindow(focusable);
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
focuser.js 17 * focusable.
21 * of the target node to see if they are focusable. If true, sets focus on the
22 * first focusable descendant. If false, only sets focus on the targetNode or
38 // Video elements should always be focusable.
51 // Search up the parent chain until a focusable node is found.
57 // If we found something focusable, focus it - otherwise, blur it.
dom_util.js     [all...]
  /frameworks/base/core/java/android/widget/
AdapterView.java 207 * Indicates what focusable state is requested when calling setFocusable().
209 * determining the focusable state (such as whether its empty or the text
695 public void setFocusable(boolean focusable) {
699 mDesiredFocusableState = focusable;
700 if (!focusable) {
704 super.setFocusable(focusable && (!empty || isInFilterMode()));
708 public void setFocusableInTouchMode(boolean focusable) {
712 mDesiredFocusableInTouchModeState = focusable;
713 if (focusable) {
717 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode()))
    [all...]
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) {
299 if (focusable) {
PopupWindow.java 57 * if it is focusable than it needs to work with the input method, else
64 * work with an input method, regardless of whether it is focusable. This
72 * work with an input method, regardless of whether it is focusable. This
165 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
174 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
183 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
192 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
215 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
225 * <p>Create a new non focusable popup window which can display the
238 * <p>Create a new empty, non focusable popup window. The dimension of th
    [all...]
SearchView.java 349 boolean focusable = true;
350 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable);
351 setFocusable(focusable);
471 // Check if SearchView is focusable.
    [all...]
  /frameworks/base/core/java/android/view/
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); local
229 if (focusable == focused || focusable == root) continue;
232 focusable.getFocusedRect(mOtherRect);
233 root.offsetDescendantRectToMyCoords(focusable, mOtherRect);
237 closest = focusable;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowManager.java 199 public void setStatusBarFocusable(boolean focusable) {
200 mCurrentState.statusBarFocusable = focusable;
  /frameworks/support/v4/ics/android/support/v4/view/accessibility/
AccessibilityNodeInfoCompatIcs.java 176 public static void setFocusable(Object info, boolean focusable) {
177 ((AccessibilityNodeInfo) info).setFocusable(focusable);
  /external/chromium_org/content/browser/accessibility/
browser_accessibility_android.cc 73 // If it has a focusable child, we definitely can't leave out children.
82 // Focusable nodes with text can drop their children.
148 bool focusable = HasState(ui::AX_STATE_FOCUSABLE); local
151 focusable = false;
153 return focusable;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
BrowserAccessibilityManager.java 356 // Since we don't want the parent to be focusable, but we can't remove
490 boolean enabled, boolean focusable, boolean focused, boolean password,
496 node.setFocusable(focusable);
506 if (focusable) {
  /frameworks/support/v4/java/android/support/v4/view/accessibility/
AccessibilityNodeInfoCompat.java 225 public void setFocusable(Object info, boolean focusable);
521 public void setFocusable(Object info, boolean focusable) {
919 public void setFocusable(Object info, boolean focusable) {
920 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
    [all...]
  /external/chromium_org/ui/views/
view.h 774 // the focused view is set to be non-focusable.
777 void SetFocusable(bool focusable);
782 // Return whether this view is focusable when the user requires full keyboard
783 // access, even though it may not be normally focusable.
786 // Set whether this view can be made focusable if the user requires
787 // full keyboard access, even though it's not normally focusable. It will
788 // clear focus if the focused view is set to be non-focusable.
1147 bool focusable() const { return focusable_; } function in class:views::View
    [all...]
  /prebuilts/sdk/16/
uiautomator.jar 
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SearchView.java 348 boolean focusable = true;
349 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable);
350 setFocusable(focusable);
483 // Check if SearchView is focusable.
    [all...]
  /cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
CtsUiAutomatorTest.java 470 * Verifies the 'focusable' property of both UiSelector and UiObject
478 android.widget.CheckBox.class.getName()).focusable(true));
480 android.widget.Spinner.class.getName()).focusable(false));
482 assertTrue("Selector focusable", new UiObject(focusableCheckbox).isFocusable());
483 assertFalse("Selector not focusable", new UiObject(notFocusableSpinner).isFocusable());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
treeoutline.js 61 TreeOutline.prototype.setFocusable = function(focusable)
63 if (focusable)
  /prebuilts/misc/common/power-helper/
PowerTestHelper.jar 

Completed in 1210 milliseconds

1 2 3 4 5