Home
last modified time | relevance | path

Searched refs:viewports (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReaderBase.cpp105 void InputReaderConfiguration::setDisplayViewports(const std::vector<DisplayViewport>& viewports) { in setDisplayViewports() argument
106 mDisplays = viewports; in setDisplayViewports()
DPointerChoreographer.h59 virtual void setDisplayViewports(const std::vector<DisplayViewport>& viewports) = 0;
96 void setDisplayViewports(const std::vector<DisplayViewport>& viewports) override;
DPointerChoreographer.cpp689 void PointerChoreographer::setDisplayViewports(const std::vector<DisplayViewport>& viewports) { in setDisplayViewports() argument
694 for (const auto& viewport : viewports) { in setDisplayViewports()
713 mViewports = viewports; in setDisplayViewports()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerInternal.java43 public abstract void setDisplayViewports(List<DisplayViewport> viewports); in setDisplayViewports() argument
DNativeInputManagerService.java43 void setDisplayViewports(DisplayViewport[] viewports); in setDisplayViewports() argument
297 public native void setDisplayViewports(DisplayViewport[] viewports); in setDisplayViewports() argument
DInputManagerService.java588 private void setDisplayViewportsInternal(List<DisplayViewport> viewports) { in setDisplayViewportsInternal() argument
589 final DisplayViewport[] vArray = new DisplayViewport[viewports.size()]; in setDisplayViewportsInternal()
590 for (int i = viewports.size() - 1; i >= 0; --i) { in setDisplayViewportsInternal()
591 vArray[i] = viewports.get(i); in setDisplayViewportsInternal()
3049 public void setDisplayViewports(List<DisplayViewport> viewports) { in setDisplayViewports() argument
3050 setDisplayViewportsInternal(viewports); in setDisplayViewports()
/frameworks/base/tests/Input/src/com/android/server/input/
DInputManagerServiceTests.kt168 val viewports = listOf<DisplayViewport>() in testPointerDisplayUpdatesWhenDisplayViewportsChanged() constant
169 localService.setDisplayViewports(viewports) in testPointerDisplayUpdatesWhenDisplayViewportsChanged()
/frameworks/base/libs/input/
DPointerController.cpp305 void PointerController::onDisplayViewportsUpdated(const std::vector<DisplayViewport>& viewports) { in onDisplayViewportsUpdated() argument
307 for (const DisplayViewport& viewport : viewports) { in onDisplayViewportsUpdated()
DPointerController.h75 void onDisplayViewportsUpdated(const std::vector<DisplayViewport>& viewports);
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h280 void setDisplayViewports(const std::vector<DisplayViewport>& viewports);
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp399 std::vector<DisplayViewport> viewports{}; member
524 std::vector<DisplayViewport> viewports; in setDisplayViewports() local
538 viewports.push_back(viewport); in setDisplayViewports()
546 mLocked.viewports = viewports; in setDisplayViewports()
548 [&viewports](PointerController& pc) { pc.onDisplayViewportsUpdated(viewports); }); in setDisplayViewports()
551 mInputManager->getChoreographer().setDisplayViewports(viewports); in setDisplayViewports()
694 outConfig->setDisplayViewports(mLocked.viewports); in getReaderConfiguration()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java474 List<DisplayViewport> viewports = viewportCaptor.getValue();
477 assertTrue(viewports.size() >= 2);
481 for (int i = 0; i < viewports.size(); i++) {
482 DisplayViewport v = viewports.get(i);
549 List<DisplayViewport> viewports = viewportCaptor.getValue();
553 final int viewportSize = viewports.size();
559 DisplayViewport viewport = viewports.get(i);
/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp78 std::vector<DisplayViewport> viewports; in createViewports() local
84 viewports.push_back(viewport); in createViewports()
86 return viewports; in createViewports()