/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/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 | 203 newFirstChildren.forEach { firstChild -> in <lambda>() method 204 val wasFirstChild = oldFirstChildren.remove(firstChild) in <lambda>() 206 val notAnimatedChild = !notificationRoundnessManager.isAnimatedChild(firstChild) in <lambda>() 207 val animated = firstChild.isShown && notAnimatedChild in <lambda>() 208 firstChild.requestTopRoundness(1f, SECTION, animated) in <lambda>()
|
D | NotificationChildrenContainer.java | 702 boolean firstChild = true; 712 if (!firstChild) { 730 firstChild = false; 753 boolean firstChild = true; 769 if (!firstChild) { 785 firstChild = false; 1426 boolean firstChild = true; 1432 if (!firstChild) { 1435 firstChild = false;
|
D | NotificationStackScrollLayout.java | 705 ExpandableView firstChild = getFirstChildWithBackground(); in getWakeUpHeight() local 706 if (firstChild != null) { in getWakeUpHeight() 708 return firstChild.getHeadsUpHeightWithoutHeader(); in getWakeUpHeight() 710 return firstChild.getCollapsedHeight(); in getWakeUpHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeNonHintingView.java | 67 View firstChild = getChildAt(0); in onLayout() local 68 boolean isVisible = firstChild.getLocalVisibleRect(mFirstChildVisibleRect); in onLayout() 70 < firstChild.getWidth() && firstChild.getScaleX() in onLayout()
|
/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 | 1553 View firstChild = getChildAt(0); in correctTooHigh() local 1554 final int firstTop = firstChild.getTop(); in correctTooHigh() 1568 fillUp(mFirstPosition - 1, firstChild.getTop() - mDividerHeight); in correctTooHigh() 1591 final View firstChild = getChildAt(0); in correctTooLow() local 1594 final int firstTop = firstChild.getTop(); in correctTooLow()
|
/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/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimatorTest.kt | 656 val firstChild = View(context) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() constant 657 firstChild.alpha = 0f in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 660 rootView.addView(firstChild) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 673 assertEquals(0.5f, firstChild.alpha) in animatesAppearingViewsFadeIn_childViewAlphasAlsoAnimated() 714 val firstChild = View(context) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() constant 715 firstChild.alpha = 0.4f in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 718 rootView.addView(firstChild) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 731 assertEquals(0.4f, firstChild.alpha) in animatesAppearingViews_fadeInFalse_alphasNotUpdated() 1365 val firstChild = View(mContext) in cleansUpListenersCorrectly() constant 1366 firstChild.layoutParams = LinearLayout.LayoutParams(50 /* width */, 100 /* height */) in cleansUpListenersCorrectly() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 258 final View firstChild = list.getChildAt(0); in onPause() local 260 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);
|