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.java722 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected() local
723 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
757 static void ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) { in ejectClicked() argument
758 assert (ejectIcon != null); in ejectClicked()
760 ejectIcon.setEnabled(false); in ejectClicked()
772 if (ejectIcon.getVisibility() == View.VISIBLE) { in ejectClicked()
773 ejectIcon.setEnabled(!ejected); in ejectClicked()