/frameworks/native/services/inputflinger/ |
D | InputReaderBase.cpp | 79 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByUniqueId( in getDisplayViewportByUniqueId() 86 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByUniqueId() 87 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByUniqueId() 100 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByType(ViewportType type) in getDisplayViewportByType() 103 std::optional<DisplayViewport> result = std::nullopt; in getDisplayViewportByType() 104 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByType() 122 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportByPort( in getDisplayViewportByPort() 124 for (const DisplayViewport& currentViewport : mDisplays) { in getDisplayViewportByPort() 133 std::optional<DisplayViewport> InputReaderConfiguration::getDisplayViewportById( in getDisplayViewportById() 135 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 | 308 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const; 309 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueDisplayId) 311 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t physicalPort) const; 312 std::optional<DisplayViewport> getDisplayViewportById(int32_t displayId) const; 313 void setDisplayViewports(const std::vector<DisplayViewport>& viewports); 317 void dumpViewport(std::string& dump, const DisplayViewport& viewport) const; 320 std::vector<DisplayViewport> mDisplays;
|
D | PointerControllerInterface.h | 107 virtual void setDisplayViewport(const DisplayViewport& displayViewport) = 0;
|
/frameworks/native/include/input/ |
D | DisplayViewport.h | 52 struct DisplayViewport { struct 72 DisplayViewport() in DisplayViewport() argument 90 bool operator==(const DisplayViewport& other) const { 101 bool operator!=(const DisplayViewport& other) const {
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManagerInternal.java | 20 import android.hardware.display.DisplayViewport; 45 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 | 171 void PointerController::setDisplayViewport(const DisplayViewport& viewport) { in setDisplayViewport() 195 void PointerController::onDisplayViewportsUpdated(std::vector<DisplayViewport>& viewports) { in onDisplayViewportsUpdated() 197 for (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/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 39 import android.hardware.display.DisplayViewport; 206 ArgumentCaptor<List<DisplayViewport>> viewportCaptor = ArgumentCaptor.forClass(List.class); in testCreateVirtualDisplay_sentToInputManager() 208 List<DisplayViewport> viewports = viewportCaptor.getValue(); in testCreateVirtualDisplay_sentToInputManager() 213 DisplayViewport virtualViewport = null; in testCreateVirtualDisplay_sentToInputManager() 214 DisplayViewport internalViewport = null; in testCreateVirtualDisplay_sentToInputManager() 216 DisplayViewport v = viewports.get(i); in testCreateVirtualDisplay_sentToInputManager() 218 case DisplayViewport.VIEWPORT_INTERNAL: { in testCreateVirtualDisplay_sentToInputManager() 225 case DisplayViewport.VIEWPORT_EXTERNAL: { in testCreateVirtualDisplay_sentToInputManager() 229 case DisplayViewport.VIEWPORT_VIRTUAL: { in testCreateVirtualDisplay_sentToInputManager() 272 ArgumentCaptor<List<DisplayViewport>> viewportCaptor = ArgumentCaptor.forClass(List.class); in testPhysicalViewports() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.h | 49 std::optional<DisplayViewport> mViewport; 98 std::optional<DisplayViewport> findViewport(nsecs_t when,
|
D | RotaryEncoderInputMapper.cpp | 70 std::optional<DisplayViewport> internalViewport = in configure()
|
D | CursorInputMapper.cpp | 203 std::optional<DisplayViewport> internalViewport = in configure() 213 std::optional<DisplayViewport> internalViewport = in configure()
|
D | TouchInputMapper.h | 410 DisplayViewport mViewport; 724 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/core/java/com/android/server/display/ |
D | DisplayDevice.java | 21 import android.hardware.display.DisplayViewport; 262 public final void populateViewportLocked(DisplayViewport viewport) { in populateViewportLocked()
|
D | DisplayManagerService.java | 33 import static android.hardware.display.DisplayViewport.VIEWPORT_EXTERNAL; 34 import static android.hardware.display.DisplayViewport.VIEWPORT_INTERNAL; 35 import static android.hardware.display.DisplayViewport.VIEWPORT_VIRTUAL; 68 import android.hardware.display.DisplayViewport; 362 private final ArrayList<DisplayViewport> mViewports = new ArrayList<>(); 373 private final ArrayList<DisplayViewport> mTempViewports = new ArrayList<>(); 1786 private DisplayViewport getViewportLocked(int viewportType, String uniqueId) { 1790 + DisplayViewport.typeToString(viewportType)); 1794 DisplayViewport viewport; 1804 viewport = new DisplayViewport(); [all …]
|
D | DisplayDeviceInfo.java | 20 import android.hardware.display.DisplayViewport;
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 64 inline std::optional<DisplayViewport> getAssociatedViewport() const { in getAssociatedViewport() 173 std::optional<DisplayViewport> mAssociatedViewport; 383 inline std::optional<DisplayViewport> getAssociatedViewport() const { in getAssociatedViewport()
|
/frameworks/base/libs/input/tests/ |
D | PointerController_test.cpp | 172 DisplayViewport viewport; in ensureDisplayViewportIsSet()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 46 import android.hardware.display.DisplayViewport; 284 DisplayViewport[] viewports); in nativeSetDisplayViewports() 596 private void setDisplayViewportsInternal(List<DisplayViewport> viewports) { in setDisplayViewportsInternal() 597 final DisplayViewport[] vArray = new DisplayViewport[viewports.size()]; in setDisplayViewportsInternal() 602 final DisplayViewport v = vArray[i] = viewports.get(i).makeCopy(); in setDisplayViewportsInternal() 3424 public void setDisplayViewports(List<DisplayViewport> viewports) { in setDisplayViewports()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 138 void setDisplayViewport(const DisplayViewport& viewport) override { in setDisplayViewport() 198 std::vector<DisplayViewport> mViewports; 229 std::optional<DisplayViewport> getDisplayViewportByUniqueId(const std::string& uniqueId) const { in getDisplayViewportByUniqueId() 232 std::optional<DisplayViewport> getDisplayViewportByType(ViewportType type) const { in getDisplayViewportByType() 236 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort() 243 const DisplayViewport viewport = in addDisplayViewport() 250 bool updateViewport(const DisplayViewport& viewport) { in updateViewport() 253 const DisplayViewport& currentViewport = mViewports[i]; in updateViewport() 317 DisplayViewport createDisplayViewport(int32_t displayId, int32_t width, int32_t height, in createDisplayViewport() 323 DisplayViewport v; in createDisplayViewport() [all …]
|