Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabFragment.java260 mSelection.getSelectedItemCount().observe(this, selectedItemListSize -> { in onViewCreated()
270 updateVisibilityAndAnimateBottomBar(requireContext(), selectedItemListSize); in onViewCreated()
434 int selectedItemListSize) { in updateVisibilityAndAnimateBottomBar() argument
440 animateAndShowBottomBar(context, selectedItemListSize); in updateVisibilityAndAnimateBottomBar()
441 if (selectedItemListSize == 0) { in updateVisibilityAndAnimateBottomBar()
447 if (selectedItemListSize == 0) { in updateVisibilityAndAnimateBottomBar()
450 animateAndShowBottomBar(context, selectedItemListSize); in updateVisibilityAndAnimateBottomBar()
454 mPickerViewModel.isManagedSelectionEnabled() || selectedItemListSize > 0); in updateVisibilityAndAnimateBottomBar()
457 private void animateAndShowBottomBar(Context context, int selectedItemListSize) { in animateAndShowBottomBar() argument
463 mAddButton.setText(generateAddButtonString(context, selectedItemListSize)); in animateAndShowBottomBar()