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.java116 int childCount = algorithmState.visibleChildren.size(); in getNotificationChildrenStates()
118 ExpandableView v = algorithmState.visibleChildren.get(i); in getNotificationChildrenStates()
128 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState()
130 View child = algorithmState.visibleChildren.get(i); in updateSpeedBumpState()
144 int childCount = algorithmState.visibleChildren.size(); in updateClipping()
146 ExpandableView child = algorithmState.visibleChildren.get(i); in updateClipping()
195 int childCount = algorithmState.visibleChildren.size(); in updateDimmedActivatedHideSensitive()
197 View child = algorithmState.visibleChildren.get(i); in updateDimmedActivatedHideSensitive()
216 int childIndex = algorithmState.visibleChildren.indexOf(draggedView); in handleDraggedViews()
217 if (childIndex >= 0 && childIndex < algorithmState.visibleChildren.size() - 1) { in handleDraggedViews()
[all …]
DNotificationChildrenContainer.java363 int visibleChildren = 0;
371 if (visibleChildren >= maxAllowedVisibleChildren) {
396 visibleChildren++;
718 int visibleChildren = 0;
721 if (visibleChildren >= NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED) {
729 visibleChildren++;
731 if (visibleChildren > 0) {
732 maxContentHeight += visibleChildren * mDividerHeight;
771 int visibleChildren = 0;
775 if (visibleChildren >= maxAllowedVisibleChildren) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java83 int visibleChildren = 0; in checkOverflow() local
85 if (getChildAt(i).getVisibility() != GONE) visibleChildren++; in checkOverflow()
89 if (overflowShown) visibleChildren --; in checkOverflow()
90 final boolean moreRequired = visibleChildren * getFullIconWidth() > width; in checkOverflow()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java453 final VisibleChildren visibleChildren = new VisibleChildren(); in traverseAndFindVisibleChildren() local
467 if (position < visibleChildren.firstFullyVisiblePosition || in traverseAndFindVisibleChildren()
468 visibleChildren.firstFullyVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
469 visibleChildren.firstFullyVisiblePosition = position; in traverseAndFindVisibleChildren()
472 if (position > visibleChildren.lastFullyVisiblePosition) { in traverseAndFindVisibleChildren()
473 visibleChildren.lastFullyVisiblePosition = position; in traverseAndFindVisibleChildren()
477 if (position < visibleChildren.firstVisiblePosition || in traverseAndFindVisibleChildren()
478 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
479 visibleChildren.firstVisiblePosition = position; in traverseAndFindVisibleChildren()
482 if (position > visibleChildren.lastVisiblePosition) { in traverseAndFindVisibleChildren()
[all …]
DBaseStaggeredGridLayoutManagerTest.java610 final VisibleChildren visibleChildren = new VisibleChildren(getSpanCount()); in traverseAndFindVisibleChildren() local
625 if (position < visibleChildren.firstFullyVisiblePositions[span] || in traverseAndFindVisibleChildren()
626 visibleChildren.firstFullyVisiblePositions[span] in traverseAndFindVisibleChildren()
628 visibleChildren.firstFullyVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
631 if (position > visibleChildren.lastFullyVisiblePositions[span]) { in traverseAndFindVisibleChildren()
632 visibleChildren.lastFullyVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
636 if (position < visibleChildren.firstVisiblePositions[span] || in traverseAndFindVisibleChildren()
637 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
638 visibleChildren.firstVisiblePositions[span] = position; in traverseAndFindVisibleChildren()
641 if (position > visibleChildren.lastVisiblePositions[span]) { in traverseAndFindVisibleChildren()
[all …]
DLinearLayoutManagerBaseConfigSetTest.java166 VisibleChildren visibleChildren = mLayoutManager.traverseAndFindVisibleChildren(); in getFirstLastChildrenTest()
169 + boundsLog, visibleChildren.firstVisiblePosition, in getFirstLastChildrenTest()
174 + boundsLog, visibleChildren.firstFullyVisiblePosition, in getFirstLastChildrenTest()
179 + boundsLog, visibleChildren.lastVisiblePosition, in getFirstLastChildrenTest()
184 + 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()