Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java65 private Button mSaveButton; field in PrivateDnsModeDialogPreferenceTest
75 mSaveButton = new Button(mContext); in setUp()
80 when(dialog.getButton(anyInt())).thenReturn(mSaveButton); in setUp()
148 assertThat(mSaveButton.isEnabled()).named("off: " + invalid).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
151 assertThat(mSaveButton.isEnabled()).named("opportunistic: " + invalid).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
154 assertThat(mSaveButton.isEnabled()).named("provider: " + invalid).isFalse(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
/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.java145 private View mSaveButton = null; field in FilterShowActivity
357 mSaveButton = actionBar.getCustomView(); in loadXML()
358 mSaveButton.setOnClickListener(new OnClickListener() { in loadXML()
1165 if (mSaveButton != null) { in enableSave()
1166 mSaveButton.setEnabled(enable); in enableSave()