Home
last modified time | relevance | path

Searched refs:positiveBtn (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogFactory.java245 Button positiveBtn = mCustomBody.findViewById(R.id.positive_btn); in setCustomPositiveButton() local
246 positiveBtn.setText(labelRes); in setCustomPositiveButton()
247 positiveBtn.setOnClickListener(listener); in setCustomPositiveButton()
248 positiveBtn.setVisibility(View.VISIBLE); in setCustomPositiveButton()
262 Button positiveBtn = mCustomBody.findViewById(R.id.positive_btn); in setCustomPositiveButton() local
263 positiveBtn.setText(label); in setCustomPositiveButton()
264 positiveBtn.setOnClickListener(listener); in setCustomPositiveButton()
265 positiveBtn.setVisibility(View.VISIBLE); in setCustomPositiveButton()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/
DNetworkRequestDialogFragment.java190 Button positiveBtn = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in onCreateDialog() local
191 positiveBtn.setOnClickListener(v -> { in onCreateDialog()
198 positiveBtn.setEnabled(false); in onCreateDialog()
306 Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateConnectButton() local
307 if (positiveBtn != null) { in updateConnectButton()
308 positiveBtn.setEnabled(enabled); in updateConnectButton()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestDialogFragment.java154 final Button positiveBtn = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in onCreateDialog() local
155 positiveBtn.setOnClickListener(v -> { in onCreateDialog()
161 positiveBtn.setEnabled(false); in onCreateDialog()
276 final Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateConnectButton() local
277 if (positiveBtn != null) { in updateConnectButton()
278 positiveBtn.setEnabled(enabled); in updateConnectButton()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsFragment.java522 Button positiveBtn = alertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateBtnState() local
523 if (positiveBtn != null) { in updateBtnState()
524 positiveBtn.setEnabled(isEnable ? true : false); in updateBtnState()