/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScrollTest.java | 25 import android.widget.Button; 37 private Button mScrollToBlob;
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
TouchModeFocusChangeTest.java | 27 import android.widget.Button; 37 private Button mFirstButton; 55 assertTrue("top button should have focus", mFirstButton.isFocused()); 63 assertFalse("button.isFocused", 65 assertFalse("button.hasFocus", 71 assertTrue("button's onClickListener should have fired", 80 assertFalse("button should not have focus when touched", 85 assertTrue("first button (the top most focusable) should have gained focus",
|
TouchModeFocusableTest.java | 27 import android.widget.Button; 35 private Button mButton; 66 // go down to button 68 assertTrue("button should have focus", mButton.isFocused()); 82 assertTrue("button should have focus",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
BreakpointOption.java | 34 import org.eclipse.swt.widgets.Button; 45 Button[] buttonsBreak = new Button[Function.values().length]; 63 Button btn = new Button(group, SWT.CHECK); 95 Button btn = (Button) e.widget; 171 Button btn = buttonsBreak[msg.getFunction().getNumber()];
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 37 import android.widget.Button; 55 private Button mRestart; 80 mRestart = (Button)findViewById(R.id.restart); 178 Button view = (Button)inflate.inflate( 195 Button view = (Button)inflate.inflate( 209 Button view = (Button)inflate.inflate( 222 Button view = (Button)inflate.inflate [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
ConfigureAssetSetPage.java | 64 import org.eclipse.swt.widgets.Button; 106 private Button mImageRadio; 107 private Button mClipartRadio; 108 private Button mTextRadio; 109 private Button mPickImageButton; 110 private Button mTrimCheckBox; 113 private Button mCropRadio; 114 private Button mCenterRadio; 115 private Button mSquareRadio; 116 private Button mCircleButton [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 25 import android.widget.Button; 31 private Button mTopLeft; 32 private Button mTopRight; 33 private Button mBottomLeft; 34 private Button mBottomRight;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ReversingAnimation.java | 38 import android.widget.Button; 51 Button starter = (Button) findViewById(R.id.startButton); 58 Button reverser = (Button) findViewById(R.id.reverseButton);
|
AnimatorEvents.java | 42 import android.widget.Button; 79 Button starter = (Button) findViewById(R.id.startButton); 87 Button canceler = (Button) findViewById(R.id.cancelButton); 95 Button ender = (Button) findViewById(R.id.endButton);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmController.java | 31 import android.widget.Button; 75 // Watch for button clicks. 76 Button button = (Button)findViewById(R.id.one_shot); local 77 button.setOnClickListener(mOneShotListener); 78 button = (Button)findViewById(R.id.start_repeating); 79 button.setOnClickListener(mStartRepeatingListener); 80 button = (Button)findViewById(R.id.stop_repeating) [all...] |
FragmentDialog.java | 30 import android.widget.Button; 43 + "Press the show button below to see the first dialog; pressing " 47 // Watch for button clicks. 48 Button button = (Button)findViewById(R.id.show); local 49 button.setOnClickListener(new OnClickListener() { 91 + "you will need to press the bottom show button)"; 155 // Watch for button clicks. 156 Button button = (Button)v.findViewById(R.id.show) local [all...] |
ServiceStartArguments.java | 35 import android.widget.Button; 136 // For the start fail button, we will simulate the process dying 216 // Watch for button clicks. 217 Button button = (Button)findViewById(R.id.start1); local 218 button.setOnClickListener(mStart1Listener); 219 button = (Button)findViewById(R.id.start2); 220 button.setOnClickListener(mStart2Listener) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 27 import android.widget.Button; 65 Button pickDate = (Button) findViewById(R.id.pickDate); 73 Button pickTime = (Button) findViewById(R.id.pickTime);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentDialogSupport.java | 31 import android.widget.Button; 44 + "Press the show button below to see the first dialog; pressing " 48 // Watch for button clicks. 49 Button button = (Button)findViewById(R.id.show); local 50 button.setOnClickListener(new OnClickListener() { 92 + "you will need to press the bottom show button)"; 155 // Watch for button clicks. 156 Button button = (Button)v.findViewById(R.id.show) local [all...] |
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
NewsReaderActivity.java | 28 import android.widget.Button; 48 * If an Action Bar is not available, a regular image and button are shown in the top area of 100 // Set up the category button (shown if an Action Bar is not available) 101 Button catButton = (Button) findViewById(R.id.categorybutton); 181 // If we are displaying a "category" button (on the ActionBar-less UI), we have to update 183 Button catButton = (Button) findViewById(R.id.categorybutton); 235 /** Called when news category button is clicked. 237 * This is the button that we display on UIs that don't have an action bar. This butto [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractEditLayout.java | 30 import android.widget.Button; 41 Button mExtractActionButton; 42 Button mEditButton; 85 mExtractActionButton = (Button) findViewById(com.android.internal.R.id.inputExtractAction); 86 mEditButton = (Button) findViewById(com.android.internal.R.id.inputExtractEditButton);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 27 import android.widget.Button; 124 * Add a button. 125 * @param text The text of the button. 131 final Button button = new Button(context); 132 button.setText(text); 133 return button; 142 * @param textPrefix The text to prepend to each button. 183 final Button button = new Button(context) [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
PlaybackActivity.java | 26 import android.widget.Button; 45 Button mForward; 46 Button mBackward; 149 mForward = (Button) findViewById(R.id.forward); 150 mBackward = (Button) findViewById(R.id.backward);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupAccountType.java | 24 import android.widget.Button; 61 final Button exchangeButton = (Button) UiUtilities.getView(this, R.id.exchange); 63 final Button previousButton = (Button) findViewById(R.id.previous); // xlarge only
|
/packages/apps/Phone/tests/src/com/android/phone/tests/ |
CallDialTest.java | 30 import android.widget.Button; 63 ((Button) findViewById(R.id.callButton)).setOnClickListener(this); 64 ((Button) findViewById(R.id.dialButton)).setOnClickListener(this); 65 ((Button) findViewById(R.id.itelephonyCallButton)).setOnClickListener(this); 66 ((Button) findViewById(R.id.itelephonyDialButton)).setOnClickListener(this);
|
/packages/apps/Stk/src/com/android/stk/ |
StkDialogActivity.java | 30 import android.widget.Button; 80 Button okButton = (Button) findViewById(R.id.button_ok); 81 Button cancelButton = (Button) findViewById(R.id.button_cancel);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
MainActivity.java | 25 import android.widget.Button; 46 private Button mBtnOpenMultitouch; 47 private Button mBtnOpenSensors; 109 mBtnOpenMultitouch = (Button) findViewById(R.id.btnOpenMultitouch); 110 mBtnOpenSensors = (Button) findViewById(R.id.btnOpenSensors);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
UsagePermissionPage.java | 29 import org.eclipse.swt.widgets.Button; 42 private Button mYesRadio; 43 private Button mNoRadio; 77 mYesRadio = new Button(container, SWT.RADIO); 81 mNoRadio = new Button(container, SWT.RADIO);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLTraceOptionsDialog.java | 35 import org.eclipse.swt.widgets.Button; 59 private Button mOkButton; 133 Button browse = new Button(c, SWT.PUSH); 173 final Button readFbOnEglSwapCheckBox = new Button(c, SWT.CHECK); 177 final Button readFbOnGlDrawCheckBox = new Button(c, SWT.CHECK); 181 final Button readTextureDataCheckBox = new Button(c, SWT.CHECK) [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
EmulatorControlPanel.java | 57 import org.eclipse.swt.widgets.Button; 140 private Button mVoiceButton; 141 private Button mSmsButton; 146 private Button mCallButton; 147 private Button mCancelButton; 151 private Button mDecimalButton; 152 private Button mSexagesimalButton; 155 private Button mGpxUploadButton; 158 private Button mKmlUploadButton; 161 private Button mPlayGpxButton [all...] |