Home
last modified time | relevance | path

Searched refs:getFirstVisiblePosition (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java52 assertEquals(0, mListView.getFirstVisiblePosition()); in testPreconditions()
69 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrolling()
88 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrollingToTouchMode()
99 int firstVisiblePosition = mListView.getFirstVisiblePosition(); in arrowScroll()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java262 long currScroll = view.getFirstVisiblePosition() * child.getHeight() - child.getBottom(); in onScroll()
322 int firstPosition = getFirstVisiblePosition(); in run()
345 final int firstPosition = getFirstVisiblePosition(); in getMostVisiblePosition()
474 int firstVisiblePosition = getFirstVisiblePosition(); in performAccessibilityAction()
DDatePickerDialog.java192 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
/frameworks/base/core/java/android/widget/
DDropDownListView.java136 final View hoveredItem = getChildAt(position - getFirstVisiblePosition()); in onHoverEvent()
200 final View child = getChildAt(position - getFirstVisiblePosition()); in onForwardedEvent()
DAdapterView.java670 public int getFirstVisiblePosition() { in getFirstVisiblePosition() method in AdapterView
1027 event.setFromIndex(getFirstVisiblePosition()); in onInitializeAccessibilityEventInternal()
1037 && (getFirstVisiblePosition() > 0 || getLastVisiblePosition() < itemCount - 1); in isScrollableForAccessibility()
DCalendarViewLegacyDelegate.java802 int firstFullyVisiblePosition = mListView.getFirstVisiblePosition(); in goTo()
869 view.getFirstVisiblePosition() * child.getHeight() - child.getBottom(); in onScroll()
1497 int firstFullyVisiblePosition = mListView.getFirstVisiblePosition(); in drawWeekSeparators()
DDatePickerCalendarDelegate.java539 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
DListPopupWindow.java843 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
DAbsListView.java1530 final int firstVisiblePosition = getFirstVisiblePosition(); in sendAccessibilityEventUnchecked()
5060 index = getFirstVisiblePosition();
5066 View child = getChildAt(index - getFirstVisiblePosition());
7304 final int firstVisiblePosition = getFirstVisiblePosition(); in getHeightForPosition()
DFastScroller.java533 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithFirstScreenUnSelectableTest.java60 assertEquals(0, mListView.getFirstVisiblePosition()); in testScrollUpDoesNothing()
DListWithScreenOfNoSelectablesTest.java96 assertEquals("first visible position", 0, mListView.getFirstVisiblePosition()); in testGoFromNoSelectionToSelectionExists()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java67 int topPosition = adapterView.getFirstVisiblePosition(); in onItemClick()
/frameworks/base/core/java/com/android/internal/app/
DLocalePickerWithRegion.java201 mFirstVisiblePosition = list.getFirstVisiblePosition(); in onPause()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java292 if (mListView.getFirstVisiblePosition() == 0) { in onScrollChanged()
DAutoScrollHelper.java900 final int firstPosition = target.getFirstVisiblePosition(); in canTargetScrollVertically()
DResolverDrawerLayout.java330 && (mNestedScrollingChild.getFirstVisiblePosition() > 0 in isNestedChildScrolled()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java520 final int ownerViewPosition = ownerPosition - listView.getFirstVisiblePosition(); in findParentViewForSubmenu()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt36814 method public int getFirstVisiblePosition();
/frameworks/base/api/
Dcurrent.txt54993 method public int getFirstVisiblePosition();