/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingStackFromBottomTest.java | 63 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 …]
|
D | GridTouchVerticalSpacingTest.java | 56 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 …]
|
D | GridTouchStackFromBottomManyTest.java | 55 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/ |
D | ListTouchBottomGravityManyTest.java | 69 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 …]
|
D | ListTouchTest.java | 57 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()
|
D | ListTouchManyTest.java | 66 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()
|
D | ListOfTouchablesTest.java | 57 View firstChild = mListView.getChildAt(0); in testShortScroll() local 60 int firstTop = firstChild.getTop(); in testShortScroll()
|
D | ListTouchBottomGravityTest.java | 58 View firstChild = mListView.getChildAt(0); in testPullDown() local 60 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | MinHeightScrollView.java | 37 View firstChild = getChildAt(0); in onMeasure() local 38 if (firstChild != null) { in onMeasure() 39 firstChild.setMinimumHeight(MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
|
D | GlobalActionsGridLayout.java | 64 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/ |
D | ListLastItemPartiallyVisibleTest.java | 57 final View firstChild = mListView.getChildAt(0); in testMovingDownToFullyVisibleNoScroll() local 58 final int firstBottom = firstChild.getBottom(); in testMovingDownToFullyVisibleNoScroll() 61 firstBottom, firstChild.getBottom()); in testMovingDownToFullyVisibleNoScroll()
|
D | ListOfThinItemsTest.java | 106 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/ |
D | YearPickerView.java | 227 final View firstChild = getChildAt(0); in getFirstPositionOffset() local 228 if (firstChild == null) { in getFirstPositionOffset() 231 return firstChild.getTop(); in getFirstPositionOffset()
|
D | CalendarViewLegacyDelegate.java | 801 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()
|
D | GridView.java | 649 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()
|
D | ListView.java | 1555 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()
|
D | AbsListView.java | 7887 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/ |
D | LocalePickerWithRegion.java | 200 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/ |
D | NotificationChildrenContainer.java | 508 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;
|
D | NotificationStackScrollLayout.java | 657 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/ |
D | WatchListDecorLayout.java | 293 View firstChild = mListView.getChildAt(0); in onScrollChanged() local 295 firstChild.getY() - mTopPanel.getHeight() - mTopPanel.getTop()); in onScrollChanged()
|
D | LinearLayoutManager.java | 393 final int firstChild = getPosition(getChildAt(0)); in findViewByPosition() local 394 final int viewPosition = position - firstChild; in findViewByPosition()
|
D | RecyclerView.java | 2020 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/ |
D | PrintPreviewController.java | 365 View firstChild = layoutManager.getChildAt(0); in computeShownPages() local 366 ViewHolder firstHolder = mRecyclerView.getChildViewHolder(firstChild); in computeShownPages()
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 48 table.insertBefore(the,table.firstChild);
|