/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | BaseMenuPresenter.java | 85 int childIndex = 0; 92 if (shouldIncludeItem(childIndex, item)) { 93 final View convertView = parent.getChildAt(childIndex); 103 addItemView(itemView, childIndex); 105 childIndex++; 111 while (childIndex < parent.getChildCount()) { 112 if (!filterLeftoverView(parent, childIndex)) { 113 childIndex++; 122 * @param childIndex Index within the parent to insert at 124 protected void addItemView(View itemView, int childIndex) { argument 138 filterLeftoverView(ViewGroup parent, int childIndex) argument 197 shouldIncludeItem(int childIndex, MenuItemImpl item) argument [all...] |
H A D | IconMenuPresenter.java | 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || 73 childIndex < mMaxItems - 1; 78 protected void addItemView(View itemView, int childIndex) { argument 85 super.addItemView(itemView, childIndex); 124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 125 if (parent.getChildAt(childIndex) != mMoreView) { 126 return super.filterLeftoverView(parent, childIndex);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | BaseMenuPresenter.java | 89 int childIndex = 0; 96 if (shouldIncludeItem(childIndex, item)) { 97 final View convertView = parent.getChildAt(childIndex); 107 addItemView(itemView, childIndex); 109 childIndex++; 115 while (childIndex < parent.getChildCount()) { 116 if (!filterLeftoverView(parent, childIndex)) { 117 childIndex++; 126 * @param childIndex Index within the parent to insert at 128 protected void addItemView(View itemView, int childIndex) { argument 142 filterLeftoverView(ViewGroup parent, int childIndex) argument 201 shouldIncludeItem(int childIndex, MenuItemImpl item) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 72 final int childIndex = row * mColumnCount + col; 74 if (childIndex >= childCount) { 78 View child = getChildAt(childIndex); 137 final int childIndex = row * mColumnCount + col; 139 if (childIndex >= childCount) { 143 View child = getChildAt(childIndex);
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 147 * @param childIndex The index of the child to be shown. 151 void showOnly(int childIndex, boolean animate) { argument 155 if (i == childIndex) { 175 * @param childIndex The index of the child to be shown. 177 void showOnly(int childIndex) { argument 179 showOnly(childIndex, animate);
|
H A D | TableRow.java | 183 int measureNullChild(int childIndex) { argument 184 return mConstrainedColumnWidths[childIndex]; 191 void measureChildBeforeLayout(View child, int childIndex, argument 203 columnWidth += constrainedColumnWidths[childIndex + i]; 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec,
|
H A D | ActionMenuView.java | 687 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 688 if (childIndex == 0) { 691 final View childBefore = getChildAt(childIndex - 1); 692 final View child = getChildAt(childIndex); 694 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { 697 if (childIndex > 0 && child instanceof ActionMenuChildView) {
|
H A D | TabWidget.java | 155 void measureChildBeforeLayout(View child, int childIndex, argument 160 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); 165 super.measureChildBeforeLayout(child, childIndex,
|
H A D | ActionMenuPresenter.java | 198 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 256 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 257 if (parent.getChildAt(childIndex) == mOverflowButton) return false; 258 return super.filterLeftoverView(parent, childIndex);
|
H A D | LinearLayout.java | 622 * @param childIndex Index of child to check for preceding divider 623 * @return true if there should be a divider before the child at childIndex 626 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 627 if (childIndex == 0) { 629 } else if (childIndex == getChildCount()) { 633 for (int i = childIndex - 1; i >= 0; i--) { 1413 * @param childIndex the index of the null child 1416 int measureNullChild(int childIndex) { argument 1427 * @param childIndex the index of the child in this view 1433 void measureChildBeforeLayout(View child, int childIndex, argument [all...] |
H A D | GridView.java | 1978 * Is childIndex a candidate for next focus given the direction the focus 1980 * @param childIndex The index to check. 1983 * @return Whether childIndex is a candidate. 1985 private boolean isCandidateSelection(int childIndex, int direction) { argument 1987 final int invertedIndex = count - 1 - childIndex; 1993 rowStart = childIndex - (childIndex % mNumColumns); 2004 return childIndex == rowStart; 2010 return childIndex == rowEnd; 2016 return childIndex [all...] |
H A D | TableLayout.java | 455 void measureChildBeforeLayout(View child, int childIndex, argument 464 super.measureChildBeforeLayout(child, childIndex,
|
H A D | AdapterViewAnimator.java | 456 * @param childIndex The index of the child to be shown. 460 void showOnly(int childIndex, boolean animate) { argument 480 int newWindowStartUnbounded = childIndex - mActiveOffset;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 695 protected boolean hasSupportDividerBeforeChildAt(int childIndex) { argument 696 if (childIndex == 0) { 699 final View childBefore = getChildAt(childIndex - 1); 700 final View child = getChildAt(childIndex); 702 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { 705 if (childIndex > 0 && child instanceof ActionMenuChildView) {
|
H A D | LinearLayoutCompat.java | 556 * @param childIndex Index of child to check for preceding divider 557 * @return true if there should be a divider before the child at childIndex 560 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 561 if (childIndex == 0) { 563 } else if (childIndex == getChildCount()) { 567 for (int i = childIndex - 1; i >= 0; i--) { 1350 * @param childIndex the index of the null child 1353 int measureNullChild(int childIndex) { argument 1364 * @param childIndex the index of the child in this view 1370 void measureChildBeforeLayout(View child, int childIndex, argument [all...] |
H A D | ActionMenuPresenter.java | 197 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 255 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 256 if (parent.getChildAt(childIndex) == mOverflowButton) return false; 257 return super.filterLeftoverView(parent, childIndex);
|
/frameworks/base/core/java/android/view/ |
H A D | GhostView.java | 333 int childIndex = customOrder ? parent.getChildDrawingOrder(childrenCount, i) : i; 335 ? parent.getChildAt(childIndex) : preorderedList.get(childIndex);
|
H A D | ViewGroup.java | 1578 int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; 1580 ? children[childIndex] : preorderedList.get(childIndex); 1862 int childIndex = customOrder ? getChildDrawingOrder(childrenCount, i) : i; 1864 ? children[childIndex] : preorderedList.get(childIndex); 2017 final int childIndex = customOrder 2020 ? children[childIndex] : preorderedList.get(childIndex); 2053 // childIndex point [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 215 private View getNextChildNotGone(int childIndex) { argument 217 for (int i = childIndex + 1; i < childCount; i++) {
|
H A D | StackScrollAlgorithm.java | 294 int childIndex = algorithmState.visibleChildren.indexOf(draggedView); 295 if (childIndex >= 0 && childIndex < algorithmState.visibleChildren.size() - 1) { 296 View nextChild = algorithmState.visibleChildren.get(childIndex + 1);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListScenario.java | 570 * @param childIndex The index into the viewgroup children (i.e the children that are 574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { argument 575 final View child = getListView().getChildAt(childIndex);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 518 int childIndex = mDisplayListData->addChild(op); local 522 chunk.endChildIndex = childIndex + 1;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 594 final int childIndex = scrollParent.indexOfChild(mScrollView); 595 scrollParent.removeViewAt(childIndex); 596 scrollParent.addView(mListView, childIndex,
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardWidgetPager.java | 892 protected boolean shouldSetTopAlignedPivotForWidget(int childIndex) { argument 893 return !isCameraPage(childIndex) && super.shouldSetTopAlignedPivotForWidget(childIndex);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 5817 uint32_t childIndex = parentIndex * 2 + 1; local 5818 if (childIndex >= heapSize) { 5822 if (childIndex + 1 < heapSize 5823 && heap[childIndex + 1].distance < heap[childIndex].distance) { 5824 childIndex += 1; 5827 if (heap[parentIndex].distance <= heap[childIndex].distance) { 5831 swap(heap[parentIndex], heap[childIndex]); 5832 parentIndex = childIndex; 5864 uint32_t childIndex local [all...] |