Home
last modified time | relevance | path

Searched refs:groupPosition (Results 1 – 14 of 14) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java101 private AdapterItem getChildItem(int groupPosition, int childPosition) { in getChildItem() argument
102 AdapterItem item = mItems.get(groupPosition); in getChildItem()
116 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
117 AdapterItem item = mItems.get(groupPosition); in getChildrenCount()
122 public Object getGroup(int groupPosition) { in getGroup() argument
123 return mItems.get(groupPosition); in getGroup()
127 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
128 return getChildItem(groupPosition, childPosition); in getChild()
132 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
135 AdapterItem item = mItems.get(groupPosition); in getGroupView()
[all …]
/frameworks/base/core/java/android/widget/
DExpandableListAdapter.java54 int getChildrenCount(int groupPosition); in getChildrenCount() argument
62 Object getGroup(int groupPosition); in getGroup() argument
72 Object getChild(int groupPosition, int childPosition); in getChild() argument
83 long getGroupId(int groupPosition); in getGroupId() argument
96 long getChildId(int groupPosition, int childPosition); in getChildId() argument
125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); in getGroupView() argument
145 View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
155 boolean isChildSelectable(int groupPosition, int childPosition); in isChildSelectable() argument
172 void onGroupExpanded(int groupPosition); in onGroupExpanded() argument
179 void onGroupCollapsed(int groupPosition); in onGroupCollapsed() argument
DCursorTreeAdapter.java99 synchronized MyCursorHelper getChildrenCursorHelper(int groupPosition, boolean requestCursor) { in getChildrenCursorHelper() argument
100 MyCursorHelper cursorHelper = mChildrenCursorHelpers.get(groupPosition); in getChildrenCursorHelper()
103 if (mGroupCursorHelper.moveTo(groupPosition) == null) return null; in getChildrenCursorHelper()
107 mChildrenCursorHelpers.put(groupPosition, cursorHelper); in getChildrenCursorHelper()
152 public void setChildrenCursor(int groupPosition, Cursor childrenCursor) { in setChildrenCursor() argument
158 MyCursorHelper childrenCursorHelper = getChildrenCursorHelper(groupPosition, false); in setChildrenCursor()
167 public Cursor getChild(int groupPosition, int childPosition) { in getChild() argument
169 return getChildrenCursorHelper(groupPosition, true).moveTo(childPosition); in getChild()
172 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
173 return getChildrenCursorHelper(groupPosition, true).getId(childPosition); in getChildId()
[all …]
DSimpleExpandableListAdapter.java213 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
214 return mChildData.get(groupPosition).get(childPosition); in getChild()
217 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
221 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
229 bindView(v, mChildData.get(groupPosition).get(childPosition), mChildFrom, mChildTo); in getChildView()
254 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
255 return mChildData.get(groupPosition).size(); in getChildrenCount()
258 public Object getGroup(int groupPosition) { in getGroup() argument
259 return mGroupData.get(groupPosition); in getGroup()
266 public long getGroupId(int groupPosition) { in getGroupId() argument
[all …]
DBaseExpandableListAdapter.java63 public void onGroupCollapsed(int groupPosition) { in onGroupCollapsed() argument
66 public void onGroupExpanded(int groupPosition) { in onGroupExpanded() argument
111 public int getChildType(int groupPosition, int childPosition) { in getChildType() argument
127 public int getGroupType(int groupPosition) { in getGroupType() argument
DExpandableListPosition.java81 static ExpandableListPosition obtainGroupPosition(int groupPosition) { in obtainGroupPosition() argument
82 return obtain(GROUP, groupPosition, 0, 0); in obtainGroupPosition()
85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { in obtainChildPosition() argument
86 return obtain(CHILD, groupPosition, childPosition, 0); in obtainChildPosition()
DHeterogeneousExpandableList.java54 int getGroupType(int groupPosition); in getGroupType() argument
71 int getChildType(int groupPosition, int childPosition); in getChildType() argument
DExpandableListView.java808 void onGroupCollapse(int groupPosition); in onGroupCollapse() argument
827 void onGroupExpand(int groupPosition); in onGroupExpand() argument
853 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, in onGroupClick() argument
881 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, in onChildClick() argument
980 public void setSelectedGroup(int groupPosition) { in setSelectedGroup() argument
982 .obtainGroupPosition(groupPosition); in setSelectedGroup()
1001 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
1003 groupPosition, childPosition); in setSelectedChild()
1012 expandGroup(groupPosition); in setSelectedChild()
1037 public boolean isGroupExpanded(int groupPosition) { in isGroupExpanded() argument
[all …]
DExpandableListConnector.java704 public boolean isGroupExpanded(int groupPosition) { in isGroupExpanded() argument
709 if (groupMetadata.gPos == groupPosition) { in isGroupExpanded()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java51 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
52 return mRegistry.getBenchmarkCount(groupPosition); in getChildrenCount()
56 public Object getGroup(int groupPosition) { in getGroup() argument
57 return mRegistry.getBenchmarkGroup(groupPosition); in getGroup()
61 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
62 BenchmarkGroup benchmarkGroup = mRegistry.getBenchmarkGroup(groupPosition); in getChild()
72 public long getGroupId(int groupPosition) { in getGroupId() argument
73 return groupPosition; in getGroupId()
77 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
87 …public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent… in getGroupView() argument
[all …]
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/
DMain.kt79 override fun getGroup(groupPosition: Int): DemoGroup { in onCreate()
80 return AllDemos[groupPosition] in onCreate()
83 override fun isChildSelectable(groupPosition: Int, childPosition: Int): Boolean = true in onCreate()
88 groupPosition: Int, in onCreate()
95 view.text = AllDemos[groupPosition].groupName in onCreate()
99 override fun getChildrenCount(groupPosition: Int): Int { in onCreate()
100 return AllDemos[groupPosition].demos.size in onCreate()
103 override fun getChild(groupPosition: Int, childPosition: Int): Demo { in onCreate()
104 return AllDemos[groupPosition].demos[childPosition] in onCreate()
107 override fun getGroupId(groupPosition: Int): Long = groupPosition.toLong() in onCreate()
[all …]
/frameworks/base/core/java/android/app/
DExpandableListActivity.java184 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, in onChildClick() argument
192 public void onGroupCollapse(int groupPosition) { in onGroupCollapse() argument
198 public void onGroupExpand(int groupPosition) { in onGroupExpand() argument
314 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
315 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup); in setSelectedChild()
322 public void setSelectedGroup(int groupPosition) { in setSelectedGroup() argument
323 mList.setSelectedGroup(groupPosition); in setSelectedGroup()
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java55 private int groupPosition; field in GroupingListAdapter.PositionMetadata
352 metadata.groupPosition = i; in obtainPositionMetadata()
413 mGroupMetadata[mPositionMetadata.groupPosition] &= ~EXPANDED_GROUP_MASK; in toggleGroup()
415 mGroupMetadata[mPositionMetadata.groupPosition] |= EXPANDED_GROUP_MASK; in toggleGroup()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...