Home
last modified time | relevance | path

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

/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.java866 int childPosition, long id); in onChildClick() argument
984 … public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) { in setSelectedChild() argument
986 groupPosition, childPosition); in setSelectedChild()
1097 public static long getPackedPositionForChild(int groupPosition, int childPosition) { in getPackedPositionForChild() argument
1101 | (childPosition & PACKED_POSITION_INT_MASK_CHILD); in getPackedPositionForChild()
DGallery.java1277 private boolean scrollToChild(int childPosition) { in scrollToChild() argument
1278 View child = getChildAt(childPosition); in scrollToChild()
DListView.java1124 final int childPosition = mFirstPosition + indexOfChild(focusedChild); in onSizeChanged() local
1131 post(mFocusSelector.setup(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/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java659 void assertSpan(String msg, int childPosition, int expectedSpan) { in assertSpan() argument
660 View view = mLayoutManager.findViewByPosition(childPosition); in assertSpan()
661 assertNotNull(msg + "view at position " + childPosition + " should exists", view); in assertSpan()
662 assertEquals(msg + "[child:" + childPosition + "]", expectedSpan, in assertSpan()