/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemGroup.java | 142 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/ |
D | FakeExpandableAdapter.java | 102 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/ |
D | ExpandableListAdapter.java | 72 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
|
D | SimpleExpandableListAdapter.java | 213 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
|
D | CursorTreeAdapter.java | 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() 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
|
D | ExpandableListPosition.java | 85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { in obtainChildPosition() argument 86 return obtain(CHILD, groupPosition, childPosition, 0); in obtainChildPosition()
|
D | HeterogeneousExpandableList.java | 71 int getChildType(int groupPosition, int childPosition); in getChildType() argument
|
D | BaseExpandableListAdapter.java | 111 public int getChildType(int groupPosition, int childPosition) { in getChildType() argument
|
D | ExpandableListView.java | 864 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()
|
D | Gallery.java | 1304 private boolean scrollToChild(int childPosition) { in scrollToChild() argument 1305 View child = getChildAt(childPosition); in scrollToChild()
|
D | ListView.java | 1255 final int childPosition = mFirstPosition + indexOfChild(focusedChild); in onSizeChanged() local 1262 post(mFocusSelector.setupForSetSelection(childPosition, top)); in onSizeChanged()
|
/frameworks/base/core/java/android/app/ |
D | ExpandableListActivity.java | 181 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/ |
D | ItemTouchHelper.java | 1259 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/ |
D | ItemTouchHelper.java | 1261 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/ |
D | ListenerBindingObject.java | 98 int childPosition, long id) { in onChildClick() argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManagerTest.java | 1082 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()
|