Home
last modified time | relevance | path

Searched refs:DisplayViewport (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp52 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByUniqueId( in getDisplayViewportByUniqueId()
59 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByUniqueId()
60 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId()
73 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType()
76 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByType()
77 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType()
91 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByPort( in getDisplayViewportByPort()
93 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort()
102 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportById( in getDisplayViewportById()
104 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java38 public final class DisplayViewport { class
80 public void copyFrom(DisplayViewport viewport) { in copyFrom()
96 public DisplayViewport makeCopy() { in makeCopy()
97 DisplayViewport dv = new DisplayViewport(); in makeCopy()
108 if (!(o instanceof DisplayViewport)) { in equals()
112 DisplayViewport other = (DisplayViewport) o; in equals()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h276 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const;
277 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueDisplayId)
279 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
280 std::optional<DisplayViewport> getDisplayViewportById(int32_t displayId) const;
281 void setDisplayViewports(const std::vector<DisplayViewport>& viewports);
285 void dumpViewport(std::string& dump, const DisplayViewport& viewport) const;
288 std::vector<DisplayViewport> mDisplays;
DPointerControllerInterface.h107 virtual void setDisplayViewport(const DisplayViewport& displayViewport) = 0;
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java33 import android.hardware.display.DisplayViewport;
148 ArgumentCaptor<List<DisplayViewport>> viewportCaptor = ArgumentCaptor.forClass(List.class); in testCreateVirtualDisplay_sentToInputManager()
150 List<DisplayViewport> viewports = viewportCaptor.getValue(); in testCreateVirtualDisplay_sentToInputManager()
155 DisplayViewport virtualViewport = null; in testCreateVirtualDisplay_sentToInputManager()
156 DisplayViewport internalViewport = null; in testCreateVirtualDisplay_sentToInputManager()
158 DisplayViewport v = viewports.get(i); in testCreateVirtualDisplay_sentToInputManager()
160 case DisplayViewport.VIEWPORT_INTERNAL: { in testCreateVirtualDisplay_sentToInputManager()
164 case DisplayViewport.VIEWPORT_EXTERNAL: { in testCreateVirtualDisplay_sentToInputManager()
168 case DisplayViewport.VIEWPORT_VIRTUAL: { in testCreateVirtualDisplay_sentToInputManager()
212 ArgumentCaptor<List<DisplayViewport>> viewportCaptor = ArgumentCaptor.forClass(List.class); in testPhysicalViewports()
[all …]
/frameworks/native/include/input/
DDisplayViewport.h57 struct DisplayViewport { struct
76 DisplayViewport() : in DisplayViewport() argument
84 bool operator==(const DisplayViewport& other) const {
102 bool operator!=(const DisplayViewport& other) const {
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java19 import android.hardware.display.DisplayViewport;
43 public abstract void setDisplayViewports(List<DisplayViewport> viewports); in setDisplayViewports()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.h30 DisplayViewport* viewport);
Dandroid_hardware_display_DisplayViewport.cpp57 DisplayViewport* viewport) { in android_hardware_display_DisplayViewport_toNative()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java20 import android.hardware.display.DisplayViewport;
217 public final void populateViewportLocked(DisplayViewport viewport) { in populateViewportLocked()
DDisplayManagerService.java28 import static android.hardware.display.DisplayViewport.VIEWPORT_EXTERNAL;
29 import static android.hardware.display.DisplayViewport.VIEWPORT_INTERNAL;
30 import static android.hardware.display.DisplayViewport.VIEWPORT_VIRTUAL;
53 import android.hardware.display.DisplayViewport;
269 private final ArrayList<DisplayViewport> mViewports = new ArrayList<>();
283 private final ArrayList<DisplayViewport> mTempViewports = new ArrayList<>();
1404 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked()
1408 + DisplayViewport.typeToString(viewportType)); in getViewportLocked()
1419 DisplayViewport viewport; in getViewportLocked()
1429 viewport = new DisplayViewport(); in getViewportLocked()
[all …]
DDisplayDeviceInfo.java19 import android.hardware.display.DisplayViewport;
/frameworks/base/libs/input/
DPointerController.h101 virtual void setDisplayViewport(const DisplayViewport& viewport);
176 DisplayViewport viewport;
DPointerController.cpp369 static void getNonRotatedSize(const DisplayViewport& viewport, int32_t& width, int32_t& height) { in getNonRotatedSize()
379 void PointerController::setDisplayViewport(const DisplayViewport& viewport) { in setDisplayViewport()
385 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h46 std::optional<DisplayViewport> mViewport;
DRotaryEncoderInputMapper.cpp68 std::optional<DisplayViewport> internalViewport = in configure()
DCursorInputMapper.cpp184 std::optional<DisplayViewport> internalViewport = in configure()
201 std::optional<DisplayViewport> viewport = in updatePointerControllerDisplayViewport()
DTouchInputMapper.h473 DisplayViewport mViewport;
765 std::optional<DisplayViewport> findViewport();
DTouchInputMapper.cpp565 std::optional<DisplayViewport> TouchInputMapper::findViewport() { in findViewport()
570 std::optional<DisplayViewport> v = mConfig.getDisplayViewportByPort(*displayPort); in findViewport()
580 std::optional<DisplayViewport> viewport = in findViewport()
602 std::optional<DisplayViewport> viewport = in findViewport()
614 DisplayViewport newViewport; in findViewport()
663 std::optional<DisplayViewport> newViewport = findViewport(); in configureSurface()
776 std::optional<DisplayViewport> defaultViewport = in configureSurface()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp172 DisplayViewport viewport; in ensureDisplayViewportIsSet()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java41 import android.hardware.display.DisplayViewport;
200 DisplayViewport[] viewports); in nativeSetDisplayViewports()
428 private void setDisplayViewportsInternal(List<DisplayViewport> viewports) { in setDisplayViewportsInternal()
429 nativeSetDisplayViewports(mPtr, viewports.toArray(new DisplayViewport[0])); in setDisplayViewportsInternal()
2362 public void setDisplayViewports(List<DisplayViewport> viewports) { in setDisplayViewports()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp110 virtual void setDisplayViewport(const DisplayViewport& viewport) { in setDisplayViewport()
170 std::vector<DisplayViewport> mViewports;
185 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueId) const { in getDisplayViewportByUniqueId()
188 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType()
192 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort()
199 const DisplayViewport viewport = createDisplayViewport(displayId, width, height, in addDisplayViewport()
263 DisplayViewport createDisplayViewport(int32_t displayId, int32_t width, int32_t height, in createDisplayViewport()
268 DisplayViewport v; in createDisplayViewport()
887 std::optional<DisplayViewport> mViewport;
1091 std::optional<DisplayViewport> internalViewport = in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp288 std::vector<DisplayViewport> viewports;
401 std::vector<DisplayViewport> viewports; in setDisplayViewports()
411 DisplayViewport viewport; in setDisplayViewports()
/frameworks/base/config/
Dboot-image-profile.txt7228 HSPLandroid/hardware/display/DisplayViewport;-><init>()V
7229 HSPLandroid/hardware/display/DisplayViewport;->copyFrom(Landroid/hardware/display/DisplayViewport;)V
7230 HSPLandroid/hardware/display/DisplayViewport;->equals(Ljava/lang/Object;)Z
7231 HSPLandroid/hardware/display/DisplayViewport;->makeCopy()Landroid/hardware/display/DisplayViewport;
33737 Landroid/hardware/display/DisplayViewport;
Dhiddenapi-greylist-max-o.txt22745 Landroid/hardware/display/DisplayViewport;-><init>()V
22746 Landroid/hardware/display/DisplayViewport;->copyFrom(Landroid/hardware/display/DisplayViewport;)V
22747 Landroid/hardware/display/DisplayViewport;->deviceHeight:I
22748 Landroid/hardware/display/DisplayViewport;->deviceWidth:I
22749 Landroid/hardware/display/DisplayViewport;->displayId:I
22750 Landroid/hardware/display/DisplayViewport;->logicalFrame:Landroid/graphics/Rect;
22751 Landroid/hardware/display/DisplayViewport;->makeCopy()Landroid/hardware/display/DisplayViewport;
22752 Landroid/hardware/display/DisplayViewport;->orientation:I
22753 Landroid/hardware/display/DisplayViewport;->physicalFrame:Landroid/graphics/Rect;
22754 Landroid/hardware/display/DisplayViewport;->uniqueId:Ljava/lang/String;
[all …]

12