Searched defs:childPosition (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DHeterogeneousExpandableList.java62 * @param childPosition the position of the child with respect to other children in the group
71 int getChildType(int groupPosition, int childPosition); argument
H A DBaseExpandableListAdapter.java111 public int getChildType(int groupPosition, int childPosition) { argument
H A DExpandableListPosition.java85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) { argument
86 return obtain(CHILD, groupPosition, childPosition, 0);
H A DExpandableListAdapter.java68 * @param childPosition the position of the child with respect to other
72 Object getChild(int groupPosition, int childPosition); argument
92 * @param childPosition the position of the child within the group for which
96 long getChildId(int groupPosition, int childPosition); argument
132 * @param childPosition the position of the child (for which the View is
145 View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
152 * @param childPosition the position of the child within the group
155 boolean isChildSelectable(int groupPosition, int childPosition); argument
H A DSimpleExpandableListAdapter.java213 public Object getChild(int groupPosition, int childPosition) { argument
214 return mChildData.get(groupPosition).get(childPosition);
217 public long getChildId(int groupPosition, int childPosition) { argument
218 return childPosition;
221 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
229 bindView(v, mChildData.get(groupPosition).get(childPosition), mChildFrom, mChildTo);
293 public boolean isChildSelectable(int groupPosition, int childPosition) { argument
H A DCursorTreeAdapter.java167 public Cursor getChild(int groupPosition, int childPosition) { argument
169 return getChildrenCursorHelper(groupPosition, true).moveTo(childPosition);
172 public long getChildId(int groupPosition, int childPosition) { argument
173 return getChildrenCursorHelper(groupPosition, true).getId(childPosition);
236 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
240 Cursor cursor = cursorHelper.moveTo(childPosition);
280 public boolean isChildSelectable(int groupPosition, int childPosition) { argument
H A DExpandableListView.java861 * @param childPosition The child position within the group
866 int childPosition, long id);
979 * @param childPosition The position of the child within the group.
984 public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { argument
986 groupPosition, childPosition);
1094 * @param childPosition The child position within the group.
1097 public static long getPackedPositionForChild(int groupPosition, int childPosition) { argument
1101 | (childPosition & PACKED_POSITION_INT_MASK_CHILD);
865 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
H A DGallery.java1277 private boolean scrollToChild(int childPosition) { argument
1278 View child = getChildAt(childPosition);
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java181 int childPosition, long id) {
305 * @param childPosition The position of the child within the group.
310 public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { argument
311 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup);
180 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java102 private AdapterItem getChildItem(int groupPosition, int childPosition) { argument
106 return children.get(childPosition);
128 public Object getChild(int groupPosition, int childPosition) { argument
129 return getChildItem(groupPosition, childPosition);
144 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, argument
148 AdapterItem item = getChildItem(groupPosition, childPosition);
161 public long getChildId(int groupPosition, int childPosition) { argument
162 return childPosition;
176 public boolean isChildSelectable(int groupPosition, int childPosition) { argument
218 public int getChildType(int groupPosition, int childPosition) { argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java659 void assertSpan(String msg, int childPosition, int expectedSpan) { argument
660 View view = mLayoutManager.findViewByPosition(childPosition);
661 assertNotNull(msg + "view at position " + childPosition + " should exists", view);
662 assertEquals(msg + "[child:" + childPosition + "]", expectedSpan,

Completed in 592 milliseconds