Home
last modified time | relevance | path

Searched refs:hasReachedBottom (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java256 assertThat(mMainClear.hasReachedBottom(mScrollView)).isFalse(); in testHasReachedBottom_NotScrollDown_returnFalse()
263 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_CanNotScroll_returnTrue()
270 assertThat(mMainClear.hasReachedBottom(mScrollView)).isTrue(); in testHasReachedBottom_ScrollToBottom_returnTrue()
455 doReturn(true).when(mMainClear).hasReachedBottom(any()); in testOnGlobalLayout_shouldNotRemoveListener()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java123 mInitiateButton.setEnabled(hasReachedBottom(mScrollView)); in onGlobalLayout()
385 if (v instanceof ScrollView && hasReachedBottom((ScrollView) v)) { in establishInitialState()
434 boolean hasReachedBottom(final ScrollView scrollView) { in hasReachedBottom() method in MainClear