Home
last modified time | relevance | path

Searched refs:firstChild (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java63 View firstChild = mGridView.getChildAt(0); in testNoScroll() local
68 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
81 View firstChild = mGridView.getChildAt(0); in testShortScroll() local
82 if (firstChild.getTop() < this.mGridView.getListPaddingTop()) { in testShortScroll()
83 firstChild = mGridView.getChildAt(1); in testShortScroll()
90 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
103 View firstChild = mGridView.getChildAt(0); in testLongScroll() local
104 if (firstChild.getTop() < mGridView.getListPaddingTop()) { in testLongScroll()
105 firstChild = mGridView.getChildAt(1); in testLongScroll()
108 int firstTop = firstChild.getTop(); in testLongScroll()
[all …]
DGridTouchVerticalSpacingTest.java56 View firstChild = mGridView.getChildAt(0); in testNoScroll() local
59 int firstTop = firstChild.getTop(); in testNoScroll()
73 View firstChild = mGridView.getChildAt(0); in testShortScroll() local
76 int firstTop = firstChild.getTop(); in testShortScroll()
105 View firstChild; in testManyScrolls() local
117 firstChild = mGridView.getChildAt(0); in testManyScrolls()
118 firstId = firstChild.getId(); in testManyScrolls()
119 firstTop = firstChild.getTop(); in testManyScrolls()
136 firstChild = mGridView.getChildAt(0); in testManyScrolls()
137 firstId = firstChild.getId(); in testManyScrolls()
[all …]
DGridTouchStackFromBottomManyTest.java55 View firstChild; in testScrollToTop() local
62 firstChild = mGridView.getChildAt(0); in testScrollToTop()
64 assertEquals("Item zero not the first child in the grid", 0, firstChild.getId()); in testScrollToTop()
67 mGridView.getListPaddingTop(), firstChild.getTop()); in testScrollToTop()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java69 View firstChild = mListView.getChildAt(0); in testPullDown() local
71 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
74 firstChild.getTop()); in testPullDown()
100 View firstChild = mListView.getChildAt(0); in testNoScroll() local
105 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testNoScroll()
118 View firstChild = mListView.getChildAt(0); in testShortScroll() local
119 if (firstChild.getTop() < this.mListView.getListPaddingTop()) { in testShortScroll()
120 firstChild = mListView.getChildAt(1); in testShortScroll()
127 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testShortScroll()
140 View firstChild = mListView.getChildAt(0); in testLongScroll() local
[all …]
DListTouchTest.java57 View firstChild = mListView.getChildAt(0); in testPullDown() local
59 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
65 firstChild = mListView.getChildAt(0); in testPullDown()
67 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
70 firstChild.getTop()); in testPullDown()
83 View firstChild = mListView.getChildAt(0); in testPushUp() local
85 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPushUp()
88 firstChild.getTop()); in testPushUp()
DListTouchManyTest.java66 View firstChild = mListView.getChildAt(0); in testPullDown() local
68 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
71 firstChild.getTop()); in testPullDown()
148 View firstChild = mListView.getChildAt(0); in testNoScroll() local
151 int firstTop = firstChild.getTop(); in testNoScroll()
165 View firstChild = mListView.getChildAt(0); in testShortScroll() local
168 int firstTop = firstChild.getTop(); in testShortScroll()
DListOfTouchablesTest.java57 View firstChild = mListView.getChildAt(0); in testShortScroll() local
60 int firstTop = firstChild.getTop(); in testShortScroll()
DListTouchBottomGravityTest.java58 View firstChild = mListView.getChildAt(0); in testPullDown() local
60 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DMinHeightScrollView.java37 View firstChild = getChildAt(0); in onMeasure() local
38 if (firstChild != null) { in onMeasure()
39 firstChild.setMinimumHeight(MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
DGlobalActionsGridLayout.java64 View firstChild = separated.getChildAt(0); in updateSeparatedItemSize() local
65 ViewGroup.LayoutParams childParams = firstChild.getLayoutParams(); in updateSeparatedItemSize()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListLastItemPartiallyVisibleTest.java57 final View firstChild = mListView.getChildAt(0); in testMovingDownToFullyVisibleNoScroll() local
58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll()
61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
DListOfThinItemsTest.java106 final View firstChild = mListView.getChildAt(0); in testScrollToTop() local
108 final int firstVisiblePosition = firstChild.getId(); in testScrollToTop()
120 firstChild.getTop() <= 0); in testScrollToTop()
/frameworks/base/core/java/android/widget/
DYearPickerView.java227 final View firstChild = getChildAt(0); in getFirstPositionOffset() local
228 if (firstChild == null) { in getFirstPositionOffset()
231 return firstChild.getTop(); in getFirstPositionOffset()
DCalendarViewLegacyDelegate.java801 View firstChild = mListView.getChildAt(0); in goTo() local
802 if (firstChild != null && firstChild.getTop() < 0) { in goTo()
806 if (firstChild != null && firstChild.getTop() > mBottomBuffer) { in goTo()
DGridView.java649 final View firstChild = getChildAt(0); in correctTooHigh() local
650 final int firstTop = firstChild.getTop(); in correctTooHigh()
666 firstChild.getTop() - verticalSpacing); in correctTooHigh()
677 final View firstChild = getChildAt(0); in correctTooLow() local
680 final int firstTop = firstChild.getTop(); in correctTooLow()
DListView.java1555 View firstChild = getChildAt(0); in correctTooHigh() local
1556 final int firstTop = firstChild.getTop(); in correctTooHigh()
1570 fillUp(mFirstPosition - 1, firstChild.getTop() - mDividerHeight); in correctTooHigh()
1593 final View firstChild = getChildAt(0); in correctTooLow() local
1596 final int firstTop = firstChild.getTop(); in correctTooLow()
DAbsListView.java7887 final View firstChild = getChildAt(0); in run() local
7888 final int firstChildHeight = firstChild.getHeight(); in run()
7892 : (float) (firstChildHeight + firstChild.getTop()) / firstChildHeight; in run()
/frameworks/base/core/java/com/android/internal/app/
DLocalePickerWithRegion.java200 final View firstChild = list.getChildAt(0); in onPause() local
202 mTopDistance = (firstChild == null) ? 0 : (firstChild.getTop() - list.getPaddingTop()); in onPause()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java508 boolean firstChild = true;
518 if (!firstChild) {
536 firstChild = false;
559 boolean firstChild = true;
575 if (!firstChild) {
591 firstChild = false;
1131 boolean firstChild = true;
1137 if (!firstChild) {
1140 firstChild = false;
DNotificationStackScrollLayout.java657 ExpandableView firstChild = getFirstChildWithBackground(); in getWakeUpHeight() local
658 if (firstChild != null) { in getWakeUpHeight()
660 return firstChild.getHeadsUpHeightWithoutHeader(); in getWakeUpHeight()
662 return firstChild.getCollapsedHeight(); in getWakeUpHeight()
2871 ExpandableView firstChild = getFirstChildWithBackground(); in updateFirstAndLastBackgroundViews() local
2877 mAnimateNextBackgroundTop = firstChild != previousFirstChild; in updateFirstAndLastBackgroundViews()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java293 View firstChild = mListView.getChildAt(0); in onScrollChanged() local
295 firstChild.getY() - mTopPanel.getHeight() - mTopPanel.getTop()); in onScrollChanged()
DLinearLayoutManager.java393 final int firstChild = getPosition(getChildAt(0)); in findViewByPosition() local
394 final int viewPosition = position - firstChild; in findViewByPosition()
DRecyclerView.java2020 final View firstChild = mLayout.getChildAt(0); in fling() local
2023 consumed = getChildAdapterPosition(firstChild) > 0 in fling()
2024 || firstChild.getTop() < getPaddingTop(); in fling()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java365 View firstChild = layoutManager.getChildAt(0); in computeShownPages() local
366 ViewHolder firstHolder = mRecyclerView.getChildViewHolder(firstChild); in computeShownPages()
/frameworks/base/tools/preload/
Dsorttable.js48 table.insertBefore(the,table.firstChild);