Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java134 final int childPosition = getChildPosition(childIndex); in removeChild() local
141 notifyItemRangeRemoved(childPosition, childCount); in removeChild()
219 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeChanged() local
220 if (childPosition >= 0) { in onItemRangeChanged()
221 notifyItemRangeChanged(childPosition + positionStart, itemCount); in onItemRangeChanged()
230 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeInserted() local
231 if (childPosition >= 0) { in onItemRangeInserted()
232 notifyItemRangeInserted(childPosition + positionStart, itemCount); in onItemRangeInserted()
242 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeMoved() local
243 if (childPosition >= 0) { in onItemRangeMoved()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java102 private AdapterItem getChildItem(int groupPosition, int childPosition) { in getChildItem() argument
106 return children.get(childPosition); in getChildItem()
128 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
129 return getChildItem(groupPosition, childPosition); in getChild()
144 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
148 AdapterItem item = getChildItem(groupPosition, childPosition); in getChildView()
161 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
162 return childPosition; in getChildId()
176 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
218 public int getChildType(int groupPosition, int childPosition) { in getChildType() argument
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java61 public Object getChild(int groupPosition, int childPosition) { in getChild() argument
65 return benchmarkGroup.getBenchmarks()[childPosition]; in getChild()
77 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
78 return childPosition; in getChildId()
100 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
103 (BenchmarkGroup.Benchmark) getChild(groupPosition, childPosition); in getChildView()
118 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
/frameworks/base/core/java/android/widget/
DExpandableListAdapter.java72 Object getChild(int groupPosition, int childPosition); in getChild() argument
96 long getChildId(int groupPosition, int childPosition); in getChildId() argument
145 View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
155 boolean isChildSelectable(int groupPosition, int childPosition); in isChildSelectable() argument
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
218 return childPosition; in getChildId()
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()
293 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
DCursorTreeAdapter.java167 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()
236 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
240 Cursor cursor = cursorHelper.moveTo(childPosition); in getChildView()
280 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
DExpandableListPosition.java85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { in obtainChildPosition() argument
86 return obtain(CHILD, groupPosition, childPosition, 0); in obtainChildPosition()
DHeterogeneousExpandableList.java71 int getChildType(int groupPosition, int childPosition); in getChildType() argument
DBaseExpandableListAdapter.java111 public int getChildType(int groupPosition, int childPosition) { in getChildType() argument
DExpandableListView.java876 int childPosition, long id); in onChildClick() argument
995 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
997 groupPosition, childPosition); in setSelectedChild()
1108 public static long getPackedPositionForChild(int groupPosition, int childPosition) { in getPackedPositionForChild() argument
1112 | (childPosition & PACKED_POSITION_INT_MASK_CHILD); in getPackedPositionForChild()
DGallery.java1321 private boolean scrollToChild(int childPosition) { in scrollToChild() argument
1322 View child = getChildAt(childPosition); in scrollToChild()
DListView.java1263 final int childPosition = mFirstPosition + indexOfChild(focusedChild); in onSizeChanged() local
1270 post(mFocusSelector.setupForSetSelection(childPosition, top)); in onSizeChanged()
/frameworks/base/core/java/android/app/
DExpandableListActivity.java185 int childPosition, long id) { in onChildClick() argument
314 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
315 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup); in setSelectedChild()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1261 int childPosition = mOverdrawChildPosition; in addChildDrawingOrderCallback()
1262 if (childPosition == -1) { in addChildDrawingOrderCallback()
1263 childPosition = mRecyclerView.indexOfChild(mOverdrawChild); in addChildDrawingOrderCallback()
1264 mOverdrawChildPosition = childPosition; in addChildDrawingOrderCallback()
1267 return childPosition; in addChildDrawingOrderCallback()
1269 return i < childPosition ? i : i + 1; in addChildDrawingOrderCallback()