Home
last modified time | relevance | path

Searched refs:mActionButton (Results 1 – 9 of 9) 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/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java56 private View mActionButton; field in CallLogViewHolder
74 mActionButton = itemView.findViewById(R.id.calllog_action_button); in CallLogViewHolder()
126 if (mActionButton == null) { in setUpActionButton()
134 ViewUtils.setVisible(mActionButton, contact != null || forceShowActionButton); in setUpActionButton()
135 ViewUtils.setEnabled(mActionButton, contact != null); in setUpActionButton()
138 ViewUtils.setOnClickListener(mActionButton, in setUpActionButton()
141 ViewUtils.setOnClickListener(mActionButton, null); in setUpActionButton()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLoadingFrameLayout.java223 private TextView mActionButton; field in LoadingFrameLayout.ViewContainer
246 mActionButton = view.findViewById(R.id.loading_info_action_button); in inflateView()
292 if (mActionButton == null) { in setActionButtonClickListener()
295 mActionButton.setOnClickListener(actionButtonOnClickListener); in setActionButtonClickListener()
299 if (mActionButton == null) { in setActionButtonText()
303 mActionButton.setText(actionButtonTextResId); in setActionButtonText()
308 ViewUtils.setVisible(mActionButton, visible); in setActionButtonVisible()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java106 Button mActionButton; field in DeviceAdminAdd
326 mActionButton.setEnabled(true); in onResume()
339 mActionButton.setEnabled(false); in onPause()
403 mActionButton = (Button) findViewById(R.id.action_button); in createAddDeviceAdminUi()
409 if (!mActionButton.isEnabled()) { in createAddDeviceAdminUi()
475 mActionButton.setText(R.string.remove_managed_profile_label); in updateInterface()
483 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
494 mActionButton.setText(R.string.remove_device_admin); in updateInterface()
495 mActionButton.setEnabled(false); in updateInterface()
503 mActionButton.setText(R.string.remove_and_uninstall_device_admin); in updateInterface()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java124 Button mActionButton; field in DeviceAdminAdd
337 mActionButton = ((AlertDialog) dialog).getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
338 mActionButton.setFilterTouchesWhenObscured(true); in onCreate()
408 mActionButton = (Button) findViewById(R.id.action_button); in onCreate()
414 if (!mActionButton.isEnabled()) { in onCreate()
570 mActionButton.setEnabled(true); in onResume()
584 mActionButton.setEnabled(false); in onPause()
659 mActionButton.setText(R.string.remove_managed_profile_label); in updateInterface()
667 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
682 mActionButton.setText(R.string.remove_device_admin); in updateInterface()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DHeaderMessageDocumentHolder.java45 private final Button mActionButton; field in HeaderMessageDocumentHolder
57 mActionButton = (Button) itemView.findViewById(R.id.action_button); in HeaderMessageDocumentHolder()
64 mActionButton.setOnClickListener(this::onButtonClick); in bind()
104 mActionButton.setText(mMessage.getButtonString()); in bind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DLoadingFrameLayout.java264 private TextView mActionButton; field in LoadingFrameLayout.ViewContainer
310 mActionButton = view.findViewById(mActionButtonId); in inflateView()
362 ViewUtils.setOnClickListener(mActionButton, actionButtonOnClickListener); in setActionButtonClickListener()
368 ViewUtils.setText(mActionButton, actionButtonTextResId); in setActionButtonText()
374 ViewUtils.setVisible(mActionButton, visible); in setActionButtonVisible()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DTutorialController.java80 final Button mActionButton; field in TutorialController
113 mActionButton = rootView.findViewById(R.id.gesture_tutorial_fragment_action_button); in TutorialController()
388 mActionButton.setVisibility(View.INVISIBLE); in hideActionButton()
389 mActionButton.setOnClickListener(null); in hideActionButton()
394 mActionButton.setVisibility(View.VISIBLE); in showActionButton()
395 mActionButton.setOnClickListener(this::onActionButtonClicked); in showActionButton()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java65 View mActionButton; field in ParametricEditor
168 mActionButton = actionButton; in setUtilityPanelUI()