/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() {
|
ProgressBar1.java | 22 import android.widget.Button; 47 Button button = (Button) findViewById(R.id.increase); local 48 button.setOnClickListener(new Button.OnClickListener() { 56 button = (Button) findViewById(R.id.decrease); 57 button.setOnClickListener(new Button.OnClickListener() [all...] |
/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);
|
/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);
|
MutateDrawable.java | 22 import android.widget.Button; 32 Button ok = new Button(this); 37 Button cancel = new Button(this);
|
/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...] |
VerticalFocusSearch.java | 22 import android.widget.Button; 36 private Button mTopWide; 37 private Button mMidSkinny1Left; 38 private Button mBottomWide; 40 private Button mMidSkinny2Right; 47 public Button getTopWide() { 51 public Button getMidSkinny1Left() { 55 public Button getMidSkinny2Right() { 59 public Button getBottomWide() { 88 private static class MyButton extends Button { 102 Button button = new MyButton(this); local 119 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);
|
ListWithHeaders.java | 22 import android.widget.Button; 43 Button header = new Button(this); 49 Button footer = new Button(this);
|
/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...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestBroadcastActivity.java | 25 import android.widget.Button; 66 Button etwsNormalTypeButton = (Button) findViewById(R.id.button_etws_normal_type); 79 Button etwsCancelTypeButton = (Button) findViewById(R.id.button_etws_cancel_type); 92 Button etwsTestTypeButton = (Button) findViewById(R.id.button_etws_test_type); 105 Button cmasPresAlertButton = (Button) findViewById(R.id.button_cmas_pres_alert); 118 Button cmasExtremeAlertButton = (Button) findViewById(R.id.button_cmas_extreme_alert) [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...] |
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/apicheck/ |
Intermediate$IntermediateCustomV.class.data | |
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/ |
CustomView2.class.data | |
/cts/tests/src/android/widget/cts/ |
ExpandableListWithHeaders.java | 20 import android.widget.Button; 45 Button header = new Button(this); 51 Button footer = new Button(this);
|