/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | RingtonePickerActivity.java | 113 /** Id of the user to which the ringtone picker should list the ringtones */ 153 public void onClick(DialogInterface dialog, int which) { 154 if (which == mCursor.getCount() + mStaticItemCount) { 166 setCheckedItem(which); 175 playRingtone(which, 0); 477 public void onClick(DialogInterface dialog, int which) { argument 478 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE; 647 // Here we use an existing resource "notification_sound_default" which is
|
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | VoicemailSettingsActivity.java | 68 * DO NOT RENAME. There are existing apps which use this intent value. 75 * DO NOT RENAME. There are existing apps which use this intent value. 91 * String Extra put into ACTION_ADD_VOICEMAIL call to indicate which provider should be hidden 92 * in the list of providers presented to the user. This allows a provider which is being 130 * This set keeps track of the CF types for which we've issued change 410 // update the voicemail number field, which takes care of the 592 // code here that calls showDialog() directly (which will result in a 628 public void onClick(DialogInterface dialog, int which) { argument 629 if (DBG) log("onClick: button clicked is " + which); 632 switch (which){ [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupFinal.java | 79 * construct an intent which contains all necessary information to create the account. No 262 * This works in a manner fairly similar to automatic setup, in which the complete 1104 * which handles creating the account in the system and database. 1159 // The account manager will report back via the callback, which will take us to 1262 public void onClick(DialogInterface dialog, int which) { argument
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | Calculator.java | 118 // A RESULT -> ERROR transition is possible in rare corner cases, in which 1233 public void onClick(AlertDialogFragment fragment, int which) { argument 1234 if (which == DialogInterface.BUTTON_POSITIVE) { 1237 // handle expressions to which they refer? 1350 // while in history mode, which causes all sorts of problems. 1416 * are added to mUnprocessedChars, which is presumed to immediately precede the newly
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PhotoDataAdapter.java | 105 // The MediaItems are stored in the mData array, which has DATA_CACHE_SIZE 770 private Future<?> startTaskIfNeeded(int index, int which) { argument 779 if (which == BIT_SCREEN_NAIL && entry.screenNailTask != null 782 } else if (which == BIT_FULL_IMAGE && entry.fullImageTask != null 787 if (which == BIT_SCREEN_NAIL && entry.requestedScreenNail != version) { 795 if (which == BIT_FULL_IMAGE && entry.requestedFullImage != version
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintSettings.java | 94 * Used by the enrolling screen during setup wizard to skip over setting up fingerprint, which 701 public void onClick(DialogInterface dialog, int which) { argument 702 if (which == DialogInterface.BUTTON_POSITIVE) { 744 public void onClick(DialogInterface dialog, int which) { 834 public void onClick(DialogInterface dialog, int which) { 845 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventView.java | 247 // of calls to normalize() and toMillis(), which are fairly 345 // of calls to normalize() and toMillis(), which are fairly 655 public void onClick(DialogInterface dialog, int which) { argument 659 if (which == DialogInterface.BUTTON_POSITIVE) { 998 // lists (which may have elements added and removed based on calendar properties). This 1529 // in which email addresses are concatenated together with no separator.
|
/packages/apps/Music/src/com/android/music/ |
H A D | TrackBrowserActivity.java | 257 // close its cursor, which we do by assigning a null cursor to it. Doing this 265 // by clearing its DatasetObservers, which setListAdapter(null) does. 323 // call init(), which will post a delayed message to this handler 516 public void remove(int which) { 517 removePlaylistItem(which); 521 private void removePlaylistItem(int which) { argument 522 View v = mTrackList.getChildAt(which - mTrackList.getFirstVisiblePosition()); 524 Log.d(LOGTAG, "No view when removing playlist item " + which); 528 if (MusicUtils.sService != null && which != MusicUtils.sService.getQueuePosition()) { 538 ((NowPlayingCursor) mTrackCursor).removeItem(which); 1167 removeItem(int which) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
H A D | DevelopmentFragment.java | 1326 private void updateAnimationScaleValue(int which, ListPreference pref) { argument 1328 float scale = mWindowManager.getAnimationScale(which); 1354 private void writeAnimationScaleOption(int which, ListPreference pref, Object newValue) { argument 1357 mWindowManager.setAnimationScale(which, scale); 1358 updateAnimationScaleValue(which, pref);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | CellLayout.java | 120 // Used as an index into the above 3 arrays; indicates which is the most current value. 400 // pass 0, which results in the overscroll drawable not being drawn any more. 882 * @param result Rect in which to write the result 1242 // There is a size difference to account for the outer blur, which may lie 1287 * @param pixelX The X location at which you want to search for a vacant area. 1288 * @param pixelY The Y location at which you want to search for a vacant area. 1291 * @param result Array in which to place the result, or null (in which case a new array will 1305 * @param pixelX The X location at which you want to search for a vacant area. 1306 * @param pixelY The Y location at which yo 1633 computeEdge(int which, int[] edge) argument 1755 getEdge(int which) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CellLayout.java | 129 // Used as an index into the above 3 arrays; indicates which is the most current value. 764 * @param result Rect in which to write the result 1031 // There is a size difference to account for the outer blur, which may lie 1083 * @param pixelX The X location at which you want to search for a vacant area. 1084 * @param pixelY The Y location at which you want to search for a vacant area. 1089 * @param result Array in which to place the result, or null (in which case a new array will 1119 * @param pixelX The X location at which you want to search for a vacant area. 1120 * @param pixelY The Y location at which you want to search for a vacant area. 1126 * @param result Array in which t 1378 computeEdge(int which) argument [all...] |
/packages/apps/Settings/src/com/android/settings/development/ |
H A D | DevelopmentSettings.java | 2246 private void updateAnimationScaleValue(int which, ListPreference pref) { argument 2248 float scale = mWindowManager.getAnimationScale(which); 2273 private void writeAnimationScaleOption(int which, ListPreference pref, Object newValue) { argument 2276 mWindowManager.setAnimationScale(which, scale); 2277 updateAnimationScaleValue(which, pref); 2364 public void onClick(DialogInterface dialog, int which) { 2365 if (which == DialogInterface.BUTTON_POSITIVE) { 2666 public void onClick(DialogInterface dialog, int which) { argument 2668 if (which == DialogInterface.BUTTON_POSITIVE) { 2678 if (which [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | ComposeActivity.java | 154 // Identifiers for which type of composition this is 785 // There are accounts, but none are sync'd, which is just like having no accounts. 1240 // Otherwise, give the user the ability to choose which account to 1270 * @param account Account in which the message arrived. 1272 * @return the address from which to reply. 1280 // If we aren't explicitly told which account to look for, look at 2197 // the current user OR a custom from of the current user, in which case 2199 // OR missing, in which case use the sender of the original message 2208 // In this case, the user is replying to a message in which their 2376 * until they add something, at which poin 3100 onClick(DialogInterface dialog, int which) argument [all...] |