Lines Matching refs:childIndex
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) {
133 ((ViewGroup) mMenuView).addView(itemView, childIndex);
139 * @param childIndex Index to filter
142 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) {
143 parent.removeViewAt(childIndex);
197 * @param childIndex Indended presentation index of this item
201 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) {