Home
last modified time | relevance | path

Searched refs:OnClickListener (Results 1 – 25 of 923) sorted by relevance

12345678910>>...37

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java25 import android.view.View.OnClickListener;
52 OnClickListener pendingButtonClick = (OnClickListener) msg.obj;
107 etwsEarthquakeTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
121 etwsTsunamiTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
136 etwsEarthquakeTsunamiTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
150 etwsOtherTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
164 etwsCancelTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
178 etwsTestTypeButton.setOnClickListener(new OnClickListener() { in onCreate()
192 CdmaCmasPresAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
206 CdmaCmasExtremeAlertButton.setOnClickListener(new OnClickListener() { in onCreate()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java41 private View.OnClickListener mDisconnectListener = new View.OnClickListener() {
54 private View.OnClickListener mActiveListener = new View.OnClickListener() {
67 private View.OnClickListener mMissedListener = new View.OnClickListener() {
77 private View.OnClickListener mHeldListener = new View.OnClickListener() {
87 private View.OnClickListener mSpeakerListener = new View.OnClickListener() {
97 private View.OnClickListener mEarpieceListener = new View.OnClickListener() {
107 private View.OnClickListener mBluetoothListener = new View.OnClickListener() {
117 private View.OnClickListener mHoldableListener = new View.OnClickListener() {
DTestDialerActivity.java24 import android.view.View.OnClickListener;
41 findViewById(R.id.set_default_button).setOnClickListener(new OnClickListener() { in onCreate()
48 findViewById(R.id.place_call_button).setOnClickListener(new OnClickListener() { in onCreate()
55 findViewById(R.id.test_voicemail_button).setOnClickListener(new OnClickListener() { in onCreate()
62 findViewById(R.id.cancel_missed_button).setOnClickListener(new OnClickListener() { in onCreate()
71 findViewById(R.id.enable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
77 findViewById(R.id.disable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
83 findViewById(R.id.toggle_incallservice).setOnClickListener(new OnClickListener() { in onCreate()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java181 final DialogInterface.OnClickListener listener) { in setPositiveButton()
195 final DialogInterface.OnClickListener listener) { in setPositiveButton()
209 final DialogInterface.OnClickListener listener) { in setNegativeButton()
223 final DialogInterface.OnClickListener listener) { in setNegativeButton()
237 final DialogInterface.OnClickListener listener) { in setNeutralButton()
251 final DialogInterface.OnClickListener listener) { in setNeutralButton()
315 final DialogInterface.OnClickListener listener) { in setItems()
327 final DialogInterface.OnClickListener listener) { in setItems()
339 final DialogInterface.OnClickListener listener) { in setAdapter()
375 final DialogInterface.OnClickListener listener, in setCursor()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorMessage.java27 import android.view.View.OnClickListener;
59 private final View.OnClickListener listener;
62 public Action(CharSequence text, View.OnClickListener listener) { in Action()
66 public Action(CharSequence text, View.OnClickListener listener, boolean raised) { in Action()
76 public View.OnClickListener getListener() { in getListener()
132 new OnClickListener() { in createChangeAirplaneModeAction()
148 new OnClickListener() {
165 new OnClickListener() {
181 new OnClickListener() {
196 new OnClickListener() {
[all …]
DVoicemailTosMessageCreator.java37 import android.view.View.OnClickListener;
93 new OnClickListener() { in getTosMessage()
107 new OnClickListener() { in getTosMessage() method
135 new OnClickListener() {
161 new OnClickListener() {
270 new DialogInterface.OnClickListener() {
285 new DialogInterface.OnClickListener() {
301 new DialogInterface.OnClickListener() {
314 new DialogInterface.OnClickListener() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
DAlertDialogTestFragment.java53 alertMessageBtn.setOnClickListener(new View.OnClickListener() { in onCreateView()
61 android.R.string.yes, new DialogInterface.OnClickListener() { in onCreateView()
67 android.R.string.no, new DialogInterface.OnClickListener() { in onCreateView()
77 alertBtPinEnterBtn.setOnClickListener(new View.OnClickListener() { in onCreateView()
85 android.R.string.yes, new DialogInterface.OnClickListener() { in onCreateView()
91 android.R.string.no, new DialogInterface.OnClickListener() { in onCreateView()
101 alertBtPinConfirmBtn.setOnClickListener(new View.OnClickListener() { in onCreateView()
109 android.R.string.yes, new DialogInterface.OnClickListener() { in onCreateView()
115 android.R.string.no, new DialogInterface.OnClickListener() { in onCreateView()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java46 import android.view.View.OnClickListener;
216 public OnClickListener insertRecordListener = new OnClickListener() {
278 public OnClickListener deleteRecordListener = new OnClickListener() {
287 public OnClickListener updateRecordListener = new OnClickListener() {
304 public OnClickListener ackRecordListener = new OnClickListener() {
320 public OnClickListener deleteAllRecordListener = new OnClickListener() {
328 public OnClickListener startTcpServerListener = new OnClickListener() {
337 public OnClickListener notifyTcpServerListener = new OnClickListener() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java90 mDevicePicker.setOnClickListener(new View.OnClickListener() { in onCreateView()
98 mConnect.setOnClickListener(new View.OnClickListener() { in onCreateView()
106 mDisconnect.setOnClickListener(new View.OnClickListener() { in onCreateView()
114 mScoConnect.setOnClickListener(new View.OnClickListener() { in onCreateView()
122 mScoDisconnect.setOnClickListener(new View.OnClickListener() { in onCreateView()
130 mEnableQuietMode.setOnClickListener(new View.OnClickListener() { in onCreateView()
138 mHoldCall.setOnClickListener(new View.OnClickListener() { in onCreateView()
146 mEnableBVRA.setOnClickListener(new View.OnClickListener() { in onCreateView()
154 mDisableBVRA.setOnClickListener(new View.OnClickListener() { in onCreateView()
162 mStartOutgoingCall.setOnClickListener(new View.OnClickListener() { in onCreateView()
[all …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiContentListItem.java46 public interface OnClickListener { interface in CarUiContentListItem
110 private OnClickListener mOnClickListener;
112 private View.OnClickListener mSupplementalIconOnClickListener;
299 @Nullable View.OnClickListener listener) { in setSupplementalIcon()
311 public View.OnClickListener getSupplementalIconOnClickListener() { in getSupplementalIconOnClickListener()
320 public void setOnItemClickedListener(@Nullable OnClickListener listener) { in setOnItemClickedListener()
328 public OnClickListener getOnClickListener() { in getOnClickListener()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchAdapter.java27 import android.view.View.OnClickListener;
49 private OnClickListener allowClickListener;
50 private OnClickListener dismissClickListener;
169 OnClickListener allowClickListener, OnClickListener dismissClickListener) { in showLocationPermissionRequest()
199 View itemView, OnClickListener allowClickListener, OnClickListener dismissClickListener) { in LocationPermissionViewHolder()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItem.java67 private OnClickListener mOnClickListener;
225 public OnClickListener getOnClickListener() { in getOnClickListener()
234 public void setOnClickListener(OnClickListener listener) { in setOnClickListener()
320 private OnClickListener mOnClickListener;
456 public Builder setOnClickListener(OnClickListener listener) { in setOnClickListener()
559 public static MenuItem createSearch(Context c, OnClickListener listener) { in createSearch()
568 public static MenuItem createSettings(Context c, OnClickListener listener) { in createSettings()
584 public interface OnClickListener { interface in MenuItem
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSettingsTest.java65 when(mButtonsPref.setButton1OnClickListener(any(View.OnClickListener.class))) in setUp()
68 mLeftButton.setOnClickListener((View.OnClickListener) args[0]); in setUp()
71 when(mButtonsPref.setButton2OnClickListener(any(View.OnClickListener.class))) in setUp()
74 mRightButton.setOnClickListener((View.OnClickListener) args[0]); in setUp()
114 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock()
120 when(pref.setButton2OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock()
/packages/apps/PermissionController/src/android/support/wearable/view/
DAcceptDenyDialog.java57 protected DialogInterface.OnClickListener mPositiveButtonListener;
62 protected DialogInterface.OnClickListener mNegativeButtonListener;
66 private final View.OnClickListener mButtonHandler = (v) -> {
142 public void setButton(int whichButton, DialogInterface.OnClickListener listener) { in setButton()
170 public void setPositiveButton(DialogInterface.OnClickListener listener) { in setPositiveButton()
179 public void setNegativeButton(DialogInterface.OnClickListener listener) { in setNegativeButton()
/packages/apps/Settings/src/com/android/settings/
DCustomListPreference.java23 import android.content.DialogInterface.OnClickListener;
48 DialogInterface.OnClickListener listener) { in onPrepareDialogBuilder()
104 builder.setPositiveButton(R.string.okay, new DialogInterface.OnClickListener() { in onPrepareDialogBuilder()
136 protected DialogInterface.OnClickListener getOnItemClickListener() { in getOnItemClickListener()
137 return new DialogInterface.OnClickListener() { in getOnItemClickListener()
209 .setPositiveButton(android.R.string.ok, new OnClickListener() {
DProxySelector.java35 import android.view.View.OnClickListener;
246 OnClickListener mOKHandler = new OnClickListener() {
254 OnClickListener mClearHandler = new OnClickListener() {
262 OnClickListener mDefaultHandler = new OnClickListener() {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCustomListPreference.java23 import android.content.DialogInterface.OnClickListener;
48 DialogInterface.OnClickListener listener) { in onPrepareDialogBuilder()
104 builder.setPositiveButton(R.string.okay, new DialogInterface.OnClickListener() { in onPrepareDialogBuilder()
136 protected DialogInterface.OnClickListener getOnItemClickListener() { in getOnItemClickListener()
137 return new DialogInterface.OnClickListener() { in getOnItemClickListener()
209 .setPositiveButton(android.R.string.ok, new OnClickListener() {
DProxySelector.java35 import android.view.View.OnClickListener;
246 OnClickListener mOKHandler = new OnClickListener() {
254 OnClickListener mClearHandler = new OnClickListener() {
262 OnClickListener mDefaultHandler = new OnClickListener() {
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsButtonsControllerTest.java64 when(mButtonsPref.setButton2OnClickListener(any(View.OnClickListener.class))) in setUp()
67 mConnectButton.setOnClickListener((View.OnClickListener) args[0]); in setUp()
70 when(mButtonsPref.setButton1OnClickListener(any(View.OnClickListener.class))) in setUp()
73 mForgetButton.setOnClickListener((View.OnClickListener) args[0]); in setUp()
194 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock()
200 when(pref.setButton2OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java295 private final View.OnClickListener pauseButtonListener =
296 new View.OnClickListener() {
329 private final View.OnClickListener playButtonListener =
330 new View.OnClickListener() {
496 private final View.OnClickListener speakerButtonListener =
497 new View.OnClickListener() {
520 private final View.OnClickListener phoneButtonListener =
521 new View.OnClickListener() {
542 private final View.OnClickListener deleteButtonListener =
543 new View.OnClickListener() {
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java25 import android.view.View.OnClickListener;
61 private OnClickListener mDeleteClickListener;
62 private OnClickListener mSettingsClickListener;
73 OnClickListener settingsListener, in UserPreference()
74 OnClickListener deleteListener) { in UserPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java25 import android.view.View.OnClickListener;
61 private OnClickListener mDeleteClickListener;
62 private OnClickListener mSettingsClickListener;
73 OnClickListener settingsListener, in UserPreference()
74 OnClickListener deleteListener) { in UserPreference()
/packages/apps/Messaging/src/com/android/messaging/ui/
DClassZeroActivity.java23 import android.content.DialogInterface.OnClickListener;
188 private final OnClickListener mCancelListener = new OnClickListener() {
196 private final OnClickListener mSaveListener = new OnClickListener() {
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeDialerActivity.java30 import android.view.View.OnClickListener;
45 findViewById(R.id.place_call_button).setOnClickListener(new OnClickListener() { in onCreate()
53 findViewById(R.id.enable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
59 findViewById(R.id.disable_car_mode).setOnClickListener(new OnClickListener() { in onCreate()
65 findViewById(R.id.toggle_incallservice).setOnClickListener(new OnClickListener() { in onCreate()
/packages/apps/Camera2/src/com/android/camera/app/
DFilmstripBottomPanel.java23 import android.view.View.OnClickListener;
191 mEditButton.setOnClickListener(new View.OnClickListener() { in setupEditButton()
208 mViewButton.setOnClickListener(new View.OnClickListener() { in setupViewButton()
220 mDeleteButton.setOnClickListener(new View.OnClickListener() { in setupDeleteButton()
232 mShareButton.setOnClickListener(new View.OnClickListener() { in setupShareButton()
250 mProgressErrorLayout.setOnClickListener(new OnClickListener() { in setupProgressUi()

12345678910>>...37