Home
last modified time | relevance | path

Searched refs:ViewportType (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/include/input/
DDisplayViewport.h42 enum class ViewportType : int32_t { enum
70 ViewportType type;
88 type(ViewportType::INTERNAL) {} in DisplayViewport()
125 type = ViewportType::INTERNAL; in setNonDisplayViewport()
/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java48 public @interface ViewportType {}; annotation in DisplayViewport
82 public @ViewportType int type;
171 public static String typeToString(@ViewportType int viewportType) { in typeToString()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp100 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
108 (type == ViewportType::INTERNAL && in getDisplayViewportByType()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp232 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType()
242 std::optional<uint8_t> physicalPort, ViewportType viewportType) { in addDisplayViewport()
320 std::optional<uint8_t> physicalPort, ViewportType type) { in createDisplayViewport()
1257 mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
1263 ViewportType::INTERNAL); in TEST_F()
1268 ASSERT_EQ(ViewportType::INTERNAL, internalViewport->type); in TEST_F()
1271 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
1279 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
1294 NO_PORT, ViewportType::INTERNAL); in TEST_F()
1298 NO_PORT, ViewportType::EXTERNAL); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp71 config->getDisplayViewportByType(ViewportType::INTERNAL); in configure()
DCursorInputMapper.cpp204 config->getDisplayViewportByType(ViewportType::INTERNAL); in configure()
214 config->getDisplayViewportByType(ViewportType::INTERNAL); in configure()
DKeyboardInputMapper.cpp141 return config->getDisplayViewportByType(ViewportType::INTERNAL); in findViewport()
DTouchInputMapper.cpp571 ViewportType viewportTypeToUse; in findViewport()
573 viewportTypeToUse = ViewportType::EXTERNAL; in findViewport()
575 viewportTypeToUse = ViewportType::INTERNAL; in findViewport()
580 if (!viewport && viewportTypeToUse == ViewportType::EXTERNAL) { in findViewport()
584 viewport = mConfig.getDisplayViewportByType(ViewportType::INTERNAL); in findViewport()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp80 viewport->type = static_cast<ViewportType>(env->GetIntField(viewportObj, in android_hardware_display_DisplayViewport_toNative()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h308 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const;