/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LLOfButtons1.java | 23 import android.widget.Button; 34 private Button mFirstButton; 40 mFirstButton = (Button) findViewById(R.id.button1); 54 public Button getFirstButton() {
|
/frameworks/base/tests/GridLayoutTest/res/layout/ |
grid7.xml | 27 <Button 28 android:text="Button 1" 33 <Button 34 android:text="Button 2"
|
/packages/apps/CellBroadcastReceiver/tests/res/layout/ |
test_buttons.xml | 28 <Button android:id="@+id/button_etws_normal_type" 35 <Button android:id="@+id/button_etws_cancel_type" 41 <Button android:id="@+id/button_etws_test_type" 47 <Button android:id="@+id/button_gsm_7bit_type" 53 <Button android:id="@+id/button_gsm_7bit_umts_type" 59 <Button android:id="@+id/button_gsm_7bit_nopadding_type" 65 <Button android:id="@+id/button_gsm_7bit_nopadding_umts_type" 71 <Button android:id="@+id/button_gsm_7bit_multipage_type" 77 <Button android:id="@+id/button_gsm_7bit_multipage_umts_type" 83 <Button android:id="@+id/button_gsm_7bit_with_language_type [all...] |
/packages/apps/Phone/res/drawable/ |
btn_compound_audio.xml | 17 <!-- Layers used to render the in-call "Audio mode" compound button. 19 This is a multi-mode button: 22 "compound button" that switches the speaker on and off. (This is why 23 the button itself is a ToggleButton instance.) 26 action button (with no concept of a "checked" state) that brings 34 <!-- The standard "compound button" background, used to distinguish 35 between the "checked" and "unchecked" states when this button is 37 (In states where the audio button *not* a toggle, we explicitly 43 button, but will instead pop up a menu. This layer is *not* 44 shown when the audio button is simply an on/off toggle. -- [all...] |
/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();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
newstyles3-expected-extract8.diff | 5 > <style name="newstyle" parent="android:Widget.Button">
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/layout/ |
gridlayout.xml | 27 <Button 28 android:text="Button 1" 33 <Button 34 android:text="Button 2"
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
PreferenceWithHeaders.java | 26 import android.widget.Button; 40 // Add a button to the header list. 42 Button button = new Button(this); local 43 button.setText("Some action"); 44 setListFooter(button);
|
/external/chromium/chrome/browser/ui/cocoa/ |
hover_button.mm | 42 // The hover button needs to hold onto itself here for a bit. Otherwise, 50 // It's possible that we won't get a mouseExited event if the button was 52 // the button. 67 // If you have a separate window that overlaps the close button, and you 68 // move the mouse directly over the close button without entering another 89 // Update the button's state if the button has moved.
|
/external/webkit/Source/WebCore/manual-tests/inspector/ |
bp-in-named-eval-after-reload.html | 17 <li><p>click this button: <input id=button type=button value="click me"> 26 <li><p>click the "click me" button above, again 55 var button = document.getElementById("button"); 57 button.addEventListener("click", clickHandler, false);
|
error-warning-count.html | 31 var button = document.createElement("button"); 44 button.innerText = content; 45 button.onclick = clickHandler(test.errors, test.warnings); 47 p.appendChild(button); 59 button you clicked.</p> 60 <p>Note: You must reload the page between each button press.</p>
|
/external/webkit/Source/WebCore/manual-tests/ |
left-overflow-repaint.html | 11 Press each Test button once. Do not scroll, resize, or hide the window or switch to another 25 <button onclick="document.getElementById('t').style.marginTop = '2em'"> 27 </button> 37 <button onclick="document.getElementById('u').style.lineHeight = '3'"> 39 </button> 49 <button onclick="document.getElementById('v').style.height = '3em'"> 51 </button>
|
/external/webkit/Tools/CSSTestSuiteHarness/harness/ |
harness.html | 175 <button onclick="goToNextUntested()" accesskey="n"><strong>N</strong>ext Untested</button> 176 <button onclick="goToTest()" accesskey="g">Go to Test...</button> 188 <button onclick="skipTest()" accesskey="s"><strong>S</strong>kip</button> 191 <button onclick="invalidTest()" accesskey="i">Invalid</button> 192 <button onclick="failTest()" accesskey="f"><strong>F</strong>ail</button> [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
AnimatorSetEventsTest.java | 21 import android.widget.Button; 31 Button button; field in class:AnimatorSetEventsTest 37 button = (Button) getActivity().findViewById(R.id.animatingButton); 79 button.setTranslationX(value); 84 button.setTranslationY(value);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListViewHeightTest.java | 22 import android.widget.Button; 51 final Button button1 = (Button) mActivity.findViewById(R.id.button1); 52 final Button button2 = (Button) mActivity.findViewById(R.id.button2); 53 final Button button3 = (Button) mActivity.findViewById(R.id.button3);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GetBitmapActivity.java | 28 import android.widget.Button; 49 Button button = new Button(this); local 50 button.setText("Copy bitmap to /sdcard/textureview.png"); 51 button.setOnClickListener(new View.OnClickListener() { 74 content.addView(button, new FrameLayout.LayoutParams(
|
/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 22 import android.widget.Button; 35 * and is invoked when the "Ok" button is selected. 66 // Enable the "ok" button now that the user has selected which 68 Button ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); 75 // we try to fetch the "Ok" button. 87 // Disable the "Ok" button until the user selects which events to 89 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
|
/external/chromium/chrome/browser/ui/views/ |
find_bar_view.h | 13 #include "views/controls/button/button.h" 29 // FindBar, the find text box, the 'Find' button and the 'Close' 30 // button. It communicates the user search words to the FindBarHost. 37 // A tag denoting which button the user pressed. 39 FIND_PREVIOUS_TAG = 0, // The Find Previous button. 40 FIND_NEXT_TAG, // The Find Next button. 41 CLOSE_TAG, // The Close button (the 'X'). 77 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 94 // extends all the way to the find button, it only goes as far as to th [all...] |
/frameworks/base/core/java/android/widget/ |
ImageButton.java | 30 * Displays a button with an image (instead of text) that can be pressed 32 * {@link android.widget.Button}, with the standard button background 33 * that changes color during different button states. The image on the surface 34 * of the button is defined either by the {@code android:src} attribute in the 38 * <p>To remove the standard button background image, define your own 40 * <p>To indicate the different button states (focused, selected, etc.), you can 57 * based on the state of the button and the corresponding images 61 * evaluated in order. This is why the "normal" button image comes last, because 70 * See {@link android.R.styleable#ImageView Button Attributes} [all...] |
/packages/apps/Bluetooth/res/layout/ |
testactivity_main.xml | 32 <Button android:id="@+id/insert_record" 51 <Button android:id="@+id/delete_record" 69 <Button android:id="@+id/update_record" 87 <Button android:id="@+id/ack_record" 94 <Button android:id="@+id/deleteAll_record" 97 android:text="@string/deleteAll_record"></Button> 99 <Button android:id="@+id/start_server" 102 android:text="@string/start_server"></Button> 104 <Button android:id="@+id/notify_server" 107 android:text="@string/notify_server"></Button> [all...] |
/packages/apps/Email/res/layout/ |
message_view_attachment.xml | 91 <Button 93 style="@style/Attachment.Button" 97 <Button 99 style="@style/Attachment.Button" 103 <Button 105 style="@style/Attachment.Button" 109 <Button 111 style="@style/Attachment.Button" 115 <Button 117 style="@style/Attachment.Button" [all...] |
/packages/apps/Email/res/layout-sw600dp/ |
message_view_attachment.xml | 97 <Button 99 style="@style/Attachment.Button" 103 <Button 105 style="@style/Attachment.Button" 109 <Button 111 style="@style/Attachment.Button" 115 <Button 117 style="@style/Attachment.Button" 121 <Button 123 style="@style/Attachment.Button" [all...] |
/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);
|
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 27 import android.widget.Button; 82 // initialize button click handlers 84 ((Button) findViewById(R.id.hello)).setOnClickListener(new OnClickListener() { 91 ((Button) findViewById(R.id.android)).setOnClickListener(new OnClickListener() { 98 ((Button) findViewById(R.id.sawtooth)).setOnClickListener(new OnClickListener() { 105 ((Button) findViewById(R.id.reverb)).setOnClickListener(new OnClickListener() { 115 ((Button) findViewById(R.id.embedded_soundtrack)).setOnClickListener(new OnClickListener() { 128 ((Button) findViewById(R.id.uri_soundtrack)).setOnClickListener(new OnClickListener() { 137 ((Button) findViewById(R.id.pause_uri)).setOnClickListener(new OnClickListener() { 143 ((Button) findViewById(R.id.play_uri)).setOnClickListener(new OnClickListener() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
LayoutAnimationsByDefault.java | 27 import android.widget.Button; 46 Button addButton = (Button) findViewById(R.id.addNewButton); 49 Button newButton = new Button(LayoutAnimationsByDefault.this);
|