Home
last modified time | relevance | path

Searched refs:mPointers (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h89 mPointers.push_back(pointer); in pointer()
106 for (const PointerBuilder& pointer : mPointers) { in build()
136 static_cast<uint32_t>(mPointers.size()), in build()
163 std::vector<PointerBuilder> mPointers; variable
/frameworks/native/include/input/
DInputEventBuilders.h111 mPointers.push_back(pointer); in pointer()
133 for (const PointerBuilder& pointer : mPointers) { in build()
151 mPointers.size(), pointerProperties.data(), pointerCoords.data()); in build()
170 std::vector<PointerBuilder> mPointers; variable
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java149 private final SparseArray<PointerState> mPointers = new SparseArray<PointerState>(); field in PointerLocationView
286 final int NP = mPointers.size(); in onDraw()
305 final PointerState ps = mPointers.valueAt(p); in onDraw()
419 final PointerState ps = mPointers.get(mActivePointerId, EMPTY_POINTER_STATE); in drawLabels()
596 mPointers.clear(); in onPointerEvent()
612 PointerState ps = mPointers.get(id); in onPointerEvent()
615 mPointers.put(id, ps); in onPointerEvent()
618 if (!mPointers.contains(mActivePointerId) in onPointerEvent()
619 || !mPointers.get(mActivePointerId).mCurDown) { in onPointerEvent()
642 final PointerState ps = mCurDown ? mPointers.get(id) : null; in onPointerEvent()
[all …]
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h420 explicit WithPointersMatcher(std::map<int32_t, PointF> pointers) : mPointers(pointers) {} in WithPointersMatcher()
429 if (mPointers != actualPointers) { in MatchAndExplain()
430 *os << "expected pointers " << dumpMap(mPointers, constToString, pointFToString) in MatchAndExplain()
445 if (mPointers != actualPointers) { in MatchAndExplain()
446 *os << "expected pointers " << dumpMap(mPointers, constToString, pointFToString) in MatchAndExplain()
454 *os << "with pointers " << dumpMap(mPointers, constToString, pointFToString); in DescribeTo()
460 const std::map<int32_t, PointF> mPointers;