Searched refs:mViewport (Results 1 – 5 of 5) sorted by relevance
108 if (mViewport) { in getOrientation()109 return mViewport->orientation; in getOrientation()115 if (mViewport) { in getDisplayId()116 return mViewport->displayId; in getDisplayId()182 mViewport = findViewport(config); in reconfigure()471 if (mViewport) { in getAssociatedDisplayId()472 return std::make_optional(mViewport->displayId); in getAssociatedDisplayId()
871 const auto viewportRotation = ui::Transform::toRotationFlags(-mViewport.orientation); in computeInputTransforms()891 const float xScale = static_cast<float>(mViewport.deviceWidth) / rotatedRawSize.width; in computeInputTransforms()892 const float yScale = static_cast<float>(mViewport.deviceHeight) / rotatedRawSize.height; in computeInputTransforms()905 ui::Transform(viewportRotation, mViewport.deviceWidth, mViewport.deviceHeight) in computeInputTransforms()977 DisplayViewport tempViewport = mViewport; in configureInputDevice()981 viewportChanged = mViewport != newViewport; in configureInputDevice()986 const bool viewportOrientationChanged = mViewport.orientation != newViewport.orientation; in configureInputDevice()987 const bool viewportDisplayIdChanged = mViewport.displayId != newViewport.displayId; in configureInputDevice()988 mViewport = newViewport; in configureInputDevice()993 mDisplayBounds = getNaturalDisplaySize(mViewport); in configureInputDevice()[all …]
54 std::optional<DisplayViewport> mViewport{};
419 DisplayViewport mViewport;
177 std::optional<DisplayViewport> mViewport; member in android::FakeInputMapper298 mViewport = config.getDisplayViewportByPort(*displayPort); in reconfigure()362 if (mViewport) { in getAssociatedDisplay()363 return std::make_optional(mViewport->displayId); in getAssociatedDisplay()