/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | BaseMenuPresenter.java | 89 int childIndex = 0; in updateMenuView() local 96 if (shouldIncludeItem(childIndex, item)) { in updateMenuView() 97 final View convertView = parent.getChildAt(childIndex); in updateMenuView() 107 addItemView(itemView, childIndex); in updateMenuView() 109 childIndex++; in updateMenuView() 115 while (childIndex < parent.getChildCount()) { in updateMenuView() 116 if (!filterLeftoverView(parent, childIndex)) { in updateMenuView() 117 childIndex++; in updateMenuView() 128 protected void addItemView(View itemView, int childIndex) { in addItemView() argument 133 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | BaseMenuPresenter.java | 87 int childIndex = 0; in updateMenuView() local 94 if (shouldIncludeItem(childIndex, item)) { in updateMenuView() 95 final View convertView = parent.getChildAt(childIndex); in updateMenuView() 105 addItemView(itemView, childIndex); in updateMenuView() 107 childIndex++; in updateMenuView() 113 while (childIndex < parent.getChildCount()) { in updateMenuView() 114 if (!filterLeftoverView(parent, childIndex)) { in updateMenuView() 115 childIndex++; in updateMenuView() 126 protected void addItemView(View itemView, int childIndex) { in addItemView() argument 131 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView() [all …]
|
D | IconMenuPresenter.java | 72 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 74 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || in shouldIncludeItem() 75 childIndex < mMaxItems - 1; in shouldIncludeItem() 80 protected void addItemView(View itemView, int childIndex) { 87 super.addItemView(itemView, childIndex); 126 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { 127 if (parent.getChildAt(childIndex) != mMoreView) { 128 return super.filterLeftoverView(parent, childIndex);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 72 final int childIndex = row * mColumnCount + col; in onMeasure() local 74 if (childIndex >= childCount) { in onMeasure() 78 View child = getChildAt(childIndex); in onMeasure() 137 final int childIndex = row * mColumnCount + col; in onLayout() local 139 if (childIndex >= childCount) { in onLayout() 143 View child = getChildAt(childIndex); in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | ViewAnimator.java | 150 void showOnly(int childIndex, boolean animate) { in showOnly() argument 154 if (i == childIndex) { in showOnly() 176 void showOnly(int childIndex) { in showOnly() argument 178 showOnly(childIndex, animate); in showOnly()
|
D | TableRow.java | 182 int measureNullChild(int childIndex) { in measureNullChild() argument 183 return mConstrainedColumnWidths[childIndex]; in measureNullChild() 190 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 202 columnWidth += constrainedColumnWidths[childIndex + i]; in measureChildBeforeLayout() 246 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout()
|
D | ActionMenuView.java | 716 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 717 if (childIndex == 0) { in hasDividerBeforeChildAt() 720 final View childBefore = getChildAt(childIndex - 1); in hasDividerBeforeChildAt() 721 final View child = getChildAt(childIndex); in hasDividerBeforeChildAt() 723 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasDividerBeforeChildAt() 726 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasDividerBeforeChildAt()
|
D | LinearLayout.java | 653 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 654 if (childIndex == getVirtualChildCount()) { in hasDividerBeforeChildAt() 658 boolean allViewsAreGoneBefore = allViewsAreGoneBefore(childIndex); in hasDividerBeforeChildAt() 670 private boolean allViewsAreGoneBefore(int childIndex) { in allViewsAreGoneBefore() argument 671 for (int i = childIndex - 1; i >= 0; i--) { in allViewsAreGoneBefore() 1444 int measureNullChild(int childIndex) { in measureNullChild() argument 1461 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 1668 final int childIndex = start + dir * i; in layoutHorizontal() local 1669 final View child = getVirtualChildAt(childIndex); in layoutHorizontal() 1671 childLeft += measureNullChild(childIndex); in layoutHorizontal() [all …]
|
D | TabWidget.java | 147 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 151 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 156 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | GridView.java | 1978 private boolean isCandidateSelection(int childIndex, int direction) { in isCandidateSelection() argument 1980 final int invertedIndex = count - 1 - childIndex; in isCandidateSelection() 1986 rowStart = childIndex - (childIndex % mNumColumns); in isCandidateSelection() 1997 return childIndex == rowStart; in isCandidateSelection() 2003 return childIndex == rowEnd; in isCandidateSelection() 2009 return childIndex == rowStart && rowStart == 0; in isCandidateSelection() 2012 return childIndex == rowEnd && rowEnd == count - 1; in isCandidateSelection()
|
D | TableLayout.java | 452 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 461 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | ActionMenuPresenter.java | 264 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 487 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 488 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 489 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ResourceExpr.java | 189 private String getChildCode(int childIndex, String defaultValue) { in getChildCode() argument 190 if (getChildren().size() <= childIndex) { in getChildCode() 193 return getChildren().get(childIndex).toCode().generate(); in getChildCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanel.java | 222 int childIndex = getChildIndex(tile.tileView); in removeTile() local 224 removeViewAt(childIndex); in removeTile() 226 removeViewAt(childIndex); in removeTile()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 558 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 559 if (childIndex == 0) { in hasDividerBeforeChildAt() 561 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt() 565 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt() 1351 int measureNullChild(int childIndex) { in measureNullChild() argument 1368 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 1565 int childIndex = start + dir * i; in layoutHorizontal() local 1566 final View child = getVirtualChildAt(childIndex); in layoutHorizontal() 1569 childLeft += measureNullChild(childIndex); in layoutHorizontal() 1623 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal() [all …]
|
D | ActionMenuView.java | 717 protected boolean hasSupportDividerBeforeChildAt(int childIndex) { in hasSupportDividerBeforeChildAt() argument 718 if (childIndex == 0) { in hasSupportDividerBeforeChildAt() 721 final View childBefore = getChildAt(childIndex - 1); in hasSupportDividerBeforeChildAt() 722 final View child = getChildAt(childIndex); in hasSupportDividerBeforeChildAt() 724 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasSupportDividerBeforeChildAt() 727 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasSupportDividerBeforeChildAt()
|
D | ActionMenuPresenter.java | 224 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 282 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 283 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 284 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
/frameworks/base/core/java/android/view/ |
D | GhostView.java | 327 int childIndex = customOrder ? parent.getChildDrawingOrder(childrenCount, i) : i; in isOnTop() local 329 ? parent.getChildAt(childIndex) : preorderedList.get(childIndex); in isOnTop()
|
D | ViewGroup.java | 1729 final int childIndex = getAndVerifyPreorderedIndex(childrenCount, i, customOrder); in onResolvePointerIcon() local 1730 final View child = getAndVerifyPreorderedView(preorderedList, children, childIndex); in onResolvePointerIcon() 1768 final int childIndex; in getAndVerifyPreorderedIndex() local 1776 childIndex = childIndex1; in getAndVerifyPreorderedIndex() 1778 childIndex = i; in getAndVerifyPreorderedIndex() 1780 return childIndex; in getAndVerifyPreorderedIndex() 1810 final int childIndex = getAndVerifyPreorderedIndex( in dispatchHoverEvent() local 1813 preorderedList, children, childIndex); in dispatchHoverEvent() 2104 final int childIndex = getAndVerifyPreorderedIndex(childrenCount, i, customOrder); in dispatchGenericPointerEvent() local 2105 final View child = getAndVerifyPreorderedView(preorderedList, children, childIndex); in dispatchGenericPointerEvent() [all …]
|
/frameworks/support/v4/api21/android/support/v4/app/ |
D | FragmentTransitionCompat21.java | 295 for (int childIndex = 0; childIndex < childCount; childIndex++) { in bfsAddViewChildren() 296 final View child = viewGroup.getChildAt(childIndex); in bfsAddViewChildren()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 225 final int childIndex = start + dir * i; in onLayout() local 226 final View child = getChildAt(childIndex); in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollAlgorithm.java | 216 int childIndex = algorithmState.visibleChildren.indexOf(draggedView); in handleDraggedViews() local 217 if (childIndex >= 0 && childIndex < algorithmState.visibleChildren.size() - 1) { in handleDraggedViews() 218 View nextChild = algorithmState.visibleChildren.get(childIndex + 1); in handleDraggedViews()
|
D | NotificationChildrenContainer.java | 197 public void addNotification(ExpandableNotificationRow row, int childIndex) { in addNotification() argument 198 int newIndex = childIndex < 0 ? mChildren.size() : childIndex; in addNotification() 211 int childIndex = mChildren.indexOf(row); 215 final View divider = mDividers.remove(childIndex);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { in requestRectangleOnScreen() argument 575 final View child = getListView().getChildAt(childIndex); in requestRectangleOnScreen()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertController.java | 693 final int childIndex = scrollParent.indexOfChild(mScrollView); in setupContent() local 694 scrollParent.removeViewAt(childIndex); in setupContent() 695 scrollParent.addView(mListView, childIndex, in setupContent()
|