Searched defs:button (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tests/SslLoad/src/com/android/sslload/ |
H A D | SslLoad.java | 48 private Button button; field in class:SslLoad 59 button = new Button(this); 60 button.setText("GO"); 61 button.setOnClickListener(this); 63 setContentView(button); 78 button.setText(running ? "STOP" : "GO");
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 34 * Create a view with a button at the top and bottom, with filler in between. 119 final Button button = new Button(context); 120 button.setText("left"); 121 ll.addView(button, lp); 127 final Button button = new Button(context); 128 button.setText("center"); 129 ll.addView(button, lp); 135 final Button button = new Button(context); 136 button.setText("right"); 137 ll.addView(button, l 155 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 670 * Sets the text on the emergency button to indicate what action will be taken. 671 * If there's currently a call in progress, the button will take them to the call 672 * @param button the button to update 674 public void updateEmergencyCallButtonState(Button button) { argument 681 button.setCompoundDrawablesWithIntrinsicBounds(phoneCallIcon, 0, 0, 0); 685 button.setCompoundDrawablesWithIntrinsicBounds(emergencyIcon, 0, 0, 0); 687 button.setText(textId); 691 * Resumes a call in progress. Typically launched from the EmergencyCall button
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 252 * Sets a click listener or a message to be sent when the button is clicked. 255 * @param whichButton Which button, can be one of 259 * @param text The text to display in positive button. 511 * If we only have 1 button it should be centered on the layout and 525 private void centerButton(Button button) { argument 526 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams(); 529 button.setLayoutParams(params); 632 * it's a Contextual menu being displayed AND only a Cancel button
|
Completed in 114 milliseconds