Searched refs:ViewportType (Results 1 – 7 of 7) 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/ |
D | InputReaderBase.cpp | 73 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
|
D | InputReader.cpp | 2242 mViewport = config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure() 2652 config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure() 2991 config->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in configure() 3476 ViewportType viewportTypeToUse; in findViewport() 3478 viewportTypeToUse = ViewportType::VIEWPORT_EXTERNAL; in findViewport() 3480 viewportTypeToUse = ViewportType::VIEWPORT_INTERNAL; in findViewport() 3485 if (!viewport && viewportTypeToUse == ViewportType::VIEWPORT_EXTERNAL) { in findViewport() 3489 viewport = mConfig.getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in findViewport()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 180 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType() 190 ViewportType viewportType) { in addDisplayViewport() 253 ViewportType type) { in createDisplayViewport() 1080 mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1085 DISPLAY_ORIENTATION_0, uniqueId, NO_PORT, ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1090 ASSERT_EQ(ViewportType::VIEWPORT_INTERNAL, internalViewport->type); in TEST_F() 1093 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1101 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1115 DISPLAY_ORIENTATION_0, internalUniqueId, NO_PORT, ViewportType::VIEWPORT_INTERNAL); in TEST_F() 1118 DISPLAY_ORIENTATION_0, externalUniqueId, NO_PORT, ViewportType::VIEWPORT_EXTERNAL); in TEST_F() [all …]
|
/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 | 273 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const;
|