/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 25 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/ |
D | SelfManagedCallListAdapter.java | 41 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() {
|
D | TestDialerActivity.java | 25 import android.view.View.OnClickListener; 52 findViewById(R.id.set_default_button).setOnClickListener(new OnClickListener() { in onCreate() 59 findViewById(R.id.place_call_button).setOnClickListener(new OnClickListener() { in onCreate() 66 findViewById(R.id.test_voicemail_button).setOnClickListener(new OnClickListener() { in onCreate() 73 findViewById(R.id.cancel_missed_button).setOnClickListener(new OnClickListener() { in onCreate() 83 findViewById(R.id.enable_car_mode).setOnClickListener(new OnClickListener() { in onCreate() 89 findViewById(R.id.disable_car_mode).setOnClickListener(new OnClickListener() { in onCreate() 95 findViewById(R.id.toggle_incallservice).setOnClickListener(new OnClickListener() { in onCreate()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/ |
D | ToolbarMenuItemsTest.java | 106 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_text_shouldShow() 125 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_icon_shouldShow() 152 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_textAndIcon_shouldShow() 200 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_switch_shouldShow() 225 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_overflowText_shouldWork() 254 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_overflowIconAndText_shouldWork() 340 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_setEnabled_shouldDisable() 364 MenuItem.OnClickListener callback = mock(MenuItem.OnClickListener.class); in menuItems_activatable_test() 387 MenuItem.OnClickListener callback1 = mock(MenuItem.OnClickListener.class); in menuItems_changeOnClickListener_shouldCallNewListener() 388 MenuItem.OnClickListener callback2 = mock(MenuItem.OnClickListener.class); in menuItems_changeOnClickListener_shouldCallNewListener()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailErrorMessage.java | 27 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 …]
|
D | VoicemailTosMessageCreator.java | 37 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/ |
D | AlertDialogTestFragment.java | 53 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/ |
D | AlertDialogBuilder.java | 265 final DialogInterface.OnClickListener listener) { in setPositiveButton() 279 final DialogInterface.OnClickListener listener) { in setPositiveButton() 293 final DialogInterface.OnClickListener listener) { in setNegativeButton() 307 final DialogInterface.OnClickListener listener) { in setNegativeButton() 321 final DialogInterface.OnClickListener listener) { in setNeutralButton() 335 final DialogInterface.OnClickListener listener) { in setNeutralButton() 399 final DialogInterface.OnClickListener listener) { in setItems() 412 final DialogInterface.OnClickListener listener) { in setItems() 425 final DialogInterface.OnClickListener listener) { in setAdapter() 463 final DialogInterface.OnClickListener listener, in setCursor() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 46 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/ |
D | BluetoothHeadsetFragment.java | 105 mConnect.setOnClickListener(new View.OnClickListener() { in onCreateView() 113 mDisconnect.setOnClickListener(new View.OnClickListener() { in onCreateView() 121 mScoConnect.setOnClickListener(new View.OnClickListener() { in onCreateView() 129 mScoDisconnect.setOnClickListener(new View.OnClickListener() { in onCreateView() 137 mEnableQuietMode.setOnClickListener(new View.OnClickListener() { in onCreateView() 145 mHoldCall.setOnClickListener(new View.OnClickListener() { in onCreateView() 153 mEnableBVRA.setOnClickListener(new View.OnClickListener() { in onCreateView() 161 mDisableBVRA.setOnClickListener(new View.OnClickListener() { in onCreateView() 169 mStartOutgoingCall.setOnClickListener(new View.OnClickListener() { in onCreateView() 177 mEndOutgoingCall.setOnClickListener(new View.OnClickListener() { in onCreateView() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 50 public interface OnClickListener { interface in CarUiContentListItem 125 private OnClickListener mOnClickListener; 129 private OnClickListener mSupplementalIconOnClickListener; 355 @Nullable OnClickListener listener) { in setSupplementalIcon() 367 public OnClickListener getSupplementalIconOnClickListener() { in getSupplementalIconOnClickListener() 376 public void setOnItemClickedListener(@Nullable OnClickListener listener) { in setOnItemClickedListener() 384 public OnClickListener getOnClickListener() { in getOnClickListener()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | SearchAdapter.java | 27 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/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | MenuItem.java | 69 private OnClickListener mOnClickListener; 239 public OnClickListener getOnClickListener() { in getOnClickListener() 248 public void setOnClickListener(OnClickListener listener) { in setOnClickListener() 333 private OnClickListener mOnClickListener; 470 public Builder setOnClickListener(OnClickListener listener) { in setOnClickListener() 581 public static MenuItem createSearch(Context c, OnClickListener listener) { in createSearch() 590 public static MenuItem createSettings(Context c, OnClickListener listener) { in createSettings() 606 public interface OnClickListener { interface in MenuItem
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | AcceptDenyDialog.java | 58 protected DialogInterface.OnClickListener mPositiveButtonListener; 63 protected DialogInterface.OnClickListener mNegativeButtonListener; 67 private final View.OnClickListener mButtonHandler = (v) -> { 143 public void setButton(int whichButton, DialogInterface.OnClickListener listener) { in setButton() 171 public void setPositiveButton(DialogInterface.OnClickListener listener) { in setPositiveButton() 180 public void setNegativeButton(DialogInterface.OnClickListener listener) { in setNegativeButton()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CustomListPreference.java | 23 import android.content.DialogInterface.OnClickListener; 49 DialogInterface.OnClickListener listener) { in onPrepareDialogBuilder() 105 builder.setPositiveButton(R.string.okay, new DialogInterface.OnClickListener() { in onPrepareDialogBuilder() 137 protected DialogInterface.OnClickListener getOnItemClickListener() { in getOnItemClickListener() 138 return new DialogInterface.OnClickListener() { in getOnItemClickListener() 210 .setPositiveButton(android.R.string.ok, new OnClickListener() {
|
D | ProxySelector.java | 34 import android.view.View.OnClickListener; 250 OnClickListener mOKHandler = new OnClickListener() { 258 OnClickListener mClearHandler = new OnClickListener() { 266 OnClickListener mDefaultHandler = new OnClickListener() {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | CompanionAppWidgetPreferenceTest.java | 58 private View.OnClickListener mWidgetListenerOne; 60 private View.OnClickListener mWidgetListenerTwo; 71 mWidgetListenerOne = mock(View.OnClickListener.class); in setUp() 74 mWidgetListenerTwo = mock(View.OnClickListener.class); in setUp() 78 View.OnClickListener listener, String title, String key) { in setUpPreferenceContainer()
|
D | BluetoothDetailsButtonsControllerTest.java | 64 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/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSettingsTest.java | 73 when(mButtonsPref.setButton1OnClickListener(any(View.OnClickListener.class))) in setUp() 76 mLeftButton.setOnClickListener((View.OnClickListener) args[0]); in setUp() 79 when(mButtonsPref.setButton2OnClickListener(any(View.OnClickListener.class))) in setUp() 82 mRightButton.setOnClickListener((View.OnClickListener) args[0]); in setUp() 143 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock() 149 when(pref.setButton2OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock()
|
/packages/services/Telecomm/testapps/companionapp/src/com/android/server/telecom/companionapp/ |
D | CompanionTestApp.java | 30 import android.view.View.OnClickListener; 63 private OnClickListener startListener = new OnClickListener() { 72 private OnClickListener stopListener = new OnClickListener() {
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseViewData.java | 39 public final View.OnClickListener mOnClickListener; 49 View.OnClickListener onClickListener) { in BrowseViewData() 64 View.OnClickListener onClickListener) { in BrowseViewData() 74 BrowseViewData(@NonNull BrowseItemViewType viewType, View.OnClickListener onClickListener) { in BrowseViewData()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeDialerActivity.java | 30 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/Messaging/src/com/android/messaging/ui/ |
D | ClassZeroActivity.java | 23 import android.content.DialogInterface.OnClickListener; 188 private final OnClickListener mCancelListener = new OnClickListener() { 196 private final OnClickListener mSaveListener = new OnClickListener() {
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FilmstripBottomPanel.java | 23 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()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationLockscreenPreference.java | 77 DialogInterface.OnClickListener innerListener) { in onPrepareDialogBuilder() 137 private class Listener implements DialogInterface.OnClickListener, 138 CompoundButton.OnCheckedChangeListener, View.OnClickListener { 140 private final DialogInterface.OnClickListener mInner; 143 public Listener(DialogInterface.OnClickListener inner) { in Listener()
|