| /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
| SdkLocationChooserDialog.java | 31 import org.eclipse.swt.widgets.Button; 77 Button browse = new Button(c, SWT.PUSH);
|
| /development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
| NativeMedia.java | 30 import android.widget.Button; 206 // initialize button click handlers 210 ((Button) findViewById(R.id.start_java)).setOnClickListener(new View.OnClickListener() { 240 ((Button) findViewById(R.id.start_native)).setOnClickListener(new View.OnClickListener() { 266 ((Button) findViewById(R.id.finish)).setOnClickListener(new View.OnClickListener() { 276 ((Button) findViewById(R.id.rewind_java)).setOnClickListener(new View.OnClickListener() { 288 ((Button) findViewById(R.id.rewind_native)).setOnClickListener(new View.OnClickListener() {
|
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
| Editor.java | 28 import android.widget.Button; 54 Button mEditTitle; 55 protected Button mFilterTitle; 61 private Button mButton; 95 Button editTitle, Button stateButton) { 291 protected void createMenu(int[] strId, View button) { 292 PopupMenu pmenu = new PopupMenu(mContext, button);
|
| EditorColorBorderTabletUI.java | 26 import android.widget.Button; 48 private Button[] mColorButton; 153 Button b = (Button) lp.findViewById(R.id.draw_color_popupbutton); 168 mColorButton = new Button[ids.length]; 170 mColorButton[i] = (Button) lp.findViewById(ids[i]); 225 Button b = mColorButton[mSelectedColorButton]; 249 final Button button = mColorButton[i]; local 250 GradientDrawable sd = ((GradientDrawable) button.getBackground()) [all...] |
| /packages/apps/Settings/src/com/android/settings/ |
| DateTimeSettingsSetupWizard.java | 41 import android.widget.Button; 72 private Button mTimeZoneButton; 99 // and can't be canceled, and we already have a Next button. For xLarge, 101 // cancel. And also, in xlarge, we need the keyboard dismiss button 122 mTimeZoneButton = (Button)findViewById(R.id.time_zone_button); 147 ((Button)findViewById(R.id.next_button)).setOnClickListener(this); 148 final Button skipButton = (Button)findViewById(R.id.skip_button); 210 // In XL screen, we save all the state only when the next button is pressed.
|
| /external/chromium_org/ash/shell/ |
| lock_view.cc | 16 #include "ui/views/controls/button/label_button.h" 31 unlock_button_->SetStyle(views::Button::STYLE_BUTTON); 73 virtual void ButtonPressed(views::Button* sender,
|
| /external/chromium_org/ash/system/ |
| tray_accessibility.h | 16 #include "ui/views/controls/button/button.h" 23 class Button; 81 virtual void ButtonPressed(views::Button* sender,
|
| /external/chromium_org/chrome/browser/chromeos/login/screens/ |
| network_screen_browsertest.cc | 19 #include "ui/views/controls/button/button.h" 25 using views::Button; 31 virtual void ButtonPressed(views::Button* sender,
|
| /external/chromium_org/third_party/angle/samples/angle/sample_util/win32/ |
| Win32Window.cpp | 246 event.MouseButton.Button = MOUSEBUTTON_LEFT; 257 event.MouseButton.Button = MOUSEBUTTON_LEFT; 269 event.MouseButton.Button = MOUSEBUTTON_RIGHT; 276 // Mouse right button up event 281 event.MouseButton.Button = MOUSEBUTTON_RIGHT; 288 // Mouse wheel button down event 294 event.MouseButton.Button = MOUSEBUTTON_MIDDLE; 301 // Mouse wheel button up event 306 event.MouseButton.Button = MOUSEBUTTON_MIDDLE; 313 // Mouse X button down even [all...] |
| /external/chromium_org/ui/message_center/views/ |
| notifier_settings_view.h | 14 #include "ui/views/controls/button/checkbox.h" 15 #include "ui/views/controls/button/image_button.h" 16 #include "ui/views/controls/button/menu_button_listener.h" 74 virtual void ButtonPressed(views::Button* button, 106 virtual void ButtonPressed(views::Button* sender,
|
| /external/chromium_org/ui/views/controls/button/ |
| custom_button.h | 11 #include "ui/views/controls/button/button.h" 21 // A button with custom rendering. The common base class of ImageButton, 23 // Note that this type of button is not focusable by default and will not be 26 class VIEWS_EXPORT CustomButton : public Button, 29 // The menu button's class name. 37 // Get/sets the current display state of the button. 99 // Construct the Button with a Listener. See comment for Button's ctor. 109 // This implementation returns true if the left mouse button is down [all...] |
| /external/chromium_org/ui/views/examples/ |
| widget_example.cc | 9 #include "ui/views/controls/button/label_button.h" 46 LabelButton* button = new LabelButton(NULL, ASCIIToUTF16("Extra button!")); local 47 button->SetStyle(Button::STYLE_BUTTON); 48 return button; 82 LabelButton* button = new LabelButton(this, ASCIIToUTF16(label)); local 83 button->SetFocusable(true); 84 button->set_tag(tag); 85 container->AddChildView(button); [all...] |
| /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
| ShadowAlertDialog.java | 11 import android.widget.Button; 38 private Button positiveButton; 39 private Button negativeButton; 40 private Button neutralButton; 89 public Button getButton(int whichButton) { 98 throw new RuntimeException("Only positive, negative, or neutral button choices are recognized"); 114 throw new RuntimeException("Only positive, negative, or neutral button choices are recognized"); 117 private static Button createButton(final Context context, final DialogInterface dialog, final int which, CharSequence text, final DialogInterface.OnClickListener listener) { 121 Button button = new Button(context) local [all...] |
| /frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
| ButtonsWithTallTextViewInBetweenTest.java | 26 import android.widget.Button; 34 private Button mTopButton; 68 assertTrue("top button should be shorter than max scroll amount", 71 assertTrue("bottom button should be further than max scroll amount off screen", 84 assertTrue("top button should be off screen", 87 assertFalse("top button should have lost focus", 134 assertTrue("bottom button should be off screen", 137 assertFalse("bottom button should have lost focus",
|
| /frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
| EmergencyButton.java | 27 import android.widget.Button; 33 * This class implements a smart emergency button that updates itself based 34 * on telephony state. When the phone is idle, it is an emergency call button. 38 public class EmergencyButton extends Button { 126 // hides emergency button on "Slide" screen if device is not secure.
|
| /frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
| ConfirmDialog.java | 33 import android.widget.Button; 49 private Button mButton;
|
| /packages/apps/Calendar/src/com/android/calendar/ |
| MultiStateButton.java | 24 import android.widget.Button; 28 * A button with more than two states. When the button is pressed 35 * MultiStateButton Attributes}, {@link android.R.styleable#Button Button 41 public class MultiStateButton extends Button { 42 //The current state for this button, ranging from 0 to maxState-1 44 //The maximum number of states allowed for this button. 49 //A list of all drawable resources used by this button in the order it uses them. 66 //TODO add a more generic default button [all...] |
| /packages/apps/Contacts/src/com/android/contacts/interactions/ |
| GroupNameDialogFragment.java | 30 import android.widget.Button; 92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
| MainLaunchConfigTab.java | 50 import org.eclipse.swt.widgets.Button; 71 private Button mProjButton; 78 private Button mDefaultActionButton; 79 private Button mActivityActionButton; 80 private Button mDoNothingActionButton; 144 mDefaultActionButton = new Button(group, SWT.RADIO); 162 mActivityActionButton = new Button(group, SWT.RADIO); 189 mDoNothingActionButton = new Button(group, SWT.RADIO);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
| ImportPage.java | 55 import org.eclipse.swt.widgets.Button; 82 private Button mBrowseButton; 83 private Button mCopyCheckBox; 84 private Button mRefreshButton; 85 private Button mDeselectAllButton; 86 private Button mSelectAllButton; 124 mBrowseButton = new Button(container, SWT.NONE); 157 mSelectAllButton = new Button(container, SWT.NONE); 162 mDeselectAllButton = new Button(container, SWT.NONE); 167 mRefreshButton = new Button(container, SWT.NONE) [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/app/ |
| Intents.java | 26 import android.widget.Button;
|
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| VideoPlayerActivity.java | 35 import android.widget.Button; 66 Button mPlayButton; 86 public void init(Activity activity, TextView title, Button playButton, 134 // Clicking on the play/pause button toggles its state. 198 (Button)findViewById(R.id.play),
|
| /development/samples/ToyVpn/src/com/example/android/toyvpn/ |
| ToyVpnClient.java | 26 import android.widget.Button;
|
| /external/chromium_org/apps/ui/views/ |
| app_window_frame_view.h | 14 #include "ui/views/controls/button/button.h" 88 virtual void ButtonPressed(views::Button* sender, 91 // Some button images we use depend on the color of the frame. This
|
| /external/chromium_org/ash/ime/ |
| candidate_window_view.h | 11 #include "ui/views/controls/button/button.h" 77 virtual void ButtonPressed(views::Button* sender,
|