Lines Matching refs:childIndex
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) {
138 ((ViewGroup) mMenuView).addView(itemView, childIndex);
144 * @param childIndex Index to filter
147 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) {
148 parent.removeViewAt(childIndex);
203 * @param childIndex Indended presentation index of this item
207 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) {