Home
last modified time | relevance | path

Searched refs:mOkButton (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java54 private Button mOkButton; field in BluetoothNameDialogFragment
156 mOkButton = null; in onDestroy()
162 if (mOkButton == null) { in onResume()
163 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onResume()
164 mOkButton.setEnabled(mDeviceNameEdited); // Ok button enabled after user edits in onResume()
190 mOkButton.setEnabled(false); in afterTextChanged()
193 if (mOkButton != null) { in afterTextChanged()
194 mOkButton.setEnabled(s.toString().trim().length() != 0); in afterTextChanged()
201 if (mOkButton != null) { in onConfigurationChanged()
202 mOkButton.setEnabled(s.length() != 0 && !(s.toString().trim().isEmpty())); in onConfigurationChanged()
DBluetoothPairingDialog.java68 private Button mOkButton; field in BluetoothPairingDialog
183 mOkButton = mAlert.getButton(BUTTON_POSITIVE); in createUserEntryDialog()
184 mOkButton.setEnabled(false); in createUserEntryDialog()
380 if (mOkButton != null) { in afterTextChanged()
382 mOkButton.setEnabled(s.length() >= 16); in afterTextChanged()
384 mOkButton.setEnabled(s.length() > 0); in afterTextChanged()
DBluetoothPermissionActivity.java52 private Button mOkButton; field in BluetoothPermissionActivity
142 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DGetPin2Screen.java45 private Button mOkButton; field in GetPin2Screen
60 mOkButton = (Button) findViewById(R.id.ok); in onCreate()
61 mOkButton.setOnClickListener(mClicked); in onCreate()
93 mOkButton.performClick(); in onEditorAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java88 private Button mOkButton; field in BluetoothPbapActivity
138 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showPbapDialog()
139 mOkButton.setEnabled(false); in showPbapDialog()
241 mOkButton.setEnabled(true); in onTimeout()
283 mOkButton.setEnabled(true); in afterTextChanged()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallAppProgress.java69 private Button mOkButton; field in UninstallAppProgress
371 mOkButton = (Button) findViewById(R.id.ok_button); in initView()
372 mOkButton.setOnClickListener(this); in initView()
376 if(v == mOkButton) { in onClick()