Home
last modified time | relevance | path

Searched refs:childPosition (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DPositionTesterContextMenuListener.java28 private int groupPosition, childPosition; field in PositionTesterContextMenuListener
42 public void expectChildContextMenu(int groupPosition, int childPosition) { in expectChildContextMenu() argument
44 this.childPosition = childPosition; in expectChildContextMenu()
85 if (!areEqual("Wrong child position", childPosition, packedPositionChild)) { in onCreateContextMenu()
DBaseExpandableListAdapterTest.java141 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
183 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
DExpandableListViewTest.java630 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
631 if (groupPosition == 0 && childPosition == 0) in getChild()
641 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
660 public View getChildView(int groupPosition, int childPosition, in getChildView() argument
667 result.setText("Child " + childPosition); in getChildView()
671 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java306 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
308 childPosition)); in getChild()
311 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
312 return mGroups.get(groupPosition).children.get(childPosition).id; in getChildId()
319 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
322 childPosition), convertView, parent); in getChildView()
343 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument