HomeSort by relevance Sort by last modified time
    Searched refs:focusable (Results 1 - 25 of 102) 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 126 aura::Window* focusable = rules_->GetFocusableWindow(window); local
128 focusable ? rules_->GetActivatableWindow(focusable) : NULL;
130 // We need valid focusable/activatable windows in the event we're not clearing
133 if (window && (!focusable || !activatable))
135 DCHECK((focusable && activatable) || !window);
147 if (active_window_ && focusable)
148 DCHECK(active_window_->Contains(focusable));
149 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
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...]
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
163 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
172 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
181 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
190 * <p>Create a new, empty, non focusable popup window of dimension (0,0).</p>
250 * <p>Create a new empty, non focusable popup window of dimension (0,0).</p>
260 * <p>Create a new non focusable popup window which can display the
273 * <p>Create a new empty, non focusable popup window. The dimension of th
    [all...]
SearchView.java 338 boolean focusable = true;
339 focusable = a.getBoolean(R.styleable.SearchView_focusable, focusable);
340 setFocusable(focusable);
460 // 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 192 public void setStatusBarFocusable(boolean focusable) {
193 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 69 // If it has a focusable child, we definitely can't leave out children.
78 // Focusable nodes with text can drop their children.
144 bool focusable = HasState(ui::AX_STATE_FOCUSABLE); local
147 focusable = false;
149 return focusable;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
BrowserAccessibilityManager.java 331 // Since we don't want the parent to be focusable, but we can't remove
467 boolean enabled, boolean focusable, boolean focused, boolean password,
473 node.setFocusable(focusable);
483 if (focusable) {
  /frameworks/support/v4/java/android/support/v4/view/accessibility/
AccessibilityNodeInfoCompat.java 211 public void setFocusable(Object info, boolean focusable);
482 public void setFocusable(Object info, boolean focusable) {
858 public void setFocusable(Object info, boolean focusable) {
859 AccessibilityNodeInfoCompatIcs.setFocusable(info, focusable);
    [all...]
  /external/chromium_org/ui/views/
view.h 789 void SetFocusable(bool focusable);
1166 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 347 boolean focusable = true;
348 focusable = a.getBoolean(R.styleable.SearchView_android_focusable, focusable);
349 setFocusable(focusable);
482 // Check if SearchView is focusable.
    [all...]
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/
ViewMatchersTest.java 352 View focusable = new View(getInstrumentation().getTargetContext()); local
353 focusable.setFocusable(true);
356 assertTrue(isFocusable().matches(focusable));
  /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)

Completed in 1135 milliseconds

1 2 3 4 5