Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java142 final int childPosition = getChildPosition(childIndex); in removeChild() local
149 notifyItemRangeRemoved(childPosition, childCount); in removeChild()
229 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeChanged() local
230 if (childPosition >= 0) { in onItemRangeChanged()
231 notifyItemRangeChanged(childPosition + positionStart, itemCount); in onItemRangeChanged()
240 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeInserted() local
241 if (childPosition >= 0) { in onItemRangeInserted()
242 notifyItemRangeInserted(childPosition + positionStart, itemCount); in onItemRangeInserted()
252 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeMoved() local
253 if (childPosition >= 0) { in onItemRangeMoved()
[all …]
/frameworks/base/tools/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/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.java864 int childPosition, long id); in onChildClick() argument
982 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
984 groupPosition, childPosition); in setSelectedChild()
1095 public static long getPackedPositionForChild(int groupPosition, int childPosition) { in getPackedPositionForChild() argument
1099 | (childPosition & PACKED_POSITION_INT_MASK_CHILD); in getPackedPositionForChild()
DGallery.java1304 private boolean scrollToChild(int childPosition) { in scrollToChild() argument
1305 View child = getChildAt(childPosition); in scrollToChild()
DListView.java1255 final int childPosition = mFirstPosition + indexOfChild(focusedChild); in onSizeChanged() local
1262 post(mFocusSelector.setupForSetSelection(childPosition, top)); in onSizeChanged()
/frameworks/base/core/java/android/app/
DExpandableListActivity.java181 int childPosition, long id) { in onChildClick() argument
310 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
311 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup); in setSelectedChild()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java1259 int childPosition = mOverdrawChildPosition; in addChildDrawingOrderCallback()
1260 if (childPosition == -1) { in addChildDrawingOrderCallback()
1261 childPosition = mRecyclerView.indexOfChild(mOverdrawChild); in addChildDrawingOrderCallback()
1262 mOverdrawChildPosition = childPosition; in addChildDrawingOrderCallback()
1265 return childPosition; in addChildDrawingOrderCallback()
1267 return i < childPosition ? i : i + 1; in addChildDrawingOrderCallback()
/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()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java98 int childPosition, long id) { in onChildClick() argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java1082 void assertSpan(String msg, int childPosition, int expectedSpan) { in assertSpan() argument
1083 View view = mLayoutManager.findViewByPosition(childPosition); in assertSpan()
1084 assertNotNull(msg + " view at position " + childPosition + " should exists", view); in assertSpan()
1085 assertEquals(msg + "[child:" + childPosition + "]", expectedSpan, in assertSpan()