/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | GoneParentFocusedChildTest.java | 17 package android.widget.focus; 23 import android.widget.focus.GoneParentFocusedChild; 27 * have focus. (part of investigation into issue 945150). 42 assertTrue("button should have focus",
|
H A D | ListWithFooterViewAndNewLabelsTest.java | 17 package android.widget.focus; 19 import android.widget.focus.ListWithFooterViewAndNewLabels;
|
H A D | HorizontalFocusSearchTest.java | 17 package android.widget.focus; 19 import android.widget.focus.HorizontalFocusSearch; 27 import static android.widget.focus.VerticalFocusSearchTest.FocusSearchAlg; 28 import static android.widget.focus.VerticalFocusSearchTest.NewFocusSearchAlg; 31 * Tests that focus searching works on a horizontal linear layout of buttons of
|
H A D | RequestFocus.java | 17 package android.widget.focus; 36 // bottom right button starts with the focus. 39 bottomRightButton.setText("I should have focus");
|
H A D | LinearLayoutGridTest.java | 17 package android.widget.focus; 24 import android.widget.focus.LinearLayoutGrid; 27 * Tests focus searching between buttons within a grid that are touching, for example,
|
H A D | DescendantFocusability.java | 17 package android.widget.focus;
|
H A D | LinearLayoutGrid.java | 17 package android.widget.focus;
|
H A D | FocusChangeWithInterestingRectHintTest.java | 17 package android.widget.focus; 19 import android.widget.focus.AdjacentVerticalRectLists; 32 * rectangle of the previously focused view. The view taking focus can use this 36 * that report interesting rects when giving up focus, and use interesting rects 37 * when taking focus to best select the internal row to show as selected.
|
H A D | FocusAfterRemovalTest.java | 17 package android.widget.focus; 19 import android.widget.focus.FocusAfterRemoval; 31 * have focus become invisible or GONE. 70 // if a parent layout becomes GONE when one of its children has focus, 71 // make sure the focus moves to something visible (bug 827087) 79 assertTrue("focus should jump to visible button", 96 assertTrue("focus should jump to visible button", 111 assertTrue("focus should jump to visible button", 127 assertTrue("focus should jump to visible button",
|
H A D | VerticalFocusSearchTest.java | 17 package android.widget.focus; 19 import android.widget.focus.VerticalFocusSearch; 30 * Tests that focus searching works on a vertical linear layout of buttons of 104 assertNull("going left should have no next focus", 125 assertNull("going right should have no next focus", 139 assertNull("going down from bottom button should have no next focus.", 142 assertNull("going left from bottom button should have no next focus.", 145 assertNull("going right from bottom button should have no next focus.",
|
H A D | AdjacentVerticalRectLists.java | 17 package android.widget.focus; 31 * rectangle of the previously focused view. The view taking focus can use this 35 * that report interesting rects when giving up focus, and use interesting rects 36 * when taking focus to best select the internal row to show as selected.
|
H A D | FocusAfterRemoval.java | 17 package android.widget.focus; 29 * focus should go somewhere).
|
H A D | GoneParentFocusedChild.java | 17 package android.widget.focus; 29 * GONE and one of its children has focus; the activity should get
|
H A D | ListOfButtons.java | 17 package android.widget.focus;
|
H A D | DescendantFocusabilityTest.java | 17 package android.widget.focus; 19 import android.widget.focus.DescendantFocusability;
|
H A D | ListOfButtonsTest.java | 17 package android.widget.focus; 19 import android.widget.focus.ListOfButtons; 31 * Tests that focus works as expected when navigating into and out of 93 assertFalse("button at top should have focus back", 117 // pressing down again shouldn't matter; make sure last item keeps focus 137 assertTrue("button at top should have focus back",
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeProvider.java | 138 * specified focus type. 140 * @param focus The focus to find. One of 147 public AccessibilityNodeInfo findFocus(int focus) { argument
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeProviderCompatKitKat.java | 34 public Object findFocus(int focus); argument 60 public AccessibilityNodeInfo findFocus(int focus) { 61 return (AccessibilityNodeInfo) bridge.findFocus(focus);
|
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatJellyBean.java | 60 public static Object findFocus(Object info, int focus) { argument 61 return ((AccessibilityNodeInfo) info).findFocus(focus);
|
/frameworks/base/media/java/android/media/ |
H A D | FocusRequester.java | 27 * Class to handle all the information about a user of audio focus. The lifecycle of each 28 * instance is managed by android.media.MediaFocusControl, from its addition to the audio focus 44 * the audio focus gain request that caused the addition of this object in the focus stack. 48 * the audio focus loss received my mFocusDispatcher, is AudioManager.AUDIOFOCUS_NONE if 49 * it never lost focus. 53 * the stream type associated with the focus request 106 private static String focusChangeToString(int focus) { argument 107 switch(focus) { 125 return "[invalid focus chang [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeProviderCompat.java | 122 public Object findFocus(int focus) { 123 final AccessibilityNodeInfoCompat compatInfo = compat.findFocus(focus); 236 * specified focus type. 238 * @param focus The focus to find. One of 245 public AccessibilityNodeInfoCompat findFocus(int focus) { argument
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
H A D | ListHorizontalFocusWithinItemWinsTest.java | 17 package android.widget.listview.focus; 54 assertEquals("global focus search to right from top left is bottom middle", 57 assertEquals("global focus search to left from top right is bottom middle",
|
H A D | AdjacentListsWithAdjacentISVsInsideTest.java | 17 package android.widget.listview.focus;
|
H A D | ListButtonsDiagonalAcrossItemsTest.java | 17 package android.widget.listview.focus; 30 * Test that ListView will override default behavior of focus searching to 71 assertEquals("focus search right from left button should be center button", 74 assertEquals("focus search right from center button should be right button", 77 assertEquals("focus search left from centr button should be left button",
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 38 // Current window with input focus for keys and other non-touch events. May be null. 239 // currently has touch focus. 372 InputWindowHandle focus, KeyEvent event, int policyFlags) { 373 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; 381 InputWindowHandle focus, KeyEvent event, int policyFlags) { 382 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; 394 /* Called when the current input focus changes. 399 Slog.d(WindowManagerService.TAG, "Input focus ha 371 interceptKeyBeforeDispatching( InputWindowHandle focus, KeyEvent event, int policyFlags) argument 380 dispatchUnhandledKey( InputWindowHandle focus, KeyEvent event, int policyFlags) argument [all...] |