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.java62 View firstChild = mGridView.getChildAt(0); in testNoScroll() local
67 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
80 View firstChild = mGridView.getChildAt(0); in testShortScroll() local
81 if (firstChild.getTop() < this.mGridView.getListPaddingTop()) { in testShortScroll()
82 firstChild = mGridView.getChildAt(1); in testShortScroll()
89 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
102 View firstChild = mGridView.getChildAt(0); in testLongScroll() local
103 if (firstChild.getTop() < mGridView.getListPaddingTop()) { in testLongScroll()
104 firstChild = mGridView.getChildAt(1); in testLongScroll()
107 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()
DListTouchBottomGravityTest.java58 View firstChild = mListView.getChildAt(0); in testPullDown() local
60 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
DListOfTouchablesTest.java57 View firstChild = mListView.getChildAt(0); in testShortScroll() local
60 int firstTop = firstChild.getTop(); in testShortScroll()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.java195 ActivatableNotificationView firstChild, in updateFirstAndLastViewsInSections() argument
205 highPrioritySection.setFirstVisibleChild(firstChild); in updateFirstAndLastViewsInSections()
210 highPrioritySection.setFirstVisibleChild(firstChild); in updateFirstAndLastViewsInSections()
217 lowPrioritySection.setFirstVisibleChild(firstChild); in updateFirstAndLastViewsInSections()
223 highPrioritySection.setFirstVisibleChild(firstChild); in updateFirstAndLastViewsInSections()
DNotificationChildrenContainer.java472 boolean firstChild = true;
482 if (!firstChild) {
500 firstChild = false;
523 boolean firstChild = true;
539 if (!firstChild) {
555 firstChild = false;
1099 boolean firstChild = true;
1105 if (!firstChild) {
1108 firstChild = false;
DNotificationStackScrollLayout.java643 ActivatableNotificationView firstChild = getFirstChildWithBackground(); in getWakeUpHeight() local
644 if (firstChild != null) { in getWakeUpHeight()
646 return firstChild.getHeadsUpHeightWithoutHeader(); in getWakeUpHeight()
648 return firstChild.getCollapsedHeight(); in getWakeUpHeight()
1529 final ExpandableView firstChild = getFirstChildNotGone();
1530 return firstChild != null ? firstChild.getMinHeight() : mCollapsedSize;
1856 ExpandableView firstChild = getFirstChildNotGone();
1857 float top = firstChild.getTranslationY();
1865 mScrollAnchorView = firstChild;
2779 ExpandableView firstChild = getFirstChildNotGone();
[all …]
/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.java648 final View firstChild = getChildAt(0); in correctTooHigh() local
649 final int firstTop = firstChild.getTop(); in correctTooHigh()
665 firstChild.getTop() - verticalSpacing); in correctTooHigh()
676 final View firstChild = getChildAt(0); in correctTooLow() local
679 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.java7815 final View firstChild = getChildAt(0); in run() local
7816 final int firstChildHeight = firstChild.getHeight(); in run()
7820 : (float) (firstChildHeight + firstChild.getTop()) / firstChildHeight; in run()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java479 Package firstChild = parent.childPackages.get(0); in testMultiPackageComponents() local
480 assertEquals(firstChildName, firstChild.packageName); in testMultiPackageComponents()
482 "com.android.frameworks.coretests.FirstChildTest%s", firstChild); in testMultiPackageComponents()
483 assertEquals(0, firstChild.permissions.size()); // Child APKs cannot declare permissions. in testMultiPackageComponents()
485 firstChild.requestedPermissions); in testMultiPackageComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsGridLayout.java64 View firstChild = separated.getChildAt(0); in updateSeparatedItemSize() local
65 ViewGroup.LayoutParams childParams = firstChild.getLayoutParams(); in updateSeparatedItemSize()
/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/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()
/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);