/external/chromium_org/ui/views/controls/button/ |
image_button_unittest.cc | 8 #include "ui/views/controls/button/image_button.h" 27 ImageButton button(NULL); 30 EXPECT_TRUE(button.GetImageToPaint().isNull()); 33 EXPECT_EQ("16x14", button.GetPreferredSize().ToString()); 36 button.SetPreferredSize(gfx::Size(5, 15)); 37 EXPECT_EQ("5x15", button.GetPreferredSize().ToString()); 41 button.SetImage(CustomButton::STATE_NORMAL, &normal_image); 44 EXPECT_FALSE(button.GetImageToPaint().isNull()); 45 EXPECT_EQ(10, button.GetImageToPaint().width()); 46 EXPECT_EQ(20, button.GetImageToPaint().height()) [all...] |
label_button_unittest.cc | 5 #include "ui/views/controls/button/label_button.h" 34 LabelButton button(NULL, text); 36 EXPECT_TRUE(button.GetImage(Button::STATE_NORMAL).isNull()); 37 EXPECT_TRUE(button.GetImage(Button::STATE_HOVERED).isNull()); 38 EXPECT_TRUE(button.GetImage(Button::STATE_PRESSED).isNull()); 39 EXPECT_TRUE(button.GetImage(Button::STATE_DISABLED).isNull()) [all...] |
custom_button_unittest.cc | 5 #include "ui/views/controls/button/custom_button.h" 13 #include "ui/views/controls/button/checkbox.h" 14 #include "ui/views/controls/button/image_button.h" 15 #include "ui/views/controls/button/menu_button.h" 16 #include "ui/views/controls/button/radio_button.h" 17 #include "ui/views/controls/button/text_button.h" 38 void PerformGesture(CustomButton* button, ui::EventType event_type) { 43 button->OnGestureEvent(&gesture_event); 71 TestCustomButton* button = new TestCustomButton(NULL); local 72 widget->SetContentsView(button); 128 TestCustomButton* button = new TestCustomButton(NULL); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/first_run/ |
step.css | 22 .step button.blue-button { 26 .step button.white-button { 30 .step .controls button { 34 .step .controls button:first-of-type { 38 .step .controls button:last-of-type {
|
/external/chromium_org/chrome/browser/resources/ |
profile_signin_confirmation.css | 5 #button-row { 14 #button-row button {
|
/external/chromium_org/third_party/WebKit/ManualTests/accessibility/resources/ |
AppletTest.java | 35 JButton button = new JButton("button"); local 38 button.setBounds(10,10,100,30); 41 add(button);
|
/external/chromium_org/ui/webui/resources/css/ |
menu_button.css | 9 button.menu-button.drop-down { 21 button.menu-button.drop-down:hover { 26 button.menu-button.drop-down[menu-shown], 27 button.menu-button.drop-down:focus { 33 button.menu-button.using-mouse [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
header_bar.css | 18 Otherwise if opacity: 0.8 is set here it will affect button text as well. 43 #login-header-bar button, 44 #login-header-bar button:active, 45 #login-header-bar button:focus, 46 #login-header-bar button:hover { 58 #login-header-bar button:not(.button-restricted), 59 #login-header-bar button:active:not(.button-restricted), 60 #login-header-bar button:focus:not(.button-restricted) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
splitView.css | 83 .split-view button.sidebar-show-hide-button { 92 .split-view button.left-sidebar-show-hide-button, 93 .split-view button.top-sidebar-show-hide-button { 98 .split-view button.left-sidebar-show-hide-button:active, 99 .split-view button.top-sidebar-show-hide-button:active [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_command_handler_x11.cc | 27 int button = xevent->type == GenericEvent ? ui::EventButtonFromNative(xevent) local 28 : xevent->xbutton.button; 33 if (button == kBackMouseButton || button == kForwardMouseButton) { 39 if (button == kBackMouseButton && controller.CanGoBack()) 41 else if (button == kForwardMouseButton && controller.CanGoForward())
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
NavigationPolicy.cpp | 38 bool navigationPolicyFromMouseEvent(unsigned short button, bool ctrl, bool shift, bool alt, bool meta, NavigationPolicy* policy) 41 const bool newTabModifier = (button == 1) || meta; 43 const bool newTabModifier = (button == 1) || ctrl;
|
/external/chromium_org/chrome/browser/resources/history/ |
alert_overlay.css | 5 .overlay .page .button-strip > button {
|
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/ |
website_settings_utils_cocoa.h | 10 NSSize SizeForWebsiteSettingsButtonTitle(NSPopUpButton* button,
|
/external/chromium_org/ui/webui/resources/css/apps/ |
common.css | 5 button.white-button, 6 button.blue-button { 22 button.white-button { 24 url('chrome://resources/images/apps/button.png') 1x, 25 url('chrome://resources/images/2x/apps/button.png') 29 button.white-button:hover [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ToolTip.py | 10 def __init__(self, button): 11 self.button = button 15 self._id1 = self.button.bind("<Enter>", self.enter) 16 self._id2 = self.button.bind("<Leave>", self.leave) 17 self._id3 = self.button.bind("<ButtonPress>", self.leave) 28 self.id = self.button.after(1500, self.showtip) 34 self.button.after_cancel(id) 39 # The tip window must be completely outside the button; 43 x = self.button.winfo_rootx() + 2 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ToolTip.py | 10 def __init__(self, button): 11 self.button = button 15 self._id1 = self.button.bind("<Enter>", self.enter) 16 self._id2 = self.button.bind("<Leave>", self.leave) 17 self._id3 = self.button.bind("<ButtonPress>", self.leave) 28 self.id = self.button.after(1500, self.showtip) 34 self.button.after_cancel(id) 39 # The tip window must be completely outside the button; 43 x = self.button.winfo_rootx() + 2 [all...] |
/external/chromium_org/tools/site_compare/drivers/win32/ |
mouse.py | 10 clicking with any button, and dragging. 47 def PressButton(down, button='left'): 48 """Simulate a mouse button press or release at the current mouse location. 51 down: whether the button is pressed or released 52 button: which button is pressed 58 # Put the mouse_event flags in a convenient dictionary by button 65 # hit the button 66 win32api.mouse_event(flags[button][down], 0, 0) 69 def ClickButton(button='left', click_time=0) [all...] |
/external/chromium_org/ui/app_list/views/ |
search_result_actions_view.cc | 13 #include "ui/views/controls/button/blue_button.h" 14 #include "ui/views/controls/button/image_button.h" 66 views::ImageButton* button = new views::ImageButton(this); local 67 button->SetBorder(views::Border::CreateEmptyBorder(0, 9, 0, 9)); 68 button->SetAccessibleName(action.tooltip_text); 69 button->SetImageAlignment(views::ImageButton::ALIGN_CENTER, 71 button->SetImage(views::CustomButton::STATE_NORMAL, &action.base_image); 72 button->SetImage(views::CustomButton::STATE_HOVERED, &action.hover_image); 73 button->SetImage(views::CustomButton::STATE_PRESSED, &action.pressed_image); 74 button->SetTooltipText(action.tooltip_text) 80 views::BlueButton* button = new views::BlueButton(this, action.label_text); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ChronometerDemo.java | 28 import android.widget.Button; 40 Button button; local 44 // Watch for button clicks. 45 button = (Button) findViewById(R.id.start); 46 button.setOnClickListener(mStartListener); 48 button = (Button) findViewById(R.id.stop); 49 button.setOnClickListener(mStopListener) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
track.css | 6 .track-button { 16 .track-button:hover { 23 .track-close-button { 29 .track-collapse-button {
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
bluetooth_pair_device.css | 5 .close-button {
|
/external/chromium_org/chrome/browser/ui/ |
confirm_bubble_model.cc | 21 base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const { 22 return l10n_util::GetStringUTF16((button == BUTTON_OK) ? IDS_OK : IDS_CANCEL);
|
/external/chromium_org/ui/base/models/ |
dialog_model.h | 28 // for the dialog. Note: Dialogs with just an OK button are frowned upon. 31 // Returns the default dialog button. This should not be a mask as only 32 // one button should ever be the default button. Return 39 // Returns whether the default dialog button should be colored blue as a call 43 // Returns the label of the specified dialog button. 44 virtual base::string16 GetDialogButtonLabel(DialogButton button) const = 0; 46 // Returns whether the specified dialog button is enabled. 47 virtual bool IsDialogButtonEnabled(DialogButton button) const = 0;
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
ObjectAnimatorEventsTest.java | 18 import android.widget.Button; 29 Button button = (Button) activity.findViewById(R.id.animatingButton); local 31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100);
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
AnimatedStateVectorDrawableTest.java | 21 import android.widget.Button; 45 CheckBox button = new CheckBox(this); local 46 button.setWidth(400); 47 button.setHeight(400); 48 button.setBackgroundResource(icon[i]); 49 container.addView(button);
|