/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | CellDataPreference.java | 136 // disabling data; show confirmation dialog which eventually 226 protected void onClick(DialogInterface dialog, int which) { argument 227 if (which != DialogInterface.BUTTON_POSITIVE) {
|
H A D | BillingCycleSettings.java | 291 public void onClick(DialogInterface dialog, int which) { argument 292 if (which != DialogInterface.BUTTON_POSITIVE) { 378 public void onClick(DialogInterface dialog, int which) { argument 449 public void onClick(DialogInterface dialog, int which) { argument 451 if (which != DialogInterface.BUTTON_POSITIVE) return;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | NotificationLockscreenPreference.java | 152 public void onClick(DialogInterface dialog, int which) { argument 153 mInner.onClick(dialog, which);
|
H A D | WorkSoundPreferenceController.java | 344 public void onClick(DialogInterface dialog, int which) { argument
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
H A D | SpareParts.java | 178 public void writeAnimationPreference(int which, Object objValue) { argument 181 mWindowManager.setAnimationScale(which, val); 217 public void readAnimationPreference(int which, ListPreference pref) { argument 219 float scale = mWindowManager.getAnimationScale(which);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationViewHeader.java | 211 public void onClick(DialogInterface dialog, int which) { argument 212 if (which == DialogInterface.BUTTON_POSITIVE) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | AccountsSettingsFragment.java | 358 // If it isn't, select the 0th account by default which will get picked up 395 public void onClick(final DialogInterface dialog, final int which) { argument 397 switch (which) { 445 public void onClick(final DialogInterface dialog, final int which) { 446 if (which == DialogInterface.BUTTON_POSITIVE) { 479 final int which) { 480 if (which == DialogInterface.BUTTON_POSITIVE) {
|
H A D | CustomInputStylePreference.java | 126 // would look strange. To fix this, we align them to the view's start, which will be 170 public void onClick(final DialogInterface dialog, final int which) { argument 171 super.onClick(dialog, which); 172 switch (which) {
|
H A D | SeekBarDialogPreference.java | 113 public void onClick(final DialogInterface dialog, final int which) { argument 114 super.onClick(dialog, which); 116 if (which == DialogInterface.BUTTON_NEUTRAL) { 122 if (which == DialogInterface.BUTTON_POSITIVE) {
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | MobileDataPreference.java | 136 // disabling data; show confirmation dialog which eventually 222 public void onClick(DialogInterface dialog, int which) { argument 223 if (which != DialogInterface.BUTTON_POSITIVE) {
|
H A D | SimContacts.java | 128 public void onClick(DialogInterface dialog, int which) { argument 129 if (which == DialogInterface.BUTTON_NEGATIVE) {
|
H A D | EditPhoneNumberPreference.java | 51 // The preference is backed by a string that holds the encoded value, which reads: 97 * value indicating which of the three possible buttons were pressed. 311 public void onClick(DialogInterface dialog, int which) { argument 313 if ((mConfirmationMode == CM_ACTIVATION) && (which == DialogInterface.BUTTON_NEUTRAL)) { 318 mButtonClicked = which; 319 super.onClick(dialog, which);
|
H A D | EmergencyDialer.java | 722 public void onColorsChanged(ColorExtractor extractor, int which) { argument 723 if ((which & WallpaperManager.FLAG_LOCK) != 0) {
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | AccountTypeManager.java | 199 * Loads accounts and applies the fitler returning only for which the predicate is true 433 public void onStatusChanged(int which) { argument
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
H A D | AccountTypeManager.java | 132 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s which 328 * Return all {@link AccountType}s with at least one account which supports "invite", i.e. its 363 public void onStatusChanged(int which) { argument 653 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s which 671 // can potentially cause a deadlock situation if this method is called from code which 674 // context in which this method is called.
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
H A D | PhoneNumberInteraction.java | 140 * Activities which use this class must implement this. They will be notified if there was an 150 * Activities which use this class must implement this. They will be notified if the phone number 470 * {@link DialogFragment} used for displaying a dialog with a list of phone numbers of which one 477 * <p>This fragment may only be attached to activities which implement {@link 539 public void onClick(DialogInterface dialog, int which) { argument 545 if (mPhoneList.size() > which && which >= 0) { 546 final PhoneItem phoneItem = mPhoneList.get(which);
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
H A D | AccountSecurity.java | 103 * Used for generating intent for this activity (which is intended to be launched 111 * @return an Intent which can be used to view that account 122 * Used for generating intent for this activity (which is intended to be launched 123 * from a notification.) This is a special mode of this activity which exists only 541 public void onClick(DialogInterface dialog, int which) { argument 549 switch (which) { 618 public void onClick(DialogInterface dialog, int which) { argument 621 if (which == DialogInterface.BUTTON_POSITIVE) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | MenuExecutor.java | 290 public void onClick(DialogInterface dialog, int which) { argument 291 if (which == DialogInterface.BUTTON_POSITIVE) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | AdvancedPowerUsageDetail.java | 120 PreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, 131 BatteryUtils.StatusType.FOREGROUND, uid, which) : sipper.usageTimeMs; 133 BatteryUtils.StatusType.BACKGROUND, uid, which) : 0; 160 BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, 162 startBatteryDetailPage(caller, BatteryUtils.getInstance(caller), fragment, helper, which, 119 startBatteryDetailPage(SettingsActivity caller, BatteryUtils batteryUtils, PreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, List<Anomaly> anomalies) argument 159 startBatteryDetailPage(SettingsActivity caller, PreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, List<Anomaly> anomalies) argument
|
H A D | BatteryUtils.java | 95 int which) { 102 return getScreenUsageTimeMs(uid, which); 104 return getProcessForegroundTimeMs(uid, which); 106 return getProcessBackgroundTimeMs(uid, which); 108 return getProcessForegroundTimeMs(uid, which) 109 + getProcessBackgroundTimeMs(uid, which); 114 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { argument 120 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); 132 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { argument 134 return getScreenUsageTimeMs(uid, which, rawRealTimeU 94 getProcessTimeMs(@tatusType int type, @Nullable BatteryStats.Uid uid, int which) argument 137 getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which) argument 147 getProcessForegroundTimeMs(BatteryStats.Uid uid, int which) argument [all...] |
H A D | FakeUid.java | 137 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { argument 142 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { argument 147 public long getWifiScanTime(long elapsedRealtimeUs, int which) { argument 152 public int getWifiScanCount(int which) { argument 157 public int getWifiScanBackgroundCount(int which) { argument 172 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { argument 177 public int getWifiBatchedScanCount(int csphBin, int which) { argument 182 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { argument 217 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { argument 241 public int getUserActivityCount(int type, int which) { argument 251 getNetworkActivityBytes(int type, int which) argument 256 getNetworkActivityPackets(int type, int which) argument 261 getMobileRadioActiveTime(int which) argument 266 getMobileRadioActiveCount(int which) argument 271 getUserCpuTimeUs(int which) argument 276 getSystemCpuTimeUs(int which) argument 281 getTimeAtCpuSpeed(int cluster, int step, int which) argument 331 getWifiRadioApWakeupCount(int which) argument 336 getMobileRadioApWakeupCount(int which) argument 341 getCpuFreqTimes(int which) argument 346 getScreenOffCpuFreqTimes(int which) argument [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | KeyboardLayoutDialogFragment.java | 108 public void onClick(DialogInterface dialog, int which) { 115 public void onClick(DialogInterface dialog, int which) { 116 onKeyboardLayoutClicked(which); 164 private void onKeyboardLayoutClicked(int which) { argument 165 if (which >= 0 && which < mAdapter.getCount()) { 166 KeyboardLayout keyboardLayout = mAdapter.getItem(which);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderSelectionActivity.java | 250 public void onClick(DialogInterface dialog, int which) { argument 251 if (which == DialogInterface.BUTTON_POSITIVE) {
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ImportVCardActivity.java | 73 * Note that this Activity assumes that the instance is a "one-shot Activity", which will be 135 public void onClick(DialogInterface dialog, int which) { argument 496 * Returns the local file name which stores the file from sourceUri.
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppStorageSettings.java | 242 public void onClick(DialogInterface dialog, int which) { argument 246 final VolumeInfo targetVol = mCandidates[which]; 472 public void onClick(DialogInterface dialog, int which) { 484 public void onClick(DialogInterface dialog, int which) {
|