/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
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SendResult.java | 28 import android.widget.Button; 52 // Watch for button clicks. 53 Button button = (Button)findViewById(R.id.corky); local 54 button.setOnClickListener(mCorkyListener); 55 button = (Button)findViewById(R.id.violet); 56 button.setOnClickListener(mVioletListener);
|
/external/chromium_org/ash/system/tray/ |
tray_popup_header_button.cc | 27 SetImage(views::Button::STATE_NORMAL, 29 SetToggledImage(views::Button::STATE_NORMAL, 31 SetImage(views::Button::STATE_HOVERED, 33 SetToggledImage(views::Button::STATE_HOVERED,
|
tray_popup_label_button_border.cc | 12 #include "ui/views/controls/button/label_button.h" 50 : LabelButtonBorder(views::Button::STYLE_TEXTBUTTON) { 51 SetPainter(false, views::Button::STATE_NORMAL, 54 SetPainter(false, views::Button::STATE_DISABLED, 57 SetPainter(false, views::Button::STATE_HOVERED, 60 SetPainter(false, views::Button::STATE_PRESSED, 77 // button from the preceding sibling. If this button is its parent's first
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
decorated_textfield_unittest.cc | 8 #include "ui/views/controls/button/label_button.h" 16 views::LabelButton button(NULL, ASCIIToUTF16("anyoldtext"));; 17 button.SetStyle(views::Button::STYLE_BUTTON); 18 EXPECT_EQ(button.GetPreferredSize().height() -
|
/external/chromium_org/ui/views/examples/ |
checkbox_example.cc | 9 #include "ui/views/controls/button/checkbox.h" 10 #include "ui/views/controls/button/radio_button.h" 29 void CheckboxExample::ButtonPressed(Button* sender, const ui::Event& event) {
|
checkbox_example.h | 9 #include "ui/views/controls/button/button.h" 28 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
|
radio_button_example.h | 12 #include "ui/views/controls/button/button.h" 32 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 37 // Control button to select radio buttons, and show the status of buttons. 41 // The number of times the button is pressed.
|
tree_view_example.h | 13 #include "ui/views/controls/button/button.h" 51 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 74 Button* add_; 75 Button* remove_; 76 Button* change_title_;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewGroupChildren.java | 22 import android.widget.Button;
|
PopupWindowVisibility.java | 25 import android.widget.Button; 36 private Button mHide; 37 private Button mShow; 48 mHide = (Button) findViewById(R.id.hide); 51 mShow = (Button) findViewById(R.id.show);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 24 import android.widget.Button; 34 private Button mButton; 51 public Button getButton() { 71 mButton = new Button(this);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListHorizontalFocusWithinItemWinsTest.java | 26 import android.widget.Button; 32 private Button mTopLeftButton; 33 private Button mTopRightButton; 34 private Button mBottomMiddleButton;
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScroll.java | 25 import android.widget.Button; 34 private Button mScrollToBlob; 47 public Button getScrollToBlob() { 60 mScrollToBlob = (Button) findViewById(R.id.scrollToBlob);
|
/packages/apps/Music/src/com/android/music/ |
DeleteItems.java | 25 import android.widget.Button; 31 private Button mButton; 45 mButton = (Button) findViewById(R.id.delete); 48 ((Button)findViewById(R.id.cancel)).setOnClickListener(new View.OnClickListener() {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalServiceActivities.java | 30 import android.widget.Button; 50 // Watch for button clicks. 51 Button button = (Button)findViewById(R.id.start); local 52 button.setOnClickListener(mStartListener); 53 button = (Button)findViewById(R.id.stop); 54 button.setOnClickListener(mStopListener); 164 // Watch for button clicks 165 Button button = (Button)findViewById(R.id.bind); local [all...] |
RedirectMain.java | 27 import android.widget.Button; 43 // Watch for button clicks. 44 Button clearButton = (Button)findViewById(R.id.clear); 46 Button newButton = (Button)findViewById(R.id.newView);
|
SetWallpaperActivity.java | 33 import android.widget.Button; 66 Button randomize = (Button) findViewById(R.id.randomize); 76 Button setWallpaper = (Button) findViewById(R.id.setwallpaper);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
SurfaceViewOverlay.java | 24 import android.widget.Button; 56 Button visibleButton = (Button) findViewById(R.id.vis); 57 Button invisibleButton = (Button) findViewById(R.id.invis); 58 Button goneButton = (Button) findViewById(R.id.gone); 60 // Wire each button to a click listener
|
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
WindowAnimations.java | 26 import android.widget.Button; 43 final Button defaultButton = (Button) findViewById(R.id.defaultButton); 44 final Button translateButton = (Button) findViewById(R.id.translateButton); 45 final Button scaleButton = (Button) findViewById(R.id.scaleButton);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
ContactsDumpActivity.java | 30 import android.widget.Button; 42 private Button mConfirmButton; 43 private Button mCancelButton; 44 private Button mDeleteButton; 58 mConfirmButton = (Button) findViewById(R.id.confirm); 59 mCancelButton = (Button) findViewById(R.id.cancel); 60 mDeleteButton = (Button) findViewById(R.id.delete);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 30 import android.widget.Button; 48 final Button dateButton = (Button) v.findViewById(R.id.date_button); 49 final Button timeButton = (Button) v.findViewById(R.id.time_button); 50 final Button resetButton = (Button) v.findViewById(R.id.reset_button); 54 for (Button b : new Button[] { dateButton, timeButton, resetButton }) { 69 // wire up date button [all...] |
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
LayoutTransChanging.java | 25 import android.widget.Button; 43 final Button addButton = 44 (Button) findViewById(R.id.addButton); 45 final Button removeButton = 46 (Button) findViewById(R.id.removeButton);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
DialogActivity.java | 25 import android.widget.Button; 36 private Button mButton1; 37 private Button mButton2; 52 mButton1 = new Button(this); 62 mButton2 = new Button(this);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
FadingTest.java | 23 import android.widget.Button; 30 Button mRemovingButton, mInvisibleButton, mGoneButton; 50 mRemovingButton = (Button) findViewById(R.id.removingButton); 51 mInvisibleButton = (Button) findViewById(R.id.invisibleButton); 52 mGoneButton = (Button) findViewById(R.id.goneButton);
|