HomeSort by relevance Sort by last modified time
    Searched refs:groupPosition (Results 1 - 25 of 62) sorted by null

1 2 3

  /frameworks/base/core/java/android/widget/
ExpandableListAdapter.java 50 * @param groupPosition the position of the group for which the children
54 int getChildrenCount(int groupPosition);
59 * @param groupPosition the position of the group
62 Object getGroup(int groupPosition);
67 * @param groupPosition the position of the group that the child resides in
72 Object getChild(int groupPosition, int childPosition);
80 * @param groupPosition the position of the group for which the ID is wanted
83 long getGroupId(int groupPosition);
91 * @param groupPosition the position of the group that contains the child
96 long getChildId(int groupPosition, int childPosition)
    [all...]
HeterogeneousExpandableList.java 45 * @param groupPosition the position of the group for which the type should be returned.
54 int getGroupType(int groupPosition);
61 * @param groupPosition the position of the group that the child resides in
71 int getChildType(int groupPosition, int childPosition);
CursorTreeAdapter.java 92 * @param groupPosition The group whose children will be returned
99 synchronized MyCursorHelper getChildrenCursorHelper(int groupPosition, boolean requestCursor) {
100 MyCursorHelper cursorHelper = mChildrenCursorHelpers.get(groupPosition);
103 if (mGroupCursorHelper.moveTo(groupPosition) == null) return null;
107 mChildrenCursorHelpers.put(groupPosition, cursorHelper);
149 * @param groupPosition The group whose children are being set via this Cursor.
152 public void setChildrenCursor(int groupPosition, Cursor childrenCursor) {
158 MyCursorHelper childrenCursorHelper = getChildrenCursorHelper(groupPosition, false);
167 public Cursor getChild(int groupPosition, int childPosition) {
169 return getChildrenCursorHelper(groupPosition, true).moveTo(childPosition)
    [all...]
BaseExpandableListAdapter.java 63 public void onGroupCollapsed(int groupPosition) {
66 public void onGroupExpanded(int groupPosition) {
111 public int getChildType(int groupPosition, int childPosition) {
125 * @return 0 for any groupPosition, since only one group type count is declared.
127 public int getGroupType(int groupPosition) {
SimpleExpandableListAdapter.java 213 public Object getChild(int groupPosition, int childPosition) {
214 return mChildData.get(groupPosition).get(childPosition);
217 public long getChildId(int groupPosition, int childPosition) {
221 public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
229 bindView(v, mChildData.get(groupPosition).get(childPosition), mChildFrom, mChildTo);
254 public int getChildrenCount(int groupPosition) {
255 return mChildData.get(groupPosition).size();
258 public Object getGroup(int groupPosition) {
259 return mGroupData.get(groupPosition);
266 public long getGroupId(int groupPosition) {
    [all...]
ExpandableListPosition.java 81 static ExpandableListPosition obtainGroupPosition(int groupPosition) {
82 return obtain(GROUP, groupPosition, 0, 0);
85 static ExpandableListPosition obtainChildPosition(int groupPosition, int childPosition) {
86 return obtain(CHILD, groupPosition, childPosition, 0);
ExpandableListView.java 791 * @param groupPosition The group position that was collapsed
793 void onGroupCollapse(int groupPosition);
809 * @param groupPosition The group position that was expanded
811 void onGroupExpand(int groupPosition);
832 * @param groupPosition The group position that was clicked
836 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition,
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
VCardDetailAdapter.java 43 public Object getChild(final int groupPosition, final int childPosition) {
44 return mVCards.get(groupPosition).getContactInfo().get(childPosition);
48 public long getChildId(final int groupPosition, final int childPosition) {
53 public View getChildView(final int groupPosition, final int childPosition,
63 getChild(groupPosition, childPosition);
70 public int getChildrenCount(final int groupPosition) {
71 return mVCards.get(groupPosition).getContactInfo().size();
75 public Object getGroup(final int groupPosition) {
76 return mVCards.get(groupPosition);
85 public long getGroupId(final int groupPosition) {
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
PositionTesterContextMenuListener.java 28 private int groupPosition, childPosition;
37 public void expectGroupContextMenu(int groupPosition) {
38 this.groupPosition = groupPosition;
42 public void expectChildContextMenu(int groupPosition, int childPosition) {
43 this.groupPosition = groupPosition;
49 this.groupPosition = flatPosition;
61 if (!areEqual("Wrong flat position", groupPosition, adapterContextMenuInfo.position)) {
79 if (!areEqual("Wrong group position", groupPosition, packedPositionGroup))
    [all...]
BaseExpandableListAdapterTest.java 135 public Object getChild(int groupPosition, int childPosition) {
139 public long getChildId(int groupPosition, int childPosition) {
143 public View getChildView(int groupPosition, int childPosition,
148 public int getChildrenCount(int groupPosition) {
152 public Object getGroup(int groupPosition) {
164 public long getGroupId(int groupPosition) {
168 public View getGroupView(int groupPosition, boolean isExpanded,
177 public boolean isChildSelectable(int groupPosition, int childPosition) {
ExpandableListViewTest.java 407 public int getChildrenCount(int groupPosition) {
408 switch (groupPosition) {
416 public Object getGroup(int groupPosition) {
417 switch (groupPosition) {
425 public Object getChild(int groupPosition, int childPosition) {
426 if (groupPosition == 0 && childPosition == 0)
432 public long getGroupId(int groupPosition) {
436 public long getChildId(int groupPosition, int childPosition) {
444 public View getGroupView(int groupPosition, boolean isExpanded,
449 public View getChildView(int groupPosition, int childPosition
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeExpandableAdapter.java 102 private AdapterItem getChildItem(int groupPosition, int childPosition) {
103 AdapterItem item = mItems.get(groupPosition);
117 public int getChildrenCount(int groupPosition) {
118 AdapterItem item = mItems.get(groupPosition);
123 public Object getGroup(int groupPosition) {
124 return mItems.get(groupPosition);
128 public Object getChild(int groupPosition, int childPosition) {
129 return getChildItem(groupPosition, childPosition);
133 public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
136 AdapterItem item = mItems.get(groupPosition);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ExpandableList1.java 99 public Object getChild(int groupPosition, int childPosition) {
100 return children[groupPosition][childPosition];
103 public long getChildId(int groupPosition, int childPosition) {
107 public int getChildrenCount(int groupPosition) {
108 return children[groupPosition].length;
127 public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
130 textView.setText(getChild(groupPosition, childPosition).toString());
134 public Object getGroup(int groupPosition) {
135 return groups[groupPosition];
142 public long getGroupId(int groupPosition) {
    [all...]
ExpandableList2.java 66 int groupPosition = (Integer) cookie;
67 mAdapter.setChildrenCursor(groupPosition, cursor);
  /frameworks/base/core/java/android/app/
ExpandableListActivity.java 180 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
188 public void onGroupCollapse(int groupPosition) {
194 public void onGroupExpand(int groupPosition) {
304 * @param groupPosition The position of the group that contains the child.
310 public boolean setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) {
311 return mList.setSelectedChild(groupPosition, childPosition, shouldExpandGroup);
316 * @param groupPosition The position of the group that should be selected.
318 public void setSelectedGroup(int groupPosition) {
319 mList.setSelectedGroup(groupPosition);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapSettingsAdapter.java 80 public void onGroupExpand(int groupPosition) {
81 BluetoothMapAccountItem group = mMainGroup.get(groupPosition);
83 mGroupStatus[groupPosition] = 1;
95 public BluetoothMapAccountItem getChild(int groupPosition, int childPosition) {
96 BluetoothMapAccountItem item = mMainGroup.get(groupPosition);
104 public long getChildId(int groupPosition, int childPosition) {
109 public View getChildView(final int groupPosition, final int childPosition,
124 final BluetoothMapAccountItem child = getChild(groupPosition, childPosition);
130 (BluetoothMapAccountItem)getGroup(groupPosition);
198 public int getChildrenCount(int groupPosition) {
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/util/
ExpandableListScenario.java 303 public Object getChild(int groupPosition, int childPosition) {
304 return getValueAtPosition(ExpandableListView.getPackedPositionForChild(groupPosition,
308 public long getChildId(int groupPosition, int childPosition) {
309 return mGroups.get(groupPosition).children.get(childPosition).id;
312 public int getChildrenCount(int groupPosition) {
313 return mGroups.get(groupPosition).children.size();
316 public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
318 return getView(ExpandableListView.getPackedPositionForChild(groupPosition,
322 public Object getGroup(int groupPosition) {
323 return getValueAtPosition(ExpandableListView.getPackedPositionForGroup(groupPosition));
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TrustedCredentialsSettings.java 343 public int getChildrenCount(int groupPosition) {
344 List<CertHolder> certHolders = mData.mCertHoldersByUserId.valueAt(groupPosition);
351 public UserHandle getGroup(int groupPosition) {
352 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition));
355 public CertHolder getChild(int groupPosition, int childPosition) {
356 return mData.mCertHoldersByUserId.get(getUserIdByGroup(groupPosition)).get(
360 public long getGroupId(int groupPosition) {
361 return getUserIdByGroup(groupPosition);
363 private int getUserIdByGroup(int groupPosition) {
364 return mData.mCertHoldersByUserId.keyAt(groupPosition);
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
ClusteredSuggestionsView.java 55 ExpandableListView parent, View v, int groupPosition, long id) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
CustomContactListFilterActivity.java 573 public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
583 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition);
596 public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
607 final AccountDisplay account = mAccounts.get(groupPosition);
608 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition);
629 public Object getChild(int groupPosition, int childPosition) {
630 final AccountDisplay account = mAccounts.get(groupPosition);
641 public long getChildId(int groupPosition, int childPosition) {
642 final GroupDelta child = (GroupDelta)getChild(groupPosition, childPosition);
652 public int getChildrenCount(int groupPosition) {
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
ExpandableListTestActivity.java 170 public void onGroupCollapse(int groupPosition) {
172 super.onGroupCollapse(groupPosition);
176 public void onGroupExpand(int groupPosition) {
178 super.onGroupExpand(groupPosition);
  /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
ListenerBindingObject.java 97 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
102 public boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) {
106 public void onGroupCollapse(int groupPosition) { }
108 public void onGroupExpand(int groupPosition) { }
  /frameworks/ex/common/java/com/android/common/widget/
GroupingListAdapter.java 55 private int groupPosition;
352 metadata.groupPosition = i;
413 mGroupMetadata[mPositionMetadata.groupPosition] &= ~EXPANDED_GROUP_MASK;
415 mGroupMetadata[mPositionMetadata.groupPosition] |= EXPANDED_GROUP_MASK;
  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceControlActivity.java 123 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
127 mGattCharacteristics.get(groupPosition).get(childPosition);
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceControlActivity.java 123 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
127 mGattCharacteristics.get(groupPosition).get(childPosition);

Completed in 649 milliseconds

1 2 3