/frameworks/support/v4/api23/android/support/v4/widget/ |
H A D | CompoundButtonCompatApi23.java | 27 static Drawable getButtonDrawable(CompoundButton button) { argument 28 return button.getButtonDrawable();
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AnimatorSetEventsTest.java | 31 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 D | CompoundButtonCompatLollipop.java | 25 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 D | CompoundButtonCompatDonut.java | 34 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 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/tests/coretests/src/android/widget/espresso/ |
H A D | MouseClickAction.java | 98 * @param button the mouse button used to send motion events 101 @MouseUiController.MouseButton int button) { 103 mButton = button; 100 MouseClickAction(Tapper tapper, CoordinatesProvider coordinatesProvider, @MouseUiController.MouseButton int button) argument
|
H A D | MouseUiController.java | 52 * @param button the button to be used for generating input events. 54 public MouseUiController(UiController uiController, @MouseButton int button) { argument 56 mButton = button;
|
H A D | TextViewActions.java | 79 * @param button the mouse button to use. 82 @MouseUiController.MouseButton int button) { 84 new MouseClickAction(Tap.SINGLE, new TextCoordinates(index), button)); 81 mouseClickOnTextAtIndex(int index, @MouseUiController.MouseButton int button) argument
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | UniqueIds.java | 45 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 D | CompoundButtonCompat.java | 50 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/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarNavigationBarView.java | 47 public void addButton(CarNavigationButton button, CarNavigationButton lightsOutButton){ argument 48 mNavButtons.addView(button); 73 // navigation bar does not have a back button.
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
H A D | AnimatedVectorDrawableTest.java | 219 private void verifyRedOnly(final int pixelX, final int pixelY, final View button, argument 224 button.draw(canvas);
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
H A D | R$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/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewHeader.java | 254 private void updateLayoutParams(View icon, View title, View secondaryButton, View button) { argument 275 button.setLayoutParams(lp); 276 button.setPadding(mHeaderButtonPadding, mHeaderButtonPadding, mHeaderButtonPadding, 466 // When freeform workspaces are enabled, then update the move-task button depending on the 496 // In accessibility, a single click on the focused app info button will show it 595 // In accessibility, a single click on the focused app info button will show it 601 // Keep track of deletions by the dismiss button
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NavBarTuner.java | 167 for (String button : views[i].split(BUTTON_SEPARATOR)) { 168 mNavBarAdapter.addButton(button, getLabel(button, context)); 178 // TODO: Show save button conditionally, only when there are changes. 206 private static CharSequence getLabel(String button, Context context) { argument 207 if (button.startsWith(HOME)) { 209 } else if (button.startsWith(BACK)) { 211 } else if (button.startsWith(RECENT)) { 213 } else if (button.startsWith(NAVSPACE)) { 215 } else if (button 318 addButton(String button, CharSequence label) argument 490 showAddedMessage(Context context, String button) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 305 * Sets a hint for the best button panel layout. 312 * Sets a click listener or a message to be sent when the button is clicked. 315 * @param whichButton Which button, can be one of 319 * @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 D | android_view_MotionEvent.cpp | 466 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 D | NavigationBarView.java | 135 // When dismissing ime during unlock, force the back button to run the same appearance 337 // We have to replace or restore the back and home button icons when exiting or entering 358 // Update menu button in case the IME state has changed. 731 private static void dumpButton(PrintWriter pw, String caption, ButtonDispatcher button) { argument 733 if (button == null) { 736 pw.print(visibilityToString(button.getVisibility()) 737 + " alpha=" + button.getAlpha()
|
/frameworks/native/include/input/ |
H A D | Input.h | 174 // Indicates that the key is virtual, such as a capacitive button, and should 405 inline void setActionButton(int32_t button) { mActionButton = button; } argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 1628 void setPositiveButton(Button button) { argument 1629 mPositiveButton = button; 1632 void setNegativeButton(Button button) { argument 1633 mNegativeButton = button;
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 72 * 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 2358 setActionButton(int button) argument 3325 isButtonPressed(int button) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 72 * 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...] |