/frameworks/base/core/tests/coretests/src/android/view/ |
VisibilityTest.java | 76 int oldTop = mVictim.getTop(); 81 int newTop = mVictim.getTop(); 91 int oldTop = mVictim.getTop(); 96 int refDownTop = mRefDown.getTop(); 105 int oldTop = mVictim.getTop(); 110 int refDownTop = mRefDown.getTop(); 116 int newTop = mVictim.getTop(); 125 int oldTop = mVictim.getTop(); 130 int refDownTop = mRefDown.getTop(); 136 int newTop = mVictim.getTop(); [all...] |
/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); 77 int lastTop = lastChild.getTop(); 80 Gravity.TOP | Gravity.LEFT, mListView.getTop()); 83 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop());
|
ListTouchManyTest.java | 71 firstChild.getTop()); 106 if ((child.getTop() >= mListView.getListPaddingTop()) 134 if ((child.getTop() >= mListView.getListPaddingTop()) 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); 184 int lastTop = lastChild.getTop(); 187 Gravity.TOP | Gravity.LEFT, mListView.getTop()); 190 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); [all...] |
ListTouchBottomGravityManyTest.java | 74 firstChild.getTop()); 103 int lastTop = lastChild.getTop(); 110 assertEquals("View scrolled too early", lastTop, newLastChild.getTop()); 119 if (firstChild.getTop() < this.mListView.getListPaddingTop()) { 125 int lastTop = lastChild.getTop(); 132 assertEquals("View scrolled to wrong position", lastTop, newLastChild.getTop() - 10); 141 if (firstChild.getTop() < mListView.getListPaddingTop()) { 145 int firstTop = firstChild.getTop(); 152 + (distance - ViewConfiguration.getTouchSlop() - 1), firstChild.getTop());
|
ListTouchTest.java | 70 firstChild.getTop()); 88 firstChild.getTop());
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
SMILRegionElement.java | 15 * 3) MODIFY public String getTop() to public int getTop(); 48 public int getTop();
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 65 int lastTop = lastChild.getTop(); 72 assertEquals("View scrolled too early", lastTop, newLastChild.getTop()); 81 if (firstChild.getTop() < this.mGridView.getListPaddingTop()) { 87 int lastTop = lastChild.getTop(); 94 assertEquals("View scrolled to wrong position", lastTop, newLastChild.getTop() - 10); 103 if (firstChild.getTop() < mGridView.getListPaddingTop()) { 107 int firstTop = firstChild.getTop(); 114 + (distance - mViewConfig.getScaledTouchSlop() - 1), firstChild.getTop()); 135 firstTop = firstChild.getTop(); 153 firstTop = firstChild.getTop(); [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); 92 int lastTop = lastChild.getTop(); 95 mGridView.getTop()); 98 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); 119 firstTop = firstChild.getTop(); 138 firstTop = firstChild.getTop();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListOfItemsTallerThanScreenTest.java | 58 view.getTop()); 69 view.getTop()); 79 assertEquals(view.getBottom(), peekingView.getTop()); 91 final int topOfPeekingNext = mListView.getChildAt(1).getTop(); 104 assertEquals(topOfPeekingNext - (mListView.getMaxScrollAmount()), next.getTop()); 120 final int listTop = mListView.getTop() + mListView.getListPaddingTop(); 122 mListView.getSelectedView().getTop() < listTop); 162 assertEquals(listTop, mListView.getSelectedView().getTop()); 172 assertEquals(listTop, mListView.getSelectedView().getTop()); 188 selected.getTop() < realBottom) [all...] |
ListItemFocusablesFarApartTest.java | 58 return child.getTop() + listItem.getTop(); 64 return child.getBottom() + listItem.getTop(); 82 int expectedTop = mListView.getChildAt(0).getTop(); 103 expectedTop, mListView.getChildAt(0).getTop());
|
ListItemFocusablesCloseTest.java | 53 first.getTop()); 68 final int topOfFirstItemBefore = first.getTop(); 75 topOfFirstItemBefore, first.getTop()); 82 topOfFirstItemBefore, first.getTop()); 88 final int topOfFirstItemBefore = first.getTop(); 98 topOfFirstItemBefore, first.getTop());
|
ListLastItemPartiallyVisibleTest.java | 74 final int lastTop = lastChild.getTop(); 77 lastTop, lastChild.getTop());
|
ListOfShortTallShortTest.java | 47 int topBeforeMove = mListView.getChildAt(1).getTop(); 54 mListView.getSelectedView().getTop());
|
ListOfItemsShorterThanScreenTest.java | 47 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop()); 57 next.getTop()); 64 next.getTop()); 81 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop()); 119 mListView.getSelectedView().getTop());
|
ListOfShortShortTallShortShortTest.java | 63 mListView.getSelectedView().getTop() < mListUtil.getListTop()); 105 mListView.getSelectedView().getTop() <= mListUtil.getListTop()); 132 mListView.getChildAt(0).getTop() <= mListUtil.getListTop());
|
ListOfThinItemsTest.java | 70 mListView.getChildAt(0).getTop() <= 0); 107 mListView.getSelectedView().getTop() >= topThreshold); 109 firstChild.getTop() <= 0);
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ButtonAboveTallInternalSelectionViewTest.java | 44 getActivity().getIsv().getTop() > 60 getActivity().getIsv().getTop() >
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
BaselineButtonsTest.java | 78 assertEquals("Pause wrong top", 0, mPause.getTop()); 79 assertEquals("Prev wrong top", (pauseHeight - prevHeight) / 2, mPrev.getTop()); 80 assertEquals("Next wrong top", (pauseHeight - nextHeight) / 2, mNext.getTop()); 83 assertTrue("CurrentTime too tall", mCurrentTime.getTop() > 0); 84 assertTrue("TotalTime too tall", mTotalTime.getTop() > 0);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
ExpandingListView.java | 181 final int oldTop = view.getTop(); 190 oldCoordinates.put(v, new int[] {v.getTop(), v.getBottom()}); 214 int newTop = view.getTop(); 223 int currentTop = view.getTop(); 226 int firstChildStartTop = getChildAt(0).getTop(); 234 int height = v.getBottom() - Math.max(0, v.getTop()); 345 canvas.translate(0, v.getTop()); 347 canvas.translate(0, -v.getTop()); 377 final int oldTop = view.getTop(); 386 oldCoordinates.put(v, new int [] {v.getTop(), v.getBottom()}) [all...] |
/external/chromium_org/third_party/skia/include/views/animated/ |
SkBorderView.h | 24 SkScalar getTop() const { return fTop; }
|
/external/skia/include/views/animated/ |
SkBorderView.h | 24 SkScalar getTop() const { return fTop; }
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidgetImageView.java | 43 getScrollY() + getBottom() - getTop() - getPaddingBottom());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewWidgetImageView.java | 43 getScrollY() + getBottom() - getTop() - getPaddingBottom());
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ListViewAutoScrollHelper.java | 48 final int newTop = firstView.getTop() - deltaY; 78 if (firstView.getTop() >= 0) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayoutTest.java | 121 assertEquals(view11.getTop(), view10.getBottom()); 131 assertEquals(view11.getTop(), view10.getBottom()); 143 assertEquals(view11.getTop(), view10.getBottom()); 157 assertEquals(view11.getTop(), view10.getBottom()); 167 int topSpace = view10.getTop(); 171 assertEquals(view11.getTop(), view10.getBottom()); 185 assertEquals(view11.getTop(), view10.getBottom()); 197 assertEquals(view11.getTop(), view10.getBottom()); 209 assertEquals(view11.getTop(), view10.getBottom()); 223 assertEquals(view11.getTop(), view10.getBottom()) [all...] |