| /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.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
| TemplateTestPage.java | 27 import org.eclipse.swt.widgets.Button; 39 private Button mButton; 41 private Button mProjectToggle; 70 mButton = new Button(container, SWT.FLAT); 73 mProjectToggle = new Button(container, SWT.CHECK);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
| LogCatMonitorDialog.java | 29 import org.eclipse.swt.widgets.Button; 73 final Button disableButton = new Button(c, SWT.RADIO); 77 final Button enableButton = new Button(c, SWT.RADIO); 106 // Only need OK button
|
| /external/chromium_org/ui/views/controls/combobox/ |
| combobox.cc | 26 #include "ui/views/controls/button/custom_button.h" 27 #include "ui/views/controls/button/label_button.h" 87 // The transparent button which holds a button state but is not rendered. 124 // Returns the image resource ids of an array for the body button. 129 Button::ButtonState state, 134 case Button::STATE_DISABLED: 136 case Button::STATE_NORMAL: 138 case Button::STATE_HOVERED: 141 case Button::STATE_PRESSED [all...] |
| /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
| PlayerSetupActivity.java | 42 import android.widget.Button; 68 Button mBobButton, mJaneButton, mPatButton; 105 private Button setupButton(int resourceId) { 106 Button button = (Button) findViewById(resourceId); local 107 button.setOnTouchListener(mButtonPressListener); 108 return button; 133 Button child = (Button) parent.getChildAt(i) 251 Button button = new Button(PlayerSetupActivity.this); local [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
| GLTraceOptionsDialog.java | 34 import org.eclipse.swt.widgets.Button; 62 private Button mOkButton; 67 private Button mIsActivityFullyQualifiedButton; 180 Button browse = new Button(c, SWT.PUSH); 220 final Button readFbOnEglSwapCheckBox = new Button(c, SWT.CHECK); 224 final Button readFbOnGlDrawCheckBox = new Button(c, SWT.CHECK); 228 final Button readTextureDataCheckBox = new Button(c, SWT.CHECK) [all...] |
| /developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/src/main/java/com/example/android/advancedimmersivemode/ |
| AdvancedImmersiveModeFragment.java | 23 import android.widget.Button; 59 Button toggleFlagsButton = (Button) flagsView.findViewById(R.id.btn_changeFlags); 67 Button presetsImmersiveModeButton = (Button) flagsView.findViewById(R.id.btn_immersive); 100 Button presetsLeanbackModeButton = (Button) flagsView.findViewById(R.id.btn_leanback);
|
| /developers/samples/android/ui/window/AdvancedImmersiveMode/Application/src/main/java/com/example/android/advancedimmersivemode/ |
| AdvancedImmersiveModeFragment.java | 23 import android.widget.Button; 59 Button toggleFlagsButton = (Button) flagsView.findViewById(R.id.btn_changeFlags); 67 Button presetsImmersiveModeButton = (Button) flagsView.findViewById(R.id.btn_immersive); 100 Button presetsLeanbackModeButton = (Button) flagsView.findViewById(R.id.btn_leanback);
|
| /development/samples/ApiDemos/src/com/example/android/apis/animation/ |
| 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/ |
| 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/content/ |
| InstallApk.java | 37 import android.widget.Button; 61 // Watch for button clicks. 62 Button button = (Button)findViewById(R.id.unknown_source); local 63 button.setOnClickListener(mUnknownSourceListener); 64 button = (Button)findViewById(R.id.my_source); 65 button.setOnClickListener(mMySourceListener); 66 button = (Button)findViewById(R.id.replace) [all...] |
| /development/samples/KeyChainDemo/src/com/example/android/keychain/ |
| KeyChainDemoActivity.java | 31 import android.widget.Button; 76 // Button to start/stop the simple SSL web server 77 private Button serverButton; 79 // Button to install the key chain 80 private Button keyChainButton; 82 // Button to launch the browser for testing https://localhost:8080 83 private Button testSslButton; 99 // Key chain installed. Disable the install button and print 109 // Setup the key chain installation button 110 keyChainButton = (Button) findViewById(R.id.keychain_button) [all...] |
| /development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/ |
| AdvancedImmersiveModeFragment.java | 23 import android.widget.Button; 59 Button toggleFlagsButton = (Button) flagsView.findViewById(R.id.btn_changeFlags); 67 Button presetsImmersiveModeButton = (Button) flagsView.findViewById(R.id.btn_immersive); 100 Button presetsLeanbackModeButton = (Button) flagsView.findViewById(R.id.btn_leanback);
|
| /external/chromium_org/ui/views/examples/ |
| button_example.cc | 12 #include "ui/views/controls/button/blue_button.h" 13 #include "ui/views/controls/button/image_button.h" 14 #include "ui/views/controls/button/label_button.h" 15 #include "ui/views/controls/button/text_button.h" 22 const char kLabelButton[] = "Label Button"; 23 const char kTextButton[] = "Text Button"; 27 "Really Really Really Really Really Long Button Text"; 34 : ExampleBase("Button"), 62 new LabelButton(this, ASCIIToUTF16("Disabled Button")); 63 disabled_button->SetStyle(Button::STYLE_BUTTON) [all...] |
| /frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
| ClientTest.java | 29 import android.widget.Button; 52 Button addpbtn = (Button) findViewById(R.id.addpkg); 53 Button procbtn = (Button) findViewById(R.id.procmsg); 54 Button delbtn = (Button) findViewById(R.id.delpkg); 101 // Log.d(LOG_TAG, "button clicked");
|
| /packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
| CalendarDebugActivity.java | 30 import android.widget.Button; 47 private Button mConfirmButton; 48 private Button mCancelButton; 49 private Button mDeleteButton; 66 mConfirmButton = (Button) findViewById(R.id.confirm); 67 mCancelButton = (Button) findViewById(R.id.cancel); 68 mDeleteButton = (Button) findViewById(R.id.delete);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
| ChooseAssetTypePage.java | 36 import org.eclipse.swt.widgets.Button; 45 private Button mClipboardButton; 73 Button button = new Button(container, SWT.RADIO); local 74 button.setData(type); 75 button.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 3, 1)); 76 button.setSelection(type == mValues.type); 77 button.setText(type.getDisplayName()); 78 button.addSelectionListener(this) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
| KeystoreSelectionPage.java | 31 import org.eclipse.swt.widgets.Button; 46 private Button mUseExistingKeystore; 47 private Button mCreateKeystore; 71 mUseExistingKeystore = new Button(composite, SWT.RADIO); 77 mCreateKeystore = new Button(composite, SWT.RADIO); 85 final Button browseButton = new Button(composite, SWT.PUSH);
|
| /development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
| BluetoothHDPActivity.java | 41 import android.widget.Button; 145 Button registerAppButton = (Button) findViewById(R.id.button_register_app); 154 Button unregisterAppButton = (Button) findViewById(R.id.button_unregister_app); 165 Button connectButton = (Button) findViewById(R.id.button_connect_channel); 192 Button disconnectButton = (Button) findViewById(R.id.button_disconnect_channel);
|
| /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
| ModalDialogTest.java | 12 import android.widget.Button; 74 * Verifies that clicking on a button twice doesn't crash. 106 Button[] buttons = getAlertDialogButtons(jsDialog.getDialogForTest()); 107 assertNotNull("No cancel button in confirm dialog.", buttons[0]); 108 assertEquals("Cancel button is not visible.", View.VISIBLE, buttons[0].getVisibility()); 110 assertNotSame("Neutral button visible when it should not.", 113 assertNotNull("No OK button in confirm dialog.", buttons[2]); 114 assertEquals("OK button is not visible.", View.VISIBLE, buttons[2].getVisibility()); 332 private Button[] getAlertDialogButtons(final AlertDialog dialog) throws ExecutionException { 333 return ThreadUtils.runOnUiThreadBlocking(new Callable<Button[]>() { [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
| StatusPanel.java | 34 import org.eclipse.swt.widgets.Button; 57 private Button mShowLock = null; 58 private Button mShowPatches = null; 59 private Button mShowBadPatches = null; 60 private Button mShowContent = null; 217 mShowLock = new Button(parent, SWT.CHECK); 231 mShowPatches = new Button(parent, SWT.CHECK); 244 mShowBadPatches = new Button(parent, SWT.CHECK); 257 mShowContent = new Button(parent, SWT.CHECK);
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
| ScreenLockTestActivity.java | 32 import android.widget.Button; 40 private Button mForceLockButton; 58 mForceLockButton = (Button) findViewById(R.id.da_force_lock_button);
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
| BleAdvertiserPowerLevelActivity.java | 30 import android.widget.Button; 43 ((Button) findViewById(R.id.ble_power_level_start)) 54 ((Button) findViewById(R.id.ble_power_level_stop))
|
| BleButtonActivity.java | 29 import android.widget.Button; 70 ((Button) findViewById(R.id.ble_button)).setText(mButtonText); 71 ((Button) findViewById(R.id.ble_button)).setOnClickListener(new OnClickListener() {
|
| /developers/build/prebuilts/gradle/ClippingBasic/Application/src/main/java/com/example/android/clippingbasic/ |
| ClippingBasicFragment.java | 27 import android.widget.Button; 77 /* When the button is clicked, the text is clipped or un-clipped. */ 78 view.findViewById(R.id.button).setOnClickListener(new View.OnClickListener() { 87 ((Button) bt).setText(R.string.clip_button); 93 ((Button) bt).setText(R.string.unclip_button);
|