Lines Matching refs:deltaX
146 static void rotateDelta(int32_t orientation, float* deltaX, float* deltaY) { in rotateDelta() argument
150 temp = *deltaX; in rotateDelta()
151 *deltaX = *deltaY; in rotateDelta()
156 *deltaX = -*deltaX; in rotateDelta()
161 temp = *deltaX; in rotateDelta()
162 *deltaX = -*deltaY; in rotateDelta()
2553 float deltaX = mCursorMotionAccumulator.getRelativeX() * mXScale; in sync() local
2555 bool moved = deltaX != 0 || deltaY != 0; in sync()
2559 && (deltaX != 0.0f || deltaY != 0.0f)) { in sync()
2560 rotateDelta(mOrientation, &deltaX, &deltaY); in sync()
2579 mPointerVelocityControl.move(when, &deltaX, &deltaY); in sync()
2588 mPointerController->move(deltaX, deltaY); in sync()
2604 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync()
5236 float deltaX = (currentPointer.x - lastPointer.x) * mPointerXMovementScale; in preparePointerGestures() local
5239 rotateDelta(mSurfaceOrientation, &deltaX, &deltaY); in preparePointerGestures()
5240 mPointerVelocityControl.move(when, &deltaX, &deltaY); in preparePointerGestures()
5245 mPointerController->move(deltaX, deltaY); in preparePointerGestures()
5376 float deltaX = (currentPointer.x - lastPointer.x) in preparePointerGestures() local
5381 rotateDelta(mSurfaceOrientation, &deltaX, &deltaY); in preparePointerGestures()
5382 mPointerVelocityControl.move(when, &deltaX, &deltaY); in preparePointerGestures()
5386 mPointerController->move(deltaX, deltaY); in preparePointerGestures()
5748 float deltaX = (pointer.x - mPointerGesture.referenceTouchX) in preparePointerGestures() local
5752 rotateDelta(mSurfaceOrientation, &deltaX, &deltaY); in preparePointerGestures()
5760 AMOTION_EVENT_AXIS_X, mPointerGesture.referenceGestureX + deltaX); in preparePointerGestures()
5860 float deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x in dispatchPointerMouse() local
5867 rotateDelta(mSurfaceOrientation, &deltaX, &deltaY); in dispatchPointerMouse()
5868 mPointerVelocityControl.move(when, &deltaX, &deltaY); in dispatchPointerMouse()
5870 mPointerController->move(deltaX, deltaY); in dispatchPointerMouse()
6197 int64_t deltaX = currentPointer.x - lastPointer.x; in assignPointerIds() local
6200 uint64_t distance = uint64_t(deltaX * deltaX + deltaY * deltaY); in assignPointerIds()