Searched defs:button (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetEventsTest.java31 Button button; field in class:AnimatorSetEventsTest
37 button = (Button) getActivity().findViewById(R.id.animatingButton);
79 button.setTranslationX(value);
84 button.setTranslationY(value);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java92 public void onCheckedChanged(CompoundButton button, boolean checked) { argument
/frameworks/base/tests/SslLoad/src/com/android/sslload/
H A DSslLoad.java48 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 DListItemFactory.java34 * 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/app/
H A DAlertController.java287 * Sets a click listener or a message to be sent when the button is clicked.
290 * @param whichButton Which button, can be one of
294 * @param text The text to display in positive button.
569 * If we only have 1 button it should be centered on the layout and
584 private void centerButton(Button button) { argument
585 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams();
588 button.setLayoutParams(params);
695 * it's a Contextual menu being displayed AND only a Cancel button
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1233 * Sets the emergency button visibility based on isEmergencyCallCapable().
1235 * If the emergency button is visible, sets the text on the emergency button
1238 * If there's currently a call in progress, the button will take them to the call
1239 * @param button the button to update
1244 * @param shown indicates whether the given screen wants the emergency button to show at all
1245 * @param button
1248 * @param upperCase if true, converts button label string to upper case
1250 public void updateEmergencyCallButtonState(Button button, in argument
1285 updateEmergencyCallButtonState(Button button, int phoneState, boolean shown) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java1361 void setPositiveButton(Button button) { argument
1362 mPositiveButton = button;
1365 void setNegativeButton(Button button) { argument
1366 mNegativeButton = button;
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java68 * presents the current value as an editable input field with an increment button
69 * above and a decrement button below. Long pressing the buttons allows for a quick
201 * The increment button.
206 * The decrement button.
453 * Whether the increment virtual button is pressed.
458 * Whether the decrement virtual button is pressed.
651 // increment button
660 // decrement button
2013 public void buttonPressDelayed(int button) { argument
2016 mManagedButton = button;
2020 buttonTapped(int button) argument
[all...]

Completed in 251 milliseconds