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.java49 private Button mOkButton; field in BluetoothNameDialogFragment
139 mOkButton = null; in onDestroy()
145 if (mOkButton == null) { in onResume()
146 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onResume()
147 mOkButton.setEnabled(mDeviceNameEdited); // Ok button enabled after user edits in onResume()
164 mOkButton.setEnabled(false); in afterTextChanged()
167 if (mOkButton != null) { in afterTextChanged()
168 mOkButton.setEnabled(s.toString().trim().length() != 0); in afterTextChanged()
175 if (mOkButton != null) { in onConfigurationChanged()
176 mOkButton.setEnabled(s.length() != 0 && !(s.toString().trim().isEmpty())); in onConfigurationChanged()
DBluetoothPermissionActivity.java52 private Button mOkButton; field in BluetoothPermissionActivity
142 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java86 private Button mOkButton; field in BluetoothPbapActivity
136 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showPbapDialog()
137 mOkButton.setEnabled(false); in showPbapDialog()
237 mOkButton.setEnabled(true); in onTimeout()
279 mOkButton.setEnabled(true); in afterTextChanged()
/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/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java38 private Button mOkButton; field in UninstallAppProgressFragment
75 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView()
76 mOkButton.setOnClickListener(this); in onCreateView()
83 if(v == mOkButton && activity != null) { in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDetailFragment.java58 private TextView mOkButton; field in BluetoothDetailFragment
138 mOkButton = getActivity().findViewById(R.id.action_button1); in setupOkButton()
139 mOkButton.setText(R.string.okay); in setupOkButton()
140 mOkButton.setOnClickListener(v -> { in setupOkButton()