/external/chromium_org/ui/views/examples/ |
bubble_example.h | 8 #include "ui/views/controls/button/button.h" 24 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 26 Button* shadow_; 27 Button* no_shadow_; 28 Button* big_shadow_; 29 Button* small_shadow_; 30 Button* align_to_edge_; 31 Button* persistent_; 32 Button* fade_in_ [all...] |
tabbed_pane_example.h | 12 #include "ui/views/controls/button/button.h" 34 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 48 Button* add_; 49 Button* add_at_; 50 Button* select_at_;
|
message_box_example.h | 12 #include "ui/views/controls/button/button.h" 31 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 38 Button* status_; 39 Button* toggle_;
|
progress_bar_example.h | 10 #include "ui/views/controls/button/button.h" 28 virtual void ButtonPressed(Button* button, const ui::Event& event) OVERRIDE; 30 Button* minus_button_; 31 Button* plus_button_;
|
/packages/apps/Settings/src/com/android/settings/ |
ButtonBarHandler.java | 18 import android.widget.Button; 26 public Button getNextButton();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Focus3.java | 21 import android.widget.Button; 25 private Button mTopButton; 26 private Button mBottomButton; 34 mTopButton = (Button) findViewById(R.id.top); 35 mBottomButton = (Button) findViewById(R.id.bottom); 38 public Button getTopButton() { 42 public Button getBottomButton() {
|
/cts/tests/src/android/view/cts/ |
FocusFinderStubActivity.java | 26 import android.widget.Button; 32 public Button topLeftButton; 34 public Button topRightButton; 36 public Button bottomLeftButton; 38 public Button bottomRightButton; 45 topLeftButton = (Button) findViewById(R.id.top_left_button); 46 topRightButton = (Button) findViewById(R.id.top_right_button); 47 bottomLeftButton = (Button) findViewById(R.id.bottom_left_button); 48 bottomRightButton = (Button) findViewById(R.id.bottom_right_button);
|
/external/chromium_org/ui/views/controls/button/ |
button.cc | 5 #include "ui/views/controls/button/button.h" 13 // Button, public: 15 Button::~Button() { 18 void Button::SetTooltipText(const string16& tooltip_text) { 25 void Button::SetAccessibleName(const string16& name) { 30 // Button, View overrides: 32 bool Button::GetTooltipText(const gfx::Point& p, string16* tooltip) const { 40 void Button::GetAccessibleState(ui::AccessibleViewState* state) [all...] |
button.h | 12 class Button; 15 // An interface implemented by an object to let it know that a button was 19 virtual void ButtonPressed(Button* sender, const ui::Event& event) = 0; 25 // A View representing a button. Depending on the specific type, the button 27 class VIEWS_EXPORT Button : public View { 29 virtual ~Button(); 31 // Button states for various button sub-types. 40 // Button styles with associated images and border painters [all...] |
label_button_border.h | 13 #include "ui/views/controls/button/button.h" 21 explicit LabelButtonBorder(Button::ButtonStyle style); 24 Button::ButtonStyle style() const { return style_; } 32 // Get or set the painter used for the specified |focused| button |state|. 34 Painter* GetPainter(bool focused, Button::ButtonState state); 35 void SetPainter(bool focused, Button::ButtonState state, Painter* painter); 38 // The painters used for each unfocused or focused button state. 39 scoped_ptr<Painter> painters_[2][Button::STATE_COUNT]; 41 // The button style supplied in part by this border [all...] |
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuWith1Item.java | 20 import android.widget.Button; 24 private Button mButton; 33 public Button getButton() { 41 mButton = new Button(this);
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ButtonsWithTallTextViewInBetween.java | 21 import android.widget.Button; 27 * before getting to next button). 31 public Button getTopButton() { 39 public Button getBottomButton() { 41 return (Button) ll.getChildAt(0); 46 params.addButton("top button", 0.2f)
|
ButtonAboveTallInternalSelectionView.java | 22 import android.widget.Button; 25 * A button above a tall internal selection view, wrapped in a scroll view. 32 public Button getButtonAbove() {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigUiBase.java | 21 import android.widget.Button; 39 public Button getSubmitButton(); 40 public Button getForgetButton(); 41 public Button getCancelButton();
|
/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);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
LayoutAnimationActivity.java | 23 import android.widget.Button; 28 Button mButton; 29 private Button mLastButton; 34 mButton = (Button) findViewById(R.id.button1); 38 Button newButton = new Button(LayoutAnimationActivity.this); 39 newButton.setText("Button:" + LayoutAnimationActivity.this.mCount); 48 public Button getLastButton() {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ButtonTest.java | 25 import android.widget.Button; 35 new Button(mContext, attrs, 0); 36 new Button(mContext, attrs); 37 new Button(mContext); 40 new Button(null, null, -1); 47 new Button(null, null); 54 new Button(null);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
Disabled.java | 22 import android.widget.Button; 37 Button disabledButton = (Button) findViewById(R.id.disabledButton); 41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA); 46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
DescendantFocusability.java | 24 import android.widget.Button; 29 public Button beforeDescendantsChild; 32 public Button afterDescendantsChild; 35 public Button blocksDescendantsChild; 44 beforeDescendantsChild = (Button) beforeDescendants.getChildAt(0); 47 afterDescendantsChild = (Button) afterDescendants.getChildAt(0); 50 blocksDescendantsChild = (Button) blocksDescendants.getChildAt(0);
|
FocusAfterRemoval.java | 24 import android.widget.Button; 41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton); 51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton); 59 // top right button makes top right button GONE 60 final Button topRightButton = (Button) findViewById(R.id.topRightButton); 68 // bottom right button makes bottom right button INVISIBL [all...] |
HorizontalFocusSearch.java | 21 import android.widget.Button; 31 private Button mLeftTall; 32 private Button mMidShort1Top; 33 private Button mMidShort2Bottom; 34 private Button mRightTall; 41 public Button getLeftTall() { 45 public Button getMidShort1Top() { 49 public Button getMidShort2Bottom() { 53 public Button getRightTall() { 80 private static class MyButton extends Button { 94 Button button = new MyButton(this); local 103 Button button = new MyButton(this); local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListButtonsDiagonalAcrossItems.java | 25 import android.widget.Button; 37 public Button getLeftButton() { 38 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); 41 public Button getCenterButton() { 42 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1); 45 public Button getRightButton() { 46 return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2);
|
/frameworks/base/core/java/android/widget/ |
Button.java | 27 * Represents a push-button widget. Push-buttons can be 30 * <p>A typical use of a push-button in an activity would be the following: 40 * final Button button = (Button) findViewById(R.id.button_id); 41 * button.setOnClickListener(new View.OnClickListener() { 50 * the button in your activity, you can assign a method to your button in the XML layout, 54 * <Button 60 * <p>Now, when a user clicks the button, the Android system calls the activity's {@cod [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo.java | 25 import android.widget.Button; 28 private Button mlocalvideo; 29 private Button mresourcesvideo; 30 private Button mstreamvideo; 31 private Button mlocalaudio; 32 private Button mresourcesaudio; 33 private Button mstreamaudio; 47 mlocalaudio = (Button) findViewById(R.id.localaudio); 49 mresourcesaudio = (Button) findViewById(R.id.resourcesaudio); 52 mlocalvideo = (Button) findViewById(R.id.localvideo) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowButton.java | 3 import android.widget.Button; 7 @Implements(Button.class)
|