Lines Matching refs:groupPosition
343 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()
366 public UserInfo getUserInfoByGroup(int groupPosition) { in getUserInfoByGroup() argument
367 return mUserManager.getUserInfo(getUserIdByGroup(groupPosition)); in getUserInfoByGroup()
370 public long getChildId(int groupPosition, int childPosition) { in getChildId() argument
378 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
387 if (getUserInfoByGroup(groupPosition).isManagedProfile()) { in getGroupView()
397 public View getChildView(int groupPosition, int childPosition, boolean isLastChild, in getChildView() argument
399 return getViewForCertificate(getChild(groupPosition, childPosition), mData.mTab, in getChildView()
403 public boolean isChildSelectable(int groupPosition, int childPosition) { in isChildSelectable() argument
409 int groupPosition, int childPosition, long id) { in onChildClick() argument
410 showCertDialog(getChild(groupPosition, childPosition)); in onChildClick()
426 int groupPosition, long id) { in onGroupClick() argument
427 return !checkGroupExpandableAndStartWarningActivity(groupPosition); in onGroupClick()
445 public ChildAdapter getChildAdapter(int groupPosition) { in getChildAdapter() argument
446 return new ChildAdapter(this, groupPosition); in getChildAdapter()
449 public boolean checkGroupExpandableAndStartWarningActivity(int groupPosition) { in checkGroupExpandableAndStartWarningActivity() argument
450 return checkGroupExpandableAndStartWarningActivity(groupPosition, true); in checkGroupExpandableAndStartWarningActivity()
453 public boolean checkGroupExpandableAndStartWarningActivity(int groupPosition, in checkGroupExpandableAndStartWarningActivity() argument
455 final UserHandle groupUser = getGroup(groupPosition); in checkGroupExpandableAndStartWarningActivity()
552 private ChildAdapter(GroupAdapter parent, int groupPosition) { in ChildAdapter() argument
554 mGroupPosition = groupPosition; in ChildAdapter()