Commit Graph

6 Commits

Author SHA1 Message Date
Elliott Hughes
a1a32b00e8 C++17 is the default now.
Test: builds
Change-Id: Id5e671844c2722adf9757d8f917109d0d74724d4
2018-12-11 09:56:56 -08:00
Andrii Kulian
84cdf9cc3b Support mouse pointer on external displays (2/3)
Limit mouse boundary to one display viewport.
Currently if desktop mode is enable, selects the topmost freeform display,
or find first external display if there is no freeform display.
Return the default display if desktop mode is not enable.

- Add getPointerDisplayId to find the preferred display.
- Limit update viewports from InputReader. Also implements updatePointerDisplay
  to find and associate with the specified display viewport.
- Reload cursor resources if resolution or display changed.

Bug: 113559891
Test: atest inputfliger_tests
Test: ActivityView test app
Change-Id: Ief3410a517be457dfe6f1180342bb1dc88833635
2018-12-10 21:01:05 +08:00
Prabir Pradhan
e5696a5ccc InputFlinger Split: Use libinputreader in InputManagerService
This changes native InputManagerService to use the new backend library
for inputflinger: libinputreader.

Bug: 119264687
Test: manual: Build, run, and test input (touch, mouse)
Change-Id: I619492d5492cd8444d7c2cc7af9717c19c938256
2018-11-19 18:10:48 -08:00
Siarhei Vishniakou
8027876f9f Refactor String8 to std::string calls
DisplayViewport::uniqueId is now std::string, so change the calls
appropriately. Do some additional cleanups and conversions.
This almost completely removes the dependency on String8.

Test: build only
Bug: 111108021
Change-Id: Ibbb6ca59e9061954d4a5fb930ef03d42cb0230db
2018-07-11 09:56:43 +01:00
Derek Sollenberger
d938e5a2e2 Reduce overhead by combining libskia and libhwui into a single library.
This is a multiproject change as we need to both the libraries
themselves as well as those that had dependencies on libskia.so

Bug: 31971097
Test: compile only
Change-Id: Ie6ff1f4682d03289205f4d6048cde9f95c61a90f
2017-07-24 09:42:07 -04:00
Colin Cross
3fc8f2df30 Convert libinputservice to Android.bp
See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: I3cd2bb05ec89c40ebd1240e352a19f99d00dc114
2017-04-19 17:39:21 -07:00