Home | History | Annotate | Download | only in menu

Lines Matching refs:childIndex

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) {
131 ((ViewGroup) mMenuView).addView(itemView, childIndex);
137 * @param childIndex Index to filter
140 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) {
141 parent.removeViewAt(childIndex);
195 * @param childIndex Indended presentation index of this item
199 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) {