Searched defs:button (Results 1 - 11 of 11) 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);
77 button.setTranslationX(value);
82 button.setTranslationY(value);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java93 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/tests/TransitionTests/src/com/android/transitiontests/
H A DUniqueIds.java45 Button button = (Button) inflater.inflate(R.layout.button_template, null);
46 container.addView(button);
47 ToggleScene scene = new ToggleScene(container, button);
48 mSceneMap.put(button, scene);
49 button = (Button) inflater.inflate(R.layout.button_template, null);
50 container.addView(button);
51 scene = new ToggleScene(container, button);
52 mSceneMap.put(button, scene);
64 ToggleScene(ViewGroup rootView, Button button) { argument
66 mButton = button;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarTransitions.java130 private void setKeyButtonViewQuiescentAlpha(View button, float alpha, boolean animate) { argument
131 if (button instanceof KeyButtonView) {
132 ((KeyButtonView) button).setQuiescentAlpha(alpha, animate);
H A DNavigationBarView.java130 // When dismissing ime during unlock, force the back button to run the same appearance
495 // Warm up KeyguardTouchDelegate so it's ready by the time the camera button is touched.
635 private static void dumpButton(PrintWriter pw, String caption, View button) { argument
637 if (button == null) {
640 pw.print(PhoneStatusBar.viewInfo(button)
641 + " " + visibilityToString(button.getVisibility())
642 + " alpha=" + button.getAlpha()
644 if (button instanceof KeyButtonView) {
645 pw.print(" drawingAlpha=" + ((KeyButtonView)button).getDrawingAlpha());
646 pw.print(" quiescentAlpha=" + ((KeyButtonView)button)
[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.java1245 * Sets the emergency button visibility based on isEmergencyCallCapable().
1247 * If the emergency button is visible, sets the text on the emergency button
1250 * If there's currently a call in progress, the button will take them to the call
1251 * @param button the button to update
1256 * @param shown indicates whether the given screen wants the emergency button to show at all
1257 * @param button
1260 * @param upperCase if true, converts button label string to upper case
1262 public void updateEmergencyCallButtonState(Button button, in argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java1134 void setPositiveButton(Button button) { argument
1135 mPositiveButton = button;
1138 void setNegativeButton(Button button) { argument
1139 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.
656 // increment button
665 // decrement button
2061 public void buttonPressDelayed(int button) { argument
2064 mManagedButton = button;
2068 buttonTapped(int button) argument
[all...]

Completed in 341 milliseconds