Searched defs:focus (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java17 package android.widget.focus;
29 * focus should go somewhere).
H A DGoneParentFocusedChildTest.java17 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 DFocusChangeWithInterestingRectHintTest.java17 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 DLinearLayoutGridTest.java17 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 DListWithFooterViewAndNewLabelsTest.java17 package android.widget.focus;
19 import android.widget.focus.ListWithFooterViewAndNewLabels;
H A DRequestFocus.java17 package android.widget.focus;
36 // bottom right button starts with the focus.
39 bottomRightButton.setText("I should have focus");
H A DAdjacentVerticalRectLists.java17 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 DDescendantFocusability.java17 package android.widget.focus;
H A DDescendantFocusabilityTest.java17 package android.widget.focus;
19 import android.widget.focus.DescendantFocusability;
H A DFocusAfterRemovalTest.java17 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 DHorizontalFocusSearchTest.java17 package android.widget.focus;
19 import android.widget.focus.HorizontalFocusSearch;
28 import static android.widget.focus.VerticalFocusSearchTest.FocusSearchAlg;
29 import static android.widget.focus.VerticalFocusSearchTest.NewFocusSearchAlg;
32 * Tests that focus searching works on a horizontal linear layout of buttons of
H A DLinearLayoutGrid.java17 package android.widget.focus;
H A DListOfButtons.java17 package android.widget.focus;
H A DListOfButtonsTest.java17 package android.widget.focus;
20 import android.widget.focus.ListOfButtons;
32 * Tests that focus works as expected when navigating into and out of
95 assertFalse("button at top should have focus back",
119 // pressing down again shouldn't matter; make sure last item keeps focus
139 assertTrue("button at top should have focus back",
H A DRequestFocusTest.java17 package android.widget.focus;
38 * have focus become invisible or GONE.
106 * This tests checks the case in which the first focusable View clears focus.
107 * In such a case the framework tries to give the focus to another View starting
108 * from the top. Hence, the framework will try to give focus to the view that
109 * wants to clear its focus.
120 // Make sure that the clearing focus View is the first focusable.
123 assertSame("The clearing focus button is the first focusable.",
125 assertSame("The gaining focus button is the first focusable.",
128 // Focus the clearing focus butto
[all...]
H A DGoneParentFocusedChild.java17 package android.widget.focus;
29 * GONE and one of its children has focus; the activity should get
H A DListOfEditTexts.java17 package android.widget.focus;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/
H A DDismissFocusedTaskViewEvent.java17 package com.android.systemui.recents.events.ui.focus;
H A DFocusNextTaskViewEvent.java17 package com.android.systemui.recents.events.ui.focus;
H A DFocusPreviousTaskViewEvent.java17 package com.android.systemui.recents.events.ui.focus;
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
H A DAdjacentListsWithAdjacentISVsInsideTest.java17 package android.widget.listview.focus;
H A DListButtonsDiagonalAcrossItemsTest.java17 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",
H A DListHorizontalFocusWithinItemWinsTest.java17 package android.widget.listview.focus;
H A DListWithEditTextHeaderTest.java17 package android.widget.listview.focus;
49 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
56 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
66 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeProvider.java164 * specified focus type.
166 * @param focus The focus to find. One of
173 public AccessibilityNodeInfo findFocus(int focus) { argument

Completed in 104 milliseconds

12