Searched defs:which (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/content/
H A DSyncStatusObserver.java20 void onStatusChanged(int which); argument
H A DDialogInterface.java117 * @param which The button that was clicked (e.g.
122 public void onClick(DialogInterface dialog, int which); argument
134 * @param which The position of the item in the list that was clicked.
137 public void onClick(DialogInterface dialog, int which, boolean isChecked); argument
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java93 public void onClick(DialogInterface dialog, int which) { argument
95 if (which == POSITIVE_BUTTON) {
H A DNetInitiatedActivity.java124 public void onClick(DialogInterface dialog, int which) { argument
125 if (which == POSITIVE_BUTTON) {
128 if (which == NEGATIVE_BUTTON) {
H A DRingtonePickerActivity.java98 public void onClick(DialogInterface dialog, int which) {
100 mClickedPos = which;
103 playRingtone(which, 0);
236 public void onClick(DialogInterface dialog, int which) { argument
237 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE;
H A DResolverActivity.java53 * which there is more than one matching activity, allowing the user to decide
54 * which to go to. It is not normally used directly by application developers.
140 public void onClick(DialogInterface dialog, int which) { argument
141 ResolveInfo ri = mAdapter.resolveInfoForPosition(which);
142 Intent intent = mAdapter.intentForPosition(which);
186 // Look through the resolved filter to determine which part
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java86 public void onClick(DialogInterface dialog, int which) { argument
87 if (which == AlertDialog.BUTTON_POSITIVE) {
H A DUsbConfirmActivity.java115 public void onClick(DialogInterface dialog, int which) { argument
116 if (which == AlertDialog.BUTTON_POSITIVE) {
H A DUsbPermissionActivity.java158 public void onClick(DialogInterface dialog, int which) { argument
159 if (which == AlertDialog.BUTTON_POSITIVE) {
/frameworks/compile/libbcc/tests/
H A Dbccarm26 def which(item): function
27 return runCmd(["which", item])
H A Dtest.py66 def which(item): function
67 return runCmd(["which", item])
73 ft = fileType(which("bcc"))
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java104 public void onClick(DialogInterface dialog, int which) { argument
106 if (which == AlertDialog.BUTTON_POSITIVE && mService.prepareVpn(null, mPackage)) {
H A DManageDialog.java129 public void onClick(DialogInterface dialog, int which) { argument
131 if (which == AlertDialog.BUTTON_POSITIVE) {
133 } else if (which == AlertDialog.BUTTON_NEUTRAL) {
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java108 public void onClick(DialogInterface dialog, int which) { argument
H A DTimePickerDialog.java116 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java166 public void onClick(DialogInterface dialog, int which) { argument
167 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0);
/frameworks/base/core/java/com/android/internal/widget/
H A DSmileys.java63 public static int getSmileyResource(int which) { argument
64 return sIconIds[which];
/frameworks/base/core/java/android/webkit/
H A DPlugin.java217 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/libs/binder/
H A DIServiceManager.cpp193 String16 which = data.readString16(); local
194 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
200 String16 which = data.readString16(); local
201 sp<IBinder> b = const_cast<BnServiceManager*>(this)->checkService(which);
207 String16 which = data.readString16(); local
209 status_t err = addService(which, b);
/frameworks/base/tools/aidl/
H A Daidl_language.h15 which_extra_text which; member in struct:extra_text_type
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java372 public void onClick(DialogInterface dialog, int which) { argument
373 mWhichButtonClicked = which;
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java151 * @param text the buffer in which the meta key would have been pressed.
153 * @return an integer in which each bit set to one represents a pressed
167 * @param text the buffer in which the meta key would have been pressed.
395 * @return an integer in which each bit set to one represents a pressed
560 * @param which meta keys to clear, may be a combination of {@link #META_SHIFT_ON},
563 public long clearMetaKeyState(long state, int which) { argument
564 if ((which & META_SHIFT_ON) != 0 && (state & META_CAP_LOCKED) != 0) {
567 if ((which & META_ALT_ON) != 0 && (state & META_ALT_LOCKED) != 0) {
570 if ((which & META_SYM_ON) != 0 && (state & META_SYM_LOCKED) != 0) {
/frameworks/base/core/java/android/widget/
H A DSpinner.java78 * @param context The Context the view is running in, through which it can
90 * @param context The Context the view is running in, through which it can
104 * @param context The Context the view is running in, through which it can
116 * @param context The Context the view is running in, through which it can
133 * @param context The Context the view is running in, through which it can
460 public void onClick(DialogInterface dialog, int which) { argument
461 setSelection(which);
694 public void onClick(DialogInterface dialog, int which) { argument
695 setSelection(which);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java231 public void onClick(DialogInterface dialog, int which) { argument
232 if (!(mAdapter.getItem(which) instanceof SilentModeAction)) {
235 mAdapter.getItem(which).onPress();
/frameworks/base/core/java/android/os/
H A DDebug.java162 public int getOtherPss(int which) { argument
163 return otherStats[which*3];
167 public int getOtherPrivateDirty(int which) { argument
168 return otherStats[which*3 + 1];
172 public int getOtherSharedDirty(int which) { argument
173 return otherStats[which*3 + 2];
178 public static String getOtherLabel(int which) { argument
179 switch (which) {
406 * Enable "emulator traces", in which information about the current
412 * This puts the VM into "profile" mode, which ha
[all...]

Completed in 360 milliseconds

12