Lines Matching refs:injector

47     if (touchpad.injector) {  in Reset()
48 touchpad.injector->Close(); in Reset()
50 touchpad.injector = nullptr; in Reset()
63 if (!touchpad.injector) { in Attach()
65 touchpad.injector = touchpad.owned_injector.get(); in Attach()
69 touchpad.injector->ConfigureBegin(DeviceName, kDeviceBusType, in Attach()
72 touchpad.injector->ConfigureInputProperty(INPUT_PROP_DIRECT); in Attach()
73 touchpad.injector->ConfigureMultiTouchXY(0, 0, kWidth - 1, kHeight - 1); in Attach()
74 touchpad.injector->ConfigureAbsSlots(kSlots); in Attach()
75 touchpad.injector->ConfigureRel(REL_WHEEL); in Attach()
76 touchpad.injector->ConfigureRel(REL_HWHEEL); in Attach()
77 touchpad.injector->ConfigureKey(BTN_TOUCH); in Attach()
78 touchpad.injector->ConfigureKey(BTN_BACK); in Attach()
79 touchpad.injector->ConfigureEnd(); in Attach()
80 if (const status_t configuration_status = touchpad.injector->GetError()) { in Attach()
104 if (!touchpad.injector) { in Touch()
107 touchpad.injector->ResetError(); in Touch()
112 touchpad.injector->SendMultiTouchXY(0, 0, device_x, device_y); in Touch()
113 touchpad.injector->SendSynReport(); in Touch()
118 touchpad.injector->SendMultiTouchXY(0, 0, device_x, device_y); in Touch()
119 touchpad.injector->SendKey(BTN_TOUCH, EvdevInjector::KEY_PRESS); in Touch()
120 touchpad.injector->SendSynReport(); in Touch()
123 touchpad.injector->SendKey(BTN_TOUCH, EvdevInjector::KEY_RELEASE); in Touch()
124 touchpad.injector->SendMultiTouchLift(0); in Touch()
125 touchpad.injector->SendSynReport(); in Touch()
130 touchpad.injector->SendMultiTouchXY(0, 0, device_x, device_y); in Touch()
131 touchpad.injector->SendSynReport(); in Touch()
138 return touchpad.injector->GetError(); in Touch()
156 if (!touchpad.injector) { in ButtonState()
159 touchpad.injector->ResetError(); in ButtonState()
161 touchpad.injector->SendKey(BTN_BACK, (buttons & AMOTION_EVENT_BUTTON_BACK) in ButtonState()
164 touchpad.injector->SendSynReport(); in ButtonState()
167 return touchpad.injector->GetError(); in ButtonState()
178 if (!touchpad.injector) { in Scroll()
181 touchpad.injector->ResetError(); in Scroll()
186 touchpad.injector->SendRel(REL_HWHEEL, scaled_x); in Scroll()
189 touchpad.injector->SendRel(REL_WHEEL, scaled_y); in Scroll()
192 touchpad.injector->SendSynReport(); in Scroll()
194 return touchpad.injector->GetError(); in Scroll()
201 if (!touchpad.injector) { in dumpInternal()
212 touchpad.injector->dumpInternal(result); in dumpInternal()