/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 | 73 final int childIndex = row * mColumnCount + col; in onMeasure() local 75 if (childIndex >= childCount) { in onMeasure() 79 View child = getChildAt(childIndex); in onMeasure() 139 final int childIndex; in onLayout() local 142 childIndex = row * mColumnCount + (mColumnCount - col - 1); in onLayout() 144 childIndex = row * mColumnCount + col; in onLayout() 147 if (childIndex >= childCount) { in onLayout() 151 View child = getChildAt(childIndex); in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationDecoratedCustomViewWrapper.java | 49 Integer childIndex = (Integer) container.getTag( in getWrappedCustomView() local 51 if (childIndex == null || childIndex == -1) { in getWrappedCustomView() 54 return container.getChildAt(childIndex); in getWrappedCustomView()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemGroup.java | 133 final int childIndex = identityIndexOf(children, child); in removeChild() local 134 final int childPosition = getChildPosition(childIndex); in removeChild() 136 if (childIndex != -1) { in removeChild() 138 children.remove(childIndex); in removeChild() 195 private int getChildPosition(int childIndex) { in getChildPosition() argument 197 if (childIndex != -1) { in getChildPosition() 200 for (int i = childIndex; childPos < 0 && i < childCount; i++) { in getChildPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ListDumper.java | 70 for (int childIndex = 0; childIndex < children.size(); childIndex++) { in dumpTree() 71 NotificationEntry child = children.get(childIndex); in dumpTree() 73 topEntryIndex + "." + childIndex, in dumpTree()
|
/frameworks/base/core/java/android/widget/ |
D | ViewAnimator.java | 161 void showOnly(int childIndex, boolean animate) { in showOnly() argument 165 if (i == childIndex) { in showOnly() 187 void showOnly(int childIndex) { in showOnly() argument 189 showOnly(childIndex, animate); in showOnly()
|
D | TableRow.java | 183 int measureNullChild(int childIndex) { in measureNullChild() argument 184 return mConstrainedColumnWidths[childIndex]; in measureNullChild() 191 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 203 columnWidth += constrainedColumnWidths[childIndex + i]; in measureChildBeforeLayout() 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout()
|
D | LinearLayout.java | 734 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 739 if (childIndex == getVirtualChildCount()) { in hasDividerBeforeChildAt() 743 boolean allViewsAreGoneBefore = allViewsAreGoneBefore(childIndex); in hasDividerBeforeChildAt() 758 private boolean hasDividerAfterChildAt(int childIndex) { in hasDividerAfterChildAt() argument 763 if (allViewsAreGoneAfter(childIndex)) { in hasDividerAfterChildAt() 773 private boolean allViewsAreGoneBefore(int childIndex) { in allViewsAreGoneBefore() argument 774 for (int i = childIndex - 1; i >= 0; i--) { in allViewsAreGoneBefore() 786 private boolean allViewsAreGoneAfter(int childIndex) { in allViewsAreGoneAfter() argument 788 for (int i = childIndex + 1; i < count; i++) { in allViewsAreGoneAfter() 1588 int measureNullChild(int childIndex) { in measureNullChild() argument [all …]
|
D | ActionMenuView.java | 724 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 725 if (childIndex == 0) { in hasDividerBeforeChildAt() 728 final View childBefore = getChildAt(childIndex - 1); in hasDividerBeforeChildAt() 729 final View child = getChildAt(childIndex); in hasDividerBeforeChildAt() 731 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasDividerBeforeChildAt() 734 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasDividerBeforeChildAt()
|
D | TabWidget.java | 174 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, in measureChildBeforeLayout() argument 178 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 183 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | GridView.java | 2004 private boolean isCandidateSelection(int childIndex, int direction) { in isCandidateSelection() argument 2006 final int invertedIndex = count - 1 - childIndex; in isCandidateSelection() 2012 rowStart = childIndex - (childIndex % mNumColumns); in isCandidateSelection() 2023 return childIndex == rowStart; in isCandidateSelection() 2029 return childIndex == rowEnd; in isCandidateSelection() 2035 return childIndex == rowStart && rowStart == 0; in isCandidateSelection() 2038 return childIndex == rowEnd && rowEnd == count - 1; in isCandidateSelection()
|
D | TableLayout.java | 453 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 462 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | ActionMenuPresenter.java | 267 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 490 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 491 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 492 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MicroAlertController.java | 78 final int childIndex = scrollParent.indexOfChild(mScrollView); in setupContent() local 79 scrollParent.removeViewAt(childIndex); in setupContent()
|
/frameworks/base/core/java/android/view/ |
D | GhostView.java | 334 int childIndex = customOrder ? parent.getChildDrawingOrder(childrenCount, i) : i; in isOnTop() local 336 ? parent.getChildAt(childIndex) : preorderedList.get(childIndex); in isOnTop()
|
D | ViewGroup.java | 2055 final int childIndex = getAndVerifyPreorderedIndex(childrenCount, i, customOrder); in onResolvePointerIcon() local 2056 final View child = getAndVerifyPreorderedView(preorderedList, children, childIndex); in onResolvePointerIcon() 2095 final int childIndex; in getAndVerifyPreorderedIndex() local 2103 childIndex = childIndex1; in getAndVerifyPreorderedIndex() 2105 childIndex = i; in getAndVerifyPreorderedIndex() 2107 return childIndex; in getAndVerifyPreorderedIndex() 2137 final int childIndex = getAndVerifyPreorderedIndex( in dispatchHoverEvent() local 2140 preorderedList, children, childIndex); in dispatchHoverEvent() 2357 final int childIndex = in dispatchTooltipHoverEvent() local 2360 getAndVerifyPreorderedView(preorderedList, children, childIndex); in dispatchTooltipHoverEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 342 int childIndex = indexOfChild(child); in onViewAdded() local 343 if (childIndex < getChildCount() - 1 && !isReplacingIcon in onViewAdded() 344 && mIconStates.get(getChildAt(childIndex + 1)).iconAppearAmount > 0.0f) { in onViewAdded() 346 mAddAnimationStartIndex = childIndex; in onViewAdded() 348 mAddAnimationStartIndex = Math.min(mAddAnimationStartIndex, childIndex); in onViewAdded()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AdaptiveIconDrawable.java | 497 int childIndex = 0; in inflateLayers() local 510 childIndex = BACKGROUND_ID; in inflateLayers() 513 childIndex = FOREGROUND_ID; in inflateLayers() 516 childIndex = MONOCHROME_ID; in inflateLayers() 548 addLayer(childIndex, layer); in inflateLayers()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListScenario.java | 572 public void requestRectangleOnScreen(int childIndex, final Rect rect) { in requestRectangleOnScreen() argument 573 final View child = getListView().getChildAt(childIndex); in requestRectangleOnScreen()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 345 final int childIndex = start + dir * i; in onLayout() local 346 final View child = getChildAt(childIndex); in onLayout()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3803 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 3804 if (childIndex >= heapSize) { in assignPointerIds() 3808 if (childIndex + 1 < heapSize && in assignPointerIds() 3809 heap[childIndex + 1].distance < heap[childIndex].distance) { in assignPointerIds() 3810 childIndex += 1; in assignPointerIds() 3813 if (heap[parentIndex].distance <= heap[childIndex].distance) { in assignPointerIds() 3817 swap(heap[parentIndex], heap[childIndex]); in assignPointerIds() 3818 parentIndex = childIndex; in assignPointerIds() 3849 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 3850 if (childIndex >= heapSize) { in assignPointerIds() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
D | NotifCollectionLogger.kt | 426 childIndex: Int, in logDismissAlreadyParentDismissedNotif() 431 int1 = childIndex in logDismissAlreadyParentDismissedNotif()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainer.java | 326 public void addNotification(ExpandableNotificationRow row, int childIndex) { in addNotification() argument 328 int newIndex = childIndex < 0 ? mAttachedChildren.size() : childIndex; in addNotification() 361 int childIndex = mAttachedChildren.indexOf(row); 365 final View divider = mDividers.remove(childIndex);
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransition.java | 972 for (int childIndex = 0; childIndex < childCount; childIndex++) { in bfsAddViewChildren() 973 final View child = viewGroup.getChildAt(childIndex); in bfsAddViewChildren()
|