Searched refs:mSaveButton (Results 1 – 3 of 3) sorted by relevance
65 private Button mSaveButton; field in PrivateDnsModeDialogPreferenceTest75 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()
73 private View mSaveButton = null; field in CropActivity113 View mSaveButton = actionBar.getCustomView(); in onCreate() local114 mSaveButton.setOnClickListener(new OnClickListener() { in onCreate()130 if (mSaveButton != null) { in enableSave()131 mSaveButton.setEnabled(enable); in enableSave()
145 private View mSaveButton = null; field in FilterShowActivity357 mSaveButton = actionBar.getCustomView(); in loadXML()358 mSaveButton.setOnClickListener(new OnClickListener() { in loadXML()1165 if (mSaveButton != null) { in enableSave()1166 mSaveButton.setEnabled(enable); in enableSave()