Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DExpandableListPosition.java28 class ExpandableListPosition { class
31 private static ArrayList<ExpandableListPosition> sPool =
32 new ArrayList<ExpandableListPosition>(MAX_POOL_SIZE);
73 private ExpandableListPosition() { in ExpandableListPosition() method in ExpandableListPosition
81 static ExpandableListPosition obtainGroupPosition(int groupPosition) { in obtainGroupPosition()
85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { in obtainChildPosition()
89 static ExpandableListPosition obtainPosition(long packedPosition) { in obtainPosition()
94 ExpandableListPosition elp = getRecycledOrCreate(); in obtainPosition()
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { in obtain()
107 ExpandableListPosition elp = getRecycledOrCreate(); in obtain()
[all …]
DExpandableListConnector.java124 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, flPos, in getUnflattenedPos()
163 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, in getUnflattenedPos()
176 return PositionMetadata.obtain(flPos, ExpandableListPosition.CHILD, in getUnflattenedPos()
243 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, groupPos, -1, in getUnflattenedPos()
258 PositionMetadata getFlattenedPos(final ExpandableListPosition pos) { in getFlattenedPos()
302 if (pos.type == ExpandableListPosition.GROUP) { in getFlattenedPos()
306 } else if (pos.type == ExpandableListPosition.CHILD) { in getFlattenedPos()
321 if (pos.type != ExpandableListPosition.GROUP) { in getFlattenedPos()
376 final ExpandableListPosition pos = metadata.position; in isEnabled()
379 if (pos.type == ExpandableListPosition.CHILD) { in isEnabled()
[all …]
DExpandableListView.java381 int lastItemType = ~(ExpandableListPosition.CHILD | ExpandableListPosition.GROUP); in dispatchDraw()
416 if (pos.position.type == ExpandableListPosition.CHILD) { in dispatchDraw()
479 if (pos.position.type == ExpandableListPosition.GROUP) { in getIndicator()
530 if ((pos.position.type == ExpandableListPosition.CHILD) || (pos.isExpanded() && in drawDivider()
670 if (posMetadata.position.type == ExpandableListPosition.GROUP) { in handleItemClick()
746 ExpandableListPosition elGroupPos = ExpandableListPosition.obtain( in expandGroup()
747 ExpandableListPosition.GROUP, groupPos, -1, -1); in expandGroup()
911 ExpandableListPosition elPackedPos = ExpandableListPosition in getFlatListPosition()
962 ExpandableListPosition elGroupPos = ExpandableListPosition in setSelectedGroup()
983 ExpandableListPosition elChildPos = ExpandableListPosition.obtainChildPosition( in setSelectedChild()
[all …]