/frameworks/base/core/java/com/android/internal/view/menu/ |
D | BaseMenuPresenter.java | 85 int childIndex = 0; in updateMenuView() local 92 if (shouldIncludeItem(childIndex, item)) { in updateMenuView() 93 final View convertView = parent.getChildAt(childIndex); in updateMenuView() 103 addItemView(itemView, childIndex); in updateMenuView() 105 childIndex++; in updateMenuView() 111 while (childIndex < parent.getChildCount()) { in updateMenuView() 112 if (!filterLeftoverView(parent, childIndex)) { in updateMenuView() 113 childIndex++; in updateMenuView() 124 protected void addItemView(View itemView, int childIndex) { in addItemView() argument 129 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView() [all …]
|
D | IconMenuPresenter.java | 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || in shouldIncludeItem() 73 childIndex < mMaxItems - 1; in shouldIncludeItem() 78 protected void addItemView(View itemView, int childIndex) { 85 super.addItemView(itemView, childIndex); 124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { 125 if (parent.getChildAt(childIndex) != mMoreView) { 126 return super.filterLeftoverView(parent, childIndex);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/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/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 | 151 void showOnly(int childIndex, boolean animate) { in showOnly() argument 155 if (i == childIndex) { in showOnly() 177 void showOnly(int childIndex) { in showOnly() argument 179 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 | ActionMenuView.java | 687 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 688 if (childIndex == 0) { in hasDividerBeforeChildAt() 691 final View childBefore = getChildAt(childIndex - 1); in hasDividerBeforeChildAt() 692 final View child = getChildAt(childIndex); in hasDividerBeforeChildAt() 694 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasDividerBeforeChildAt() 697 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasDividerBeforeChildAt()
|
D | LinearLayout.java | 626 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 627 if (childIndex == 0) { in hasDividerBeforeChildAt() 629 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt() 633 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt() 1416 int measureNullChild(int childIndex) { in measureNullChild() argument 1433 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 1629 int childIndex = start + dir * i; in layoutHorizontal() local 1630 final View child = getVirtualChildAt(childIndex); in layoutHorizontal() 1633 childLeft += measureNullChild(childIndex); in layoutHorizontal() 1687 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal() [all …]
|
D | TabWidget.java | 155 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 160 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); in measureChildBeforeLayout() 165 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | ActionMenuPresenter.java | 198 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 256 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 257 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 258 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
D | GridView.java | 1985 private boolean isCandidateSelection(int childIndex, int direction) { in isCandidateSelection() argument 1987 final int invertedIndex = count - 1 - childIndex; in isCandidateSelection() 1993 rowStart = childIndex - (childIndex % mNumColumns); in isCandidateSelection() 2004 return childIndex == rowStart; in isCandidateSelection() 2010 return childIndex == rowEnd; in isCandidateSelection() 2016 return childIndex == rowStart && rowStart == 0; in isCandidateSelection() 2019 return childIndex == rowEnd && rowEnd == count - 1; in isCandidateSelection()
|
D | TableLayout.java | 455 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 464 super.measureChildBeforeLayout(child, childIndex, in measureChildBeforeLayout()
|
D | AdapterViewAnimator.java | 460 void showOnly(int childIndex, boolean animate) { in showOnly() argument 480 int newWindowStartUnbounded = childIndex - mActiveOffset; in showOnly()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuView.java | 695 protected boolean hasSupportDividerBeforeChildAt(int childIndex) { in hasSupportDividerBeforeChildAt() argument 696 if (childIndex == 0) { in hasSupportDividerBeforeChildAt() 699 final View childBefore = getChildAt(childIndex - 1); in hasSupportDividerBeforeChildAt() 700 final View child = getChildAt(childIndex); in hasSupportDividerBeforeChildAt() 702 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { in hasSupportDividerBeforeChildAt() 705 if (childIndex > 0 && child instanceof ActionMenuChildView) { in hasSupportDividerBeforeChildAt()
|
D | LinearLayoutCompat.java | 560 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument 561 if (childIndex == 0) { in hasDividerBeforeChildAt() 563 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt() 567 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt() 1353 int measureNullChild(int childIndex) { in measureNullChild() argument 1370 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 1567 int childIndex = start + dir * i; in layoutHorizontal() local 1568 final View child = getVirtualChildAt(childIndex); in layoutHorizontal() 1571 childLeft += measureNullChild(childIndex); in layoutHorizontal() 1625 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal() [all …]
|
D | ActionMenuPresenter.java | 197 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { in shouldIncludeItem() argument 255 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 256 if (parent.getChildAt(childIndex) == mOverflowButton) return false; in filterLeftoverView() 257 return super.filterLeftoverView(parent, childIndex); in filterLeftoverView()
|
/frameworks/base/core/java/android/view/ |
D | GhostView.java | 333 int childIndex = customOrder ? parent.getChildDrawingOrder(childrenCount, i) : i; in isOnTop() local 335 ? parent.getChildAt(childIndex) : preorderedList.get(childIndex); in isOnTop()
|
D | ViewGroup.java | 1578 int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; in dispatchHoverEvent() local 1580 ? children[childIndex] : preorderedList.get(childIndex); in dispatchHoverEvent() 1862 int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; in dispatchGenericPointerEvent() local 1864 ? children[childIndex] : preorderedList.get(childIndex); in dispatchGenericPointerEvent() 2017 final int childIndex = customOrder in dispatchTouchEvent() local 2020 ? children[childIndex] : preorderedList.get(childIndex); in dispatchTouchEvent() 2055 if (children[childIndex] == mChildren[j]) { in dispatchTouchEvent() 2061 mLastTouchDownIndex = childIndex; in dispatchTouchEvent() 3194 int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; in dispatchDraw() local 3196 ? children[childIndex] : preorderedList.get(childIndex); in dispatchDraw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollState.java | 215 private View getNextChildNotGone(int childIndex) { 217 for (int i = childIndex + 1; i < childCount; i++) {
|
D | StackScrollAlgorithm.java | 294 int childIndex = algorithmState.visibleChildren.indexOf(draggedView); in handleDraggedViews() local 295 if (childIndex >= 0 && childIndex < algorithmState.visibleChildren.size() - 1) { in handleDraggedViews() 296 View nextChild = algorithmState.visibleChildren.get(childIndex + 1); in handleDraggedViews()
|
/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/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardWidgetPager.java | 892 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { 893 return !isCameraPage(childIndex) && super.shouldSetTopAlignedPivotForWidget(childIndex);
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.cpp | 518 int childIndex = mDisplayListData->addChild(op); in addRenderNodeOp() local 522 chunk.endChildIndex = childIndex + 1; in addRenderNodeOp()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 5817 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 5818 if (childIndex >= heapSize) { in assignPointerIds() 5822 if (childIndex + 1 < heapSize in assignPointerIds() 5823 && heap[childIndex + 1].distance < heap[childIndex].distance) { in assignPointerIds() 5824 childIndex += 1; in assignPointerIds() 5827 if (heap[parentIndex].distance <= heap[childIndex].distance) { in assignPointerIds() 5831 swap(heap[parentIndex], heap[childIndex]); in assignPointerIds() 5832 parentIndex = childIndex; in assignPointerIds() 5864 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds() local 5865 if (childIndex >= heapSize) { in assignPointerIds() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 594 final int childIndex = scrollParent.indexOfChild(mScrollView); in setupContent() local 595 scrollParent.removeViewAt(childIndex); in setupContent() 596 scrollParent.addView(mListView, childIndex, in setupContent()
|