Home
last modified time | relevance | path

Searched refs:mUninstallButton (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAppButtonsPreferenceControllerTest.java102 private Button mUninstallButton; field in AppButtonsPreferenceControllerTest
132 mController.mUninstallButton = mUninstallButton; in setUp()
191 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isSystemApp_handleAsDisableableButton()
229 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isDeviceAdminApp_setButtonDisable()
238 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isProfileOrDeviceOwner_setButtonDisable()
248 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isDeviceProvisioningApp_setButtonDisable()
257 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isUninstallInQueue_setButtonDisable()
267 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isHomeAppAndBundled_setButtonDisable()
315 final boolean controllable = mController.handleDisableable(mUninstallButton); in testHandleDisableable_isHomeApp_notControllable()
317 verify(mUninstallButton).setText(R.string.disable_text); in testHandleDisableable_isHomeApp_notControllable()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAppButtonsPreferenceController.java99 Button mUninstallButton; field in AppButtonsPreferenceController
169 mUninstallButton = (Button) mButtonsPref.findViewById(R.id.left_button); in displayPreference()
170 mUninstallButton.setText(R.string.uninstall_text); in displayPreference()
365 enabled = handleDisableable(mUninstallButton); in updateUninstallButton()
430 mUninstallButton.setEnabled(enabled); in updateUninstallButton()
433 mUninstallButton.setOnClickListener(this); in updateUninstallButton()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java114 Button mUninstallButton; field in DeviceAdminAdd
338 mUninstallButton = (Button) findViewById(R.id.uninstall_button); in onCreate()
339 mUninstallButton.setFilterTouchesWhenObscured(true); in onCreate()
340 mUninstallButton.setOnClickListener(new View.OnClickListener() { in onCreate()
620 mUninstallButton.setVisibility(View.VISIBLE); in updateInterface()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java174 private Button mUninstallButton; field in InstalledAppDetails
268 enabled = handleDisableable(mUninstallButton); in initUninstallButtons()
333 mUninstallButton.setEnabled(enabled); in initUninstallButtons()
336 mUninstallButton.setOnClickListener(this); in initUninstallButtons()
350 mUninstallButton.setVisibility(View.GONE); in initUnintsallButtonForUserApp()
352 mUninstallButton.setText(R.string.uninstall_text); in initUnintsallButtonForUserApp()
520 mUninstallButton = (Button) mActionButtons.findViewById(R.id.left_button); in prepareUninstallAndStop()
981 if (v == mUninstallButton) {