Home
last modified time | relevance | path

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

/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 void InputReaderConfiguration::setDisplayViewports(const std::vector<DisplayViewport>& viewports) { in setDisplayViewports()
107 for (const DisplayViewport& viewport : mDisplays) { in dump()
[all …]
DInputReader.h870 std::optional<DisplayViewport> mViewport;
1289 DisplayViewport mViewport;
1585 std::optional<DisplayViewport> findViewport();
DInputReader.cpp2651 std::optional<DisplayViewport> internalViewport = in configure()
2990 std::optional<DisplayViewport> internalViewport = in configure()
3458 std::optional<DisplayViewport> TouchInputMapper::findViewport() { in findViewport()
3463 std::optional<DisplayViewport> v = mConfig.getDisplayViewportByPort(*displayPort); in findViewport()
3483 std::optional<DisplayViewport> viewport = in findViewport()
3495 DisplayViewport newViewport; in findViewport()
3543 std::optional<DisplayViewport> newViewport = findViewport(); in configureSurface()
/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/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/services/inputflinger/include/
DInputReaderBase.h273 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const;
274 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueDisplayId)
276 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const;
277 void setDisplayViewports(const std::vector<DisplayViewport>& viewports);
281 void dumpViewport(std::string& dump, const DisplayViewport& viewport) const;
284 std::vector<DisplayViewport> mDisplays;
/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<>();
1402 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked()
1406 + DisplayViewport.typeToString(viewportType)); in getViewportLocked()
1417 DisplayViewport viewport; in getViewportLocked()
1427 viewport = new DisplayViewport(); in getViewportLocked()
[all …]
DDisplayDeviceInfo.java19 import android.hardware.display.DisplayViewport;
/frameworks/base/libs/input/
DPointerController.h111 void setDisplayViewport(const DisplayViewport& viewport);
161 DisplayViewport viewport;
DPointerController.cpp364 static void getNonRotatedSize(const DisplayViewport& viewport, int32_t& width, int32_t& height) { in getNonRotatedSize()
374 void PointerController::setDisplayViewport(const DisplayViewport& viewport) { in setDisplayViewport()
380 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp286 std::vector<DisplayViewport> viewports;
321 const DisplayViewport* findDisplayViewportLocked(int32_t displayId);
399 const DisplayViewport* NativeInputManager::findDisplayViewportLocked(int32_t displayId) in findDisplayViewportLocked()
401 for (const DisplayViewport& v : mLocked.viewports) { in findDisplayViewportLocked()
410 std::vector<DisplayViewport> viewports; in setDisplayViewports()
420 DisplayViewport viewport; in setDisplayViewports()
595 const DisplayViewport* viewport = findDisplayViewportLocked(mLocked.pointerDisplayId); in updatePointerDisplayLocked()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java41 import android.hardware.display.DisplayViewport;
195 DisplayViewport[] viewports); in nativeSetDisplayViewports()
413 private void setDisplayViewportsInternal(List<DisplayViewport> viewports) { in setDisplayViewportsInternal()
414 nativeSetDisplayViewports(mPtr, viewports.toArray(new DisplayViewport[0])); in setDisplayViewportsInternal()
2285 public void setDisplayViewports(List<DisplayViewport> viewports) { in setDisplayViewports()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp162 std::vector<DisplayViewport> mViewports;
177 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueId) const { in getDisplayViewportByUniqueId()
180 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType()
184 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort()
191 const DisplayViewport viewport = createDisplayViewport(displayId, width, height, in addDisplayViewport()
251 DisplayViewport createDisplayViewport(int32_t displayId, int32_t width, int32_t height, in createDisplayViewport()
256 DisplayViewport v; in createDisplayViewport()
875 std::optional<DisplayViewport> mViewport;
1079 std::optional<DisplayViewport> internalViewport = in TEST_F()
1127 std::optional<DisplayViewport> internalViewport = in TEST_F()
[all …]
/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;
33738 Landroid/hardware/display/DisplayViewport;
Dhiddenapi-greylist-max-o.txt24283 Landroid/hardware/display/DisplayViewport;
24284 Landroid/hardware/display/DisplayViewport;-><init>()V
24285 Landroid/hardware/display/DisplayViewport;->copyFrom(Landroid/hardware/display/DisplayViewport;)V
24286 Landroid/hardware/display/DisplayViewport;->deviceHeight:I
24287 Landroid/hardware/display/DisplayViewport;->deviceWidth:I
24288 Landroid/hardware/display/DisplayViewport;->displayId:I
24289 Landroid/hardware/display/DisplayViewport;->logicalFrame:Landroid/graphics/Rect;
24290 Landroid/hardware/display/DisplayViewport;->makeCopy()Landroid/hardware/display/DisplayViewport;
24291 Landroid/hardware/display/DisplayViewport;->orientation:I
24292 Landroid/hardware/display/DisplayViewport;->physicalFrame:Landroid/graphics/Rect;
[all …]
/frameworks/base/services/
Dart-profile6644 …/server/display/DisplayDevice;->populateViewportLocked(Landroid/hardware/display/DisplayViewport;)V
6706 …ayManagerService;->getViewportLocked(ILjava/lang/String;)Landroid/hardware/display/DisplayViewport;