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

1 2 3 4

  /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
128 * Also sets focusable in touch mode to false if {@code focusable} is false, which is the Android behavior.
130 * @param focusable the new status of the {@code View}'s focusability
133 public void setFocusable(boolean focusable) {
134 this.focusable = focusable;
135 if (!focusable) {
146 * Also sets focusable to true if {@code focusableInTouchMode} is true, which is the Android behavior.
165 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/
AdapterViewICS.java 209 * Indicates what focusable state is requested when calling setFocusable().
211 * determining the focusable state (such as whether its empty or the text
688 public void setFocusable(boolean focusable) {
692 mDesiredFocusableState = focusable;
693 if (!focusable) {
697 super.setFocusable(focusable && (!empty || isInFilterMode()));
701 public void setFocusableInTouchMode(boolean focusable) {
705 mDesiredFocusableInTouchModeState = focusable;
706 if (focusable) {
710 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode()))
    [all...]
  /external/chromium_org/ui/views/corewm/
focus_controller.cc 143 aura::Window* focusable = rules_->GetFocusableWindow(window); local
145 focusable ? rules_->GetActivatableWindow(focusable) : NULL;
147 // We need valid focusable/activatable windows in the event we're not clearing
150 if (window && (!focusable || !activatable))
152 DCHECK((focusable && activatable) || !window);
164 if (active_window_ && focusable)
165 DCHECK(active_window_->Contains(focusable));
166 SetFocusedWindow(focusable);
  /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
686 public void setFocusable(boolean focusable) {
690 mDesiredFocusableState = focusable;
691 if (!focusable) {
695 super.setFocusable(focusable && (!empty || isInFilterMode()));
699 public void setFocusableInTouchMode(boolean focusable) {
703 mDesiredFocusableInTouchModeState = focusable;
704 if (focusable) {
708 super.setFocusableInTouchMode(focusable && (!empty || isInFilterMode()))
    [all...]
ZoomButtonsController.java 45 * - 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) {
300 if (focusable) {
PopupWindow.java 55 * 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
151 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
160 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
169 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
178 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
237 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
247 * <p>Create a new non focusable popup window which can display the
260 * <p>Create a new empty, non focusable popup window. The dimension of th
    [all...]
SearchView.java 305 boolean focusable = true;
308 focusable = a.getBoolean(R.styleable.View_focusable, focusable);
310 setFocusable(focusable);
420 // 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/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 70 // If it has a focusable child, we definitely can't leave out children.
79 // Focusable nodes with text can drop their children.
145 bool focusable = HasState(blink::WebAXStateFocusable); local
148 focusable = false;
150 return focusable;
  /frameworks/support/v4/java/android/support/v4/view/accessibility/
AccessibilityNodeInfoCompat.java 70 public void setFocusable(Object info, boolean focusable);
321 public void setFocusable(Object info, boolean focusable) {
608 public void setFocusable(Object info, boolean focusable) {
609 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
BrowserAccessibilityManager.java 282 // Since we don't want the parent to be focusable, but we can't remove
401 boolean enabled, boolean focusable, boolean focused, boolean password,
407 node.setFocusable(focusable);
414 if (focusable) {
  /external/chromium_org/ui/views/examples/
button_example.cc 164 label_button_->SetFocusable(!label_button_->focusable());
  /external/chromium_org/ui/views/
view.h 774 void SetFocusable(bool focusable);
777 bool focusable() const { return focusable_ && enabled_ && visible_; } function in class:views::View
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.
    [all...]
  /prebuilts/sdk/16/
uiautomator.jar 
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SearchView.java 318 boolean focusable = true;
321 focusable = a.getBoolean(R.styleable.View_android_focusable, focusable);
323 setFocusable(focusable);
451 // Check if SearchView is focusable.
    [all...]
  /external/chromium_org/ui/views/controls/
label.cc 214 if (focusable() || has_focus_border_) {
  /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/
treeoutline.js 60 TreeOutline.prototype.setFocusable = function(focusable)
62 if (focusable)
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityNodeInfo.java     [all...]
  /prebuilts/sdk/17/
uiautomator.jar 

Completed in 1766 milliseconds

1 2 3 4