Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java615 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected() local
616 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
651 static void ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) { in ejectClicked() argument
652 assert(ejectIcon != null); in ejectClicked()
654 ejectIcon.setEnabled(false); in ejectClicked()
666 if (ejectIcon.getVisibility() == View.VISIBLE) { in ejectClicked()
667 ejectIcon.setEnabled(!ejected); in ejectClicked()