Home
last modified time | relevance | path

Searched refs:mViewport (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java59 private final Rect mViewport = new Rect(); field in ImageWallpaperRenderer
184 mViewport.set((int) (left + width * offset), (int) (top + height * offset), in scaleViewport()
186 glViewport(mViewport.left, mViewport.top, mViewport.right, mViewport.bottom); in scaleViewport()
237 out.print(prefix); out.print("mViewport="); out.print(mViewport); in dump()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp677 bool viewportChanged = mViewport != *newViewport; in configureSurface()
679 mViewport = *newViewport; in configureSurface()
687 switch (mViewport.orientation) { in configureSurface()
689 naturalLogicalWidth = mViewport.logicalBottom - mViewport.logicalTop; in configureSurface()
690 naturalLogicalHeight = mViewport.logicalRight - mViewport.logicalLeft; in configureSurface()
691 naturalPhysicalWidth = mViewport.physicalBottom - mViewport.physicalTop; in configureSurface()
692 naturalPhysicalHeight = mViewport.physicalRight - mViewport.physicalLeft; in configureSurface()
693 naturalPhysicalLeft = mViewport.deviceHeight - mViewport.physicalBottom; in configureSurface()
694 naturalPhysicalTop = mViewport.physicalLeft; in configureSurface()
695 naturalDeviceWidth = mViewport.deviceHeight; in configureSurface()
[all …]
DKeyboardInputMapper.cpp100 if (mViewport) { in getOrientation()
101 return mViewport->orientation; in getOrientation()
107 if (mViewport) { in getDisplayId()
108 return mViewport->displayId; in getDisplayId()
141 mViewport = config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure()
DKeyboardInputMapper.h46 std::optional<DisplayViewport> mViewport;
DTouchInputMapper.h473 DisplayViewport mViewport;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp887 std::optional<DisplayViewport> mViewport; member in android::FakeInputMapper
962 mViewport = config->getDisplayViewportByPort(*displayPort); in configure()
1012 if (mViewport) { in getAssociatedDisplay()
1013 return std::make_optional(mViewport->displayId); in getAssociatedDisplay()