/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 26 import android.widget.Button; 52 public Button getButton(int groupNum) { 56 return (Button) mLinearLayout.getChildAt(2*groupNum); 78 // want button to be first and last 85 Button button = new Button(this); local 86 button.setText("Button " + (i + 1)); 87 mLinearLayout.addView(button, p) [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EffectsTest.java | 29 import android.widget.Button; 52 Button button = (Button) findViewById(R.id.env_reverb_actvity); local 53 button.setOnClickListener(new OnClickListener() { 59 button = (Button) findViewById(R.id.preset_reverb_actvity); 60 button.setOnClickListener(new OnClickListener() { 66 button = (Button) findViewById(R.id.equalizer_actvity) [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
InstanceTargets.java | 24 import android.widget.Button; 47 Button button = (Button) mSceneRoot.getChildAt(i); local 48 LayoutParams params = (LayoutParams) button.getLayoutParams(); 57 button.setLayoutParams(params);
|
/build/tools/droiddoc/templates-pdk/ |
docpage.cs | 28 <div class="training-nav-button-next"> 32 <span class="training-nav-button-title"><?cs var:next.title ?></span> 38 <div class="training-nav-button-next"> 42 <span class="training-nav-button-title"><?cs var:next.title ?></span> 50 <div class="training-nav-button-previous"> 54 <span class="training-nav-button-title"><?cs var:previous.title ?></span> 71 <div class="training-nav-button-next"> 75 <br/><span class="training-nav-button-title"><?cs var:next.title ?></span> 81 <div class="training-nav-button-previous"> 85 <br/><span class="training-nav-button-title"><?cs var:previous.title ?></span [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
web_input_event_builders_android.cc | 55 WebMouseEvent::Button button, 74 result.button = button; 76 result.button = WebMouseEvent::ButtonNone; 93 result.button = WebMouseEvent::ButtonNone;
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
commandbutton.js | 8 * @fileoverview This implements a common button control, bound to command. 12 * Creates a new button element. 17 var CommandButton = cr.ui.define('button'); 49 * Associates command with this button. 51 * associate with this button. 81 * Returns button label 82 * @return {string} Button label. 89 * Sets button label. 90 * @param {string} label New button label. 125 * Whether the button is disabled or not [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 26 // browser action button's icon) when the menu item view is created. But, the 27 // browser action button's icon may not be loaded in time because it is read 30 // action button's icon has been updated. 34 BrowserActionButton* button) 36 button_(button) { 38 DCHECK(button); 39 button->set_icon_observer(this); 54 // The button to be observed. When its icon changes, update the corresponding 84 base::UTF8ToUTF16(view->button()->extension()->name()), 90 GetBrowserAction(*view->button()->extension())- [all...] |
/external/chromium_org/ui/app_list/views/ |
page_switcher.cc | 15 #include "ui/views/controls/button/custom_button.h" 64 // Paints a button that has two rounded corner at bottom. 105 // [-1, 1] range that represents the portion of the button that should be 142 const views::View* button = buttons_->child_at(i); local 143 if (button->bounds().Contains(buttons_point)) 155 PageSwitcherButton* button = local 157 button->SetState(views::CustomButton::STATE_HOVERED); 162 PageSwitcherButton* button = local 164 button->SetState(views::CustomButton::STATE_NORMAL); 213 PageSwitcherButton* button local 232 PageSwitcherButton* button = new PageSwitcherButton(this); local [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_runner.cc | 11 #include "ui/views/controls/button/menu_button.h" 45 MenuButton* button, 67 bool ShouldShowMnemonics(MenuButton* button); 137 // button is no longer valid. 145 MenuButton* button, 194 !for_drop_ && ShouldShowMnemonics(button)); 198 MenuItemView* result = controller->Run(parent, button, menu_, bounds, anchor, 270 bool MenuRunnerImpl::ShouldShowMnemonics(MenuButton* button) { 271 // Show mnemonics if the button has focus or alt is pressed. 272 bool show_mnemonics = button ? button->HasFocus() : false [all...] |
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
calendarPicker.css | 165 .month-popup-button, 166 .month-popup-button:hover, 167 .month-popup-button:disabled { 174 .month-popup-button:disabled { 178 .month-popup-button { 187 .month-popup-button .disclosure-triangle { 191 .month-popup-button .disclosure-triangle svg { 195 .today-button::after { 205 .calendar-navigation-button { 244 .month-button { [all...] |
/external/chromium_org/ui/views/window/ |
custom_frame_view.cc | 22 #include "ui/views/controls/button/image_button.h" 43 // The titlebar never shrinks too short to show the caption button plus some 73 void LayoutButton(ImageButton* button, const gfx::Rect& bounds) { 74 button->SetVisible(true); 75 button->SetImageAlignment(ImageButton::ALIGN_LEFT, 77 button->SetBoundsRect(bounds); 191 // The close button isn't affected by this constraint. 251 void CustomFrameView::ButtonPressed(Button* sender, const ui::Event& event) { 320 // button, we vertically center it. We want to bias rounding to put extra 490 // side of the caption buttons. In maximized mode we extend the edge button 508 ImageButton* button = NULL; local 587 ImageButton* button = new ImageButton(this); local 600 ImageButton* button = NULL; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
ButtonSwitcher.java | 25 import android.widget.Button; 47 private Button mInstallButton; 48 private Button mCancelButton; 49 private Button mDeleteButton; 71 mInstallButton = (Button)findViewById(R.id.dict_install_button); 72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); 73 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); 85 private Button getButton(final int status) { 155 private ViewPropertyAnimator animateButton(final View button, final int direction) { 157 final float innerX = button.getX() - button.getTranslationX() [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/ |
overlay.css | 72 .overlay .page > .close-button { 83 html[dir='rtl'] .overlay .page > .close-button { 88 .overlay .page > .close-button:hover { 92 .overlay .page > .close-button:active { 135 .overlay .page .button-strip { 140 .overlay .page .button-strip > button {
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
oobe_screen_oauth_enrollment.css | 131 .oauth-enroll-button { 135 .oauth-enroll-state-signin.mode-manual #oauth-enroll-cancel-button, 136 .oauth-enroll-state-signin.mode-forced #oauth-enroll-back-button, 137 .oauth-enroll-state-signin.mode-recovery #oauth-enroll-back-button, 138 .oauth-enroll-state-working.mode-manual #oauth-enroll-cancel-button, 139 .oauth-enroll-state-working.mode-forced #oauth-enroll-back-button, 140 .oauth-enroll-state-working.mode-recovery #oauth-enroll-back-button, 141 .oauth-enroll-state-error.mode-manual #oauth-enroll-cancel-button, 142 .oauth-enroll-state-error.mode-auto #oauth-enroll-retry-button, 143 .oauth-enroll-state-error.mode-forced #oauth-enroll-back-button, [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
timeline_view.css | 53 .timeline-view > .control > .controls > button, 128 .button.find-previous { 133 .button.find-next { 142 .button { 153 .button:hover { 160 .view-info-button { 166 .view-info-button:hover { 170 .view-import-errors-button { 175 .view-import-errors-button:hover {
|
/external/chromium_org/ui/webui/resources/css/ |
overlay.css | 75 .overlay .page > .close-button { 87 html[dir='rtl'] .overlay .page > .close-button { 92 .overlay .page > .close-button:hover { 96 .overlay .page > .close-button:active { 139 .overlay .page .button-strip { 144 .overlay .page .button-strip > button { 149 .overlay .page .button-strip > .default-button:not(:focus) {
|
/cts/tests/tests/widget/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...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 37 import android.widget.Button; 61 // Watch for button clicks. 62 Button button = (Button)findViewById(R.id.unknown_source); local 63 button.setOnClickListener(mUnknownSourceListener); 64 button = (Button)findViewById(R.id.my_source); 65 button.setOnClickListener(mMySourceListener); 66 button = (Button)findViewById(R.id.replace) [all...] |
/external/chromium_org/chrome/browser/resources/print_preview/search/ |
destination_search.css | 48 #destination-search > .page > .close-button { 75 #destination-search .cloudprint-promo .sign-in.link-button { 90 #destination-search .cloudprint-promo .close-button { 101 #destination-search .cloudprint-promo .close-button:hover { 107 #destination-search .cloudprint-promo .close-button:active {
|
/external/chromium_org/chrome/browser/resources/user_manager/ |
control_bar.css | 33 html[dir=rtl] #login-header-bar button { 37 #login-header-bar #add-user-button { 43 #login-header-bar #guest-user-button { 51 html[dir=rtl] #login-header-bar #guest-user-button { 56 #login-header-bar button {
|
user_manager.css | 70 sign-in button. */ 115 .action-box-button, 116 .action-box-button:hover, 117 .action-box-area.active .action-box-button { 130 .action-box-button:hover, 131 .action-box-area.active .action-box-button {
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
themeWin.css | 87 input[type="search"]::-webkit-search-cancel-button { 95 input[type="search"]::-webkit-search-results-button { 99 input::-webkit-outer-spin-button { 103 input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFileUploadControl.cpp | 63 if (HTMLInputElement* button = uploadButton()) { 67 button->setActive(newCanReceiveDroppedFilesState); 113 HTMLInputElement* button = uploadButton(); local 114 if (!button) 117 LayoutUnit buttonWidth = nodeWidth(button); 127 // We want to match the button's baseline 129 if (RenderButton* buttonRenderer = toRenderButton(button->renderer())) 161 if (HTMLInputElement* button = uploadButton()) 162 if (RenderObject* buttonRenderer = button->renderer()) 215 if (HTMLInputElement* button = uploadButton() [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...] |