Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 185) sorted by relevance

12345678

/packages/apps/Calendar/src/com/android/calendar/
DEditResponseHelper.java51 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;
DDeleteEventHelper.java209 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/
DPackageInstallerActivity.java129 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/
DImageListUber.java122 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/
DImportVCardActivity.java177 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 …]
DSelectAccountActivity.java41 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/
DControlPanelPicker.java98 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/
DKeyboardLayoutDialogFragment.java100 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/
DYesCancelDialogBuilder.java19 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/
DRingtonePickerActivity.java98 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/
DMiniPreferenceActivity.java56 public void onClick(DialogInterface dialog, int which) {
57 if (which == DialogInterface.BUTTON_POSITIVE) {
DWarnOfStorageLimitsActivity.java76 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/
DSizeLimitActivity.java125 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/
DBluetoothOppBtErrorActivity.java79 public void onClick(DialogInterface dialog, int which) { in onClick() argument
80 switch (which) { in onClick()
DBluetoothOppBtEnableActivity.java78 public void onClick(DialogInterface dialog, int which) { in onClick() argument
79 switch (which) { in onClick()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java423 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/
DBluetoothVisibilityTimeoutFragment.java64 public void onClick(DialogInterface dialog, int which) { in onClick() argument
65 mDiscoverableEnabler.setDiscoverableTimeout(which); in onClick()
/packages/apps/Email/src/com/android/email/activity/
DDeleteMessageConfirmationDialog.java76 public void onClick(DialogInterface dialog, int which) { in onClick() argument
77 switch (which) { in onClick()
/packages/apps/DeskClock/src/com/android/deskclock/
DRepeatPreference.java72 public void onClick(DialogInterface dialog, int which, in onPrepareDialogBuilder()
74 mNewDaysOfWeek.set(which, isChecked); in onPrepareDialogBuilder()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java178 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/
DProjectsActivity.java201 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/
DEditEventFragment.java607 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/
DEditPhoneNumberPreference.java308 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/
DWifiP2pSettings.java174 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/
DNonPhoneActivity.java81 public void onClick(DialogInterface dialog, int which) { in onClick() argument
82 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()

12345678