Home
last modified time | relevance | path

Searched refs:groupPosition (Results 1 – 9 of 9) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java69 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
74 public TermsDocument getGroup(int groupPosition) { in getGroup() argument
75 return getDisclaimer(groupPosition); in getGroup()
79 public TermsDocument getChild(int groupPosition, int childPosition) { in getChild() argument
80 return getDisclaimer(groupPosition); in getChild()
84 public long getGroupId(int groupPosition) { in getGroupId() argument
85 return groupPosition; in getGroupId()
89 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
100 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
102 String heading = getDisclaimer(groupPosition).getHeading(); in getGroupView()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java43 public Object getChild(final int groupPosition, final int childPosition) { in getChild() argument
44 return mVCards.get(groupPosition).getContactInfo().get(childPosition); in getChild()
48 public long getChildId(final int groupPosition, final int childPosition) { in getChildId() argument
53 public View getChildView(final int groupPosition, final int childPosition, in getChildView() argument
63 getChild(groupPosition, childPosition); in getChildView()
70 public int getChildrenCount(final int groupPosition) { in getChildrenCount() argument
71 return mVCards.get(groupPosition).getContactInfo().size(); in getChildrenCount()
75 public Object getGroup(final int groupPosition) { in getGroup() argument
76 return mVCards.get(groupPosition); in getGroup()
85 public long getGroupId(final int groupPosition) { in getGroupId() argument
[all …]
DVCardDetailFragment.java89 int groupPosition, int childPosition, long childId) { in onCreateView()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java72 public void onGroupExpand(int groupPosition) { in BluetoothMapSettingsAdapter()
73 BluetoothMapAccountItem group = mMainGroup.get(groupPosition); in BluetoothMapSettingsAdapter()
75 mGroupStatus[groupPosition] = 1; in BluetoothMapSettingsAdapter()
89 public BluetoothMapAccountItem getChild(int groupPosition, int childPosition) { in getChild() argument
90 BluetoothMapAccountItem item = mMainGroup.get(groupPosition); in getChild()
99 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
104 public View getChildView(final int groupPosition, final int childPosition, boolean isLastChild, in getChildView() argument
119 final BluetoothMapAccountItem child = getChild(groupPosition, childPosition); in getChildView()
125 (BluetoothMapAccountItem) getGroup(groupPosition); in getChildView()
194 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java343 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
344 List<CertHolder> certHolders = mData.mCertHoldersByUserId.valueAt(groupPosition); in getChildrenCount()
351 public UserHandle getGroup(int groupPosition) { in getGroup() argument
352 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition)); in getGroup()
355 public CertHolder getChild(int groupPosition, int childPosition) { in getChild() argument
356 return mData.mCertHoldersByUserId.get(getUserIdByGroup(groupPosition)).get( in getChild()
360 public long getGroupId(int groupPosition) { in getGroupId() argument
361 return getUserIdByGroup(groupPosition); in getGroupId()
363 private int getUserIdByGroup(int groupPosition) { in getUserIdByGroup() argument
364 return mData.mCertHoldersByUserId.keyAt(groupPosition); in getUserIdByGroup()
[all …]
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java343 public int getChildrenCount(int groupPosition) { in getChildrenCount() argument
344 List<CertHolder> certHolders = mData.mCertHoldersByUserId.valueAt(groupPosition); in getChildrenCount()
351 public UserHandle getGroup(int groupPosition) { in getGroup() argument
352 return new UserHandle(mData.mCertHoldersByUserId.keyAt(groupPosition)); in getGroup()
355 public CertHolder getChild(int groupPosition, int childPosition) { in getChild() argument
356 return mData.mCertHoldersByUserId.get(getUserIdByGroup(groupPosition)).get( in getChild()
360 public long getGroupId(int groupPosition) { in getGroupId() argument
361 return getUserIdByGroup(groupPosition); in getGroupId()
363 private int getUserIdByGroup(int groupPosition) { in getUserIdByGroup() argument
364 return mData.mCertHoldersByUserId.keyAt(groupPosition); in getUserIdByGroup()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java582 public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
592 final AccountDisplay account = (AccountDisplay)this.getGroup(groupPosition);
610 public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
621 final AccountDisplay account = mAccounts.get(groupPosition);
622 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition);
647 public Object getChild(int groupPosition, int childPosition) {
648 final AccountDisplay account = mAccounts.get(groupPosition);
660 public long getChildId(int groupPosition, int childPosition) {
661 final GroupDelta child = (GroupDelta)getChild(groupPosition, childPosition);
671 public int getChildrenCount(int groupPosition) {
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java121 container.setOnGroupExpandListener((int groupPosition) -> { in setUpTermsList() argument
122 mExpandedGroupsPosition.add(groupPosition); in setUpTermsList()
124 if (i != groupPosition && container.isGroupExpanded(i)) { in setUpTermsList()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DClusteredSuggestionsView.java55 ExpandableListView parent, View v, int groupPosition, long id) { in onFinishInflate()