/frameworks/native/services/inputflinger/ |
D | InputReaderBase.cpp | 82 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByUniqueId( in getDisplayViewportByUniqueId() 89 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByUniqueId() 90 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() 103 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType() 106 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByType() 107 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() 125 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByPort( in getDisplayViewportByPort() 127 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() 136 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportById( in getDisplayViewportById() 138 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportById() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 39 public final class DisplayViewport { class 84 public void copyFrom(DisplayViewport viewport) { in copyFrom() 101 public DisplayViewport makeCopy() { in makeCopy() 102 DisplayViewport dv = new DisplayViewport(); in makeCopy() 113 if (!(o instanceof DisplayViewport)) { in equals() 117 DisplayViewport other = (DisplayViewport) o; in equals()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 314 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const; 315 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueDisplayId) 317 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const; 318 std::optional<DisplayViewport> getDisplayViewportById(int32_t displayId) const; 319 void setDisplayViewports(const std::vector<DisplayViewport>& viewports); 323 void dumpViewport(std::string& dump, const DisplayViewport& viewport) const; 326 std::vector<DisplayViewport> mDisplays;
|
D | PointerControllerInterface.h | 107 virtual void setDisplayViewport(const DisplayViewport& displayViewport) = 0;
|
/frameworks/native/include/input/ |
D | DisplayViewport.h | 56 struct DisplayViewport { struct 76 DisplayViewport() in DisplayViewport() argument 94 bool operator==(const DisplayViewport& other) const { 105 bool operator!=(const DisplayViewport& other) const {
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManagerInternal.java | 21 import android.hardware.display.DisplayViewport; 38 public abstract void setDisplayViewports(List<DisplayViewport> viewports); in setDisplayViewports()
|
/frameworks/base/libs/input/ |
D | MouseCursorController.h | 55 void setDisplayViewport(const DisplayViewport& viewport, bool getAdditionalMouseResources); 76 DisplayViewport viewport;
|
D | PointerController.h | 61 virtual void setDisplayViewport(const DisplayViewport& viewport); 73 void onDisplayViewportsUpdated(std::vector<DisplayViewport>& viewports);
|
D | PointerController.cpp | 251 void PointerController::setDisplayViewport(const DisplayViewport& viewport) { in setDisplayViewport() 281 void PointerController::onDisplayViewportsUpdated(std::vector<DisplayViewport>& viewports) { in onDisplayViewportsUpdated() 283 for (const DisplayViewport& viewport : viewports) { in onDisplayViewportsUpdated()
|
D | MouseCursorController.cpp | 203 static void getNonRotatedSize(const DisplayViewport& viewport, int32_t& width, int32_t& height) { in getNonRotatedSize() 213 void MouseCursorController::setDisplayViewport(const DisplayViewport& viewport, in setDisplayViewport() 221 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.h | 50 std::optional<DisplayViewport> mViewport; 99 std::optional<DisplayViewport> findViewport(nsecs_t when,
|
D | RotaryEncoderInputMapper.cpp | 70 std::optional<DisplayViewport> internalViewport = in configure()
|
D | TouchInputMapper.h | 430 DisplayViewport mViewport; 743 std::optional<DisplayViewport> findViewport();
|
D | KeyboardInputMapper.cpp | 133 std::optional<DisplayViewport> KeyboardInputMapper::findViewport( in findViewport()
|
/frameworks/base/core/jni/ |
D | android_hardware_display_DisplayViewport.h | 30 DisplayViewport* viewport);
|
D | android_hardware_display_DisplayViewport.cpp | 58 DisplayViewport* viewport) { in android_hardware_display_DisplayViewport_toNative()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 49 import android.hardware.display.DisplayViewport; 232 ArgumentCaptor<List<DisplayViewport>> viewportCaptor = ArgumentCaptor.forClass(List.class); in testCreateVirtualDisplay_sentToInputManager() 234 List<DisplayViewport> viewports = viewportCaptor.getValue(); in testCreateVirtualDisplay_sentToInputManager() 239 DisplayViewport virtualViewport = null; in testCreateVirtualDisplay_sentToInputManager() 240 DisplayViewport internalViewport = null; in testCreateVirtualDisplay_sentToInputManager() 242 DisplayViewport v = viewports.get(i); in testCreateVirtualDisplay_sentToInputManager() 244 case DisplayViewport.VIEWPORT_INTERNAL: { in testCreateVirtualDisplay_sentToInputManager() 251 case DisplayViewport.VIEWPORT_EXTERNAL: { in testCreateVirtualDisplay_sentToInputManager() 256 case DisplayViewport.VIEWPORT_VIRTUAL: { in testCreateVirtualDisplay_sentToInputManager() 295 Display.TYPE_INTERNAL, DisplayViewport.VIEWPORT_INTERNAL, in testPhysicalViewports() [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 20 import android.hardware.display.DisplayViewport; 45 void setDisplayViewports(DisplayViewport[] viewports); in setDisplayViewports() 210 public native void setDisplayViewports(DisplayViewport[] viewports); in setDisplayViewports()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
D | InputManagerServiceTests.kt | 21 import android.hardware.display.DisplayViewport 97 val viewports = listOf<DisplayViewport>() in testPointerDisplayUpdatesWhenDisplayViewportsChanged() 99 verify(native).setDisplayViewports(any(Array<DisplayViewport>::class.java)) in testPointerDisplayUpdatesWhenDisplayViewportsChanged()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 23 import android.hardware.display.DisplayViewport; 342 public final void populateViewportLocked(DisplayViewport viewport) { in populateViewportLocked()
|
D | DisplayManagerService.java | 35 import static android.hardware.display.DisplayViewport.VIEWPORT_EXTERNAL; 36 import static android.hardware.display.DisplayViewport.VIEWPORT_INTERNAL; 37 import static android.hardware.display.DisplayViewport.VIEWPORT_VIRTUAL; 73 import android.hardware.display.DisplayViewport; 394 private final ArrayList<DisplayViewport> mViewports = new ArrayList<>(); 405 private final ArrayList<DisplayViewport> mTempViewports = new ArrayList<>(); 2324 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { in getViewportLocked() 2328 + DisplayViewport.typeToString(viewportType)); in getViewportLocked() 2332 DisplayViewport viewport; in getViewportLocked() 2342 viewport = new DisplayViewport(); in getViewportLocked() [all …]
|
D | DisplayDeviceInfo.java | 20 import android.hardware.display.DisplayViewport;
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 67 inline std::optional<DisplayViewport> getAssociatedViewport() const { in getAssociatedViewport() 177 std::optional<DisplayViewport> mAssociatedViewport; 395 inline std::optional<DisplayViewport> getAssociatedViewport() const { in getAssociatedViewport()
|
/frameworks/base/libs/input/tests/ |
D | PointerController_test.cpp | 182 DisplayViewport viewport; in ensureDisplayViewportIsSet()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 205 void setDisplayViewport(const DisplayViewport& viewport) override { in setDisplayViewport() 265 std::vector<DisplayViewport> mViewports; 296 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueId) const { in getDisplayViewportByUniqueId() 299 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType() 303 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort() 307 void addDisplayViewport(DisplayViewport viewport) { in addDisplayViewport() 317 DisplayViewport v; in addDisplayViewport() 338 bool updateViewport(const DisplayViewport& viewport) { in updateViewport() 341 const DisplayViewport& currentViewport = mViewports[i]; in updateViewport() 1098 std::optional<DisplayViewport> mViewport; [all …]
|