Home
last modified time | relevance | path

Searched refs:visibleChildren (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollAlgorithm.java99 int childCount = algorithmState.visibleChildren.size(); in getNotificationChildrenStates()
101 ExpandableView v = algorithmState.visibleChildren.get(i); in getNotificationChildrenStates()
111 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState()
114 View child = algorithmState.visibleChildren.get(i); in updateSpeedBumpState()
134 int childCount = algorithmState.visibleChildren.size(); in updateClipping()
136 ExpandableView child = algorithmState.visibleChildren.get(i); in updateClipping()
186 int childCount = algorithmState.visibleChildren.size(); in updateDimmedActivatedHideSensitive()
188 View child = algorithmState.visibleChildren.get(i); in updateDimmedActivatedHideSensitive()
207 int childIndex = algorithmState.visibleChildren.indexOf(draggedView); in handleDraggedViews()
208 if (childIndex >= 0 && childIndex < algorithmState.visibleChildren.size() - 1) { in handleDraggedViews()
[all …]
DNotificationChildrenContainer.java490 int visibleChildren = 0;
499 if (visibleChildren >= maxAllowedVisibleChildren) {
524 visibleChildren++;
1005 int visibleChildren = 0;
1008 if (visibleChildren >= NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED) {
1016 visibleChildren++;
1018 if (visibleChildren > 0) {
1019 maxContentHeight += visibleChildren * mDividerHeight;
1067 int visibleChildren = 0;
1071 if (visibleChildren >= maxAllowedVisibleChildren) {
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java544 final VisibleChildren visibleChildren = new VisibleChildren(); in traverseAndFindVisibleChildren() local
558 if (position < visibleChildren.firstFullyVisiblePosition || in traverseAndFindVisibleChildren()
559 visibleChildren.firstFullyVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
560 visibleChildren.firstFullyVisiblePosition = position; in traverseAndFindVisibleChildren()
563 if (position > visibleChildren.lastFullyVisiblePosition) { in traverseAndFindVisibleChildren()
564 visibleChildren.lastFullyVisiblePosition = position; in traverseAndFindVisibleChildren()
568 if (position < visibleChildren.firstVisiblePosition || in traverseAndFindVisibleChildren()
569 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
570 visibleChildren.firstVisiblePosition = position; in traverseAndFindVisibleChildren()
573 if (position > visibleChildren.lastVisiblePosition) { in traverseAndFindVisibleChildren()
[all …]
DBaseStaggeredGridLayoutManagerTest.java684 final VisibleChildren visibleChildren = new VisibleChildren(getSpanCount()); in traverseAndFindVisibleChildren() local
699 if (position < visibleChildren.firstFullyVisiblePositions[span] || in traverseAndFindVisibleChildren()
700 visibleChildren.firstFullyVisiblePositions[span] in traverseAndFindVisibleChildren()
702 visibleChildren.firstFullyVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
705 if (position > visibleChildren.lastFullyVisiblePositions[span]) { in traverseAndFindVisibleChildren()
706 visibleChildren.lastFullyVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
710 if (position < visibleChildren.firstVisiblePositions[span] || in traverseAndFindVisibleChildren()
711 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
712 visibleChildren.firstVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
715 if (position > visibleChildren.lastVisiblePositions[span]) { in traverseAndFindVisibleChildren()
[all …]
DLinearLayoutManagerBaseConfigSetTest.java159 VisibleChildren visibleChildren = mLayoutManager.traverseAndFindVisibleChildren(); in getFirstLastChildrenTest()
162 + boundsLog, visibleChildren.firstVisiblePosition, in getFirstLastChildrenTest()
167 + boundsLog, visibleChildren.firstFullyVisiblePosition, in getFirstLastChildrenTest()
172 + boundsLog, visibleChildren.lastVisiblePosition, in getFirstLastChildrenTest()
177 + boundsLog, visibleChildren.lastFullyVisiblePosition, in getFirstLastChildrenTest()
DStaggeredGridLayoutManagerBaseConfigSetTest.java303 VisibleChildren visibleChildren = mLayoutManager.traverseAndFindVisibleChildren(); in getFirstLastChildrenTest()
323 + "traversed:" + visibleChildren + "\n" in getFirstLastChildrenTest()
325 + boundsLog, visibleChildren, queryResult in getFirstLastChildrenTest()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java877 int visibleChildren = 0; in onMeasure() local
883 visibleChildren++; in onMeasure()
891 visibleChildren++; in onMeasure()
895 if (visibleChildren == 0) { in onMeasure()
/frameworks/base/core/java/android/view/
DViewGroup.java1269 final View[] visibleChildren = new View[mChildrenCount]; in addKeyboardNavigationClusters() local
1273 visibleChildren[count++] = child; in addKeyboardNavigationClusters()
1276 FocusFinder.sort(visibleChildren, 0, count, this, isLayoutRtl()); in addKeyboardNavigationClusters()
1278 visibleChildren[i].addKeyboardNavigationClusters(views, direction); in addKeyboardNavigationClusters()