/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSetSelectionBaseTest.java | 67 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/ |
D | ListOfItemsShorterThanScreenTest.java | 49 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()
|
D | ListOfItemsTallerThanScreenTest.java | 56 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()
|
D | ListWithOffScreenNextSelectableTest.java | 77 … 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()
|
D | ListItemsExpandOnSelectionTest.java | 73 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()
|
D | ListItemFocusablesCloseTest.java | 50 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()
|
D | ListOfShortShortTallShortShortTest.java | 66 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()
|
D | ListOfThinItemsTest.java | 47 mListView.getSelectedView().getHeight() < mListView.getVerticalFadingEdgeLength()); in testPreconditions() 75 mListView.getSelectedView().getBottom() <= bottomThreshold); in testScrollToBottom() 118 mListView.getSelectedView().getTop() >= topThreshold); in testScrollToTop()
|
D | ListOfShortTallShortTest.java | 55 mListView.getSelectedView().getTop()); in testGoDownFromShortToTall() 71 mListView.getChildAt(1), mListView.getSelectedView()); in testGoUpFromShortToTall()
|
D | ListWithScreenOfNoSelectablesTest.java | 67 assertNull("selected view", mListView.getSelectedView()); in testGoFromSelectedViewExistsToNoSelectedViewExists() 92 assertNull("selected view", mListView.getSelectedView()); in testGoFromNoSelectionToSelectionExists()
|
D | ListWithOnItemSelectedActionTest.java | 41 return ((TextView) mListView.getSelectedView()).getText().toString(); in getValueOfSelectedTextView()
|
D | ListLastItemPartiallyVisibleTest.java | 74 final View lastChild = mListView.getSelectedView(); in testMovingUpToFullyVisibleNoScroll()
|
D | ListInterleaveFocusablesTest.java | 102 final View view = mListView.getSelectedView(); in assertSelectedViewFocus()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ScrollingThroughListOfFocusablesTest.java | 83 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()
|
D | ListOfButtonsTest.java | 113 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()
|
D | ListOfInternalSelectionViews.java | 84 public InternalSelectionView getSelectedView() { in getSelectedView() method in ListOfInternalSelectionViews 85 return (InternalSelectionView) getListView().getSelectedView(); in getSelectedView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithOnItemSelectedAction.java | 41 ((TextView) getListView().getSelectedView()).getText().toString()); in positionSelected()
|
D | ListItemRequestRectAboveThinFirstItemTest.java | 86 final View secondToLast = mListView.getSelectedView(); in testSecondToLastItemRequestRectBelowBottom()
|
/frameworks/base/core/java/android/widget/ |
D | AdapterView.java | 596 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()
|
D | MenuPopupWindow.java | 127 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView(); in onKeyDown()
|
D | ListPopupWindow.java | 894 public @Nullable View getSelectedView() { 898 return mDropDownList.getSelectedView();
|
D | AbsSpinner.java | 316 public View getSelectedView() { in getSelectedView() method in AbsSpinner
|
D | DatePickerCalendarDelegate.java | 344 final View selected = mYearPickerView.getSelectedView(); in setCurrentView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListGetSelectedViewTest.java | 62 assertNull(mListView.getSelectedView()); in testGetSelectedView()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFragment.java | 452 View selectedView = mList.getSelectedView();
|