Searched defs:buttons (Results 1 - 6 of 6) 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.cpp136 int VirtualTouchpadEvdev::ButtonState(int touchpad_id, int buttons) { argument
141 const int changes = touchpad.last_motion_event_buttons ^ buttons;
145 if (buttons & ~AMOTION_EVENT_BUTTON_BACK) {
149 buttons);
156 touchpad.injector->SendKey(BTN_BACK, (buttons & AMOTION_EVENT_BUTTON_BACK)
161 touchpad.last_motion_event_buttons = buttons;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarInflaterView.java239 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape) { argument
240 for (int i = 0; i < buttons.length; i++) {
241 inflateButton(buttons[i], parent, landscape);
/frameworks/native/services/inputflinger/
H A DInputReader.h110 // Time to allow for all fingers or buttons to settle into a stable state before
335 /* The state of the stylus buttons as a bitfield (e.g. AMOTION_EVENT_BUTTON_SECONDARY). */
336 uint32_t buttons; member in struct:android::StylusState
343 buttons = other.buttons;
350 buttons = 0;
628 /* Keeps track of the state of mouse or touch pad buttons. */
705 /* Keeps track of the state of touch, stylus and tool buttons. */
1639 // pointer to be pressed so this enables clicking or long-pressing on buttons.

Completed in 100 milliseconds