Searched refs:ViewportType (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/include/input/ |
D | DisplayViewport.h | 34 enum class ViewportType : int32_t { enum 40 static const char* viewportTypeToString(ViewportType type) { in viewportTypeToString() 42 case ViewportType::VIEWPORT_INTERNAL: in viewportTypeToString() 44 case ViewportType::VIEWPORT_EXTERNAL: in viewportTypeToString() 46 case ViewportType::VIEWPORT_VIRTUAL: in viewportTypeToString() 74 ViewportType type; 81 type(ViewportType::VIEWPORT_INTERNAL) { in DisplayViewport() 125 type = ViewportType::VIEWPORT_INTERNAL; in setNonDisplayViewport()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 47 public @interface ViewportType {}; annotation in DisplayViewport 78 public @ViewportType int type; 161 public static String typeToString(@ViewportType int viewportType) { in typeToString()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 188 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType() 198 ViewportType viewportType) { in addDisplayViewport() 265 ViewportType type) { in createDisplayViewport() 1092 mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1097 DISPLAY_ORIENTATION_0, uniqueId, NO_PORT, ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1102 ASSERT_EQ(ViewportType::VIEWPORT_INTERNAL, internalViewport->type); in TEST_F() 1105 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1113 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1127 DISPLAY_ORIENTATION_0, internalUniqueId, NO_PORT, ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1130 DISPLAY_ORIENTATION_0, externalUniqueId, NO_PORT, ViewportType::VIEWPORT_EXTERNAL); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | RotaryEncoderInputMapper.cpp | 69 config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure()
|
D | KeyboardInputMapper.cpp | 141 mViewport = config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure()
|
D | CursorInputMapper.cpp | 185 config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure()
|
D | TouchInputMapper.cpp | 595 ViewportType viewportTypeToUse; in findViewport() 597 viewportTypeToUse = ViewportType::VIEWPORT_EXTERNAL; in findViewport() 599 viewportTypeToUse = ViewportType::VIEWPORT_INTERNAL; in findViewport() 604 if (!viewport && viewportTypeToUse == ViewportType::VIEWPORT_EXTERNAL) { in findViewport() 608 viewport = mConfig.getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in findViewport()
|
/frameworks/native/services/inputflinger/ |
D | InputReaderBase.cpp | 73 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
|
/frameworks/base/core/jni/ |
D | android_hardware_display_DisplayViewport.cpp | 78 viewport->type = static_cast<ViewportType>(env->GetIntField(viewportObj, in android_hardware_display_DisplayViewport_toNative()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 276 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const;
|