Searched refs:mUnmount (Results 1 – 3 of 3) sorted by relevance
67 private Button mUnmount; field in PublicVolumeSettings120 mUnmount = new Button(getActivity()); in onCreate()121 mUnmount.setText(R.string.storage_menu_unmount); in onCreate()122 mUnmount.setOnClickListener(mUnmountListener); in onCreate()139 container.addView(mUnmount, new ViewGroup.LayoutParams( in onActivityCreated()178 mUnmount.setVisibility(View.GONE); in update()
61 MenuItem mUnmount; field in VolumeOptionMenuController98 mUnmount = menu.findItem(R.id.storage_unmount); in onPrepareOptionsMenu()108 mUnmount.setVisible(false); in onPrepareOptionsMenu()135 mUnmount.setVisible(true); in onPrepareOptionsMenu()151 mUnmount.setVisible(true); in onPrepareOptionsMenu()
95 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible()114 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_missingVolumeRecord_forgetIsVisible()131 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_unmountedStorage_mountIsVisible()145 verify(mController.mUnmount, atLeastOnce()).setVisible(true); in onPrepareOptionsMenu_privateNotDefaultInternal_someMenusAreVisible()162 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_privateDefaultInternal_mostMenusAreNotVisible()183 verify(mController.mUnmount, atLeastOnce()).setVisible(true); in onPrepareOptionsMenu_publicStorage_someMenusArcVisible()