Home
last modified time | relevance | path

Searched refs:TouchState (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp27 TouchState::TouchState() in TouchState() function in android::inputdispatcher::TouchState
30 TouchState::~TouchState() {} in ~TouchState()
32 void TouchState::reset() { in reset()
43 void TouchState::copyFrom(const TouchState& other) { in copyFrom()
54 void TouchState::addOrUpdateWindow(const sp<InputWindowHandle>& windowHandle, int32_t targetFlags, in addOrUpdateWindow()
79 void TouchState::addPortalWindow(const sp<InputWindowHandle>& windowHandle) { in addPortalWindow()
89 void TouchState::addGestureMonitors(const std::vector<TouchedMonitor>& newMonitors) { in addGestureMonitors()
96 void TouchState::removeWindowByToken(const sp<IBinder>& token) { in removeWindowByToken()
105 void TouchState::filterNonAsIsTouchWindows() { in filterNonAsIsTouchWindows()
119 void TouchState::filterNonMonitors() { in filterNonMonitors()
[all …]
DTouchState.h29 struct TouchState { struct
44 TouchState(); argument
45 ~TouchState();
47 void copyFrom(const TouchState& other);
DAndroid.bp34 "TouchState.cpp",
DInputDispatcher.cpp803 int32_t y, TouchState* touchState, in findTouchedWindowAtLocked()
1282 std::unordered_map<int32_t, TouchState>::iterator it = in dispatchMotionLocked()
1285 const TouchState& state = it->second; in dispatchMotionLocked()
1588 const TouchState* oldState = nullptr; in findTouchedWindowTargetsLocked()
1589 TouchState tempTouchState; in findTouchedWindowTargetsLocked()
1590 std::unordered_map<int32_t, TouchState>::iterator oldStateIt = in findTouchedWindowTargetsLocked()
3756 std::unordered_map<int32_t, TouchState>::iterator stateIt = in setInputWindowsLocked()
3759 TouchState& state = stateIt->second; in setInputWindowsLocked()
3976 for (std::pair<const int32_t, TouchState>& pair : mTouchStatesByDisplay) { in transferTouchFocus()
3977 TouchState& state = pair.second; in transferTouchFocus()
[all …]
DInputDispatcher.h195 TouchState* touchState,
317 std::unordered_map<int32_t, TouchState> mTouchStatesByDisplay GUARDED_BY(mLock);
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java21 import static com.android.server.accessibility.gestures.TouchState.STATE_CLEAR;
22 import static com.android.server.accessibility.gestures.TouchState.STATE_DELEGATING;
23 import static com.android.server.accessibility.gestures.TouchState.STATE_DRAGGING;
24 import static com.android.server.accessibility.gestures.TouchState.STATE_TOUCH_EXPLORING;
299 + TouchState.getStateSymbolicName(state), t); in goFromStateClearTo()
315 TouchState.getStateSymbolicName(expect), in assertState()
316 TouchState.getStateSymbolicName(mTouchExplorer.getState().getState())); in assertState()
DGestureManifoldTest.java51 private TouchState mState;
59 mState = new TouchState(); in setUp()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h173 enum class TouchState { Inactive, Active }; enum
252 TouchState touch = TouchState::Inactive;
DScheduler.cpp566 const TouchState touch = state == TimerState::Reset ? TouchState::Active : TouchState::Inactive; in touchTimerCallback()
631 const bool touchActive = mTouchTimer && mFeatures.touch == TouchState::Active; in calculateRefreshRateConfigIndexType()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java20 import static com.android.server.accessibility.gestures.TouchState.ALL_POINTER_ID_BITS;
21 import static com.android.server.accessibility.gestures.TouchState.MAX_POINTER_COUNT;
64 private TouchState mState;
70 TouchState state) { in EventDispatcher()
DTouchState.java33 public class TouchState { class
89 public TouchState() { in TouchState() method in TouchState
DTouchExplorer.java21 import static com.android.server.accessibility.gestures.TouchState.ALL_POINTER_ID_BITS;
93 private TouchState mState;
121 private final TouchState.ReceivedPointerTracker mReceivedPointerTracker;
159 mState = new TouchState(); in TouchExplorer()
1067 public TouchState getState() { in getState()
DGestureManifold.java105 private TouchState mState;
107 GestureManifold(Context context, Listener listener, TouchState state, Handler handler) { in GestureManifold()
/frameworks/native/include/input/
DInputTransport.h472 struct TouchState { struct
519 Vector<TouchState> mTouchStates; argument
545 static void rewriteMessage(TouchState& state, InputMessage& msg);
/frameworks/native/libs/input/
DInputTransport.cpp833 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
842 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
852 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
862 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
872 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
882 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState()
902 void InputConsumer::rewriteMessage(TouchState& state, InputMessage& msg) { in rewriteMessage()
941 TouchState& touchState = mTouchStates.editItemAt(index); in resampleTouchState()
1156 const TouchState& touchState = mTouchStates.itemAt(i); in findTouchState()
/frameworks/base/services/
Dart-profile4826 …er/accessibility/EventStreamTransformation;Lcom/android/server/accessibility/gestures/TouchState;)V
4837 …sibility/gestures/GestureManifold$Listener;Lcom/android/server/accessibility/gestures/TouchState;)V
4965 …d/server/accessibility/gestures/TouchState$PointerDownInfo;-><init>(Lcom/android/server/accessibil…
4966 …server/accessibility/gestures/TouchState$PointerDownInfo;->access$000(Lcom/android/server/accessib…
4967 …server/accessibility/gestures/TouchState$PointerDownInfo;->access$100(Lcom/android/server/accessib…
4968 …server/accessibility/gestures/TouchState$PointerDownInfo;->access$200(Lcom/android/server/accessib…
4969 PLcom/android/server/accessibility/gestures/TouchState$PointerDownInfo;->clear()V
4970 PLcom/android/server/accessibility/gestures/TouchState$PointerDownInfo;->set(FFJ)V
4971 …rver/accessibility/gestures/TouchState$ReceivedPointerTracker;-><init>(Lcom/android/server/accessi…
4972 HPLcom/android/server/accessibility/gestures/TouchState$ReceivedPointerTracker;->clear()V
[all …]