/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbevents.c | 706 void FB_vgamousecallback(int button, int relative, int dx, int dy) 718 /* Swap button 1 and 3 */ 719 button_1 = (button & 0x04) >> 2; 720 button_3 = (button & 0x01) << 2; 721 button &= ~0x05; 722 button |= (button_1|button_3); 726 state_changed = button_state ^ button; 729 if ( button & (1<<i) ) { 744 int button; local 747 button = (sample.pressure > 0) ? 1 : 0 765 int button = 0; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsevents.c | 580 void GS_vgamousecallback(int button, int dx, int dy) 592 /* Swap button 1 and 3 */ 593 button_1 = (button & 0x04) >> 2; 594 button_3 = (button & 0x01) << 2; 595 button &= ~0x05; 596 button |= (button_1|button_3); 600 state_changed = button_state ^ button; 603 if ( button & (1<<i) ) { 621 int button = 0; local 669 button = (~mousebuf[i]) & 0x07 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
SDL_sysevents.c | 486 Uint8 button, state; local 495 /* Figure out which button to use */ 498 button = SDL_BUTTON_LEFT; 502 button = SDL_BUTTON_LEFT; 506 button = SDL_BUTTON_MIDDLE; 510 button = SDL_BUTTON_MIDDLE; 514 button = SDL_BUTTON_RIGHT; 518 button = SDL_BUTTON_RIGHT; 523 button = SDL_BUTTON_WHEELDOWN + xbuttonval; 528 button = SDL_BUTTON_WHEELDOWN + xbuttonval 584 Uint8 button; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 166 ImageView button = mInLoad ? mStopButton : mRtButton; local 169 // Make all touches hit either the textfield or the button, 173 button.setPressed(true); 189 button.setPressed(false); 198 } else if (button.isPressed() && x < titleRight - slop) { 199 button.setPressed(false); 203 button.setPressed(false); 208 if (button.isPressed()) { 224 button.setPressed(false);
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_events.h | 53 SDL_MOUSEBUTTONDOWN, /* Mouse button pressed */ 54 SDL_MOUSEBUTTONUP, /* Mouse button released */ 58 SDL_JOYBUTTONDOWN, /* Joystick button pressed */ 59 SDL_JOYBUTTONUP, /* Joystick button released */ 130 Uint8 state; /* The current button state */ 136 /* Mouse button event structure */ 140 Uint8 button; /* The mouse button index */ member in struct:SDL_MouseButtonEvent 175 /* Joystick button event structure */ 179 Uint8 button; /* The joystick button index * member in struct:SDL_JoyButtonEvent 225 SDL_MouseButtonEvent button; member in union:SDL_Event [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_events.h | 53 SDL_MOUSEBUTTONDOWN, /* Mouse button pressed */ 54 SDL_MOUSEBUTTONUP, /* Mouse button released */ 58 SDL_JOYBUTTONDOWN, /* Joystick button pressed */ 59 SDL_JOYBUTTONUP, /* Joystick button released */ 130 Uint8 state; /* The current button state */ 136 /* Mouse button event structure */ 140 Uint8 button; /* The mouse button index */ member in struct:SDL_MouseButtonEvent 175 /* Joystick button event structure */ 179 Uint8 button; /* The joystick button index * member in struct:SDL_JoyButtonEvent 225 SDL_MouseButtonEvent button; member in union:SDL_Event [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_events.h | 52 SDL_MOUSEBUTTONDOWN, /* Mouse button pressed */ 53 SDL_MOUSEBUTTONUP, /* Mouse button released */ 57 SDL_JOYBUTTONDOWN, /* Joystick button pressed */ 58 SDL_JOYBUTTONUP, /* Joystick button released */ 127 Uint8 state; /* The current button state */ 133 /* Mouse button event structure */ 137 Uint8 button; /* The mouse button index */ member in struct:SDL_MouseButtonEvent 172 /* Joystick button event structure */ 176 Uint8 button; /* The joystick button index * member in struct:SDL_JoyButtonEvent 222 SDL_MouseButtonEvent button; member in union:__anon17247 [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_events.h | 53 SDL_MOUSEBUTTONDOWN, /* Mouse button pressed */ 54 SDL_MOUSEBUTTONUP, /* Mouse button released */ 58 SDL_JOYBUTTONDOWN, /* Joystick button pressed */ 59 SDL_JOYBUTTONUP, /* Joystick button released */ 130 Uint8 state; /* The current button state */ 136 /* Mouse button event structure */ 140 Uint8 button; /* The mouse button index */ member in struct:SDL_MouseButtonEvent 175 /* Joystick button event structure */ 179 Uint8 button; /* The joystick button index * member in struct:SDL_JoyButtonEvent 225 SDL_MouseButtonEvent button; member in union:SDL_Event [all...] |
/external/quake/src/com/android/quake/ |
DownloaderActivity.java | 64 import android.widget.Button; 170 Button button = (Button) findViewById(R.id.cancel); local 171 button.setOnClickListener(new Button.OnClickListener() { 246 // Happens when the Back button is used to exit the activity. [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 46 import android.widget.Button; 166 clickedEvent.setClassName(Button.class.getName()); 177 final Button button = (Button) activity.findViewById(R.id.button); local 180 button.performClick(); 195 longClickedEvent.setClassName(Button.class.getName()); 206 final Button button = (Button) activity.findViewById(R.id.button) local 237 final Button button = (Button) activity.findViewById(R.id.button); local [all...] |
/external/chromium/base/ |
message_loop_unittest.cc | 838 HWND button = FindWindowEx(window, NULL, L"Button", NULL); local 839 if (button != NULL) { 840 EXPECT_TRUE(0 == SendMessage(button, WM_LBUTTONDOWN, 0, 0)); 841 EXPECT_TRUE(0 == SendMessage(button, WM_LBUTTONUP, 0, 0)); [all...] |
/external/webkit/WebCore/platform/qt/ |
RenderThemeQt.cpp | 133 QPushButton button; local 134 button.setAttribute(Qt::WA_MacSmallSize); 135 QFont defaultButtonFont = QApplication::font(&button); 399 // The Mac ports ignore the specified height for <input type="button"> elements 440 // Fake a button rect here, since we're just computing deltas 444 // Default padding is based on the button margin pixel metric
|
/external/webkit/WebKit/gtk/WebCoreSupport/ |
FrameLoaderClientGtk.cpp | 328 gint button = -1; local 333 // DOM button values are 0, 1 and 2 for left, middle and right buttons. 335 button = mouseEvent->button() + 1; 354 "button", button, [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 31 import android.widget.Button; 670 * Sets the text on the emergency button to indicate what action will be taken. 671 * If there's currently a call in progress, the button will take them to the call 672 * @param button the button to update 674 public void updateEmergencyCallButtonState(Button button) { 681 button.setCompoundDrawablesWithIntrinsicBounds(phoneCallIcon, 0, 0, 0); 685 button.setCompoundDrawablesWithIntrinsicBounds(emergencyIcon, 0, 0, 0); 687 button.setText(textId) [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
UpdateChooserDialog.java | 48 import org.eclipse.swt.widgets.Button;
77 private Button mLicenseRadioAccept;
78 private Button mLicenseRadioReject;
79 private Button mLicenseRadioAcceptAll;
193 mLicenseRadioAccept = new Button(mPackageRootComposite, SWT.RADIO);
202 mLicenseRadioReject = new Button(mPackageRootComposite, SWT.RADIO);
214 mLicenseRadioAcceptAll = new Button(mPackageRootComposite, SWT.RADIO);
227 * Creates and returns the contents of this dialog's button bar.
233 * <li>Inserts a help label on the left of the first button.
234 * <li>Renames the OK button into "Install" 268 Button button = getButton(IDialogConstants.OK_ID); local [all...] |
/external/qemu/android/skin/ |
window.c | 510 typedef struct Button { 517 } Button; 520 button_done( Button* button ) 522 skin_image_unref( &button->image ); 523 button->background = NULL; 527 button_init( Button* button, SkinButton* sbutton, SkinLocation* loc, Background* back, SkinRect* frame, SkinLayout* slayout ) 531 button->image = skin_image_rotate( sbutton->image, loc->rotation ); 532 button->background = back 821 ButtonState button; member in struct:SkinWindow 894 ButtonState* button = &window->button; local 1360 Button* button = layout->buttons; local 1426 Button* button; local [all...] |
/external/webkit/WebCore/bindings/objc/ |
PublicDOMInterfaces.h | 1132 @property(readonly) unsigned short button; variable [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XInput.h | 192 unsigned int state; /* key or button mask */ 195 unsigned int device_state; /* device key or button mask */ 224 unsigned int state; /* key or button mask */ 225 unsigned int button; /* detail */ member in struct:__anon13740 227 unsigned int device_state; /* device key or button mask */ 257 unsigned int state; /* key or button mask */ 260 unsigned int device_state; /* device key or button mask */ 316 unsigned int device_state; /* device key or button mask */ 390 * modifier mapping, or button mapping of an extension device is changed. 966 unsigned int /* button */, [all...] |
XIproto.h | 647 CARD8 button; member in struct:__anon13809 665 CARD8 button; member in struct:__anon13810 [all...] |
XKBstr.h | 163 unsigned char button; member in struct:_XkbPtrBtnAction 230 unsigned char button; member in struct:_XkbDeviceBtnAction
|
/external/webkit/WebCore/dom/ |
Node.cpp | 2841 short button = event.button(); local [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
Workspace.java | [all...] |
/packages/apps/Camera/src/com/android/camera/ |
VideoCamera.java | 515 public void onShutterButtonFocus(ShutterButton button, boolean pressed) { 531 public void onShutterButtonClick(ShutterButton button) { 532 switch (button.getId()) { 1294 View button = findViewById(id); local 1304 View button = findViewById(id); local [all...] |
/bionic/libc/kernel/common/linux/ |
input.h | 622 __u16 button; member in struct:ff_trigger
|
/development/ndk/platforms/android-3/include/linux/ |
input.h | 622 __u16 button; member in struct:ff_trigger
|