summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-12-125-7/+35
|\ | | | | | | https://github.com/CyanogenMod/android_frameworks_base into replicant-6.0
| * [2/2] base: cm custom boot dexopt UIAlexander Martinz2016-08-101-2/+4
| | | | | | | | | | | | | | * Pass app info and number of installed packages to boot message UI * Ui by Asher and Joey, based on Alexander's previous work Change-Id: I9ec9d0cb0e20a9bac73e126f6b6f3965400f05e7
| * fw: enforce android.permission.PREVENT_SYSTEM_KEYS in system serverScott Mertz2016-08-051-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since privateFlags can be accessed and modified via reflection due to change 5d927c2d8e, the prevent system keys or prevent power keys flag can be set and deployed without ever calling setPrivateFlags directly. Move enforcing to system server to prevent app tampering. TICKET: CYAN-7921 (open source JIRA) Found by Maciej Krysztofiak Change-Id: I53c2804d0283692036f5cc95e6ad57821bc0655a
| * WindowAnimator : Check KEYGUARD_PANEL when deciding to show/hide windowDanesh M2016-06-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | By default, if blur is enabled we don't hide the window behind since we want the user to see it. This is not true for when a KEYGUARD_PANEL is active since we can't see anything behind it anyway. Only apply blur logic if KEYGUARD_PANEL is not added. CYNGNOS-2980 Change-Id: Icecae14455d6e68665bb688e3f6dc4ea9d74e88c
| * Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-071-0/+15
| |\ | | | | | | | | | | | | | | | | | | Android 6.0.1 release 46 # gpg: Signature made Mon 06 Jun 2016 10:38:22 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| | * Add new, hidden MotionEvent flag for partially obscured windows.Michael Wright2016-04-211-0/+15
| | | | | | | | | | | | | | | Bug: 26677796 Change-Id: Ic4219b883bb760495e6172ef61e84e9725876ef6
| * | fw: reintroduce PRIVATE_FLAG_PREVENT_POWER_KEYScott Mertz2016-05-312-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Switching the PREVENT_SYSTEM_KEYS forces the application to handle every system key. Some apps may not want to handle every single key, so allow them to just handle the power key. CYNGNOS-2958 Change-Id: I43fd65e67b909e6d52548f110ff9997b829b3e15
| * | fw: Repurpose PREVENT_POWER_KEY for preventing multiple system keys.Adnan Begovic2016-05-232-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows applications like camera, and various testing applications, to intercept certain system keys to verify behavior or leverage it in creative ways. Limited to signature/privileged. Change-Id: Iacd8735af2aabafbf1fc062d8c565b7102dc6865 TICKET: FEIJ-522
| * | Implement left swipe on lockscreenDanesh M2016-04-012-0/+4
| | | | | | | | | | | | | | | | | | Allows user to left swipe to live lockscreen and back. Change-Id: Ia94d735695b77a091a240e13858641cf95ac0647
* | | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-03-186-11/+70
|\ \ \ | |/ / | | | | | | https://github.com/CyanogenMod/android_frameworks_base into replicant-6.0
| * | fix metrics density comparisonsRoman Birg2016-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Resources.java, we explicitly call setDensity() on the local DisplayMetircs object when there is a configuration update - which sets some more fields than the original implementation. In fw/b/core/java/android/app/Presentation.java there is a DisplayInfo comparison which fails because our getMetricsWithSize() did not always set those fields that updateConfiguration would always set. So now we always return a DisplayMetrics object with the fields filled out as expected. Ref: OPO-539 Change-Id: Ie80e7a9cfd249ec59d31b4044ad09e07e34d1194 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-115-11/+68
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 22 Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
| | * | Don't verify the scrollbar drawableAlan Viverette2016-01-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids infinite invalidations caused by re-use of scrollbar drawable during a single draw() pass. Does not address the general problem of drawable reuse causing unnecessary invalidations as a result of calls to setBounds() invoking invalidateSelf(). Bug: 26533725 Change-Id: I99e9c2dfe4ddfc833569e40e7268dcb03e931fc9
| | * | Add STEM_1, STEM_2 and STEM_3 key as wakeup keysChenjie Luo2016-01-141-0/+3
| | | | | | | | | | | | | | | | | | | | Bug: 25860409 Change-Id: I3f525c9c8df81807d98391c70cd2d1f8c139c8f5
| | * | Making ViewRootImpl drop input events when the Activity is in ambientDaniel Koulomzin2015-12-181-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode. WearableActivityController tells ViewRootImpl about ambient mode. Bug: 25912259 Bug: 25973146 Bug: 25714113 Change-Id: Idcca2b254db3145039f50f2a7dfd38a224ec287e
| | * | Merge "Add rotary encoder input source" into cw-e-devPrashant Malani2015-12-082-0/+26
| | |\ \
| | | * | Add rotary encoder input sourcePrashant Malani2015-08-282-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devices which have rotating encoders for input devices can mark their MotionEvents as belonging to SOURCE_ROTARY_ENCODER. This is better than mapping such input events to pre-existing input sources, which may result is conflation regarding the expected behaviour of these older input sources. Events emanating from this input soruce will be accessible to the View hierarchy via onGenericMotionEvent(). We also introduce a new axis constant, AXIS_SCROLL, for axis movements that aren't strictly vertical or horizontal. Bug: 18707397 Change-Id: I1ad9af7c87b97d2c98b58b71cab2b780d0c86ec3
| | * | | am be655510: Merge "Disassociate system windows from apps" into mnc-dr-devWale Ogunwale2015-10-161-8/+21
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | * commit 'be6555105a9325d0b7073c08a0bd4dc0b5ce1fb3': Disassociate system windows from apps
| | * | | am c83a6121: Merge "Move ASSIST_BLOCKED flag to avoid collision with ↵Alan Viverette2015-10-121-2/+8
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCROLL_INDICATOR" into mnc-dr-dev * commit 'c83a6121d214631c0a52be5b2c5c8ce2f6470ed0': Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR
| | * \ \ \ am 01356906: Merge "Ensure SurfaceView requests WM relayout when size ↵Tim Murray2015-10-071-1/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes." into mnc-dr-dev * commit '0135690688c8285e022a2a8191c8582f2e6ea759': Ensure SurfaceView requests WM relayout when size changes.
| | * \ \ \ \ am 91f2123b: Merge "Add support for setting color transforms" into mnc-dr-devJustin Harrison2015-09-192-0/+185
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '91f2123b2a6d534372ab9b7c8e6ac0c62cf33ae6': Add support for setting color transforms
| | * | | | | | Manual 'cherry pick' to fix CTS tests for MediaControllerTest.Christine Hallstrom2015-09-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to manually apply a patch of code that should have propagated to E, but hasn't and is breaking one of the CTS tests for MediaControllerTest on Nemo. The original reverted change can be found at ag/723643. Bug: 24172957 Change-Id: I925ff561a56531ebf9f8d8b4ce56156ae7feb9fc
| | * | | | | | Handle KEYCODE_SOFT_SLEEP from Ungaze.Nick Armstrong-Crews2015-09-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls PowerManagerService's new method setUserInactiveOverride (thereby causing immediate sleep, modulo wakelocks, upon next iteration of PowerManagerService's main loop). BUG: b/23589870 Change-Id: Iddafdde923605d119075e890eeda5d3fd3fd2bc7
| | * | | | | | Merge "Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."" into cw-e-devNick Armstrong-Crews2015-09-081-3/+1
| | |\ \ \ \ \ \
| | | * | | | | | Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."Nick Armstrong-Crews2015-09-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 677adf1e66ba83b8fb2c849c181303b35bd489bc. Hiding new keycode to prevent change to public API before resubmitting. Change-Id: Ic43273dd0c7ade1d51a36b77f363543f1df466e8
| | * | | | | | | Merge "Handle KEYCODE_SOFT_SLEEP from Ungaze." into cw-e-devNick Armstrong-Crews2015-09-041-1/+3
| | |\ \ \ \ \ \ \ | | | |/ / / / / /
| | | * | | | | | Handle KEYCODE_SOFT_SLEEP from Ungaze.Nick Armstrong-Crews2015-09-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls PowerManagerService's new method setUserInactiveOverride (thereby causing immediate sleep, modulo wakelocks, upon next iteration of PowerManagerService's main loop). BUG: b/23589870 Change-Id: I24a96bd6db8ff28674c907f2898e49c4f6140209
| | * | | | | | | am 0b887e57: Merge "SurfaceControl: Add colorTransform to DisplayInfo" into ↵Dan Stoza2015-09-031-2/+6
| | |\ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dr-dev * commit '0b887e579b766012c09626e7089a3fade5415ee6': SurfaceControl: Add colorTransform to DisplayInfo
| | * | | | | | | am b774e554: Optimize fp touch to wake: Shortcut for report next drawJorim Jaggi2015-08-281-0/+13
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | * commit 'b774e554f32fd65cac30b43d1cf679403ef4af82': Optimize fp touch to wake: Shortcut for report next draw
| | * | | | | | | am eed29a71: am 53d6cddb: Merge "Fix issue #22846750: Starting Screenie Now ↵Dianne Hackborn2015-08-071-4/+50
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Tap crashes USA Today" into mnc-dev * commit 'eed29a71098284dbcd5bbbd2041c692eb3eb6a1d': Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
| | * \ \ \ \ \ \ \ Merge commit '9dd2663d' into mmMichael Wright2015-08-071-6/+16
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idf37dbc3bba970817e6620fe0129e54e86f553d5
| | * \ \ \ \ \ \ \ \ am d7d14033: am 2d34a8b7: Merge "Revert "Do not forceLayout when window is ↵Yohei Yukawa2015-08-041-0/+18
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resized"" into mnc-dev * commit 'd7d14033af438b88053454e7d73c1689eaa77c35': Revert "Do not forceLayout when window is resized"
| | * \ \ \ \ \ \ \ \ \ am 0568a230: am 9d8a230f: Revert "View measurement optimization"Alan Viverette2015-08-011-10/+5
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0568a230b34f879215e65fbaa79dfa377085bb41': Revert "View measurement optimization"
| | * \ \ \ \ \ \ \ \ \ \ am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-devDianne Hackborn2015-08-014-23/+23
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9b36f526dd0378bda8f71c0e51ed37bf97742f8f': Change MNC codename to just M.
| | * \ \ \ \ \ \ \ \ \ \ \ am 353fe1c6: am 0d210f63: Animation for touch, wake and unlockJorim Jaggi2015-07-281-0/+6
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '353fe1c665e0065d4c8eecdf41c22f1a1a607f2c': Animation for touch, wake and unlock
| | * \ \ \ \ \ \ \ \ \ \ \ \ am 3bb0bb3a: am f63800dd: Merge "Remove unnecessary relayout call from ↵Filip Gruszczynski2015-07-281-5/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | traversals." into mnc-dev * commit '3bb0bb3afc46f88e4372f6912bd4c18547de5a78': Remove unnecessary relayout call from traversals.
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ am 4ff108f0: am 0526ee52: Merge "Don\'t rely on broadcast intent for waking ↵Yohei Yukawa2015-07-241-0/+30
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up input method." into mnc-dev * commit '4ff108f0828f9c830aa93a3269c071522dae40ad': Don't rely on broadcast intent for waking up input method.
| | * | | | | | | | | | | | | | | DO NOT MERGE: Introduce stem keycodes for WearAnthony Hugh2015-07-151-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick from master This change adds four new stem keycodes for Android Wear. These keycodes are intended to represent the various hardware buttons around the watch. There is one primary stem key that will be used for power/settings and three generic stem keys that will be customizable. BUG: 21903503 Change-Id: I867cf79554c72d42c8acbb3ff8b1678e482d4fe2
| | * | | | | | | | | | | | | | | am 4dfeea4f: am 4d8134c1: Merge "Fix black keyguard / missing status bar" ↵Adrian Roos2015-07-101-0/+8
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '4dfeea4f2243b7824ca56fa8906e12c90ce979ab': Fix black keyguard / missing status bar
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am ec12d8ea: am 322fd93f: Merge "Add missing break in ↵Alan Viverette2015-07-091-3/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AccessibilityEvent.eventTypeToString()" into mnc-dev * commit 'ec12d8ea174b63442a901f64bf147d79c68d21e7': Add missing break in AccessibilityEvent.eventTypeToString()
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 45eb3ea6: Revert "Fix NPE when requesting outsets for detached view."Filip Gruszczynski2015-07-091-6/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '45eb3ea667dac8d97a91781f01875148bacfe74c': Revert "Fix NPE when requesting outsets for detached view."
| | | * | | | | | | | | | | | | | | | | Revert "Fix NPE when requesting outsets for detached view."Filip Gruszczynski2015-07-091-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b010291ace13947fcc76b1a64eaa67880e15f0a6. Change-Id: If86ce92daac9e80d5fc2e9f707d937e7c6e91a74
| | * | | | | | | | | | | | | | | | | | am b010291a: Fix NPE when requesting outsets for detached view.Filip Gruszczynski2015-07-091-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b010291ace13947fcc76b1a64eaa67880e15f0a6': Fix NPE when requesting outsets for detached view.
| | | * | | | | | | | | | | | | | | | | Fix NPE when requesting outsets for detached view.Filip Gruszczynski2015-07-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Outsets are used during measure/layout pass, but this can be called on a view that is not currently attached. Bug: 21602590 Change-Id: I23e3acc45ca4bf7684d8913f839e29e8e9e94d78 (cherry picked from commit e660d4e96a2e5ac35f2dd6e2b43c588dd7e28358)
* | | | | | | | | | | | | | | | | | | | adapt screen rotation and hardware renderer for Softwaregl, also check for ↵Wolfgang Wiedmeyer2015-12-211-2/+3
|/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | softwargl in Activity Manager screen rotation and hardware renderer changes inspired by Paul's changes for Replicant 4.2 in a5ed31ba3bdfb8cd761e87f3de86198c6233c3cc Change-Id: Icbaf8eadf61d614ebe7bb65a7afc5d606645eccd Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | | | | | | | | | | | | | | | | | | Lockscreen: Introduce window type TYPE_KEYGUARD_PANELd34d2015-12-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This window type will be used by third party keyguard components so that they can be layered within the keyguard while running in their own process. This window type will use the same Z ordering as TYPE_STATUS_BAR_SUB_PANEL, which is currently unused. Change-Id: Ie18caf12a55ba79a5c56a36ca79b3a6e377d7529
* | | | | | | | | | | | | | | | | | | libhwui: make setSurface asynchronousThomas Buhot2015-12-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the critical path of the cold launch of applications the main thread of the started application tells the RenderThread to create a surface. This process is synchronous and blocks the main thread of the application until the creation of the EGLContext is complete. As a consequence the launch time of the application is delayed by time spent allocating the EGL Context in the RenderThread. With this optimization the launch time of any application is improved (for example settings by 20 to 40 ms). Change-Id: I41cfe4e18f2d26af5058b8b17c19df60ac1e5d85 Signed-off-by: Thomas Buhot <thomas.buhot@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
* | | | | | | | | | | | | | | | | | | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-2/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 3 Change-Id: I59b9e5a943e0860d43bcfb36ee0e8b8b072412ea
| * | | | | | | | | | | | | | | | | | Merge "Disassociate system windows from apps" into mnc-dr-devWale Ogunwale2015-10-161-8/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | Disassociate system windows from appstiger_huang2015-10-161-8/+21
| | | |_|_|_|_|_|_|_|_|_|_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the original logic, if an app creates a system window, when the user goes to home screen, the system window will be still there and become unable to receive input events, because the system window will be also changed to the stopped state with the app window, and the current logic of ViewRootImpl forbid a stopped window receiving input events. This change prevents assigning the token of the app window to system windows created by the app, so that when the app goes to the stopped state, its system windows won't be affected (can still receive input events). This change is related to the following changes: https://android.googlesource.com/platform/frameworks/base/+/a5d29971f8f4d463348e9de0f7af7e2e92a377a0 https://android.googlesource.com/platform/frameworks/base/+/15ed2754a308546a54ab1061b4e365d6fe9b898d https://android.googlesource.com/platform/frameworks/base/+/c3672cd3f7e2bd87d6de9dada499de82b62fae84 https://android.googlesource.com/platform/frameworks/base/+/41725dedc33906aaafee36b2d6523596e2a8a52e Bug: 24967303 Bug: https://code.google.com/p/android/issues/detail?id=189710 Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c