/frameworks/base/awt/org/apache/harmony/awt/wtk/ |
NativeEvent.java | 141 * Method is aware of system mouse button swap for left-hand 202 * Returns the number of mouse button which changed it's state, 204 * Left button is 1, middle button is 2, right button is 3. 206 * Method is aware of system mouse button swap for left-hand 208 * @return mouse button number
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
AlarmAlertFullScreen.java | 37 import android.widget.Button; 75 // Get the volume/camera button behavior setting 127 Button snooze = (Button) findViewById(R.id.snooze); 129 snooze.setOnClickListener(new Button.OnClickListener() { 135 /* dismiss button: close notification */ 137 new Button.OnClickListener() {
|
/packages/apps/IM/src/com/android/im/app/ |
PreferenceActivity.java | 29 import android.widget.Button; 103 final Button btnSave = (Button) findViewById(R.id.btnSave); 104 btnSave.setOnClickListener(new Button.OnClickListener() { 149 Log.w(ImApp.LOG_TAG, "Unexpected dataChannel button ID; defaulting to HTTP"); 166 Log.w(ImApp.LOG_TAG, "Unexpected cirChannel button ID; defaulting to STCP"); 183 Log.w(ImApp.LOG_TAG, "Unexpected dataEncoding button ID; defaulting to WBXML");
|
/packages/apps/Stk/src/com/android/stk/ |
StkInputActivity.java | 34 import android.widget.Button; 124 Button okButton = (Button) findViewById(R.id.button_ok); 125 Button yesButton = (Button) findViewById(R.id.button_yes); 126 Button noButton = (Button) findViewById(R.id.button_no);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
TutorialEN.java | 217 Bubble button; local 221 button = new Bubble(context, inputView, 224 mBubbles.add(button); 231 button = new Bubble(context, inputView, 234 mBubbles.add(button); 236 button = new Bubble(context, inputView, 239 mBubbles.add(button);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeystoreSelectionPage.java | 31 import org.eclipse.swt.widgets.Button; 46 private Button mUseExistingKeystore; 47 private Button mCreateKeystore; 70 mUseExistingKeystore = new Button(composite, SWT.RADIO); 76 mCreateKeystore = new Button(composite, SWT.RADIO); 84 final Button browseButton = new Button(composite, SWT.PUSH);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventDisplayOptions.java | 35 import org.eclipse.swt.widgets.Button; 66 private Button mEventDisplayNewButton; 67 private Button mEventDisplayDeleteButton; 68 private Button mEventDisplayUpButton; 69 private Button mEventDisplayDownButton; 78 private Button mPidFilterCheckBox; 96 private Button mNewButton; 97 private Button mEditButton; 98 private Button mDeleteButton; 217 Button okButton = new Button(bottomButtons, SWT.PUSH) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_QWin.cc | 94 Qt::ButtonState button = e->button(); local 96 if( (button & Qt::LeftButton)) { 99 if( (button & Qt::RightButton)) { 102 if( (button & Qt::MidButton)) { 111 Qt::ButtonState button = e->button(); local 113 (button & Qt::LeftButton) ? 1 : 114 ((button & Qt::RightButton) ? 2 : 3), 120 Qt::ButtonState button = e->button() local [all...] |
/frameworks/base/core/java/android/preference/ |
DialogPreference.java | 66 /** Which button was clicked. */ 177 * Sets the text of the positive button of the dialog. This will be shown on 180 * @param positiveButtonText The text of the positive button. 188 * @param positiveButtonTextResId The positive button text as a resource. 195 * Returns the text of the positive button to be shown on subsequent 198 * @return The text of the positive button. 205 * Sets the text of the negative button of the dialog. This will be shown on 208 * @param negativeButtonText The text of the negative button. 216 * @param negativeButtonTextResId The negative button text as a resource. 223 * Returns the text of the negative button to be shown on subsequen [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigManagerDialog.java | 44 import org.eclipse.swt.widgets.Button; 54 * Dialog to view the layout devices with action button to create/edit/delete/copy layout devices 101 private Button mNewButton; 102 private Button mEditButton; 103 private Button mCopyButton; 104 private Button mDeleteButton; 279 mNewButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 305 // Because the new button is disabled when something else than "custom" is 329 mEditButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 364 mCopyButton = new Button(buttons, SWT.PUSH | SWT.FLAT) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 43 import android.widget.Button; 214 // text view and button are VISIBLE, they should be measured 230 Button button = (Button) frameLayout.findViewById(R.id.framelayout_button); local 231 compareScaledPixels(15, button.getMeasuredHeight()); 232 compareScaledPixels(50, button.getMeasuredWidth()); 233 assertEquals(button.getMeasuredHeight(), frameLayout.getMeasuredHeight()); 234 assertEquals(button.getMeasuredWidth(), frameLayout.getMeasuredWidth());
|
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 41 import android.widget.Button; 58 private Button mBindButton; 59 private Button mUnbindButton; 61 private Button mStartSyncButton; 62 private Button mCancelSyncButton; 78 mBindButton = (Button) findViewById(R.id.bind_button); 79 mUnbindButton = (Button) findViewById(R.id.unbind_button); 82 mStartSyncButton = (Button) findViewById(R.id.start_sync_button); 83 mCancelSyncButton = (Button) findViewById(R.id.cancel_sync_button);
|
/external/webkit/JavaScriptCore/tests/mozilla/ |
mklistpage.pl | 41 local $uid = 0; # radio button unique ID 63 $html .= " <input type='button' value='Select All' " . 65 $html .= " <input type='button' value='Select None' " . 78 $html .= "<td><input type='button' value='Select All' " . 80 $html .= "<input type='button' value='Select None' " . 116 $html .= " <input type='button' value='Select All' " . 118 $html .= " <input type='button' value='Select None' " . 157 $html .= " <input type='button' value='Select All' " . 159 $html .= " <input type='button' value='Select None' " .
|
/packages/apps/AlarmClock/res/values/ |
strings.xml | 64 <!-- Button labels on the alarm dialog: Dismiss --> 72 <!-- Button labels on the alarm dialog: Snooze --> 178 <!-- Done button when editing an alarm. --> 181 <!-- Revert button when editing an alarm. --> 202 <!-- Title of the setting to change the volume/camera button behavior. --> 203 <string name="volume_button_setting_title">Side button behavior</string> 205 <!-- The summary of the side button setting. --> 211 <!-- Entries listed in the setting for the side-button action. --> 218 <!-- Values for the side-button setting. -->
|
/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);
|
/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 31 import android.widget.Button; 108 public void onClick(DialogInterface dialog, int button) { 123 public void onClick(DialogInterface dialog, int button) { 124 mWhichDelete = button; 126 // Enable the "ok" button now that the user has selected which 128 Button ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); 138 public void onClick(DialogInterface dialog, int button) { 238 // Disable the "Ok" button until the user selects which events 240 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
SetAlarm.java | 37 import android.widget.Button; 143 // Attach actions to each button. 144 Button b = (Button) findViewById(R.id.alarm_save); 151 final Button revert = (Button) findViewById(R.id.alarm_revert); 166 b = (Button) findViewById(R.id.alarm_delete); 265 final Button revert = (Button) findViewById(R.id.alarm_revert);
|
/sdk/ddms/app/src/com/android/ddms/ |
DeviceCommandDialog.java | 31 import org.eclipse.swt.widgets.Button; 52 * let the user click a button next to the one (or ones) they want. This 66 private Button mCancelDone; 67 private Button mSave; 78 // don't want a close button, but it seems hard to get rid of on GTK 161 // "save" button 162 mSave = new Button(shell, SWT.PUSH); 175 // "cancel/done" button 176 mCancelDone = new Button(shell, SWT.PUSH);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
LibraryProperties.java | 41 import org.eclipse.swt.widgets.Button; 62 private Button mAddButton; 63 private Button mRemoveButton; 64 private Button mUpButton; 65 private Button mDownButton; 151 mAddButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 171 mRemoveButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 190 mUpButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 210 mDownButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
|
/cts/tests/tests/app/src/android/app/cts/ |
DatePickerDialogTest.java | 157 // move the focus to the 'set' button 159 // move the focus up to the '-' button under the month 163 // move focus down to '-' button under the month 165 // move focus down to 'set' button 167 // click the 'set' button to accept changes
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
ForwardingTest.java | 26 import android.widget.Button; 51 private Button mButton; 75 mButton = (Button) getActivity().findViewById(R.id.go); 88 mButton = (Button) activity.findViewById(R.id.go); 90 // This test confirms that when you click the button, the activity attempts to open
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzEvents.m | 703 static int QZ_OtherMouseButtonToSDL(int button) 705 switch (button) 716 return(button + 3); 761 int button; 765 #define DO_MOUSE_DOWN(button) do { \ 767 SDL_PrivateMouseButton (SDL_PRESSED, button, 0, 0); \ 768 expect_mouse_up |= 1<<button; \ 773 #define DO_MOUSE_UP(button) do { \ 774 if ( expect_mouse_up & (1<<button) ) { \ 775 SDL_PrivateMouseButton (SDL_RELEASED, button, 0, 0); [all...] |
/external/webkit/WebCore/platform/ |
PlatformMouseEvent.h | 66 // These button numbers match the ones used in the DOM API, 0 through 2, except for NoButton which isn't specified. 85 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, MouseEventType eventType, 89 , m_button(button) 106 MouseButton button() const { return m_button; } function in class:WebCore::PlatformMouseEvent 127 PlatformMouseEvent(int x, int y, int globalX, int globalY, MouseButton button, MouseEventType eventType,
|
/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/webkit/WebKit/wx/bindings/python/samples/ |
simple.py | 50 btn = wx.Button(self, -1, "Open", style=wx.BU_EXACTFIT) 54 btn = wx.Button(self, -1, "<--", style=wx.BU_EXACTFIT) 58 btn = wx.Button(self, -1, "-->", style=wx.BU_EXACTFIT) 62 btn = wx.Button(self, -1, "Stop", style=wx.BU_EXACTFIT) 66 btn = wx.Button(self, -1, "Refresh", style=wx.BU_EXACTFIT)
|