Home
last modified time | relevance | path

Searched refs:lastChild (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchStackFromBottomTest.java60 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPushUp() local
63 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPushUp()
66 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
77 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPullDown() local
80 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPullDown()
83 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown()
94 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPushUpFast() local
97 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPushUpFast()
100 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testPushUpFast()
111 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPullDownFast() local
[all …]
DGridTouchVerticalSpacingTest.java57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() local
61 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll()
74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() local
78 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
90 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testLongScroll() local
92 int lastTop = lastChild.getTop(); in testLongScroll()
94 int distance = TouchUtils.dragViewToY(this, lastChild, Gravity.TOP | Gravity.LEFT, in testLongScroll()
98 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
123 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testManyScrolls() local
125 lastChild.getId()); in testManyScrolls()
DGridTouchVerticalSpacingStackFromBottomTest.java64 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() local
66 int lastTop = lastChild.getTop(); in testNoScroll()
86 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() local
88 int lastTop = lastChild.getTop(); in testShortScroll()
158 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testManyScrolls() local
160 lastChild.getId()); in testManyScrolls()
DGridTouchStackFromBottomManyTest.java78 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testScrollToBottom() local
81 lastChild.getId()); in testScrollToBottom()
84 mGridView.getHeight() - mGridView.getListPaddingBottom(), lastChild.getBottom()); in testScrollToBottom()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityTest.java62 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPullDown() local
69 lastChild.getId()); in testPullDown()
72 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPullDown()
77 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() local
79 TouchUtils.dragViewToTop(this, lastChild); in testPushUp()
81 lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp()
88 lastChild.getId()); in testPushUp()
91 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
DListTouchManyTest.java84 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() local
87 lastChild.getId()); in testPushUp()
90 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
149 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() local
153 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll()
166 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() local
170 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
182 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testLongScroll() local
184 int lastTop = lastChild.getTop(); in testLongScroll()
186 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll()
[all …]
DListOfTouchablesTest.java58 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() local
62 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
74 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testLongScroll() local
76 int lastTop = lastChild.getTop(); in testLongScroll()
78 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll()
82 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop()); in testLongScroll()
DListTouchBottomGravityManyTest.java89 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() local
92 lastChild.getId()); in testPushUp()
95 mListView.getHeight() - mListView.getListPaddingBottom(), lastChild.getBottom()); in testPushUp()
101 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() local
103 int lastTop = lastChild.getTop(); in testNoScroll()
123 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() local
125 int lastTop = lastChild.getTop(); in testShortScroll()
DListTouchTest.java75 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() local
77 TouchUtils.dragViewToTop(this, lastChild); in testPushUp()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListLastItemPartiallyVisibleTest.java48 final View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPreconditions() local
50 lastChild.getBottom() > mListBottom); in testPreconditions()
74 final View lastChild = mListView.getSelectedView(); in testMovingUpToFullyVisibleNoScroll() local
75 final int lastTop = lastChild.getTop(); in testMovingUpToFullyVisibleNoScroll()
78 lastTop, lastChild.getTop()); in testMovingUpToFullyVisibleNoScroll()
DListOfThinItemsTest.java64 final View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testScrollToBottom() local
65 final int lastVisiblePosition = lastChild.getId(); in testScrollToBottom()
79 lastChild.getBottom() >= listBottom); in testScrollToBottom()
107 final View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testScrollToTop() local
122 lastChild.getBottom() >= listBottom); in testScrollToTop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicChildBindControllerTest.java77 NotificationEntry lastChild = mGroupNotifs.get(summary).get(TEST_CHILD_BIND_CUTOFF); in testContentViewsOfChildrenBeyondCutoffAreFreed() local
80 when(mBindStage.getStageParams(lastChild)).thenReturn(bindParams); in testContentViewsOfChildrenBeyondCutoffAreFreed()
88 verify(mBindStage).requestRebind(eq(lastChild), any()); in testContentViewsOfChildrenBeyondCutoffAreFreed()
95 NotificationEntry lastChild = mGroupNotifs.get(summary).get(TEST_CHILD_BIND_CUTOFF - 1); in testContentViewsBeforeCutoffAreBound() local
97 lastChild.getRow().getPrivateLayout().setContractedChild(null); in testContentViewsBeforeCutoffAreBound()
98 lastChild.getRow().getPrivateLayout().setExpandedChild(null); in testContentViewsBeforeCutoffAreBound()
101 when(mBindStage.getStageParams(lastChild)).thenReturn(bindParams); in testContentViewsBeforeCutoffAreBound()
109 verify(mBindStage).requestRebind(eq(lastChild), any()); in testContentViewsBeforeCutoffAreBound()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java143 View lastChild = mChildren.get(mChildrenCount - 1); in updateState() local
145 lastChild.setTranslationY(translationY); in updateState()
147 lastChild.setElevation((1 - p) * INITIAL_ELEVATION); in updateState()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java308 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in onScrollChanged() local
311 lastChild.getY() + lastChild.getHeight() - mBottomPanel.getTop())); in onScrollChanged()
DRecyclerView.java2015 final View lastChild = mLayout.getChildAt(mLayout.getChildCount() - 1); in fling() local
2023 consumed = getChildAdapterPosition(lastChild) < mAdapter.getItemCount() - 1 in fling()
2024 || lastChild.getBottom() > getHeight() - getPaddingBottom(); in fling()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java368 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in computeShownPages() local
369 ViewHolder lastHolder = mRecyclerView.getChildViewHolder(lastChild); in computeShownPages()
/frameworks/base/core/java/android/widget/
DFastScroller.java1332 final View lastChild = mList.getChildAt(visibleItemCount - 1); in getPosFromItemCount() local
1337 maxSize = lastChild.getHeight(); in getPosFromItemCount()
1338 currentVisibleSize = mList.getHeight() - bottomPadding - lastChild.getTop(); in getPosFromItemCount()
1340 maxSize = lastChild.getHeight() + bottomPadding; in getPosFromItemCount()
1341 currentVisibleSize = mList.getHeight() - lastChild.getTop(); in getPosFromItemCount()
DGridView.java637 final View lastChild = getChildAt(childCount - 1); in correctTooHigh() local
640 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
690 final View lastChild = getChildAt(childCount - 1); in correctTooLow() local
691 final int lastBottom = lastChild.getBottom(); in correctTooLow()
708 lastChild.getBottom() + verticalSpacing); in correctTooLow()
DAbsListView.java2159 final View lastChild = getChildAt(childCount - 1); in onMeasure() local
2160 final int lastBottom = lastChild != null ? lastChild.getBottom() : listBottom; in onMeasure()
5621 final View lastChild = getChildAt(childCount - 1); in handleDataChanged() local
5622 final int lastBottom = lastChild != null ? lastChild.getBottom() : listBottom; in handleDataChanged()
7799 final View lastChild = getChildAt(childCount - 1); in run() local
7800 final int lastChildHeight = lastChild.getHeight(); in run()
7804 : (float) (lastChildHeight + getHeight() - lastChild.getBottom()) in run()
DListView.java1544 final View lastChild = getChildAt(childCount - 1); in correctTooHigh() local
1547 final int lastBottom = lastChild.getBottom(); in correctTooHigh()
1607 View lastChild = getChildAt(childCount - 1); in correctTooLow() local
1608 final int lastBottom = lastChild.getBottom(); in correctTooLow()
1624 fillDown(lastPosition + 1, lastChild.getBottom() + mDividerHeight); in correctTooLow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java453 View lastChild = getChildAt(childCount - 1); in calculateIconTranslations()
454 mLastVisibleIconState = mIconStates.get(lastChild); in calculateIconTranslations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java248 View lastChild = mAmbientState.getLastVisibleBackgroundChild(); in updateAppearance() local
289 boolean isLastChild = child == lastChild; in updateAppearance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3339 ExpandableView lastChild = getLastChildWithBackground();
3345 mAnimateNextBackgroundBottom = lastChild != previousLastChild || mAnimateBottomOnLayout;
3352 mAmbientState.setLastVisibleBackgroundChild(lastChild);
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...