/packages/apps/Browser/src/com/android/browser/ |
WebDialog.java | 40 View button = findViewById(R.id.done); local 41 if (button != null) button.setOnClickListener(mCancelListener);
|
BrowserHomepagePreference.java | 23 import android.widget.Button; 53 // Now the EditText has a parent. Add a button to set to the current 56 Button button = new Button(getContext()); local 57 button.setText(R.string.pref_use_current); 58 button.setOnClickListener(new View.OnClickListener() { 66 parent.addView(button, ViewGroup.LayoutParams.WRAP_CONTENT, 98 * when the user clicks the "Use current page" button.
|
/external/webkit/WebKit/chromium/src/win/ |
WebInputEventFactory.cpp | 139 // NOTE: There doesn't seem to be a way to query the mouse button state in 177 result.button = WebMouseEvent::ButtonLeft; 179 result.button = WebMouseEvent::ButtonMiddle; 181 result.button = WebMouseEvent::ButtonRight; 183 result.button = WebMouseEvent::ButtonNone; 187 result.button = WebMouseEvent::ButtonNone; 195 result.button = WebMouseEvent::ButtonLeft; 200 result.button = WebMouseEvent::ButtonMiddle; 205 result.button = WebMouseEvent::ButtonRight; 209 result.button = WebMouseEvent::ButtonLeft [all...] |
/external/qemu/distrib/sdl-1.2.12/src/joystick/mint/ |
SDL_sysjoystick.c | 398 /* Button */ 459 int button; local 461 button=1<<jp_buttons[i]; 463 if ((curstate & button) && !(prevstate & button)) { 466 if (!(curstate & button) && (prevstate & button)) { 505 /* Button */ 531 int button; local 533 button=1<<(30+i) 565 int button; local [all...] |
/cts/tests/src/android/widget/cts/util/ |
ListItemFactory.java | 24 import android.widget.Button; 34 * Create a view with a button at the top and bottom, with filler in between. 56 final Button topButton = new Button(context); 69 final Button bottomButton = new Button(context); 119 final Button button = new Button(context); local 120 button.setText("left") 127 final Button button = new Button(context); local 135 final Button button = new Button(context); local 154 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ServiceStartArguments.java | 35 import android.widget.Button; 136 // For the start fail button, we will simulate the process dying 216 // Watch for button clicks. 217 Button button = (Button)findViewById(R.id.start1); local 218 button.setOnClickListener(mStart1Listener); 219 button = (Button)findViewById(R.id.start2); 220 button.setOnClickListener(mStart2Listener) [all...] |
AlarmController.java | 31 import android.widget.Button; 75 // Watch for button clicks. 76 Button button = (Button)findViewById(R.id.one_shot); local 77 button.setOnClickListener(mOneShotListener); 78 button = (Button)findViewById(R.id.start_repeating); 79 button.setOnClickListener(mStartRepeatingListener); 80 button = (Button)findViewById(R.id.stop_repeating) [all...] |
ForegroundService.java | 30 import android.widget.Button; 198 // Watch for button clicks. 199 Button button = (Button)findViewById(R.id.start_foreground); local 200 button.setOnClickListener(mForegroundListener); 201 button = (Button)findViewById(R.id.start_background); 202 button.setOnClickListener(mBackgroundListener); 203 button = (Button)findViewById(R.id.stop) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 24 import android.widget.Button; 34 * Create a view with a button at the top and bottom, with filler in between. 56 final Button topButton = new Button(context); 69 final Button bottomButton = new Button(context); 119 final Button button = new Button(context); local 120 button.setText("left") 127 final Button button = new Button(context); local 135 final Button button = new Button(context); local 155 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory [all...] |
ScrollViewScenario.java | 27 import android.widget.Button; 120 * Add a button. 121 * @param text The text of the button. 127 final Button button = new Button(context); 128 button.setText(text); 129 return button; 138 * @param textPrefix The text to prepend to each button. 179 final Button button = new Button(context) [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...] |
/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 34 import android.widget.Button; 80 View button = findViewById((R.id.switch_old)); local 81 button.setOnClickListener(mSwitchOldListener); 82 button = findViewById((R.id.switch_new)); 83 button.setOnClickListener(mSwitchNewListener); 84 button = findViewById((R.id.cancel)); 85 button.setOnClickListener(mCancelListener);
|
/external/webkit/WebCore/css/ |
html.css | 300 button { 301 -webkit-appearance: button; 304 input, textarea, keygen, select, button, isindex, datagrid { 337 input[type="search"]::-webkit-search-cancel-button { 338 -webkit-appearance: searchfield-cancel-button; 352 input[type="search"]::-webkit-search-results-button { 353 -webkit-appearance: searchfield-results-button; 357 input::-webkit-input-list-button { 358 -webkit-appearance: list-button; 362 input::-webkit-inner-spin-button { [all...] |
/external/webkit/WebCore/platform/gtk/ |
MouseEventGtk.cpp | 65 if (event->button == 1) 67 else if (event->button == 2) 69 else if (event->button == 3)
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SecureView.java | 29 import android.widget.Button; 51 * 1. The "unsecured button" does not apply any touch filtering of any kind. 52 * When the toast appears, this button remains clickable as usual which creates an 55 * 2. The "built-in secured button" leverages the android:filterTouchesWhenObscured view 57 * When the toast appears, the button does not receive the touch and appears to be inoperable. 59 * 3. The "custom secured button" adds a touch listener to the button which intercepts the 78 Button toastButton = (Button) findViewById(R.id.secure_view_toast_button); 85 Button unsecureButton = (Button) findViewById(R.id.secure_view_unsecure_button) [all...] |
TableLayout8.java | 23 import android.widget.Button; 41 Button button = (Button) findViewById(R.id.toggle); local 42 button.setOnClickListener(new Button.OnClickListener() {
|
/external/webkit/WebCore/dom/ |
MouseEvent.idl | 32 readonly attribute unsigned short button; 48 in unsigned short button,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemFocusableAboveUnfocusable.java | 21 import android.widget.Button; 42 return ListItemFactory.button(
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConfirmRateLimitActivity.java | 35 import android.widget.Button; 53 Button button = (Button) findViewById(R.id.btn_yes); local 54 button.setOnClickListener(new OnClickListener() { 60 button = (Button) findViewById(R.id.btn_no); 61 button.setOnClickListener(new OnClickListener() {
|
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
SDL_ataridevmouse.c | 103 static int atari_GetButton(int button) 105 switch(button) 133 /* Mouse button events */
|
SDL_ikbdevents.c | 59 static int atari_GetButton(int button) 61 switch(button) 104 /* Mouse button ? */
|
SDL_xbiosevents.c | 104 static int atari_GetButton(int button) 106 switch(button) 130 /* Mouse button ? */
|
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
EventSenderQt.h | 55 void mouseDown(int button = 0); 56 void mouseUp(int button = 0);
|
/external/webkit/WebCore/platform/wx/wxcode/gtk/ |
scrollbar_render.cpp | 136 GtkWidget* button = GetButtonWidget(); local 143 gtk_paint_arrow( button->style, gdk_window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, NULL, button, "arrow", arrowType, false, x + 4, y + 4, 8, 8); 176 gtk_paint_arrow( button->style, gdk_window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, NULL, button, "arrow", arrowType, false, x + 4, y + 4, 8, 8);
|
/external/junit/src/junit/awtui/ |
AboutDialog.java | 3 import java.awt.Button; 27 Button button= new Button("Close"); local 28 button.addActionListener( 61 add(button, constraintsButton1);
|