Home
last modified time | relevance | path

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

123456789

/packages/apps/Calendar/src/com/android/calendar/
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 …]
DEditResponseHelper.java61 public void setWhichEvents(int which) { in setWhichEvents() argument
62 mWhichEvents = which; in setWhichEvents()
66 public void onClick(DialogInterface dialog, int which) { in onClick() argument
99 public void onClick(DialogInterface dialog, int which) {
100 mWhichEvents = which;
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DImportVCardActivity.java175 public void onClick(DialogInterface dialog, int which) { in onClick() argument
529 public void onClick(DialogInterface dialog, int which) { in onClick() argument
530 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
542 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
545 mCurrentIndex = which; in onClick()
562 public void onClick(DialogInterface dialog, int which) { in onClick() argument
563 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
577 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
581 mCurrentIndex = which; in onClick()
583 if (mSelectedIndexSet.contains(which)) { in onClick()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryStatsHelper.java367 final int which = mStatsType; in processAppUsage() local
376 long uSecTime = mStats.computeBatteryRealtime(SystemClock.elapsedRealtime() * 1000, which); in processAppUsage()
400 final long userTime = ps.getUserTime(which); in processAppUsage()
401 final long systemTime = ps.getSystemTime(which); in processAppUsage()
402 final long foregroundTime = ps.getForegroundTime(which); in processAppUsage()
408 cpuSpeedStepTimes[step] = ps.getTimeAtCpuSpeedStep(step, which); in processAppUsage()
453 wakelockTime += timer.getTotalTimeLocked(uSecTime, which); in processAppUsage()
480 long wifiRunningTimeMs = u.getWifiRunningTime(uSecTime, which) / 1000; in processAppUsage()
488 long wifiScanTimeMs = u.getWifiScanTime(uSecTime, which) / 1000; in processAppUsage()
494 long batchScanTimeMs = u.getWifiBatchedScanTime(bin, uSecTime, which) / 1000; in processAppUsage()
[all …]
/packages/apps/Email/src/com/android/email/provider/
DFolderPickerDialog.java128 public void onClick(DialogInterface dialog, int which) { in onClick() argument
129 switch (which) { in onClick()
141 onClick(dialog, which, true); in onClick()
147 public void onClick(DialogInterface dialog, int which, boolean isChecked) { in onClick() argument
148 final FolderRow row = (FolderRow) mAdapter.getItem(which); in onClick()
153 mDialog.getListView().setItemChecked(which, false); in onClick()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java206 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
207 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
229 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
230 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
248 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
249 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
268 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
269 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
288 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onActivityCreated()
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/
DExternalDictionaryGetterForDebug.java77 public void onClick(final DialogInterface dialog, final int which) { in showNoFileDialog()
88 public void onClick(final DialogInterface dialog, final int which) { in showChooseFileDialog()
89 askInstallFile(context, SOURCE_FOLDER, fileNames[which], in showChooseFileDialog()
119 public void onClick(final DialogInterface dialog, final int which) { in askInstallFile()
127 public void onClick(final DialogInterface dialog, final int which) { in askInstallFile()
175 public void onClick(final DialogInterface dialog, final int which) { in installFile()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java237 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
242 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
254 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
269 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
278 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
293 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
308 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
313 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java541 public void remove(int which) {
542 removePlaylistItem(which);
546 private void removePlaylistItem(int which) { in removePlaylistItem() argument
547 View v = mTrackList.getChildAt(which - mTrackList.getFirstVisiblePosition()); in removePlaylistItem()
549 Log.d(LOGTAG, "No view when removing playlist item " + which); in removePlaylistItem()
554 && which != MusicUtils.sService.getQueuePosition()) { in removePlaylistItem()
564 ((NowPlayingCursor)mTrackCursor).removeItem(which); in removePlaylistItem()
568 mTrackCursor.moveToPosition(which); in removePlaylistItem()
1200 public boolean removeItem(int which)
1203 if (mService.removeTracks(which, which) == 0) {
[all …]
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java748 public void onClick(DialogInterface dialog, int which) { in displayEditWhichDialog()
749 if (which == 0) { in displayEditWhichDialog()
758 } else if (which == 1) { in displayEditWhichDialog()
761 } else if (which == 2) { in displayEditWhichDialog()
830 int which = -1; in run() local
833 which = DeleteEventHelper.DELETE_SELECTED; in run()
836 which = DeleteEventHelper.DELETE_ALL_FOLLOWING; in run()
839 which = DeleteEventHelper.DELETE_ALL; in run()
844 deleteHelper.delete(begin, end, mOriginalModel, which); in run()
/packages/apps/Camera2/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/Camera2/jni/feature_stab/doc/
Ddbreg_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]
/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java992 private void updateAnimationScaleValue(int which, ListPreference pref) { in updateAnimationScaleValue() argument
994 float scale = mWindowManager.getAnimationScale(which); in updateAnimationScaleValue()
1019 private void writeAnimationScaleOption(int which, ListPreference pref, Object newValue) { in writeAnimationScaleOption() argument
1022 mWindowManager.setAnimationScale(which, scale); in writeAnimationScaleOption()
1023 updateAnimationScaleValue(which, pref); in writeAnimationScaleOption()
1265 public void onClick(DialogInterface dialog, int which) { in onPreferenceChange()
1275 public void onClick(DialogInterface dialog, int which) { in onPreferenceChange()
1333 public void onClick(DialogInterface dialog, int which) { in onClick() argument
1335 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
1347 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java114 public void onClick(DialogInterface dialog, int which) {
116 mClickedPos = which;
119 playRingtone(which, 0);
252 public void onClick(DialogInterface dialog, int which) { in onClick() argument
253 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE; in onClick()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java434 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
462 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
480 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
493 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
517 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
518 onAddUserClicked(which == 0 in onCreateDialog()
532 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java97 public void onClick(DialogInterface dialog, int which) {
99 mAlertParams.mCheckedItem = which;
105 public void onClick(DialogInterface dialog, int which) { in onClick() argument
106 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSeekBarDialogPreference.java113 public void onClick(final DialogInterface dialog, final int which) { in onClick() argument
114 super.onClick(dialog, which); in onClick()
116 if (which == DialogInterface.BUTTON_NEUTRAL) { in onClick()
122 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java720 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
832 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
841 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
853 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
913 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
922 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java716 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
717 final int aspectRatio = aspectRatios.get(which); in onCreateDialog()
740 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
751 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
768 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
777 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
799 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
810 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
845 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
1649 public void onClick(DialogInterface dialog, int which) {

123456789