Searched defs:which (Results 1 - 25 of 41) 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) {
/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/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java87 public void onClick(DialogInterface dialog, int which) { argument
88 if (which == AlertDialog.BUTTON_POSITIVE) {
H A DUsbConfirmActivity.java112 public void onClick(DialogInterface dialog, int which) { argument
113 if (which == AlertDialog.BUTTON_POSITIVE) {
H A DUsbDebuggingActivity.java121 public void onClick(DialogInterface dialog, int which) { argument
122 boolean allow = (which == AlertDialog.BUTTON_POSITIVE);
H A DUsbPermissionActivity.java161 public void onClick(DialogInterface dialog, int which) { argument
162 if (which == AlertDialog.BUTTON_POSITIVE) {
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java97 public void onClick(DialogInterface dialog, int which) { argument
99 if (which == DialogInterface.BUTTON_POSITIVE && mService.prepareVpn(null, mPackage)) {
H A DManageDialog.java121 public void onClick(DialogInterface dialog, int which) { argument
123 if (which == DialogInterface.BUTTON_POSITIVE) {
125 } else if (which == DialogInterface.BUTTON_NEUTRAL) {
/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/app/
H A DDatePickerDialog.java115 public void onClick(DialogInterface dialog, int which) { argument
H A DTimePickerDialog.java114 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/android/webkit/
H A DPlugin.java217 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/native/libs/binder/
H A DIServiceManager.cpp195 String16 which = data.readString16(); local
196 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
202 String16 which = data.readString16(); local
203 sp<IBinder> b = const_cast<BnServiceManager*>(this)->checkService(which);
209 String16 which = data.readString16(); local
211 status_t err = addService(which, b);
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java374 public void onClick(DialogInterface dialog, int which) { argument
375 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/tools/aidl/
H A Daidl_language.h15 which_extra_text which; member in struct:extra_text_type
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c41 unsigned which; // which buffer to use next variable
80 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
96 if (++which >= numBuffers)
97 which = 0;
376 for (which = 0; which < numBuffers; ++which) {
377 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
398 if (which >
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java814 * expiration timeouts is returned - which will be the minimum of all timeouts.
922 * @param num The number of failed password attempts at which point the
974 * characters when the requested quality is only numeric), in which case
1384 * @param which {@link #KEYGUARD_DISABLE_FEATURES_NONE} (default),
1388 public void setKeyguardDisabledFeatures(ComponentName admin, int which) { argument
1391 mService.setKeyguardDisabledFeatures(admin, which, UserHandle.myUserId());
/frameworks/base/core/java/android/widget/
H A DAppSecurityPermissions.java449 private List<MyPermissionInfo> getPermissionList(MyPermissionGroupInfo grp, int which) { argument
450 if (which == WHICH_NEW) {
452 } else if (which == WHICH_PERSONAL) {
454 } else if (which == WHICH_DEVICE) {
461 public int getPermissionCount(int which) { argument
464 N += getPermissionList(mPermGroupsList.get(i), which).size();
473 public View getPermissionsView(int which) { argument
480 displayPermissions(mPermGroupsList, displayList, which);
493 LinearLayout permListView, int which) {
500 final List<MyPermissionInfo> perms = getPermissionList(grp, which);
492 displayPermissions(List<MyPermissionGroupInfo> groups, LinearLayout permListView, int which) argument
[all...]
H A DSpinner.java90 * @param context The Context the view is running in, through which it can
102 * @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
128 * @param context The Context the view is running in, through which it can
145 * @param context The Context the view is running in, through which it can
616 public void onClick(DialogInterface dialog, int which) { argument
617 setSelection(which);
869 public void onClick(DialogInterface dialog, int which) { argument
870 setSelection(which);
872 performItemClick(null, which, mListAdapte
[all...]

Completed in 143 milliseconds

12