Searched defs:focus (Results 1 - 25 of 31) 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;
38 // bottom right button starts with the focus.
41 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;
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 DLinearLayoutGrid.java17 package android.widget.focus;
H A DListOfButtons.java17 package android.widget.focus;
H A DListOfButtonsTest.java17 package android.widget.focus;
19 import android.widget.focus.ListOfButtons;
31 * Tests that focus works as expected when navigating into and out of
92 assertFalse("button at top should have focus back",
116 // pressing down again shouldn't matter; make sure last item keeps focus
136 assertTrue("button at top should have focus back",
H A DRequestFocusTest.java17 package android.widget.focus;
19 import android.widget.focus.RequestFocus;
31 * have focus become invisible or GONE.
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;
H A DListWithFooterViewAndNewLabels.java17 package android.widget.focus;
H A DScrollingThroughListOfFocusablesTest.java17 package android.widget.focus;
25 import android.widget.focus.ListOfInternalSelectionViews;
H A DHorizontalFocusSearch.java17 package android.widget.focus;
H A DVerticalFocusSearch.java17 package android.widget.focus;
30 * vertical layout to excercise some core focus searching.
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
H A DListWithEditTextHeaderTest.java17 package android.widget.listview.focus;
47 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
54 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
63 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
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;
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",

Completed in 123 milliseconds

12