Home | History | Annotate | Download | only in menu

Lines Matching refs:childIndex

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) {
129 ((ViewGroup) mMenuView).addView(itemView, childIndex);
135 * @param childIndex Index to filter
138 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) {
139 parent.removeViewAt(childIndex);
189 * @param childIndex Indended presentation index of this item
193 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) {