/packages/apps/Settings/src/com/android/settings/ |
ButtonBarHandler.java | 18 import android.widget.Button; 26 public Button getNextButton();
|
/external/chromium_org/ui/views/examples/ |
bubble_example.h | 8 #include "ui/views/controls/button/button.h" 26 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 28 Button* no_shadow_; 29 Button* big_shadow_; 30 Button* small_shadow_; 31 Button* align_to_edge_; 32 Button* persistent_;
|
message_box_example.h | 11 #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 | 9 #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_;
|
tabbed_pane_example.h | 11 #include "ui/views/controls/button/button.h" 33 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 47 Button* add_; 48 Button* add_at_; 49 Button* select_at_;
|
/external/chromium_org/ui/views/controls/button/ |
button.cc | 5 #include "ui/views/controls/button/button.h" 13 // Button, static public: 16 Button::ButtonState Button::GetButtonStateFrom(ui::NativeTheme::State state) { 18 case ui::NativeTheme::kDisabled: return Button::STATE_DISABLED; 19 case ui::NativeTheme::kHovered: return Button::STATE_HOVERED; 20 case ui::NativeTheme::kNormal: return Button::STATE_NORMAL; 21 case ui::NativeTheme::kPressed: return Button::STATE_PRESSED; 24 return Button::STATE_NORMAL [all...] |
button.h | 13 class Button; 16 // An interface implemented by an object to let it know that a button was 20 virtual void ButtonPressed(Button* sender, const ui::Event& event) = 0; 26 // A View representing a button. Depending on the specific type, the button 28 class VIEWS_EXPORT Button : public View { 30 virtual ~Button(); 32 // Button states for various button sub-types. 41 // 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_; } 33 // Get or set the painter used for the specified |focused| button |state|. 35 Painter* GetPainter(bool focused, Button::ButtonState state); 36 void SetPainter(bool focused, Button::ButtonState state, Painter* painter); 39 // The painters used for each unfocused or focused button state. 40 scoped_ptr<Painter> painters_[2][Button::STATE_COUNT]; 42 // The button style supplied in part by this border [all...] |
/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/tests/view/src/android/view/cts/ |
FocusFinderCtsActivity.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);
|
/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)
|
/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/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...] |
/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...] |
/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);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
search_button.cc | 9 #include "ui/views/controls/button/label_button_border.h" 16 SetStyle(views::Button::STYLE_BUTTON); 24 false, views::Button::STATE_NORMAL, 29 false, views::Button::STATE_HOVERED, 34 false, views::Button::STATE_PRESSED, 36 border->SetPainter(false, views::Button::STATE_DISABLED, NULL); 37 border->SetPainter(true, views::Button::STATE_NORMAL, NULL); 38 border->SetPainter(true, views::Button::STATE_HOVERED, NULL); 39 border->SetPainter(true, views::Button::STATE_PRESSED, NULL); 40 border->SetPainter(true, views::Button::STATE_DISABLED, NULL) [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/chromium_org/third_party/WebKit/public/platform/ |
WebScrollbarBehavior.h | 15 enum Button { 22 virtual bool shouldCenterOnThumb(Button, bool shiftKeyPressed, bool altKeyPressed) { return false; }
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowButton.java | 3 import android.widget.Button; 7 @Implements(Button.class)
|