/frameworks/native/services/inputflinger/ |
D | InputReaderBase.cpp | 52 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/ |
D | DisplayViewport.java | 38 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/ |
D | InputReaderBase.h | 276 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;
|
D | PointerControllerInterface.h | 107 virtual void setDisplayViewport(const DisplayViewport& displayViewport) = 0;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 33 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/ |
D | DisplayViewport.h | 57 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/ |
D | InputManagerInternal.java | 19 import android.hardware.display.DisplayViewport; 43 public abstract void setDisplayViewports(List<DisplayViewport> viewports); in setDisplayViewports()
|
/frameworks/base/core/jni/ |
D | android_hardware_display_DisplayViewport.h | 30 DisplayViewport* viewport);
|
D | android_hardware_display_DisplayViewport.cpp | 57 DisplayViewport* viewport) { in android_hardware_display_DisplayViewport_toNative()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 20 import android.hardware.display.DisplayViewport; 217 public final void populateViewportLocked(DisplayViewport viewport) { in populateViewportLocked()
|
D | DisplayManagerService.java | 28 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 …]
|
D | DisplayDeviceInfo.java | 19 import android.hardware.display.DisplayViewport;
|
/frameworks/base/libs/input/ |
D | PointerController.h | 101 virtual void setDisplayViewport(const DisplayViewport& viewport); 176 DisplayViewport viewport;
|
D | PointerController.cpp | 369 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/ |
D | KeyboardInputMapper.h | 46 std::optional<DisplayViewport> mViewport;
|
D | RotaryEncoderInputMapper.cpp | 68 std::optional<DisplayViewport> internalViewport = in configure()
|
D | CursorInputMapper.cpp | 184 std::optional<DisplayViewport> internalViewport = in configure() 201 std::optional<DisplayViewport> viewport = in updatePointerControllerDisplayViewport()
|
D | TouchInputMapper.h | 473 DisplayViewport mViewport; 765 std::optional<DisplayViewport> findViewport();
|
D | TouchInputMapper.cpp | 565 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/ |
D | PointerController_test.cpp | 172 DisplayViewport viewport; in ensureDisplayViewportIsSet()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 41 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/ |
D | InputReader_test.cpp | 110 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/ |
D | com_android_server_input_InputManagerService.cpp | 288 std::vector<DisplayViewport> viewports; 401 std::vector<DisplayViewport> viewports; in setDisplayViewports() 411 DisplayViewport viewport; in setDisplayViewports()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 7228 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;
|
D | hiddenapi-greylist-max-o.txt | 22745 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 …]
|