Home
last modified time | relevance | path

Searched refs:hasStylus (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp28 bool hasStylus = false; in checkToolType() local
34 hasStylus = true; in checkToolType()
40 return std::make_pair(hasTouch, hasStylus); in checkToolType()
103 const auto [hasTouch, hasStylus] = checkToolType(args); in processMotion()
110 if (hasTouch && hasStylus) { in processMotion()
129 const bool isStylusEvent = hasStylus; in processMotion()
/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp84 bool SingleTouchInputMapper::hasStylus() const { in hasStylus() function in android::SingleTouchInputMapper
85 return mTouchButtonAccumulator.hasStylus(); in hasStylus()
DSingleTouchInputMapper.h39 bool hasStylus() const override;
DMultiTouchInputMapper.h42 bool hasStylus() const override;
DMultiTouchInputMapper.cpp221 bool MultiTouchInputMapper::hasStylus() const { in hasStylus() function in android::MultiTouchInputMapper
222 return mStylusMtToolSeen || mTouchButtonAccumulator.hasStylus() || in hasStylus()
DTouchInputMapper.h411 virtual bool hasStylus() const = 0;
DTouchInputMapper.cpp924 if (hasStylus()) { in configureInputDevice()
930 if (hasStylus()) { in configureInputDevice()
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.h42 bool hasStylus() const;
DTouchButtonAccumulator.cpp171 bool TouchButtonAccumulator::hasStylus() const { in hasStylus() function in android::TouchButtonAccumulator