Home
last modified time | relevance | path

Searched refs:touchState (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/input/
DInputTransport.cpp606 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local
607 touchState.initialize(deviceId, source); in updateTouchState()
608 touchState.addHistory(msg); in updateTouchState()
615 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local
616 touchState.addHistory(msg); in updateTouchState()
617 rewriteMessage(touchState, msg); in updateTouchState()
625 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local
626 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState()
627 rewriteMessage(touchState, msg); in updateTouchState()
635 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchGesture.java27 void onDown(PipTouchState touchState) {} in onDown() argument
32 boolean onMove(PipTouchState touchState) { in onMove() argument
39 boolean onUp(PipTouchState touchState) { in onUp() argument
DPipTouchHandler.java583 public void onDown(PipTouchState touchState) {
584 if (!touchState.isUserInteracting()) {
593 mMovementWithinDismiss = touchState.getDownTouchPosition().y >= mMovementBounds.bottom;
608 boolean onMove(PipTouchState touchState) {
609 if (!touchState.isUserInteracting()) {
613 if (touchState.startedDragging()) {
622 if (touchState.isDragging()) {
624 final PointF lastDelta = touchState.getLastTouchDelta();
629 if (!touchState.allowDraggingOffscreen() || !ENABLE_MINIMIZE) {
651 final PointF curPos = touchState.getLastTouchPosition();
[all …]