Searched refs:groupPosition (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PositionTesterContextMenuListener.java | 28 private int groupPosition, childPosition; field in PositionTesterContextMenuListener 37 public void expectGroupContextMenu(int groupPosition) { in expectGroupContextMenu() argument 38 this.groupPosition = groupPosition; in expectGroupContextMenu() 42 public void expectChildContextMenu(int groupPosition, int childPosition) { in expectChildContextMenu() argument 43 this.groupPosition = groupPosition; in expectChildContextMenu() 49 this.groupPosition = flatPosition; in expectAdapterContextMenu() 61 if (!areEqual("Wrong flat position", groupPosition, adapterContextMenuInfo.position)) { in onCreateContextMenu() 79 if (!areEqual("Wrong group position", groupPosition, packedPositionGroup)) { in onCreateContextMenu()
|
D | BaseExpandableListAdapterTest.java | 141 public Object getChild(int groupPosition, int childPosition) { in getChild() argument 145 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument 149 public View getChildView(int groupPosition, int childPosition, in getChildView() argument 154 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument 158 public Object getGroup(int groupPosition) { in getGroup() argument 170 public long getGroupId(int groupPosition) { in getGroupId() argument 174 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument 183 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
|
D | ExpandableListViewTest.java | 612 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument 613 switch (groupPosition) { in getChildrenCount() 621 public Object getGroup(int groupPosition) { in getGroup() argument 622 switch (groupPosition) { in getGroup() 630 public Object getChild(int groupPosition, int childPosition) { in getChild() argument 631 if (groupPosition == 0 && childPosition == 0) in getChild() 637 public long getGroupId(int groupPosition) { in getGroupId() argument 641 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument 649 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument 656 result.setText("Group " + groupPosition); in getGroupView() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ExpandableListScenario.java | 306 public Object getChild(int groupPosition, int childPosition) { in getChild() argument 307 return getValueAtPosition(ExpandableListView.getPackedPositionForChild(groupPosition, in getChild() 311 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument 312 return mGroups.get(groupPosition).children.get(childPosition).id; in getChildId() 315 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument 316 return mGroups.get(groupPosition).children.size(); in getChildrenCount() 319 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument 321 return getView(ExpandableListView.getPackedPositionForChild(groupPosition, in getChildView() 325 public Object getGroup(int groupPosition) { in getGroup() argument 326 return getValueAtPosition(ExpandableListView.getPackedPositionForGroup(groupPosition)); in getGroup() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ExpandableListTestActivity.java | 151 public void onGroupCollapse(int groupPosition) { in onGroupCollapse() argument 153 super.onGroupCollapse(groupPosition); in onGroupCollapse() 157 public void onGroupExpand(int groupPosition) { in onGroupExpand() argument 159 super.onGroupExpand(groupPosition); in onGroupExpand()
|