Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java42 private final ImageButton mActionButton; field in ActionView
64 mActionButton = (ImageButton) findViewById(R.id.inspector_action_button); in ActionView()
79 mActionButton.setContentDescription(mContext.getString(action.getButtonLabel())); in init()
81 mActionButton.setOnClickListener(listener); in init()
115 mActionButton.setImageResource(mAction.getButtonIcon()); in showAction()
116 mActionButton.setVisibility(View.VISIBLE); in showAction()
118 mActionButton.setVisibility(View.GONE); in showAction()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java106 Button mActionButton; field in DeviceAdminAdd
327 mActionButton.setEnabled(true); in onResume()
340 mActionButton.setEnabled(false); in onPause()
404 mActionButton = (Button) findViewById(R.id.action_button); in createAddDeviceAdminUi()
409 if (!mActionButton.isEnabled()) { in createAddDeviceAdminUi()
482 mActionButton.setText(R.string.remove_managed_profile_label); in updateInterface()
490 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
501 mActionButton.setText(R.string.remove_device_admin); in updateInterface()
502 mActionButton.setEnabled(false); in updateInterface()
510 mActionButton.setText(R.string.remove_and_uninstall_device_admin); in updateInterface()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DHeaderMessageDocumentHolder.java46 private final Button mActionButton; field in HeaderMessageDocumentHolder
58 mActionButton = (Button) itemView.findViewById(R.id.action_button); in HeaderMessageDocumentHolder()
65 mActionButton.setOnClickListener(this::onButtonClick); in bind()
105 mActionButton.setText(mMessage.getButtonString()); in bind()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java138 Button mActionButton; field in DeviceAdminAdd
341 mActionButton = ((AlertDialog) dialog).getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
342 mActionButton.setFilterTouchesWhenObscured(true); in onCreate()
420 mActionButton = (Button) findViewById(R.id.action_button); in onCreate()
426 if (!mActionButton.isEnabled()) { in onCreate()
587 mActionButton.setEnabled(true); in onResume()
601 mActionButton.setEnabled(false); in onPause()
679 mActionButton.setText(mDPM.getResources().getString(REMOVE_WORK_PROFILE, in updateInterface()
689 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
707 mActionButton.setText(mDPM.getResources().getString(REMOVE_DEVICE_ADMIN, in updateInterface()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabAdapter.java301 final Button mActionButton; field in TabAdapter.BannerHolder
308 mActionButton = itemView.findViewById(R.id.action_button); in BannerHolder()
324 mActionButton.setText(banner.mActionButtonText); in bind()
325 mActionButton.setVisibility(View.VISIBLE); in bind()
326 mActionButton.setOnClickListener(v -> onBannerEventListener.onActionButtonClick()); in bind()
328 mActionButton.setVisibility(View.GONE); in bind()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java65 View mActionButton; field in ParametricEditor
168 mActionButton = actionButton; in setUtilityPanelUI()