Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersListFragmentTest.java69 private MenuItem mActionButton; field in UsersListFragmentTest
103 assertThat(mActionButton.isVisible()).isTrue(); in onCreate_userInDemoMode_showsExitRetailModeButton()
104 assertThat(mActionButton.getTitle().toString()) in onCreate_userInDemoMode_showsExitRetailModeButton()
112 assertThat(mActionButton.isVisible()).isTrue(); in onCreate_userCanAddNewUser_showsAddUserButton()
113 assertThat(mActionButton.getTitle().toString()) in onCreate_userCanAddNewUser_showsAddUserButton()
121 assertThat(mActionButton.isVisible()).isFalse(); in onCreate_userRestrictedFromAddingNewUserAndNotInDemo_doesNotShowActionButton()
138 mActionButton.performClick(); in testCallOnClick_demoUser_exitRetailMode()
147 mActionButton.performClick(); in testCallOnClick_userLimitReached_showErrorDialog()
155 mActionButton.performClick(); in testCallOnClick_showAddUserDialog()
174 mActionButton = toolbar.getMenuItems().get(0); in createUsersListFragment()
/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.java50 private View mActionButton; field in CallLogViewHolder
64 mActionButton = itemView.findViewById(R.id.calllog_action_button); in CallLogViewHolder()
114 if (mActionButton == null) { in setUpActionButton()
122 ViewUtils.setVisible(mActionButton, contact != null || forceShowActionButton); in setUpActionButton()
123 ViewUtils.setEnabled(mActionButton, contact != null); in setUpActionButton()
126 ViewUtils.setOnClickListener(mActionButton, in setUpActionButton()
129 ViewUtils.setOnClickListener(mActionButton, null); in setUpActionButton()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java118 Button mActionButton; field in DeviceAdminAdd
324 mActionButton = ((AlertDialog) dialog).getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
325 mActionButton.setFilterTouchesWhenObscured(true); in onCreate()
396 mActionButton = (Button) findViewById(R.id.action_button); in onCreate()
402 if (!mActionButton.isEnabled()) { in onCreate()
558 mActionButton.setEnabled(true); in onResume()
572 mActionButton.setEnabled(false); in onPause()
647 mActionButton.setText(R.string.remove_managed_profile_label); in updateInterface()
655 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
666 mActionButton.setText(R.string.remove_device_admin); in updateInterface()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java117 Button mActionButton; field in DeviceAdminAdd
349 mActionButton = (Button) findViewById(R.id.action_button); in onCreate()
355 if (!mActionButton.isEnabled()) { in onCreate()
503 mActionButton.setEnabled(true); in onResume()
515 mActionButton.setEnabled(false); in onPause()
593 mActionButton.setText(R.string.remove_managed_profile_label); in updateInterface()
600 mActionButton.setEnabled(admin == null && !hasBaseRestriction); in updateInterface()
611 mActionButton.setText(R.string.remove_device_admin); in updateInterface()
612 mActionButton.setEnabled(false); in updateInterface()
620 mActionButton.setText(R.string.remove_and_uninstall_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.java55 final Button mActionButton; field in TutorialController
77 mActionButton = rootView.findViewById(R.id.gesture_tutorial_fragment_action_button); in TutorialController()
186 updateButton(mActionButton, getActionButtonStringId(), this::onActionButtonClicked); in updateActionButtons()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java65 View mActionButton; field in ParametricEditor
168 mActionButton = actionButton; in setUtilityPanelUI()