Lines Matching defs:InputReader
17 #define LOG_TAG "InputReader"
45 #include "InputReader.h"
255 // --- InputReader ---
257 InputReader::InputReader(const sp<EventHubInterface>& eventHub,
274 InputReader::~InputReader() {
280 void InputReader::loopOnce() {
336 // back into the InputReader's methods, such as getScanCodeState, or become blocked
337 // on another thread similarly waiting to acquire the InputReader lock thereby
344 void InputReader::processEventsLocked(const RawEvent* rawEvents, size_t count) {
382 void InputReader::addDeviceLocked(nsecs_t when, int32_t deviceId) {
413 void InputReader::removeDeviceLocked(nsecs_t when, int32_t deviceId) {
441 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber,
516 void InputReader::processEventsForDeviceLocked(int32_t deviceId,
533 void InputReader::timeoutExpiredLocked(nsecs_t when) {
542 void InputReader::handleConfigurationChangedLocked(nsecs_t when) {
551 void InputReader::refreshConfigurationLocked(uint32_t changes) {
570 void InputReader::updateGlobalMetaStateLocked() {
579 int32_t InputReader::getGlobalMetaStateLocked() {
583 void InputReader::notifyExternalStylusPresenceChanged() {
587 void InputReader::getExternalStylusDevicesLocked(Vector<InputDeviceInfo>& outDevices) {
597 void InputReader::dispatchExternalStylusState(const StylusState& state) {
604 void InputReader::disableVirtualKeysUntilLocked(nsecs_t time) {
608 bool InputReader::shouldDropVirtualKeyLocked(nsecs_t now,
622 void InputReader::fadePointerLocked() {
629 void InputReader::requestTimeoutAtTimeLocked(nsecs_t when) {
636 int32_t InputReader::bumpGenerationLocked() {
640 void InputReader::getInputDevices(Vector<InputDeviceInfo>& outInputDevices) {
645 void InputReader::getInputDevicesLocked(Vector<InputDeviceInfo>& outInputDevices) {
658 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask,
665 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask,
672 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
678 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code,
708 void InputReader::toggleCapsLockState(int32_t deviceId) {
723 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask,
731 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask,
756 void InputReader::requestRefreshConfiguration(uint32_t changes) {
769 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
780 void InputReader::cancelVibrate(int32_t deviceId, int32_t token) {
790 void InputReader::dump(String8& dump) {
855 void InputReader::monitor() {
867 // --- InputReader::ContextImpl ---
869 InputReader::ContextImpl::ContextImpl(InputReader* reader) :
873 void InputReader::ContextImpl::updateGlobalMetaState() {
878 int32_t InputReader::ContextImpl::getGlobalMetaState() {
883 void InputReader::ContextImpl::disableVirtualKeysUntil(nsecs_t time) {
888 bool InputReader::ContextImpl::shouldDropVirtualKey(nsecs_t now,
894 void InputReader::ContextImpl::fadePointer() {
899 void InputReader::ContextImpl::requestTimeoutAtTime(nsecs_t when) {
904 int32_t InputReader::ContextImpl::bumpGeneration() {
909 void InputReader::ContextImpl::getExternalStylusDevices(Vector<InputDeviceInfo>& outDevices) {
914 void InputReader::ContextImpl::dispatchExternalStylusState(const StylusState& state) {
918 InputReaderPolicyInterface* InputReader::ContextImpl::getPolicy() {
922 InputListenerInterface* InputReader::ContextImpl::getListener() {
926 EventHubInterface* InputReader::ContextImpl::getEventHub() {