/frameworks/base/cmds/statsd/src/matchers/ |
H A D | CombinationLogMatchingTracker.cpp | 70 int childIndex = pair->second; local 73 if (stack[childIndex]) { 78 if (!allTrackers[childIndex]->init(allLogMatchers, allTrackers, matcherMap, stack)) { 83 mChildren.push_back(childIndex); 85 const set<int>& childTagIds = allTrackers[childIndex]->getAtomIds(); 109 for (const int childIndex : mChildren) { 110 if (matcherResults[childIndex] == MatchingState::kNotComputed) { 111 const sp<LogMatchingTracker>& child = allTrackers[childIndex];
|
/frameworks/base/cmds/statsd/src/condition/ |
H A D | CombinationConditionTracker.cpp | 73 int childIndex = it->second; local 74 const auto& childTracker = allConditionTrackers[childIndex]; 76 if (stack[childIndex]) { 92 if (allConditionTrackers[childIndex]->isSliced()) { 94 mSlicedChildren.push_back(childIndex); 96 mUnSlicedChildren.push_back(childIndex); 98 mChildren.push_back(childIndex); 119 for (const int childIndex : mChildren) { 120 if (conditionCache[childIndex] == ConditionState::kNotEvaluated) { 121 allConditions[childIndex] [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuPresenter.java | 72 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 74 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) || 75 childIndex < mMaxItems - 1; 80 protected void addItemView(View itemView, int childIndex) { argument 87 super.addItemView(itemView, childIndex); 126 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 127 if (parent.getChildAt(childIndex) != mMoreView) { 128 return super.filterLeftoverView(parent, childIndex);
|
H A D | BaseMenuPresenter.java | 87 int childIndex = 0; 94 if (shouldIncludeItem(childIndex, item)) { 95 final View convertView = parent.getChildAt(childIndex); 105 addItemView(itemView, childIndex); 107 childIndex++; 113 while (childIndex < parent.getChildCount()) { 114 if (!filterLeftoverView(parent, childIndex)) { 115 childIndex++; 124 * @param childIndex Index within the parent to insert at 126 protected void addItemView(View itemView, int childIndex) { argument 140 filterLeftoverView(ViewGroup parent, int childIndex) argument 199 shouldIncludeItem(int childIndex, MenuItemImpl item) argument [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ResourceExpr.java | 212 private String getChildCode(int childIndex, String defaultValue) { argument 213 if (getChildren().size() <= childIndex) { 216 return getChildren().get(childIndex).toCode().generate();
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 146 * @param childIndex The index of the child to be shown. 150 void showOnly(int childIndex, boolean animate) { argument 154 if (i == childIndex) { 174 * @param childIndex The index of the child to be shown. 176 void showOnly(int childIndex) { argument 178 showOnly(childIndex, animate);
|
H A D | TabWidget.java | 152 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, argument 156 totalWidth + mImposedTabWidths[childIndex], MeasureSpec.EXACTLY); 161 super.measureChildBeforeLayout(child, childIndex,
|
H A D | TableLayout.java | 453 void measureChildBeforeLayout(View child, int childIndex, argument 462 super.measureChildBeforeLayout(child, childIndex,
|
H A D | TableRow.java | 182 int measureNullChild(int childIndex) { argument 183 return mConstrainedColumnWidths[childIndex]; 190 void measureChildBeforeLayout(View child, int childIndex, argument 202 columnWidth += constrainedColumnWidths[childIndex + i]; 246 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec,
|
H A D | ActionMenuView.java | 717 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 718 if (childIndex == 0) { 721 final View childBefore = getChildAt(childIndex - 1); 722 final View child = getChildAt(childIndex); 724 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { 727 if (childIndex > 0 && child instanceof ActionMenuChildView) {
|
H A D | ActionMenuPresenter.java | 265 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 488 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 489 if (parent.getChildAt(childIndex) == mOverflowButton) return false; 490 return super.filterLeftoverView(parent, childIndex);
|
H A D | AdapterViewAnimator.java | 453 * @param childIndex The index of the child to be shown. 457 void showOnly(int childIndex, boolean animate) { argument 477 int newWindowStartUnbounded = childIndex - mActiveOffset;
|
H A D | ExpandableListView.java | 521 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument 522 int flatListPosition = childIndex + mFirstPosition;
|
H A D | GridView.java | 1980 * Is childIndex a candidate for next focus given the direction the focus 1982 * @param childIndex The index to check. 1985 * @return Whether childIndex is a candidate. 1987 private boolean isCandidateSelection(int childIndex, int direction) { argument 1989 final int invertedIndex = count - 1 - childIndex; 1995 rowStart = childIndex - (childIndex % mNumColumns); 2006 return childIndex == rowStart; 2012 return childIndex == rowEnd; 2018 return childIndex [all...] |
H A D | LinearLayout.java | 713 * @param childIndex Index of child to check for preceding divider 714 * @return true if there should be a divider before the child at childIndex 717 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 718 if (childIndex == getVirtualChildCount()) { 722 boolean allViewsAreGoneBefore = allViewsAreGoneBefore(childIndex); 734 private boolean allViewsAreGoneBefore(int childIndex) { argument 735 for (int i = childIndex - 1; i >= 0; i--) { 1512 * @param childIndex the index of the null child 1515 int measureNullChild(int childIndex) { argument 1526 * @param childIndex th 1532 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument [all...] |
H A D | ListView.java | 1217 final int childIndex = mPosition - mFirstPosition; 1218 final View child = getChildAt(childIndex); 2841 * @param childIndex The view group index of the child. 2844 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { argument 2853 for (int i = childIndex + 1; i < numChildren; i++) { 3602 * @param childIndex The index of child (of the View) above the divider. 3606 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
|
H A D | StackView.java | 423 void showOnly(int childIndex, boolean animate) { argument 424 super.showOnly(childIndex, animate);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemGroup.java | 141 final int childIndex = identityIndexOf(mChildren, child); 142 final int childPosition = getChildPosition(childIndex); 144 if (childIndex != -1) { 146 mChildren.remove(childIndex); 205 private int getChildPosition(int childIndex) { argument 207 if (childIndex != -1) { 210 for (int i = childIndex; childPos < 0 && i < childCount; i++) { 211 // Find the position of the first visible child after childIndex. This is required
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | BaseMenuPresenter.java | 94 int childIndex = 0; 101 if (shouldIncludeItem(childIndex, item)) { 102 final View convertView = parent.getChildAt(childIndex); 112 addItemView(itemView, childIndex); 114 childIndex++; 120 while (childIndex < parent.getChildCount()) { 121 if (!filterLeftoverView(parent, childIndex)) { 122 childIndex++; 131 * @param childIndex Index within the parent to insert at 133 protected void addItemView(View itemView, int childIndex) { argument 147 filterLeftoverView(ViewGroup parent, int childIndex) argument 207 shouldIncludeItem(int childIndex, MenuItemImpl item) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListScenario.java | 573 * @param childIndex The index into the viewgroup children (i.e the children that are 577 public void requestRectangleOnScreen(int childIndex, final Rect rect) { argument 578 final View child = getListView().getChildAt(childIndex);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionMenuPresenter.java | 224 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 278 public boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument 279 if (parent.getChildAt(childIndex) == mOverflowButton) return false; 280 return super.filterLeftoverView(parent, childIndex);
|
H A D | ActionMenuView.java | 732 protected boolean hasSupportDividerBeforeChildAt(int childIndex) { argument 733 if (childIndex == 0) { 736 final View childBefore = getChildAt(childIndex - 1); 737 final View child = getChildAt(childIndex); 739 if (childIndex < getChildCount() && childBefore instanceof ActionMenuChildView) { 742 if (childIndex > 0 && child instanceof ActionMenuChildView) {
|
H A D | LinearLayoutCompat.java | 560 * @param childIndex Index of child to check for preceding divider 561 * @return true if there should be a divider before the child at childIndex 565 protected boolean hasDividerBeforeChildAt(int childIndex) { argument 566 if (childIndex == 0) { 568 } else if (childIndex == getChildCount()) { 572 for (int i = childIndex - 1; i >= 0; i--) { 1354 * @param childIndex the index of the null child 1357 int measureNullChild(int childIndex) { argument 1368 * @param childIndex the index of the child in this view 1374 void measureChildBeforeLayout(View child, int childIndex, argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 548 int childIndex = mDisplayList->addChild(op); local 552 chunk.endChildIndex = childIndex + 1;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationChildrenContainer.java | 258 * @param childIndex the index to add it at, if -1 it will be added at the end 260 public void addNotification(ExpandableNotificationRow row, int childIndex) { argument 261 int newIndex = childIndex < 0 ? mChildren.size() : childIndex; 281 int childIndex = mChildren.indexOf(row); 285 final View divider = mDividers.remove(childIndex);
|