Home
last modified time | relevance | path

Searched refs:mSaveButton (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DEditProfileNameFragment.java51 private MenuItem mSaveButton; field in EditProfileNameFragment
67 return Collections.singletonList(mSaveButton); in getToolbarMenuItems()
87 mSaveButton = new MenuItem.Builder(getContext()) in onCreate()
126 mSaveButton.setEnabled(false); in configureProfileNameEditing()
129 mSaveButton.setEnabled(false); in configureProfileNameEditing()
132 mSaveButton.setEnabled(true); in configureProfileNameEditing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java63 private Button mSaveButton; field in PrivateDnsModeDialogPreferenceTest
73 mSaveButton = new Button(mContext); in setUp()
78 when(dialog.getButton(anyInt())).thenReturn(mSaveButton); in setUp()
144 assertWithMessage("off: " + invalid).that(mSaveButton.isEnabled()).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
147 assertWithMessage("opportunistic: " + invalid).that(mSaveButton.isEnabled()).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
150 assertWithMessage("provider: " + invalid).that(mSaveButton.isEnabled()).isFalse(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePickerFragment.java42 private MenuItem mSaveButton; field in RingtonePickerFragment
57 mSaveButton = new MenuItem.Builder(getContext()) in onAttach()
68 return Collections.singletonList(mSaveButton); in getToolbarMenuItems()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java115 Button mSaveButton; field in AddAppNetworksFragment
147 mSaveButton.setEnabled(false);
163 mSaveButton.setEnabled(true);
219 mSaveButton = view.findViewById(R.id.save); in onViewCreated()
224 mSaveButton.setOnClickListener(getSaveClickListener()); in onViewCreated()
240 if (mSaveButton != null && !mSaveButton.isEnabled()) { in createContent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java73 private View mSaveButton = null; field in CropActivity
113 View mSaveButton = actionBar.getCustomView(); in onCreate() local
114 mSaveButton.setOnClickListener(new OnClickListener() { in onCreate()
130 if (mSaveButton != null) { in enableSave()
131 mSaveButton.setEnabled(enable); in enableSave()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java143 private View mSaveButton = null; field in FilterShowActivity
357 mSaveButton = actionBar.getCustomView(); in loadXML()
358 mSaveButton.setOnClickListener(new OnClickListener() { in loadXML()
1164 if (mSaveButton != null) { in enableSave()
1165 mSaveButton.setEnabled(enable); in enableSave()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java134 assertThat(mAddAppNetworksFragment.mSaveButton).isNotNull(); in launchFragment_shouldShowSaveButton()