Searched refs:hasExternalStylus (Results 1 – 2 of 2) sorted by relevance
412 virtual bool hasExternalStylus() const;
152 return mSource | (hasExternalStylus() ? AINPUT_SOURCE_BLUETOOTH_STYLUS : 0); in getSources()522 bool TouchInputMapper::hasExternalStylus() const { in hasExternalStylus() function in android::TouchInputMapper1648 if (mDeviceMode == DeviceMode::DIRECT && hasExternalStylus()) { in applyExternalStylusButtonState()1695 if (mDeviceMode != DeviceMode::DIRECT || !hasExternalStylus()) { in assignExternalStylusId()