Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java51 assertEquals(0, mListView.getFirstVisiblePosition()); in testPreconditions()
68 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrolling()
87 firstVisiblePosition == mListView.getFirstVisiblePosition()); in testKeyScrollingToTouchMode()
98 int firstVisiblePosition = mListView.getFirstVisiblePosition(); in arrowScroll()
/frameworks/support/compat/java/android/support/v4/widget/
DListViewCompat.java41 final int firstPosition = listView.getFirstVisiblePosition(); in scrollListBy()
76 final int firstPosition = listView.getFirstVisiblePosition(); in canScrollList()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDropDownListView.java123 final View child = getChildAt(position - getFirstVisiblePosition()); in onForwardedEvent()
178 final View motionView = getChildAt(mMotionPosition - getFirstVisiblePosition()); in clearPressedItem()
206 final View motionView = getChildAt(mMotionPosition - getFirstVisiblePosition()); in setPressedItem()
DListPopupWindow.java861 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
/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.java189 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java111 int firstVisiblePosition = listView.getFirstVisiblePosition();
134 int firstVisiblePosition = listView.getFirstVisiblePosition();
DMediaRouteControllerDialog.java819 int first = mVolumeGroupList.getFirstVisiblePosition(); in animateGroupListItemsInternal()
928 int first = mVolumeGroupList.getFirstVisiblePosition(); in fadeInAddedRoutes()
949 int first = mVolumeGroupList.getFirstVisiblePosition(); in clearGroupListAnimation()
/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.java658 public int getFirstVisiblePosition() { in getFirstVisiblePosition() method in AdapterView
1014 event.setFromIndex(getFirstVisiblePosition()); in onInitializeAccessibilityEventInternal()
1024 && (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.java546 listPosition = mYearPickerView.getFirstVisiblePosition(); in onSaveInstanceState()
DListPopupWindow.java822 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
DAbsListView.java1495 final int firstVisiblePosition = getFirstVisiblePosition(); in sendAccessibilityEventInternal()
4982 index = getFirstVisiblePosition();
4988 View child = getChildAt(index - getFirstVisiblePosition());
7141 final int firstVisiblePosition = getFirstVisiblePosition(); in getHeightForPosition()
/frameworks/support/core-ui/java/android/support/v4/widget/
DListViewAutoScrollHelper.java55 final int firstPosition = target.getFirstVisiblePosition(); in canTargetScrollVertically()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithFirstScreenUnSelectableTest.java57 assertEquals(0, mListView.getFirstVisiblePosition()); in testScrollUpDoesNothing()
DListWithScreenOfNoSelectablesTest.java95 assertEquals("first visible position", 0, mListView.getFirstVisiblePosition()); in testGoFromNoSelectionToSelectionExists()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DListFragment.java57 final int index = mListView.getFirstVisiblePosition(); in loadList()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java67 int topPosition = adapterView.getFirstVisiblePosition(); in onItemClick()
/frameworks/support/compat/tests/java/android/support/v4/widget/
DListViewCompatTest.java133 assertEquals(0, mListView.getFirstVisiblePosition()); in testCanScroll()
/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()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java519 final int ownerViewPosition = ownerPosition - listView.getFirstVisiblePosition(); in findParentViewForSubmenu()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java562 final int ownerViewPosition = ownerPosition - listView.getFirstVisiblePosition(); in findParentViewForSubmenu()

12