Searched defs:buttons (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHierarchicalMove.java32 Button[] buttons = new Button[6]; field in class:HierarchicalMove
45 buttons[0] = (Button) findViewById(R.id.button0);
46 buttons[1] = (Button) findViewById(R.id.button1);
47 buttons[2] = (Button) findViewById(R.id.button2);
48 buttons[3] = (Button) findViewById(R.id.button3);
49 buttons[4] = (Button) findViewById(R.id.button4);
50 buttons[5] = (Button) findViewById(R.id.button5);
52 // Move button0, then buttons 1/2 together, then buttons 3/4/5 sequentially:
67 move0.addTarget(buttons[
[all...]
/frameworks/native/services/vr/virtual_touchpad/
H A DDvrVirtualTouchpadClient.cpp39 int buttons) {
40 return FromC(client)->ButtonState(touchpad, buttons);
38 dvrVirtualTouchpadButtonState(DvrVirtualTouchpad* client, int touchpad, int buttons) argument
H A DVirtualTouchpadService.cpp80 binder::Status VirtualTouchpadService::buttonState(int touchpad, int buttons) { argument
84 if (const status_t error = touchpad_->ButtonState(touchpad, buttons)) {
H A DVirtualTouchpadEvdev.cpp141 int VirtualTouchpadEvdev::ButtonState(int touchpad_id, int buttons) { argument
146 const int changes = touchpad.last_motion_event_buttons ^ buttons;
150 if (buttons & ~AMOTION_EVENT_BUTTON_BACK) {
154 buttons);
161 touchpad.injector->SendKey(BTN_BACK, (buttons & AMOTION_EVENT_BUTTON_BACK)
166 touchpad.last_motion_event_buttons = buttons;
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestEvents.java151 public Builder pressButton(@Button int... buttons) { argument
152 for (int button : buttons) {
161 public Builder releaseButton(@Button int... buttons) { argument
162 for (int button : buttons) {
251 int buttons = 0;
253 buttons |= button;
269 buttons,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarInflaterView.java288 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, argument
290 for (int i = 0; i < buttons.length; i++) {
291 inflateButton(buttons[i], parent, landscape, start);
/frameworks/native/services/inputflinger/
H A DInputReader.h115 // Time to allow for all fingers or buttons to settle into a stable state before
346 /* The state of the stylus buttons as a bitfield (e.g. AMOTION_EVENT_BUTTON_SECONDARY). */
347 uint32_t buttons; member in struct:android::StylusState
354 buttons = other.buttons;
361 buttons = 0;
644 /* Keeps track of the state of mouse or touch pad buttons. */
721 /* Keeps track of the state of touch, stylus and tool buttons. */
1665 // pointer to be pressed so this enables clicking or long-pressing on buttons.

Completed in 3386 milliseconds