Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java57 private EditText mDeviceNameView; field in BluetoothRenameDialogFragment
87 mDeviceNameView.getText().toString().trim())) in onCreateDialog()
91 if (mDeviceNameView.requestFocus()) { in onCreateDialog()
95 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
109 outState.putString(KEY_NAME, mDeviceNameView.getText().toString()); in onSaveInstanceState()
117 mDeviceNameView = view.findViewById(android.R.id.edit); in createDialogView()
118 mDeviceNameView.setFilters(new InputFilter[]{ in createDialogView()
121 mDeviceNameView.setText(deviceName); // Set initial value before adding listener. in createDialogView()
123 mDeviceNameView.setSelection(deviceName.length()); in createDialogView()
125 mDeviceNameView.addTextChangedListener(this); in createDialogView()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothNameDialogFragment.java57 EditText mDeviceNameView; field in BluetoothNameDialogFragment
92 setDeviceName(mDeviceNameView.getText().toString()); in onCreateDialog()
97 if (mDeviceNameView != null && mDeviceNameView.requestFocus()) { in onCreateDialog()
101 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
111 outState.putString(KEY_NAME, mDeviceNameView.getText().toString()); in onSaveInstanceState()
119 mDeviceNameView = (EditText) view.findViewById(R.id.edittext); in createDialogView()
120 mDeviceNameView.setFilters(new InputFilter[] { in createDialogView()
123 mDeviceNameView.setText(deviceName); // set initial value before adding listener in createDialogView()
125 mDeviceNameView.setSelection(deviceName.length()); in createDialogView()
127 mDeviceNameView.addTextChangedListener(this); in createDialogView()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java57 EditText mDeviceNameView; field in BluetoothNameDialogFragment
92 setDeviceName(mDeviceNameView.getText().toString()); in onCreateDialog()
97 if (mDeviceNameView != null && mDeviceNameView.requestFocus()) { in onCreateDialog()
101 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
111 outState.putString(KEY_NAME, mDeviceNameView.getText().toString()); in onSaveInstanceState()
119 mDeviceNameView = (EditText) view.findViewById(R.id.edittext); in createDialogView()
120 mDeviceNameView.setFilters(new InputFilter[] { in createDialogView()
123 mDeviceNameView.setText(deviceName); // set initial value before adding listener in createDialogView()
125 mDeviceNameView.setSelection(deviceName.length()); in createDialogView()
127 mDeviceNameView.addTextChangedListener(this); in createDialogView()
[all …]