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

/frameworks/base/core/java/android/widget/
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 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 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 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 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 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 DExpandableListConnector.java695 * @param groupPosition The group to check.
698 public boolean isGroupExpanded(int groupPosition) { argument
703 if (groupMetadata.gPos == groupPosition) {
H A DExpandableListView.java657 * @param groupPosition The group position that was collapsed
659 void onGroupCollapse(int groupPosition); argument
675 * @param groupPosition The group position that was expanded
677 void onGroupExpand(int groupPosition); argument
698 * @param groupPosition The group position that was clicked
702 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument
723 * @param groupPosition The group position that contains the child that
729 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
823 * @param groupPosition The position of the group that should be selected.
825 public void setSelectedGroup(int groupPosition) { argument
846 setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) argument
882 isGroupExpanded(int groupPosition) argument
959 getPackedPositionForChild(int groupPosition, int childPosition) argument
973 getPackedPositionForGroup(int groupPosition) argument
[all...]
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java181 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 DFakeExpandableAdapter.java93 private AdapterItem getChildItem(int groupPosition, int childPosition) { argument
94 AdapterItem item = mItems.get(groupPosition);
106 public int getChildrenCount(int groupPosition) { argument
107 AdapterItem item = mItems.get(groupPosition);
111 public Object getGroup(int groupPosition) { argument
112 return mItems.get(groupPosition);
115 public Object getChild(int groupPosition, int childPosition) { argument
116 return getChildItem(groupPosition, childPosition);
119 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
122 AdapterItem item = mItems.get(groupPosition);
126 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
134 getGroupId(int groupPosition) argument
138 getChildId(int groupPosition, int childPosition) argument
150 isChildSelectable(int groupPosition, int childPosition) argument
154 onGroupCollapsed(int groupPosition) argument
158 onGroupExpanded(int groupPosition) argument
164 getChildType(int groupPosition, int childPosition) argument
172 getGroupType(int groupPosition) argument
[all...]
/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 249 milliseconds