HomeSort by relevance Sort by last modified time
    Searched defs:firstTop (Results 1 - 9 of 9) sorted by null

  /frameworks/support/compat/src/main/java/androidx/core/widget/
ListViewCompat.java 84 final int firstTop = listView.getChildAt(0).getTop();
85 return firstPosition > 0 || firstTop < listView.getListPaddingTop();
  /frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
ListOfTouchablesTest.java 61 int firstTop = firstChild.getTop();
68 assertEquals("View scrolled too early", firstTop, newFirstChild.getTop() + 10);
ListTouchBottomGravityManyTest.java 145 int firstTop = firstChild.getTop();
151 assertEquals("View scrolled to wrong position", firstTop
ListTouchManyTest.java 151 int firstTop = firstChild.getTop();
158 assertEquals("View scrolled too early", firstTop, newFirstChild.getTop());
168 int firstTop = firstChild.getTop();
175 assertEquals("View scrolled too early", firstTop, newFirstChild.getTop() + 10);
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
GridTouchVerticalSpacingStackFromBottomTest.java 107 int firstTop = firstChild.getTop();
113 assertEquals("View scrolled to wrong position", firstTop
123 int firstTop = Integer.MIN_VALUE;
128 prevTop = firstTop;
135 firstTop = firstChild.getTop();
136 } while ((prevId != firstId) || (prevTop != firstTop));
143 firstTop = Integer.MIN_VALUE;
146 prevTop = firstTop;
153 firstTop = firstChild.getTop();
154 } while ((prevId != firstId) || (prevTop != firstTop));
    [all...]
GridTouchVerticalSpacingTest.java 59 int firstTop = firstChild.getTop();
66 assertEquals("View scrolled too early", firstTop, newFirstChild.getTop());
76 int firstTop = firstChild.getTop();
83 assertEquals("View scrolled to wrong position", firstTop, newFirstChild.getTop() + 10);
107 int firstTop = Integer.MIN_VALUE;
112 prevTop = firstTop;
119 firstTop = firstChild.getTop();
120 } while ((prevId != firstId) || (prevTop != firstTop));
128 firstTop = Integer.MIN_VALUE;
131 prevTop = firstTop;
    [all...]
  /frameworks/base/test-runner/src/android/test/
ViewAsserts.java 127 int firstTop = xy[1] + first.getBaseline();
132 assertEquals("views are not baseline aligned", firstTop, secondTop);
256 int firstTop = xy[1];
261 assertEquals("views are not top aligned", firstTop, secondTop);
275 int firstTop = xy[1];
280 assertEquals("views are not top aligned", Math.abs(firstTop - secondTop), margin);
  /frameworks/base/core/java/android/widget/
GridView.java 635 final int firstTop = firstChild.getTop();
639 if (bottomOffset > 0 && (mFirstPosition > 0 || firstTop < mListPadding.top)) {
642 bottomOffset = Math.min(bottomOffset, mListPadding.top - firstTop);
665 final int firstTop = firstChild.getTop();
675 int topOffset = firstTop - start;
    [all...]
ListView.java     [all...]

Completed in 254 milliseconds