b0608636a29bcec8ecb4391cd50f29f68b3e7e81 |
|
05-Apr-2017 |
Santos Cordon <santoscordon@google.com> |
Add uniqueId to Virtual Display and pass through to inputflinger (1/2) This CL adds: 1) Adds uniqueId (protected via system/sig permission) to virtual displays. 2) Add support for N virtual display viewports into inputflinger. 3) Set the virtual display's viewports in inputflinger if it has the uniqueId value set to non-null. (a) Moving the new viewport from java to native inputflinger and (b) adding "uniqueId" value to viewports makes up the great majority of this change. 4) From the inputflinger side, we also read in a new value from the input device configuration files called 'touch.displayId'. 5) When touch.displayId and the virtual display's uniqueId match, inputflinger links the two. Test: Start VR and ensure that the virtual viewport shows up when running 'adb shell dump input". Run a VR app, and ensure that the virtual input device is associated with the new virtual viewport. Test: com.android.server.display.DisplayManagerServiceTest Bug: 36051620 Change-Id: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12 Merged-In: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
9918234dcf9e115560144d0218682dd5050843bc |
|
16-Jun-2016 |
Adrian Roos <roosa@google.com> |
Enable tap-to-pulse only when needed - Adds InputManager.setPulseEnabled(). - Adds a config overlay for the file controlling touch-to-pulse. - Hooks up DreamManagerService with InputManager.setPulseEnabled(). Bug: 29253550 Change-Id: I4892311cc30e97d31f7be778930397fbe5c03945
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
112d05678b7de53da8948f62dd2e968274f62244 |
|
08-Mar-2016 |
Andrii Kulian <akulian@google.com> |
Caps Lock toggle with Meta + Alt (2/2) Caps Lock implementation in frameworks/base Bug: 27482276 Change-Id: Ie0d8145c049197d4591e012832a710e4f751d2ac
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
b097b8262ba22040d46d6e212a31b758b7023307 |
|
01-Dec-2015 |
Yohei Yukawa <yukawa@google.com> |
Plumb IME subtype change from IMMS to IMS. This is a plumbing CL from IMMS to IMS to notify when the current input method subtype is changed. Those events are supposed to be used to change physical keyboard layout depending on input method subtype, which is to be implemented in subsequent CLs. Bug: 25753054 Change-Id: I58e71ffce9ac9131551a00dd35e24235dadfef87
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
037c33eae74bee2774897d969d48947f9abe254f |
|
09-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Plumb display power state through display manager. Declare a new method, Display.getState() to retrieve the actual power state of a display. Improved documentation for Intent.ACTION_SCREEN_ON and Intent.ACTION_SCREEN_OFF to clarify what they really mean in terms of the interactive state of the device. Deprecated PowerManager.isScreenOn() and replaced it with PowerManager.isInteractive() with a more suggestive name and better documentation. Redirect display power state changes to go through the display manager first and only then head over to the power manager for legacy compatibility. Eliminated the bright here and woke here policy flags since they were unused. Simplified the input dispatch policy somewhat. Ensure that screen wake locks are respected up until the point when dozing really begins. Fixed a regression in DreamService where onDreamingStarted might be called before onWindowAttached. Bug: 13133142 Bug: 13472578 Bug: 13929355 Bug: 13760290 Change-Id: Iabef96921dd554ce3768fb18619cefc3230b5fb0
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
38f96e5020b3e82b98fe97b0be363a5ad185860f |
|
11-Feb-2014 |
Jeff Brown <jeffbrown@google.com> |
Add support for injecting events into ActivityContainers. (DO NOT MERGE) Modified ActivityView to inject touch events it receives back into its activity container. The container then injects the event into the input system along with the display id of the underlying virtual display. Enhanced the input system to support concurrent dispatch of touch events on multiple displays which is required for this to work. Change-Id: I9cf1870db3be6f99a52ed9a1e3ceafe42c940093
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|
4ccb823a9f62e57f9d221f83a97e82967e79a9e5 |
|
17-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
Refactor display manager service to new pattern. Transform DisplayManagerService into a SystemService and start cleaning up other local services that it uses from window manager and input manager. Clean up service thread initialization. Remove unnecessary static variables from ActivityManagerService. It's starting to become clear that we really need a better way to manage service dependencies. Boot phases don't quite cut it. Change-Id: If319dbd7cbfbd4812fe55ece969e818d4b20755b
/frameworks/base/core/java/android/hardware/input/InputManagerInternal.java
|