Lines Matching refs:firstChild
62 View firstChild = mGridView.getChildAt(0);
67 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0,
80 View firstChild = mGridView.getChildAt(0);
81 if (firstChild.getTop() < this.mGridView.getListPaddingTop()) {
82 firstChild = mGridView.getChildAt(1);
89 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0,
102 View firstChild = mGridView.getChildAt(0);
103 if (firstChild.getTop() < mGridView.getListPaddingTop()) {
104 firstChild = mGridView.getChildAt(1);
107 int firstTop = firstChild.getTop();
109 int distance = TouchUtils.dragViewBy(this, firstChild,
114 + (distance - mViewConfig.getScaledTouchSlop() - 1), firstChild.getTop());
121 View firstChild;
133 firstChild = mGridView.getChildAt(0);
134 firstId = firstChild.getId();
135 firstTop = firstChild.getTop();
139 firstChild = mGridView.getChildAt(0);
140 assertEquals("View scrolled to wrong position", 0, firstChild.getId());
151 firstChild = mGridView.getChildAt(0);
152 firstId = firstChild.getId();
153 firstTop = firstChild.getTop();