Home
last modified time | relevance | path

Searched refs:getSelectedView (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSetSelectionBaseTest.java67 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToTheEnd()
69 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToTheEnd()
83 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToMiddle()
85 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToMiddle()
98 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToTheTop()
100 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToTheTop()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfItemsShorterThanScreenTest.java49 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop()); in testPreconditions()
56 final int secondPosition = mListView.getSelectedView().getBottom(); in testMoveDownToOnScreenNextItem()
84 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop()); in testMoveDownToItemRequiringScrolling()
93 mListView.getSelectedView().getBottom()); in testMoveDownToItemRequiringScrolling()
98 … assertEquals(mListView.getSelectedView(), mListView.getChildAt(mListView.getChildCount() - 2)); in testMoveDownToItemRequiringScrolling()
123 mListView.getSelectedView().getTop()); in testMoveUpToItemRequiringScrolling()
155 mListView.getSelectedView().getBottom()); in testNoVerticalFadingEdgeWhenMovingToBottom()
DListOfItemsTallerThanScreenTest.java56 final View view = mListView.getSelectedView(); in testScrollDownAcrossItem()
113 (mListView.getSelectedView().getHeight() / mListView.getMaxScrollAmount()) + 1; in testScrollFirstItemOffScreen()
125 mListView.getSelectedView().getTop() < listTop); in testScrollFirstItemOffScreen()
156 assertEquals(realBottom, mListView.getSelectedView().getBottom()); in testScrollDownToLastItem()
165 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
175 assertEquals(listTop, mListView.getSelectedView().getTop()); in testScrollUpAcrossFirstItem()
186 View selected = mListView.getSelectedView(); in getNumDownPressesToScrollDownAcrossSelected()
DListWithOffScreenNextSelectableTest.java77 … getActivity().getValueAtPosition(4), ((TextView) mListView.getSelectedView()).getText()); in testGoDownToOffScreenSelectable()
78 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoDownToOffScreenSelectable()
90 assertEquals(listBottom, mListView.getSelectedView().getBottom()); in testGoUpToOffScreenSelectable()
103 …assertEquals(getActivity().getValueAtPosition(0),((TextView) mListView.getSelectedView()).getText(… in testGoUpToOffScreenSelectable()
104 assertEquals(listTop, mListView.getSelectedView().getTop()); in testGoUpToOffScreenSelectable()
DListItemsExpandOnSelectionTest.java73 final int oldBottom = mListView.getSelectedView().getBottom(); in testMoveSelectionUpNotRequiringScroll()
94 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight()); in testMoveSelectionDownRequiringScroll()
97 mListView.getSelectedView().getBottom()); in testMoveSelectionDownRequiringScroll()
117 assertEquals("expanded height", mExpandedHeight, mListView.getSelectedView().getHeight()); in testMoveSelectionUpRequiringScroll()
120 mListView.getSelectedView().getTop()); in testMoveSelectionUpRequiringScroll()
DListItemFocusablesCloseTest.java50 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); in testPreconditions()
68 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); in testChangeFocusWithinItem()
88 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); in testMoveDownToButtonInDifferentSelection()
95 final LinearLayout selectedItem = (LinearLayout) mListView.getSelectedView(); in testMoveDownToButtonInDifferentSelection()
DListOfShortShortTallShortShortTest.java66 mListView.getSelectedView().getTop() < mListUtil.getListTop()); in testFadeTopTwoItemsOut()
68 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeTopTwoItemsOut()
109 mListView.getSelectedView().getTop() <= mListUtil.getListTop()); in testFadeOutBottomTwoItems()
111 mListView.getSelectedView().getBottom() > mListUtil.getListBottom()); in testFadeOutBottomTwoItems()
DListOfThinItemsTest.java47 mListView.getSelectedView().getHeight() < mListView.getVerticalFadingEdgeLength()); in testPreconditions()
75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom()
118 mListView.getSelectedView().getTop() >= topThreshold); in testScrollToTop()
DListOfShortTallShortTest.java55 mListView.getSelectedView().getTop()); in testGoDownFromShortToTall()
71 mListView.getChildAt(1), mListView.getSelectedView()); in testGoUpFromShortToTall()
DListWithScreenOfNoSelectablesTest.java67 assertNull("selected view", mListView.getSelectedView()); in testGoFromSelectedViewExistsToNoSelectedViewExists()
92 assertNull("selected view", mListView.getSelectedView()); in testGoFromNoSelectionToSelectionExists()
DListWithOnItemSelectedActionTest.java41 return ((TextView) mListView.getSelectedView()).getText().toString(); in getValueOfSelectedTextView()
DListLastItemPartiallyVisibleTest.java74 final View lastChild = mListView.getSelectedView(); in testMovingUpToFullyVisibleNoScroll()
DListInterleaveFocusablesTest.java102 final View view = mListView.getSelectedView(); in assertSelectedViewFocus()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DScrollingThroughListOfFocusablesTest.java83 InternalSelectionView view = mActivity.getSelectedView(); in testScrollingDownInFirstItem()
97 mListView.getSelectedView(); in testScrollingDownInFirstItem()
144 InternalSelectionView view = mActivity.getSelectedView(); in testNoFadingEdgeAtBottomOfLastItem()
172 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection()
179 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection()
193 InternalSelectionView view = mActivity.getSelectedView(); in testNavigatingUpThroughInternalSelection()
DListOfButtonsTest.java113 Button button = (Button) mListView.getSelectedView(); in TODO_testNavigateThroughAllButtonsAndBack()
130 Button button = (Button) mListView.getSelectedView(); in TODO_testNavigateThroughAllButtonsAndBack()
154 final Button firstButton = (Button) mListView.getSelectedView(); in testGoInAndOutOfListWithItemsFocusable()
DListOfInternalSelectionViews.java84 public InternalSelectionView getSelectedView() { in getSelectedView() method in ListOfInternalSelectionViews
85 return (InternalSelectionView) getListView().getSelectedView(); in getSelectedView()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithOnItemSelectedAction.java41 ((TextView) getListView().getSelectedView()).getText().toString()); in positionSelected()
DListItemRequestRectAboveThinFirstItemTest.java86 final View secondToLast = mListView.getSelectedView(); in testSecondToLastItemRequestRectBelowBottom()
/frameworks/base/core/java/android/widget/
DAdapterView.java596 public abstract View getSelectedView(); in getSelectedView() method in AdapterView
956 View v = getSelectedView(); in fireOnSelected()
978 View selectedView = getSelectedView(); in dispatchPopulateAccessibilityEventInternal()
1011 View selectedView = getSelectedView(); in onInitializeAccessibilityNodeInfoInternal()
1022 View selectedView = getSelectedView(); in onInitializeAccessibilityEventInternal()
DMenuPopupWindow.java127 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView(); in onKeyDown()
DListPopupWindow.java894 public @Nullable View getSelectedView() {
898 return mDropDownList.getSelectedView();
DAbsSpinner.java316 public View getSelectedView() { in getSelectedView() method in AbsSpinner
DDatePickerCalendarDelegate.java344 final View selected = mYearPickerView.getSelectedView(); in setCurrentView()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListGetSelectedViewTest.java62 assertNull(mListView.getSelectedView()); in testGetSelectedView()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java452 View selectedView = mList.getSelectedView();

12