Searched refs:groupPosition (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DExpandableListAdapter.java50 * @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 DHeterogeneousExpandableList.java45 * @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 DCursorTreeAdapter.java92 * @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 DBaseExpandableListAdapter.java63 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 DSimpleExpandableListAdapter.java213 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 DExpandableListPosition.java81 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 DExpandableListView.java793 * @param groupPosition The group position that was collapsed
795 void onGroupCollapse(int groupPosition); argument
811 * @param groupPosition The group position that was expanded
813 void onGroupExpand(int groupPosition); argument
834 * @param groupPosition The group position that was clicked
838 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument
859 * @param groupPosition The group position that contains the child that
865 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
961 * @param groupPosition The position of the group that should be selected.
963 public void setSelectedGroup(int groupPosition) { argument
984 setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) argument
1020 isGroupExpanded(int groupPosition) argument
1097 getPackedPositionForChild(int groupPosition, int childPosition) argument
1111 getPackedPositionForGroup(int groupPosition) argument
[all...]
H A DExpandableListConnector.java701 * @param groupPosition The group to check.
704 public boolean isGroupExpanded(int groupPosition) { argument
709 if (groupMetadata.gPos == groupPosition) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java102 private AdapterItem getChildItem(int groupPosition, int childPosition) { argument
103 AdapterItem item = mItems.get(groupPosition);
117 public int getChildrenCount(int groupPosition) { argument
118 AdapterItem item = mItems.get(groupPosition);
123 public Object getGroup(int groupPosition) { argument
124 return mItems.get(groupPosition);
128 public Object getChild(int groupPosition, int childPosition) { argument
129 return getChildItem(groupPosition, childPosition);
133 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
136 AdapterItem item = mItems.get(groupPosition);
144 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
156 getGroupId(int groupPosition) argument
161 getChildId(int groupPosition, int childPosition) argument
176 isChildSelectable(int groupPosition, int childPosition) argument
181 onGroupCollapsed(int groupPosition) argument
186 onGroupExpanded(int groupPosition) argument
218 getChildType(int groupPosition, int childPosition) argument
228 getGroupType(int groupPosition) argument
[all...]
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java180 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
188 public void onGroupCollapse(int groupPosition) { argument
194 public void onGroupExpand(int groupPosition) { argument
304 * @param groupPosition The position of the group that contains the child.
310 public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { argument
311 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup);
316 * @param groupPosition The position of the group that should be selected.
318 public void setSelectedGroup(int groupPosition) { argument
319 mList.setSelectedGroup(groupPosition);
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java55 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;

Completed in 531 milliseconds