Searched refs:mChipGroup (Results 1 – 2 of 2) sorted by relevance
89 private final ViewGroup mChipGroup; field in SearchChipViewManager121 mChipGroup = chipGroup; in SearchChipViewManager()155 mChipGroup.setVisibility(show && mChipGroup.getChildCount() > 1 ? View.VISIBLE : View.GONE); in setChipsRowVisible()171 final int count = mChipGroup.getChildCount(); in clearCheckedChips()173 Chip child = (Chip) mChipGroup.getChildAt(i); in clearCheckedChips()252 final Context context = mChipGroup.getContext(); in updateChips()253 mChipGroup.removeAllViews(); in updateChips()268 addChipToGroup(mChipGroup, mimeChipDataList.get(i), inflater); in updateChips()273 addChipToGroup(mChipGroup, chipData, inflater); in updateChips()282 Chip chip = (Chip) inflater.inflate(R.layout.search_chip_item, mChipGroup, false); in addChipToGroup()[all …]
63 private LinearLayout mChipGroup; field in SearchChipViewManagerTest70 mChipGroup = spy(new LinearLayout(mContext)); in setUp()72 mSearchChipViewManager = new SearchChipViewManager(mChipGroup); in setUp()82 assertThat(mChipGroup.getChildCount()).isEqualTo(totalChipLength); in testInitChipSets_hasCorrectChipCount()90 assertThat(mChipGroup.getChildCount()).isEqualTo(totalChipLength); in testUpdateChips_hasCorrectChipCount()99 assertThat(mChipGroup.getChildCount()).isEqualTo(totalChipLength); in testUpdateChips_documentsFilterOnlyAvailableAboveR()101 assertThat(mChipGroup.getChildCount()).isEqualTo(totalChipLength - 1); in testUpdateChips_documentsFilterOnlyAvailableAboveR()109 assertThat(mChipGroup.getChildCount()).isEqualTo(TEST_OTHER_TYPES.length); in testUpdateChips_withSingleMimeType_hasCorrectChipCount()156 assertThat(mChipGroup.getChildCount()).isEqualTo(mirror.getChildCount()); in testBindMirrorGroup_sameValue()157 assertThat(mChipGroup.getChildAt(0).getTag()).isEqualTo(mirror.getChildAt(0).getTag()); in testBindMirrorGroup_sameValue()