/packages/apps/Calendar/src/com/android/calendar/ |
D | EditResponseHelper.java | 51 public void setWhichEvents(int which) { in setWhichEvents() argument 52 mWhichEvents = which; in setWhichEvents() 55 public void onClick(DialogInterface dialog, int which) { in onClick() argument 63 public void onClick(DialogInterface dialog, int which) { 64 mWhichEvents = which;
|
D | DeleteEventHelper.java | 209 public void delete(long begin, long end, long eventId, int which) { in delete() argument 215 mWhichDelete = which; in delete() 218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() argument 219 delete(begin, end, eventId, which); in delete() 257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument 258 mWhichDelete = which; in delete() 316 if (which != -1) { in delete() 318 which = labelIndex.indexOf(which); in delete() 327 .setSingleChoiceItems(adapter, which, mDeleteListListener) in delete() 333 if (which == -1) { in delete() [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 129 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 133 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 146 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 151 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 163 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 178 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 187 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 202 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 217 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 222 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 122 int which = (int) (v >> 32); in getImageAt() local 124 int subindex = mSkipCounts[which] + (index - skipCount); in getImageAt() 125 return mSubList[which].getImageAt(subindex); in getImageAt() 128 mSkipCounts[which] += offset; in getImageAt() 220 int which = (int) (value >> 32); in getImageIndex() local 221 if (which == listIndex) { in getImageIndex()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ImportVCardActivity.java | 177 public void onClick(DialogInterface dialog, int which) { in onClick() argument 531 public void onClick(DialogInterface dialog, int which) { in onClick() argument 532 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick() 544 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick() 547 mCurrentIndex = which; in onClick() 564 public void onClick(DialogInterface dialog, int which) { in onClick() argument 565 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick() 579 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick() 583 mCurrentIndex = which; in onClick() 585 if (mSelectedIndexSet.contains(which)) { in onClick() [all …]
|
D | SelectAccountActivity.java | 41 public void onClick(DialogInterface dialog, int which) { in onClick() argument 84 public void onClick(DialogInterface dialog, int which) { in onCreate() 86 final AccountWithDataSet account = mAccountList.get(which); in onCreate()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelPicker.java | 98 public void onClick(DialogInterface dialog, int which) { 100 mClickedPos = which; 106 public void onClick(DialogInterface dialog, int which) { in onClick() argument 107 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutDialogFragment.java | 100 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 107 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 108 onKeyboardLayoutClicked(which); in onCreateDialog() 155 private void onKeyboardLayoutClicked(int which) { in onKeyboardLayoutClicked() argument 156 if (which >= 0 && which < mAdapter.getCount()) { in onKeyboardLayoutClicked() 157 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked()
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
D | YesCancelDialogBuilder.java | 19 public void onClick(DialogInterface dialog, int which) { in YesCancelDialogBuilder() 26 public void onClick(DialogInterface dialog, int which) { in YesCancelDialogBuilder()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | RingtonePickerActivity.java | 98 public void onClick(DialogInterface dialog, int which) { 100 mClickedPos = which; 103 playRingtone(which, 0); 236 public void onClick(DialogInterface dialog, int which) { in onClick() argument 237 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE; in onClick()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MiniPreferenceActivity.java | 56 public void onClick(DialogInterface dialog, int which) { 57 if (which == DialogInterface.BUTTON_POSITIVE) {
|
D | WarnOfStorageLimitsActivity.java | 76 public void onClick(DialogInterface dialog, int which) { in onClick() argument 78 if (which == POSITIVE_BUTTON) { in onClick()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | SizeLimitActivity.java | 125 public void onClick(DialogInterface dialog, int which) { in onClick() argument 128 if (isRequired && which == AlertDialog.BUTTON_NEGATIVE) { in onClick() 130 } else if (!isRequired && which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppBtErrorActivity.java | 79 public void onClick(DialogInterface dialog, int which) { in onClick() argument 80 switch (which) { in onClick()
|
D | BluetoothOppBtEnableActivity.java | 78 public void onClick(DialogInterface dialog, int which) { in onClick() argument 79 switch (which) { in onClick()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageSummary.java | 423 final int which = mStatsType; in processAppUsage() local 431 long uSecTime = mStats.computeBatteryRealtime(SystemClock.elapsedRealtime() * 1000, which); in processAppUsage() 454 final long userTime = ps.getUserTime(which); in processAppUsage() 455 final long systemTime = ps.getSystemTime(which); in processAppUsage() 456 final long foregroundTime = ps.getForegroundTime(which); in processAppUsage() 462 cpuSpeedStepTimes[step] = ps.getTimeAtCpuSpeedStep(step, which); in processAppUsage() 504 wakelockTime += timer.getTotalTimeLocked(uSecTime, which); in processAppUsage() 520 long wifiRunningTimeMs = u.getWifiRunningTime(uSecTime, which) / 1000; in processAppUsage() 532 long sensorTime = timer.getTotalTimeLocked(uSecTime, which) / 1000; in processAppUsage() 594 SystemClock.uptimeMillis() * 1000, which) / 1000; in processAppUsage() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothVisibilityTimeoutFragment.java | 64 public void onClick(DialogInterface dialog, int which) { in onClick() argument 65 mDiscoverableEnabler.setDiscoverableTimeout(which); in onClick()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | DeleteMessageConfirmationDialog.java | 76 public void onClick(DialogInterface dialog, int which) { in onClick() argument 77 switch (which) { in onClick()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | RepeatPreference.java | 72 public void onClick(DialogInterface dialog, int which, in onPrepareDialogBuilder() 74 mNewDaysOfWeek.set(which, isChecked); in onPrepareDialogBuilder()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 178 public void writeAnimationPreference(int which, Object objValue) { in writeAnimationPreference() argument 181 mWindowManager.setAnimationScale(which, val); in writeAnimationPreference() 217 public void readAnimationPreference(int which, ListPreference pref) { in readAnimationPreference() argument 219 float scale = mWindowManager.getAnimationScale(which); in readAnimationPreference()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | ProjectsActivity.java | 201 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 212 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument 237 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 245 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventFragment.java | 607 public void onClick(DialogInterface dialog, int which) { in displayEditWhichDialog() 608 if (which == 0) { in displayEditWhichDialog() 617 } else if (which == 1) { in displayEditWhichDialog() 620 } else if (which == 2) { in displayEditWhichDialog() 687 int which = -1; in run() local 690 which = DeleteEventHelper.DELETE_SELECTED; in run() 693 which = DeleteEventHelper.DELETE_ALL_FOLLOWING; in run() 696 which = DeleteEventHelper.DELETE_ALL; in run() 701 deleteHelper.delete(begin, end, mOriginalModel, which); in run()
|
/packages/apps/Phone/src/com/android/phone/ |
D | EditPhoneNumberPreference.java | 308 public void onClick(DialogInterface dialog, int which) { in onClick() argument 310 if ((mConfirmationMode == CM_ACTIVATION) && (which == DialogInterface.BUTTON_NEUTRAL)) { in onClick() 315 mButtonClicked = which; in onClick() 316 super.onClick(dialog, which); in onClick()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 174 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 175 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated() 197 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 198 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated() 216 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 217 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | NonPhoneActivity.java | 81 public void onClick(DialogInterface dialog, int which) { in onClick() argument 82 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|