/packages/apps/Settings/res/layout/ |
wifi_network_details_two_buttons_panel.xml | 19 The right button uses the Material.Button.Colored style. 29 <Button 42 <Button 43 style="@android:style/Widget.Material.Button.Colored"
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ConfirmConvertToFbe.java | 24 import android.widget.Button; 38 final Button button = (Button) rootView.findViewById(R.id.button_confirm_convert_fbe); local 39 button.setOnClickListener(new View.OnClickListener() {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/orientation/ |
OrientationTestFragment.java | 26 import android.widget.Button; 35 Button portrait = (Button) v.findViewById(R.id.portrait); 43 Button landscape = (Button) v.findViewById(R.id.landscape);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
IncomingSelfManagedCallActivity.java | 25 import android.widget.Button; 35 private Button mAnswerCallButton; 36 private Button mRejectCallButton; 48 mAnswerCallButton = (Button) findViewById(R.id.answerCallButton); 55 mRejectCallButton = (Button) findViewById(R.id.rejectCallButton);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
AudioTestFragment.java | 40 import android.widget.Button; 58 private Button mNavPlayOnce; 59 private Button mVrPlayOnce; 60 private Button mSystemPlayOnce; 61 private Button mMediaPlay; 62 private Button mMediaPlayOnce; 63 private Button mMediaStop; 64 private Button mWavPlay; 65 private Button mWavStop; 66 private Button mNavStart [all...] |
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
AnticiButton.java | 32 import android.widget.Button; 35 * Custom button which can be deformed by skewing the top left and right, to simulate 36 * anticipation and follow-through animation effects. Clicking on the button runs 37 * an animation which moves the button left or right, applying the skew effect to the 38 * button. The logic of drawing the button with a skew transform is handled in the 41 public class AnticiButton extends Button { 103 * Finish the "anticipation" animation (skew the button back from the direction of 104 * travel), animate it to the other side of the screen, then un-skew the button 127 // Then overshoot by stopping the movement but skewing the button as if it couldn' [all...] |
/external/proguard/src/proguard/gui/ |
TabbedPane.java | 68 * @param title the title that will be used in the tab button. 80 JToggleButton button = new JToggleButton(title); local 82 // Let the button react on the mouse press, instead of waiting for the 84 button.setModel(new JToggleButton.ToggleButtonModel() 117 // Switch to the tab on a button press. 118 button.addActionListener(new ActionListener() 126 // Only one button can be selected at the same time. 127 buttonGroup.add(button); 129 // If this is the first tab, make sure its button is selected. 132 button.setSelected(true) 224 JToggleButton button = (JToggleButton)getComponent(index+1); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TransformsAndAnimationsActivity.java | 29 import android.widget.Button; 35 Button button1; 36 Button button2; 37 Button button3; 38 Button button1a; 39 Button button2a; 40 Button button3a; 41 Button button1b; 42 Button button2b; 43 Button button3b [all...] |
/frameworks/support/v7/mediarouter/res/values/ |
strings.xml | 26 <string name="mr_button_content_description">Cast button</string> 30 <string name="mr_cast_button_disconnected">Cast button. Disconnected</string> 34 <string name="mr_cast_button_connecting">Cast button. Connecting</string> 38 <string name="mr_cast_button_connected">Cast button. Connected</string> 46 <!-- Button to disconnect from a media route. [CHAR LIMIT=30] --> 49 <!-- Button to stop playback and disconnect from a media route. [CHAR LIMIT=30] --> 52 <!-- Content description for accessibility (not shown on the screen): dialog close button. [CHAR LIMIT=NONE] --> 55 <!-- Content description for accessibility (not shown on the screen): media play button. [CHAR LIMIT=NONE] --> 58 <!-- Content description for accessibility (not shown on the screen): media pause button. [CHAR LIMIT=NONE] --> 61 <!-- Content description for accessibility (not shown on the screen): media stop button. [CHAR LIMIT=NONE] -- [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
ButtonSwitcher.java | 25 import android.widget.Button; 47 private Button mInstallButton; 48 private Button mCancelButton; 49 private Button mDeleteButton; 71 mInstallButton = (Button)findViewById(R.id.dict_install_button); 72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); 73 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); 85 private Button getButton(final int status) { 159 private ViewPropertyAnimator animateButton(final View button, final int direction) { 161 final float innerX = button.getX() - button.getTranslationX() [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 30 import android.widget.Button; 48 final Button dateButton = (Button) v.findViewById(R.id.date_button); 49 final Button timeButton = (Button) v.findViewById(R.id.time_button); 50 final Button resetButton = (Button) v.findViewById(R.id.reset_button); 54 for (Button b : new Button[] { dateButton, timeButton, resetButton }) { 69 // wire up date button [all...] |
/packages/services/Car/tests/EmbeddedKitchenSinkApp/res/layout/ |
audio.xml | 52 <Button 95 <Button 105 <Button 115 <Button 132 <Button 137 <Button 142 <Button 147 <Button 152 <Button 157 <Button [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...] |
/cts/tests/accessibilityservice/res/layout/ |
query_window_test.xml | 31 <Button 38 <Button 45 <Button 59 <Button 66 <Button 73 <Button 88 <Button 95 <Button 102 <Button
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingFragment.java | 35 import android.widget.Button; 45 private Button mSendSingleConversation; 46 private Button mSendTwoConversations; 47 private Button mSendConversationWithThreeMessages; 49 private Button mClearLogButton; 88 mSendSingleConversation = (Button) rootView.findViewById(R.id.send_1_conversation); 91 mSendTwoConversations = (Button) rootView.findViewById(R.id.send_2_conversations); 95 (Button) rootView.findViewById(R.id.send_1_conversation_3_messages); 101 mClearLogButton = (Button) rootView.findViewById(R.id.clear);
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingFragment.java | 35 import android.widget.Button; 45 private Button mSendSingleConversation; 46 private Button mSendTwoConversations; 47 private Button mSendConversationWithThreeMessages; 49 private Button mClearLogButton; 88 mSendSingleConversation = (Button) rootView.findViewById(R.id.send_1_conversation); 91 mSendTwoConversations = (Button) rootView.findViewById(R.id.send_2_conversations); 95 (Button) rootView.findViewById(R.id.send_1_conversation_3_messages); 101 mClearLogButton = (Button) rootView.findViewById(R.id.clear);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentStack.java | 29 import android.widget.Button; 40 // Watch for button clicks. 41 Button button = (Button)findViewById(R.id.new_fragment); local 42 button.setOnClickListener(new OnClickListener() { 47 button = (Button)findViewById(R.id.delete_fragment); 48 button.setOnClickListener(new OnClickListener() {
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessagingFragment.java | 35 import android.widget.Button; 45 private Button mSendSingleConversation; 46 private Button mSendTwoConversations; 47 private Button mSendConversationWithThreeMessages; 49 private Button mClearLogButton; 88 mSendSingleConversation = (Button) rootView.findViewById(R.id.send_1_conversation); 91 mSendTwoConversations = (Button) rootView.findViewById(R.id.send_2_conversations); 95 (Button) rootView.findViewById(R.id.send_1_conversation_3_messages); 101 mClearLogButton = (Button) rootView.findViewById(R.id.clear);
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
CurvedMotion.java | 25 import android.widget.Button; 43 Button mButton; 50 mButton = (Button) findViewById(R.id.button); 55 // Capture current location of button 59 // Change layout parameters of button to move it 62 // Add OnPreDrawListener to catch button after layout but before drawing 93 * Toggles button location on click between top-left and bottom-right 115 * and the information that the button requires (an xy location). The
|
/frameworks/base/core/tests/coretests/res/layout/ |
interrogation_activity.xml | 31 <Button 37 <Button 43 <Button 56 <Button 62 <Button 68 <Button 82 <Button 88 <Button 94 <Button
|
linear_layout_grid.xml | 32 <Button 38 <Button 44 <Button 57 <Button 63 <Button 69 <Button 82 <Button 88 <Button 94 <Button
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
VerticalFocusSearchTest.java | 26 import android.widget.Button; 39 private Button mTopWide; 40 private Button mMidSkinny1Left; 41 private Button mMidSkinny2Right; 42 private Button mBottomWide; 139 assertNull("going down from bottom button should have no next focus.", 142 assertNull("going left from bottom button should have no next focus.", 145 assertNull("going right from bottom button should have no next focus.", 148 assertEquals("going up from bottom button should go to mMidSkinny2Right.",
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HierarchicalMove.java | 26 import android.widget.Button; 32 Button[] buttons = new Button[6]; 45 buttons[0] = (Button) findViewById(R.id.button0); 46 buttons[1] = (Button) findViewById(R.id.button1); 47 buttons[2] = (Button) findViewById(R.id.button2); 48 buttons[3] = (Button) findViewById(R.id.button3); 49 buttons[4] = (Button) findViewById(R.id.button4); 50 buttons[5] = (Button) findViewById(R.id.button5);
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
ElementLayoutActivity.java | 102 RadioButton button = new RadioButton(this); local 103 button.setText("RadioButton:" + mRandom.nextInt()); 104 mLayout.addView(button); 108 ToggleButton button = new ToggleButton(this); local 109 button.setChecked(mRandom.nextBoolean()); 110 mLayout.addView(button); 114 Switch button = new Switch(this); local 115 button.setChecked(mRandom.nextBoolean()); 116 mLayout.addView(button);
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
FragmentPagerSupport.java | 36 import android.widget.Button; 58 // Watch for button clicks. 59 Button button = (Button)findViewById(R.id.goto_first); local 60 button.setOnClickListener(new OnClickListener() { 66 button = (Button)findViewById(R.id.goto_last); 67 button.setOnClickListener(new OnClickListener() {
|