| /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
| SendTestBroadcastActivity.java | 26 import android.widget.Button; 103 Button etwsNormalTypeButton = (Button) findViewById(R.id.button_etws_normal_type); 117 Button etwsCancelTypeButton = (Button) findViewById(R.id.button_etws_cancel_type); 131 Button etwsTestTypeButton = (Button) findViewById(R.id.button_etws_test_type); 145 Button cmasPresAlertButton = (Button) findViewById(R.id.button_cmas_pres_alert); 159 Button cmasExtremeAlertButton = (Button) findViewById(R.id.button_cmas_extreme_alert) [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/app/ |
| IncomingMessageInterstitial.java | 26 import android.widget.Button; 40 Button button = (Button) findViewById(R.id.notify_app); local 41 button.setOnClickListener(new Button.OnClickListener() {
|
| NotifyingController.java | 28 import android.widget.Button; 41 Button button = (Button) findViewById(R.id.notifyStart); local 42 button.setOnClickListener(mStartListener); 43 button = (Button) findViewById(R.id.notifyStop); 44 button.setOnClickListener(mStopListener);
|
| NotifyWithText.java | 22 import android.widget.Button; 28 * When you push the button on this Activity, it creates a {@link Toast} object and 43 Button button; local 46 button = (Button) findViewById(R.id.short_notify); 47 button.setOnClickListener(new Button.OnClickListener() { 67 button = (Button) findViewById(R.id.long_notify) [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| ProgressBar4.java | 25 import android.widget.Button; 43 Button button = (Button) findViewById(R.id.toggle); local 44 button.setOnClickListener(new Button.OnClickListener() {
|
| TableLayout9.java | 23 import android.widget.Button; 38 Button button = (Button) findViewById(R.id.toggle); local 39 button.setOnClickListener(new Button.OnClickListener() {
|
| SecureView.java | 29 import android.widget.Button; 51 * 1. The "unsecured button" does not apply any touch filtering of any kind. 52 * When the toast appears, this button remains clickable as usual which creates an 55 * 2. The "built-in secured button" leverages the android:filterTouchesWhenObscured view 57 * When the toast appears, the button does not receive the touch and appears to be inoperable. 59 * 3. The "custom secured button" adds a touch listener to the button which intercepts the 78 Button toastButton = (Button) findViewById(R.id.secure_view_toast_button); 85 Button unsecureButton = (Button) findViewById(R.id.secure_view_unsecure_button) [all...] |
| 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_org/content/renderer/ |
| webscrollbarbehavior_impl_mac.h | 17 blink::WebScrollbarBehavior::Button mouseButton,
|
| /frameworks/base/core/tests/coretests/src/android/view/menu/ |
| MenuLayout.java | 23 import android.widget.Button; 29 private Button mButton; 53 public Button getButton() { 61 mButton = new Button(this);
|
| /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
| LLEditTextThenButton.java | 23 import android.widget.Button; 29 private Button mButton; 41 mButton = (Button) findViewById(R.id.button); 52 public Button getButton() {
|
| LLOfButtons1.java | 23 import android.widget.Button; 34 private Button mFirstButton; 40 mFirstButton = (Button) findViewById(R.id.button1); 54 public Button getFirstButton() {
|
| BaselineAlignmentCenterGravityTest.java | 24 import android.widget.Button; 30 private Button mButton1; 31 private Button mButton2; 32 private Button mButton3; 43 mButton1 = (Button) activity.findViewById(R.id.button1); 44 mButton2 = (Button) activity.findViewById(R.id.button2); 45 mButton3 = (Button) activity.findViewById(R.id.button3);
|
| /frameworks/base/core/tests/coretests/src/android/widget/listview/ |
| ListSetSelection.java | 24 import android.widget.Button; 31 private Button mButton; 45 mButton = new Button(this); 59 public Button getButton() {
|
| /development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/ |
| ViewAnimations.java | 29 import android.widget.Button; 50 final Button alphaButton = (Button) findViewById(R.id.alphaButton); 51 final Button translateButton = (Button) findViewById(R.id.translateButton); 52 final Button rotateButton = (Button) findViewById(R.id.rotateButton); 53 final Button scaleButton = (Button) findViewById(R.id.scaleButton); 54 final Button setButton = (Button) findViewById(R.id.setButton) [all...] |
| /cts/tests/tests/view/src/android/view/cts/ |
| TestButton.java | 21 import android.widget.Button; 23 public class TestButton extends Button {
|
| /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
| UniqueIds.java | 25 import android.widget.Button; 36 HashMap<Button, ToggleScene> mSceneMap = new HashMap<Button, ToggleScene>(); 45 Button button = (Button) inflater.inflate(R.layout.button_template, null); local 46 container.addView(button); 47 ToggleScene scene = new ToggleScene(container, button); 48 mSceneMap.put(button, scene); 49 button = (Button) inflater.inflate(R.layout.button_template, null) [all...] |
| /development/apps/Development/src/com/android/development/ |
| BadBehaviorActivity.java | 36 import android.widget.Button; 136 Button crash_system = (Button) findViewById(R.id.bad_behavior_crash_system); 149 Button crash_main = (Button) findViewById(R.id.bad_behavior_crash_main); 154 Button crash_thread = (Button) findViewById(R.id.bad_behavior_crash_thread); 164 Button crash_native = (Button) findViewById(R.id.bad_behavior_crash_native); 175 Button wtf = (Button) findViewById(R.id.bad_behavior_wtf) [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
| ColorGridDialog.java | 25 import android.widget.Button; 40 Button sel = (Button) findViewById(R.id.filtershow_cp_custom); 41 ArrayList<Button> b = getButtons((ViewGroup) getWindow().getDecorView()); 45 for (Button button : b) { 46 if (!button.equals(sel)){ 51 GradientDrawable sd = ((GradientDrawable) button.getBackground()); 52 button.setOnClickListener(new View.OnClickListener() { 73 private ArrayList<Button> getButtons(ViewGroup vg) [all...] |
| /external/chromium_org/pdf/ |
| button.cc | 5 #include "pdf/button.h" 13 Button::Button() 17 Button::~Button() { 20 bool Button::CreateButton(uint32 id, 46 void Button::Paint(pp::ImageData* image_data, const pp::Rect& rc) { 60 bool Button::HandleEvent(const pp::InputEvent& event) { 64 // Button handles mouse events only. 98 // Since button has not been pressed, return false to allow othe [all...] |
| /development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
| Focus2AndroidTest.java | 28 import android.widget.Button; 61 private Button mLeftButton; 62 private Button mCenterButton; 63 private Button mRightButton; 80 mLeftButton = (Button) mRoot.findViewById(R.id.leftButton); 81 mCenterButton = (Button) mRoot.findViewById(R.id.centerButton); 82 mRightButton = (Button) mRoot.findViewById(R.id.rightButton); 94 assertTrue("center button should be right of left button", 96 assertTrue("right button should be right of center button" [all...] |
| /development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson4/ |
| LaunchActivityTest.java | 25 import android.widget.Button; 55 final Button launchNextButton = (Button) getActivity().findViewById(R.id.launch_next_activity_button); 65 final Button launchNextButton = (Button) getActivity().findViewById(R.id.launch_next_activity_button); 68 assertEquals("Unexpected button label text", expectedButtonText, 75 final Button launchNextButton = (Button) getActivity().findViewById(R.id.launch_next_activity_button); 77 //button from code 84 //Verify that LaunchActivity was finished after button clic [all...] |
| /frameworks/base/core/tests/coretests/src/android/view/ |
| VisibilityCallback.java | 26 import android.widget.Button; 48 Button visibleButton = (Button) findViewById(R.id.vis); 49 Button invisibleButton = (Button) findViewById(R.id.invis); 50 Button goneButton = (Button) findViewById(R.id.gone); 52 // Wire each button to a click listener
|
| /frameworks/base/core/tests/coretests/src/android/widget/focus/ |
| RequestFocusTest.java | 31 import android.widget.Button; 42 private Button mTopLeftButton; 43 private Button mBottomLeftButton; 44 private Button mTopRightButton; 45 private Button mBottomRightButton; 58 mTopLeftButton = (Button) a.findViewById(R.id.topLeftButton); 59 mBottomLeftButton = (Button) a.findViewById(R.id.bottomLeftButton); 60 mTopRightButton = (Button) a.findViewById(R.id.topRightButton); 61 mBottomRightButton = (Button) a.findViewById(R.id.bottomRightButton); 117 Button clearingFocusButton = mTopLeftButton [all...] |
| FocusAfterRemovalTest.java | 24 import android.widget.Button; 36 private Button mTopLeftButton; 37 private Button mBottomLeftButton; 38 private Button mTopRightButton; 39 private Button mBottomRightButton; 51 mTopLeftButton = (Button) a.findViewById(R.id.topLeftButton); 52 mBottomLeftButton = (Button) a.findViewById(R.id.bottomLeftButton); 53 mTopRightButton = (Button) a.findViewById(R.id.topRightButton); 54 mBottomRightButton = (Button) a.findViewById(R.id.bottomRightButton); 75 // clicking on this button makes its parent linear layout GON [all...] |