Searched refs:which (Results 1 - 25 of 144) sorted by relevance

123456

/packages/apps/Calendar/src/com/android/calendar/
H A DEditResponseHelper.java51 public void setWhichEvents(int which) { argument
52 mWhichEvents = which;
55 public void onClick(DialogInterface dialog, int which) { argument
63 public void onClick(DialogInterface dialog, int which) {
64 mWhichEvents = which;
66 // Enable the "ok" button now that the user has selected which
87 // Disable the "Ok" button until the user selects which events to
H A DDeleteEventHelper.java175 // Enable the "ok" button now that the user has selected which
196 * Does the required processing for deleting an event, which includes
198 * a normal event) or a dialog asking which events to delete (if the
199 * event is a repeating event). The "which" parameter is used to check
201 * "which" to -1 to have nothing selected initially.
206 * @param which one of the values {@link DELETE_SELECTED},
209 public void delete(long begin, long end, long eventId, int which) { argument
215 mWhichDelete = which;
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { argument
219 delete(begin, end, eventId, which);
257 delete(long begin, long end, CalendarEventModel model, int which) argument
354 deleteRepeatingEvent(int which) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBtErrorActivity.java79 public void onClick(DialogInterface dialog, int which) { argument
80 switch (which) {
H A DBluetoothOppBtEnableActivity.java78 public void onClick(DialogInterface dialog, int which) { argument
79 switch (which) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastOptOutActivity.java41 * in restricted keyguard mode, in which case we create a new CellBroadcastOptOutActivity
51 public void onClick(DialogInterface dialog, int which) {
59 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DMiniPreferenceActivity.java53 public void onClick(DialogInterface dialog, int which) {
54 if (which == DialogInterface.BUTTON_POSITIVE) {
H A DWarnOfStorageLimitsActivity.java75 public void onClick(DialogInterface dialog, int which) { argument
77 if (which == POSITIVE_BUTTON) {
/packages/apps/Settings/src/com/android/settings/
H A DBugreportPreference.java56 public void onClick(DialogInterface dialog, int which) { argument
57 if (which == DialogInterface.BUTTON_POSITIVE) {
H A DAppWidgetPickActivity.java145 public void onClick(DialogInterface dialog, int which) { argument
146 Intent intent = getIntentForPosition(which);
147 PickAdapter.Item item = mItems.get(which);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothVisibilityTimeoutFragment.java64 public void onClick(DialogInterface dialog, int which) { argument
65 mDiscoverableEnabler.setDiscoverableTimeout(which);
H A DRequestPermissionHelperActivity.java94 public void onClick(DialogInterface dialog, int which) { argument
97 switch (which) {
/packages/providers/ContactsProvider/
H A DAndroid.mk16 # application. This configuration line selects which packages will be analyzed,
17 # leaving out code which is tested by other means (e.g. static libraries) that
23 # application. This configuration line selects which packages will be analyzed,
24 # leaving out code which is tested by other means (e.g. static libraries) that
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DSelectAccountActivity.java41 public void onClick(DialogInterface dialog, int which) { argument
84 public void onClick(DialogInterface dialog, int which) {
86 final AccountWithDataSet account = mAccountList.get(which);
H A DImportVCardActivity.java85 * Note that this Activity assumes that the instance is a "one-shot Activity", which will be
177 public void onClick(DialogInterface dialog, int which) { argument
531 public void onClick(DialogInterface dialog, int which) { argument
532 if (which == DialogInterface.BUTTON_POSITIVE) {
544 } else if (which == DialogInterface.BUTTON_NEGATIVE) {
547 mCurrentIndex = which;
564 public void onClick(DialogInterface dialog, int which) { argument
565 if (which == DialogInterface.BUTTON_POSITIVE) {
579 } else if (which == DialogInterface.BUTTON_NEGATIVE) {
583 mCurrentIndex = which;
594 onClick(DialogInterface dialog, int which, boolean isChecked) argument
712 onClick(DialogInterface dialog, int which) argument
[all...]
/packages/apps/Email/src/com/android/email/
H A DRequireManualSyncDialog.java37 public void onClick(DialogInterface dialog, int which) { argument
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelPicker.java98 public void onClick(DialogInterface dialog, int which) {
100 mClickedPos = which;
106 public void onClick(DialogInterface dialog, int which) { argument
107 if (which == DialogInterface.BUTTON_POSITIVE) {
/packages/apps/DeskClock/src/com/android/deskclock/
H A DRepeatPreference.java72 public void onClick(DialogInterface dialog, int which,
74 mNewDaysOfWeek.set(which, isChecked);
/packages/apps/Email/src/com/android/email/activity/
H A DDeleteMessageConfirmationDialog.java45 * @param callbackFragment fragment that implements {@link Callback}. Or null, in which case
76 public void onClick(DialogInterface dialog, int which) { argument
77 switch (which) {
H A DInsertQuickResponseDialog.java38 * Dialog which lists QuickResponses for the specified account. On user selection, will call
62 * @param callbackFragment fragment that implements {@link Callback}. Or null, in which case
138 public void onClick(DialogInterface dialog, int which) { argument
139 if (which == DialogInterface.BUTTON_NEGATIVE) {
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImageListUber.java46 // * The higher 32bit component indicates which sublist we're referring
122 int which = (int) (v >> 32);
124 int subindex = mSkipCounts[which] + (index - skipCount);
125 return mSubList[which].getImageAt(subindex);
128 mSkipCounts[which] += offset;
220 int which = (int) (value >> 32);
221 if (which == listIndex) {
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java98 public void onClick(DialogInterface dialog, int which) {
100 mClickedPos = which;
103 playRingtone(which, 0);
236 public void onClick(DialogInterface dialog, int which) { argument
237 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DSizeLimitActivity.java125 public void onClick(DialogInterface dialog, int which) { argument
128 if (isRequired && which == AlertDialog.BUTTON_NEGATIVE) {
130 } else if (!isRequired && which == AlertDialog.BUTTON_POSITIVE) {
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DNonPhoneActivity.java86 public void onClick(DialogInterface dialog, int which) { argument
87 if (which == DialogInterface.BUTTON_POSITIVE) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DSelectAccountDialogFragment.java32 * Shows a dialog asking the user which account to chose.
53 * @param extraArgs Extra arguments, which will later be passed to
83 public void onClick(DialogInterface dialog, int which) {
86 onAccountSelected(accountAdapter.getItem(which));
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java33 * Shows a dialog asking the user which account to chose.
76 public void onClick(DialogInterface dialog, int which) {
81 ((Listener) getActivity()).onAccountChosen(accountAdapter.getItem(which),

Completed in 347 milliseconds

123456