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

/frameworks/support/v4/api23/android/support/v4/widget/
H A DCompoundButtonCompatApi23.java27 static Drawable getButtonDrawable(CompoundButton button) { argument
28 return button.getButtonDrawable();
/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/support/v4/api21/android/support/v4/widget/
H A DCompoundButtonCompatLollipop.java25 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
26 button.setButtonTintList(tint);
29 static ColorStateList getButtonTintList(CompoundButton button) { argument
30 return button.getButtonTintList();
33 static void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { argument
34 button.setButtonTintMode(tintMode);
37 static PorterDuff.Mode getButtonTintMode(CompoundButton button) { argument
38 return button.getButtonTintMode();
/frameworks/support/v4/donut/android/support/v4/widget/
H A DCompoundButtonCompatDonut.java34 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
35 if (button instanceof TintableCompoundButton) {
36 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
40 static ColorStateList getButtonTintList(CompoundButton button) { argument
41 if (button instanceof TintableCompoundButton) {
42 return((TintableCompoundButton) button).getSupportButtonTintList();
47 static void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { argument
48 if (button instanceof TintableCompoundButton) {
49 ((TintableCompoundButton) button).setSupportButtonTintMode(tintMode);
53 static PorterDuff.Mode getButtonTintMode(CompoundButton button) { argument
60 getButtonDrawable(CompoundButton button) argument
[all...]
/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/support/v4/java/android/support/v4/widget/
H A DCompoundButtonCompat.java50 void setButtonTintList(CompoundButton button, ColorStateList tint); argument
51 ColorStateList getButtonTintList(CompoundButton button); argument
52 void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode); argument
53 PorterDuff.Mode getButtonTintMode(CompoundButton button); argument
54 Drawable getButtonDrawable(CompoundButton button); argument
59 public void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
60 CompoundButtonCompatDonut.setButtonTintList(button, tint);
64 public ColorStateList getButtonTintList(CompoundButton button) { argument
65 return CompoundButtonCompatDonut.getButtonTintList(button);
69 public void setButtonTintMode(CompoundButton button, PorterDuf argument
74 getButtonTintMode(CompoundButton button) argument
79 getButtonDrawable(CompoundButton button) argument
86 setButtonTintList(CompoundButton button, ColorStateList tint) argument
91 getButtonTintList(CompoundButton button) argument
96 setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) argument
101 getButtonTintMode(CompoundButton button) argument
108 getButtonDrawable(CompoundButton button) argument
127 setButtonTintList(@onNull CompoundButton button, @Nullable ColorStateList tint) argument
137 getButtonTintList(@onNull CompoundButton button) argument
152 setButtonTintMode(@onNull CompoundButton button, @Nullable PorterDuff.Mode tintMode) argument
163 getButtonTintMode(@onNull CompoundButton button) argument
173 getButtonDrawable(@onNull CompoundButton button) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$id.class ... Object { public static final int action_settings public static final int button public static final int button2 public static final int checkBox ...
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java303 * Sets a hint for the best button panel layout.
310 * Sets a click listener or a message to be sent when the button is clicked.
313 * @param whichButton Which button, can be one of
317 * @param text The text to display in positive button.
725 * If we only have 1 button it should be centered on the layout and
743 private void centerButton(Button button) { argument
744 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams();
747 button.setLayoutParams(params);
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp466 jlong nativePtr, jint button) {
468 event->setActionButton(button);
465 android_view_MotionEvent_nativeSetActionButton(JNIEnv* env, jclass clazz, jlong nativePtr, jint button) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java128 // When dismissing ime during unlock, force the back button to run the same appearance
305 // Update menu button in case the IME state has changed.
668 private static void dumpButton(PrintWriter pw, String caption, View button) { argument
670 if (button == null) {
673 pw.print(PhoneStatusBar.viewInfo(button)
674 + " " + visibilityToString(button.getVisibility())
675 + " alpha=" + button.getAlpha()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java284 * Sets a hint for the best button panel layout.
291 * Sets a click listener or a message to be sent when the button is clicked.
294 * @param whichButton Which button, can be one of
298 * @param text The text to display in positive button.
591 * If we only have 1 button it should be centered on the layout and
606 private void centerButton(Button button) { argument
607 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams();
610 button.setLayoutParams(params);
/frameworks/native/include/input/
H A DInput.h161 // Indicates that the key is virtual, such as a capacitive button, and should
392 inline void setActionButton(int32_t button) { mActionButton = button; } argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java1624 void setPositiveButton(Button button) { argument
1625 mPositiveButton = button;
1628 void setNegativeButton(Button button) { argument
1629 mNegativeButton = button;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java72 * good idea to check the button state while handling {@link #ACTION_DOWN} as part
74 * if the touch event starts due to a secondary button click, such as presenting a
138 * or {@link #ACTION_UP} motion events when the trackball button is pressed or released.
190 * This is also a good time to check the button state to distinguish
191 * secondary and tertiary button clicks and handle them appropriately.
192 * Use {@link #getButtonState} to retrieve the button state.
306 * Constant for {@link #getActionMasked}: A button has been pressed.
309 * Use {@link #getActionButton()} to get which button was pressed.
319 * Constant for {@link #getActionMasked}: A button has been released.
322 * Use {@link #getActionButton()} to get which button wa
2293 setActionButton(int button) argument
3260 isButtonPressed(int button) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java72 * presents the current value as an editable input field with an increment button
73 * above and a decrement button below. Long pressing the buttons allows for a quick
210 * The increment button.
215 * The decrement button.
462 * Whether the increment virtual button is pressed.
467 * Whether the decrement virtual button is pressed.
705 // increment button
714 // decrement button
2184 public void buttonPressDelayed(int button) { argument
2187 mManagedButton = button;
2191 buttonTapped(int button) argument
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java214 * the "Clear All" button or by swiping it away individually.
432 * the Clear all button.
2760 * the system as a button adjacent to the notification content.
2785 * the system as a button adjacent to the notification content.
3137 final RemoteViews button = generateActionButton(mActions.get(i));
3138 big.addView(R.id.actions, button);
3174 RemoteViews button = new BuilderRemoteViews(mContext.getApplicationInfo(),
3178 button.setTextViewCompoundDrawablesRelative(R.id.action0, ai, null, null, null);
3179 button.setTextViewText(R.id.action0, processLegacyText(action.title));
3181 button
3196 processLegacyAction(Action action, RemoteViews button) argument
[all...]

Completed in 576 milliseconds