/frameworks/base/core/java/android/widget/ |
H A D | HeterogeneousExpandableList.java | 45 * @param groupPosition the position of the group for which the type should be returned. 54 int getGroupType(int groupPosition); argument 61 * @param groupPosition the position of the group that the child resides in 71 int getChildType(int groupPosition, int childPosition); argument
|
H A D | BaseExpandableListAdapter.java | 63 public void onGroupCollapsed(int groupPosition) { argument 66 public void onGroupExpanded(int groupPosition) { argument 111 public int getChildType(int groupPosition, int childPosition) { argument 125 * @return 0 for any groupPosition, since only one group type count is declared. 127 public int getGroupType(int groupPosition) { argument
|
H A D | ExpandableListPosition.java | 81 static ExpandableListPosition obtainGroupPosition(int groupPosition) { argument 82 return obtain(GROUP, groupPosition, 0, 0); 85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { argument 86 return obtain(CHILD, groupPosition, childPosition, 0);
|
H A D | ExpandableListAdapter.java | 50 * @param groupPosition the position of the group for which the children 54 int getChildrenCount(int groupPosition); argument 59 * @param groupPosition the position of the group 62 Object getGroup(int groupPosition); argument 67 * @param groupPosition the position of the group that the child resides in 72 Object getChild(int groupPosition, int childPosition); argument 80 * @param groupPosition the position of the group for which the ID is wanted 83 long getGroupId(int groupPosition); argument 91 * @param groupPosition the position of the group that contains the child 96 long getChildId(int groupPosition, in argument 125 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument 145 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument 155 isChildSelectable(int groupPosition, int childPosition) argument 172 onGroupExpanded(int groupPosition) argument 179 onGroupCollapsed(int groupPosition) argument [all...] |
H A D | SimpleExpandableListAdapter.java | 213 public Object getChild(int groupPosition, int childPosition) { argument 214 return mChildData.get(groupPosition).get(childPosition); 217 public long getChildId(int groupPosition, int childPosition) { argument 221 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument 229 bindView(v, mChildData.get(groupPosition).get(childPosition), mChildFrom, mChildTo); 254 public int getChildrenCount(int groupPosition) { argument 255 return mChildData.get(groupPosition).size(); 258 public Object getGroup(int groupPosition) { argument 259 return mGroupData.get(groupPosition); 266 public long getGroupId(int groupPosition) { argument 270 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument 293 isChildSelectable(int groupPosition, int childPosition) argument [all...] |
H A D | CursorTreeAdapter.java | 92 * @param groupPosition The group whose children will be returned 99 synchronized MyCursorHelper getChildrenCursorHelper(int groupPosition, boolean requestCursor) { argument 100 MyCursorHelper cursorHelper = mChildrenCursorHelpers.get(groupPosition); 103 if (mGroupCursorHelper.moveTo(groupPosition) == null) return null; 107 mChildrenCursorHelpers.put(groupPosition, cursorHelper); 149 * @param groupPosition The group whose children are being set via this Cursor. 152 public void setChildrenCursor(int groupPosition, Cursor childrenCursor) { argument 158 MyCursorHelper childrenCursorHelper = getChildrenCursorHelper(groupPosition, false); 167 public Cursor getChild(int groupPosition, int childPosition) { argument 169 return getChildrenCursorHelper(groupPosition, tru 172 getChildId(int groupPosition, int childPosition) argument 176 getChildrenCount(int groupPosition) argument 181 getGroup(int groupPosition) argument 190 getGroupId(int groupPosition) argument 194 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument 236 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument 280 isChildSelectable(int groupPosition, int childPosition) argument 324 onGroupCollapsed(int groupPosition) argument 334 deactivateChildrenCursorHelper(int groupPosition) argument [all...] |
H A D | ExpandableListConnector.java | 701 * @param groupPosition The group to check. 704 public boolean isGroupExpanded(int groupPosition) { argument 709 if (groupMetadata.gPos == groupPosition) {
|
H A D | ExpandableListView.java | 660 * @param groupPosition The group position that was collapsed 662 void onGroupCollapse(int groupPosition); argument 678 * @param groupPosition The group position that was expanded 680 void onGroupExpand(int groupPosition); argument 701 * @param groupPosition The group position that was clicked 705 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument 726 * @param groupPosition The group position that contains the child that 732 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument 828 * @param groupPosition The position of the group that should be selected. 830 public void setSelectedGroup(int groupPosition) { argument 851 setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) argument 887 isGroupExpanded(int groupPosition) argument 964 getPackedPositionForChild(int groupPosition, int childPosition) argument 978 getPackedPositionForGroup(int groupPosition) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ExpandableListActivity.java | 181 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument 189 public void onGroupCollapse(int groupPosition) { argument 195 public void onGroupExpand(int groupPosition) { argument 305 * @param groupPosition The position of the group that contains the child. 311 public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { argument 312 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup); 317 * @param groupPosition The position of the group that should be selected. 319 public void setSelectedGroup(int groupPosition) { argument 320 mList.setSelectedGroup(groupPosition);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | FakeExpandableAdapter.java | 93 private AdapterItem getChildItem(int groupPosition, int childPosition) { argument 94 AdapterItem item = mItems.get(groupPosition); 108 public int getChildrenCount(int groupPosition) { argument 109 AdapterItem item = mItems.get(groupPosition); 114 public Object getGroup(int groupPosition) { argument 115 return mItems.get(groupPosition); 119 public Object getChild(int groupPosition, int childPosition) { argument 120 return getChildItem(groupPosition, childPosition); 124 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument 127 AdapterItem item = mItems.get(groupPosition); 132 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument 141 getGroupId(int groupPosition) argument 146 getChildId(int groupPosition, int childPosition) argument 161 isChildSelectable(int groupPosition, int childPosition) argument 166 onGroupCollapsed(int groupPosition) argument 171 onGroupExpanded(int groupPosition) argument 178 getChildType(int groupPosition, int childPosition) argument 188 getGroupType(int groupPosition) argument [all...] |
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 55 private int groupPosition; field in class:GroupingListAdapter.PositionMetadata 352 metadata.groupPosition = i; 413 mGroupMetadata[mPositionMetadata.groupPosition] &= ~EXPANDED_GROUP_MASK; 415 mGroupMetadata[mPositionMetadata.groupPosition] |= EXPANDED_GROUP_MASK;
|