/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 | ListTouchBottomGravityTest.java | 58 View firstChild = mListView.getChildAt(0); in testPullDown() local 60 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
|
D | ListOfTouchablesTest.java | 57 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/ |
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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSectionsManager.kt | 204 newFirstChildren.forEach { firstChild -> in <lambda>() method 205 val wasFirstChild = oldFirstChildren.remove(firstChild) in <lambda>() 207 val notAnimatedChild = !notificationRoundnessManager.isAnimatedChild(firstChild) in <lambda>() 208 val animated = firstChild.isShown && notAnimatedChild in <lambda>() 209 firstChild.requestTopRoundness(1f, SECTION, animated) in <lambda>()
|
D | NotificationChildrenContainer.java | 572 boolean firstChild = true; 582 if (!firstChild) { 600 firstChild = false; 623 boolean firstChild = true; 639 if (!firstChild) { 655 firstChild = false; 1283 boolean firstChild = true; 1289 if (!firstChild) { 1292 firstChild = false;
|
D | NotificationStackScrollLayout.java | 688 ExpandableView firstChild = getFirstChildWithBackground(); in getWakeUpHeight() local 689 if (firstChild != null) { in getWakeUpHeight() 691 return firstChild.getHeadsUpHeightWithoutHeader(); in getWakeUpHeight() 693 return firstChild.getCollapsedHeight(); in getWakeUpHeight() 3088 ExpandableView firstChild = getFirstChildWithBackground(); in updateFirstAndLastBackgroundViews() local 3094 mAnimateNextBackgroundTop = firstChild != previousFirstChild; in updateFirstAndLastBackgroundViews()
|
/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 | 8044 final View firstChild = getChildAt(0); in run() local 8045 final int firstChildHeight = firstChild.getHeight(); in run() 8049 : (float) (firstChildHeight + firstChild.getTop()) / firstChildHeight; in run()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimatorTest.kt | 587 val firstChild = View(context) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() constant 588 firstChild.alpha = 0f in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 591 rootView.addView(firstChild) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 604 assertEquals(0.5f, firstChild.alpha) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 645 val firstChild = View(context) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() constant 646 firstChild.alpha = 0.4f in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 649 rootView.addView(firstChild) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 662 assertEquals(0.4f, firstChild.alpha) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 1296 val firstChild = View(mContext) in cleansUpListenersCorrectly() constant 1297 firstChild.layoutParams = LinearLayout.LayoutParams(50 /* width */, 100 /* height */) in cleansUpListenersCorrectly() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsGridLayout.java | 64 View firstChild = separated.getChildAt(0); in updateSeparatedItemSize() local 65 ViewGroup.LayoutParams childParams = firstChild.getLayoutParams(); in updateSeparatedItemSize()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 234 final View firstChild = list.getChildAt(0); in onPause() local 236 mTopDistance = (firstChild == null) ? 0 : (firstChild.getTop() - list.getPaddingTop()); in onPause()
|
/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()
|
/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);
|