Searched refs:PositionMetadata (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | ExpandableListConnector.java | 107 PositionMetadata getUnflattenedPos(final int flPos) { in getUnflattenedPos() 124 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() 274 return PositionMetadata.obtain(pos.groupPos, pos.type, in getFlattenedPos() 304 return PositionMetadata.obtain(midExpGm.flPos, pos.type, in getFlattenedPos() 308 return PositionMetadata.obtain(midExpGm.flPos + pos.childPos in getFlattenedPos() 347 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos, in getFlattenedPos() [all …]
|
D | ExpandableListView.java | 33 import android.widget.ExpandableListConnector.PositionMetadata; 375 PositionMetadata pos; in dispatchDraw() 476 private Drawable getIndicator(PositionMetadata pos) { in getIndicator() 528 PositionMetadata pos = mConnector.getUnflattenedPos(adjustedPosition); in drawDivider() 665 final PositionMetadata posMetadata = mConnector.getUnflattenedPos(position); in handleItemClick() 748 PositionMetadata pm = mConnector.getFlattenedPos(elGroupPos); in expandGroup() 893 PositionMetadata pm = mConnector.getUnflattenedPos(adjustedPosition); in getExpandableListPosition() 913 PositionMetadata pm = mConnector.getFlattenedPos(elPackedPos); in getFlatListPosition() 964 PositionMetadata pm = mConnector.getFlattenedPos(elGroupPos); in setSelectedGroup() 985 PositionMetadata flatChildPos = mConnector.getFlattenedPos(elChildPos); in setSelectedChild() [all …]
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 50 protected static class PositionMetadata { class in GroupingListAdapter 88 private PositionMetadata mPositionMetadata = new PositionMetadata(); 268 public void obtainPositionMetadata(PositionMetadata metadata, int position) { in obtainPositionMetadata()
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | GroupingListAdapterTests.java | 303 GroupingListAdapter.PositionMetadata metadata = new GroupingListAdapter.PositionMetadata(); in assertPositionMetadata()
|