Home
last modified time | relevance | path

Searched refs:groupPos (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListConnector.java195 int groupPos = 0; in getUnflattenedPos() local
218 groupPos = in getUnflattenedPos()
237 groupPos = rightExpGm.gPos - (rightExpGm.flPos - flPos); in getUnflattenedPos()
243 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, groupPos, -1, in getUnflattenedPos()
274 return PositionMetadata.obtain(pos.groupPos, pos.type, in getFlattenedPos()
275 pos.groupPos, pos.childPos, null, 0); in getFlattenedPos()
287 if (pos.groupPos > midExpGm.gPos) { in getFlattenedPos()
292 } else if (pos.groupPos < midExpGm.gPos) { in getFlattenedPos()
297 } else if (pos.groupPos == midExpGm.gPos) { in getFlattenedPos()
305 pos.groupPos, pos.childPos, midExpGm, midExpGroupIndex); in getFlattenedPos()
[all …]
DExpandableListPosition.java48 public int groupPos; field in ExpandableListPosition
67 groupPos = 0; in resetState()
77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos); in getPackedPosition()
78 else return ExpandableListView.getPackedPositionForGroup(groupPos); in getPackedPosition()
95 elp.groupPos = ExpandableListView.getPackedPositionGroup(packedPosition); in obtainPosition()
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { in obtain() argument
109 elp.groupPos = groupPos; in obtain()
DExpandableListView.java676 posMetadata.position.groupPos, id)) { in handleItemClick()
689 mOnGroupCollapseListener.onGroupCollapse(posMetadata.position.groupPos); in handleItemClick()
698 mOnGroupExpandListener.onGroupExpand(posMetadata.position.groupPos); in handleItemClick()
701 final int groupPos = posMetadata.position.groupPos; in handleItemClick() local
705 smoothScrollToPosition(shiftedGroupPosition + mAdapter.getChildrenCount(groupPos), in handleItemClick()
714 return mOnChildClickListener.onChildClick(this, v, posMetadata.position.groupPos, in handleItemClick()
733 public boolean expandGroup(int groupPos) { in expandGroup() argument
734 return expandGroup(groupPos, false); in expandGroup()
745 public boolean expandGroup(int groupPos, boolean animate) { in expandGroup() argument
747 ExpandableListPosition.GROUP, groupPos, -1, -1); in expandGroup()
[all …]