/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();
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
ILayoutResult.java | 89 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 | 59 view.getTop()); 70 view.getTop()); 80 assertEquals(view.getBottom(), peekingView.getTop()); 92 final int topOfPeekingNext = mListView.getChildAt(1).getTop(); 105 assertEquals(topOfPeekingNext - (mListView.getMaxScrollAmount()), next.getTop()); 121 final int listTop = mListView.getTop() + mListView.getListPaddingTop(); 123 mListView.getSelectedView().getTop() < listTop); 163 assertEquals(listTop, mListView.getSelectedView().getTop()); 173 assertEquals(listTop, mListView.getSelectedView().getTop()); 189 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 | 64 mListView.getSelectedView().getTop() < mListUtil.getListTop()); 106 mListView.getSelectedView().getTop() <= mListUtil.getListTop()); 133 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);
|
/external/skia/include/views/ |
SkBorderView.h | 31 SkScalar getTop() const { return fTop; }
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayoutTest.java | 155 assertEquals(view11.getTop(), view10.getBottom()); 165 assertEquals(view11.getTop(), view10.getBottom()); 177 assertEquals(view11.getTop(), view10.getBottom()); 191 assertEquals(view11.getTop(), view10.getBottom()); 201 int topSpace = view10.getTop(); 205 assertEquals(view11.getTop(), view10.getBottom()); 226 assertEquals(view11.getTop(), view10.getBottom()); 238 assertEquals(view11.getTop(), view10.getBottom()); 250 assertEquals(view11.getTop(), view10.getBottom()); 271 assertEquals(view11.getTop(), view10.getBottom()) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 103 mTempRect.set(0, mTopWide.getTop(), 0, mTopWide.getTop()); 107 mTempRect.set(0, mBottomWide.getTop(), 0, mBottomWide.getTop()); 128 int y = mTopWide.getTop() - bound; 133 assertEquals(mTopWide.getTop(), deltas[1]); 144 y = mMidSkinny1Left.getTop();
|
/frameworks/base/services/java/com/android/server/status/ |
IconMerger.java | 79 moreView.layout(0, moreView.getTop(), 0, moreView.getBottom()); 93 child.layout(0, child.getTop(), 0, child.getBottom()); 106 child.layout(childLeft-shift, child.getTop(),
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemRequestRectAboveThinFirstItemTest.java | 68 mListView.getListPaddingTop(), mListView.getChildAt(0).getTop()); 88 2 * (mListView.getBottom() - secondToLast.getTop()));
|
/frameworks/base/core/java/android/widget/ |
GridView.java | 189 getChildAt(0).getTop() - verticalSpacing : getHeight() - getListPaddingBottom(); 308 nextBottom = mReferenceView.getTop() - mVerticalSpacing; 378 fillUp(rowStart - numColumns, referenceView.getTop() - verticalSpacing); 385 fillUp(rowStart - 1, referenceView.getTop() - verticalSpacing); 396 final int top = getChildAt(0).getTop(); 429 if (y >= getChildAt(i).getTop()) { 480 above = fillUp(motionRowStart - numColumns, referenceView.getTop() - verticalSpacing); 491 above = fillUp(motionRowStart - 1, referenceView.getTop() - verticalSpacing); 525 final int firstTop = firstChild.getTop(); 541 firstChild.getTop() - verticalSpacing) [all...] |