summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* native: dock batteryJorge Ruesga2015-10-174-0/+76
| | | | | | Change-Id: I23eadf0361cbe25029b95dbd022ce1a2cc96e94d Require: topic:dock_battery Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Support WAKE flag in keyboard layoutsnadlabak2015-10-171-0/+1
| | | | | | | This flag is used to specify the internal keyboard keys allowed to wake the device. Change-Id: Ic15aca1134206c9b006a4d97dded10bccae640d3
* input: Add option to toggle pointer icon when using stylus(3/3)Steve Kondik2015-10-172-10/+28
| | | | | | | | | | * The visible pointer icon when hovering or drawing with the stylus is quite annoying when trying to actually draw with it. Turn it off by default and add an option to turn it on. Forward Port from CM-11.0 Change-Id: Ie4e9e6bcc48803b195d1615d83d6e36d663cc33a
* Fix for landscape thumbnail images on GLES11RenderEnginechaochen2015-10-171-2/+17
| | | | | Change-Id: If825345be2c30645c7b87258b7e24d6009f3090a Signed-off-by: Raj Mamadgi <rmamadgi@sta.samsung.com>
* Forward port 'Swap volume buttons' (2/3)nadlabak2015-10-172-9/+34
| | | | | | [mikeioannina]: Adjust for 5.0 changes Change-Id: I5ed4ae2b7e69e2ada067ed1d3524b3d3fad30e2e
* surfaceflinger: Track the last surfaceview frame for latency dumpsRicardo Cerqueira2015-10-171-0/+11
| | | | | | | | | | | | | When measuring GL latency with dumpsys, it's possible to hit a race condition if the hardware is fast enough to complete rendering the test cycle before the latency dump is requested, since it only matches the latency for live layers (unless it's an animation. See change I8bded1ea08a4cddefef0aa955401052bb9107c90) So always save a reference to the last rendered SurfaceView frame, and dump its values if there isn't an active one. Change-Id: I740e9830161396ea955b5a53322bd8576b5136bc
* inputflinger: disable touch input while using a stylusChristopher N. Hesse2015-10-172-0/+25
| | | | | | | | | | | | | | | | | | | | | Android 5.0 cannot form multitouch events from multiple input devices. So it is not possible to report one touchpoint from the stylus position and, at the same time, another touchpoint from a finger touch. Instead, when a new input device starts up the currently active input is cancelled. This is highly undesirable while writing with the pen. The easiest solution is to ignore non-stylus touch events while the stylus is within range (hovering) of the touchscreen. For example, N-trig digitizers implement this in hardware. But wacom digitizers do report pen data simultaneously with touch data. This patch disables (non-stylus) touch input within 50ms of stylus data. On my Galaxy Note this is necessary to make stylus input usable. Original commit by vbraun: https://github.com/CyanogenMod/android_frameworks_base/commit/b9cb2961309c829586ae24ce432bb1fdb5610ba6 Change-Id: I97f26369826e96c97461c8ae188f1c64dec1b4d3
* Add GESTURE_SENSOR input sourceEthan Chen2015-10-171-0/+1
| | | | Change-Id: If61a7e7bf2d8b2665db7ca57ed68a4462d0c1783
* inputflinger: Add gesture sensor supportSteve Kondik2015-10-172-0/+9
| | | | Change-Id: Ieca4e54439c47a817aaa6a9b6fabcee750ffc0c2
* input: Adjust prioritySteve Kondik2015-10-174-2/+14
| | | | | | * Bring into the desired group to get the best result. Change-Id: I3bd031074cd7006994736b4c22d0294b6012f662
* RenderEngine: remove warning "using EGL_IMG_context_priority"Michael Gernoth2015-10-161-1/+0
| | | | | | | This warning breaks the build as it is treated as an error, so just remove it. Change-Id: I1a6353e5960866a9302a8c00eb97d1779b35b6be
* Support forcing all screenshots into a CPU consumerRicardo Cerqueira2015-10-161-1/+7
| | | | | | | | | Looks like a full GPU path is less efficient on some GPU drivers that we're still using, and CPU is reliably faster... (there's probably a locking condition going on somewhere, this needs to be looked into) Change-Id: I8878796a117d65bf2324507cf8755cadce49f6dc
* libEGL: allow devices to workaround Google bug 10194508Pawit Pornkitprasan2015-10-161-0/+3
| | | | | | | Most older blobs don't have the EGL_KHR_gl_colorspace extension and need this workaround. Change-Id: Ifc5d097c1a0b68275d23c2d191976ac96631b695
* Bring back support for glReadPixels screenshot pathPawit Pornkitprasan2015-10-1611-48/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 012d3fe41d1d6cd38a0858b59145e9a4447641fa Author: Hashcode <hashcode0f@gmail.com> Date: Sun Dec 8 19:36:50 2013 +0000 sf: Always use opengles for screen capture Go back to the usage of GRALLOC_USAGE_HW_TEXTURE and GRALLOC_USAGE_HW_RENDERER in captureScreenImplLocked regardless of useReadPixels value This fixes the EGL_NO_IMAGE_KHR error returned from eglCreateImageKHR (blank images returned from screenshot path) Change-Id: I62fe90a081607b9e89c67f3dcfd34c84efc89d35 commit 4866ddf98ac98d8e22a1cd6a21894bb17f274588 Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org> Date: Thu Oct 31 03:53:39 2013 +0000 Revert "remove support for glReadPixels screenshot path" This reverts commit 3ca76f416bc8665a97636ca8a2d0128b9da9d92c. Conflicts: include/gui/ISurfaceComposer.h libs/gui/ISurfaceComposer.cpp libs/gui/SurfaceComposerClient.cpp services/surfaceflinger/SurfaceFlinger.cpp services/surfaceflinger/SurfaceFlinger.h Change-Id: I8c239e533757af770e418dbb198f5a86c736961f Change-Id: I8c239e533757af770e418dbb198f5a86c736961f
* Revert "egl: Remove old tuna BGRA vs RGBA workaround."Ethan Chen2015-10-162-0/+12
| | | | | | This reverts commit 733a80754786d39cdc0fee09509b194472c320bc. Change-Id: Ifb41720ed020489892a667914ea3bd3f1ac6504e
* exynos4: getphys implementation on buffermanager for samsung omxRicardo Cerqueira2015-10-152-0/+17
| | | | Change-Id: I73d9633e1a7b3316ede28dd1369f8f069609cbb0
* surfaceflinger: Clean up use of QC extended APISteve Kondik2015-10-125-9/+26
| | | | Change-Id: I1256605e63e90f3baaa213453246fb0e44e0c770
* native: Use project pathmapSteve Kondik2015-10-121-2/+2
| | | | Change-Id: I81752c2c433752c02ab2a922f974f363e10d8def
* native: Restore VM memory overridesDiogo Ferreira2015-10-124-1/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds back the property overrides for several device types as we had in CM 11. It contains a squished commit of the following: commit 5b9240927f8af0b26c406835df33b2d999496434 Author: Steve Kondik <shade@chemlab.org> Date: Thu Nov 6 14:40:44 2014 -0800 Add hdpi-2048 tunings commit ed579d8be17fb52ef92a1dc9c83843879f396fa1 Author: Steve Kondik <shade@chemlab.org> Date: Sat Jan 4 12:12:00 2014 -0800 Update HWUI config for xxhdpi/2GB devices commit 386f220e174f9ed5aad487867223033fd5d986c6 Author: Steve Kondik <shade@chemlab.org> Date: Tue Aug 6 02:53:19 2013 -0700 hwui: Update configuration for 2GB/1080p devices commit b7392d113d8ae6c3c07990bbb3f2621bef490d11 Author: Steve Kondik <shade@chemlab.org> Date: Sat Jun 1 14:51:17 2013 +0200 provide overrides for hwui memory limits for xxhdpi phones commit 247b3c635b1d6776ffedf3cd61a936546c2f6603 Author: Steve Kondik <shade@chemlab.org> Date: Fri May 17 13:10:19 2013 -0700 Add heap configuration for 1080p phones with 2048m * Increase heap start size to 16m to minimize GC with larger bitmaps commit 9856e93970fd6def1349e564f17d42f505904eba Author: Andrew Bartholomew <andrewb03@gmail.com> Date: Thu Apr 25 13:48:21 2013 -0400 build/phone-xhdpi-1024-dalvik-heap.mk Revert AOSP heapgrowthlimit change from 64 to 96 This reverts part of AOSP change at https://android.googlesource.com/platform/frameworks/native/+/c84e9844d621223d14178be521 Possible performance issues have arisen because of it. Discussion at http://code.google.com/p/android/issues/detail?id=40961 Patch Set 2: Clean up commit message commit bd7fb4be323f6f868a886b22e93cf203944af9a6 Author: Bhargav Upperla <bhargavuln@codeaurora.org> Date: Thu May 23 12:50:15 2013 -0700 Configure dalvik heap parameters for low memory devices Reduces after boot memory footprint by about 5-8MB Note: This is for low memory based devices only (~512MB RAM or less) Change-Id: Id7e1967d18227359ad9631139bfd47e61e494829
* Add dalvik heap override for xxxhdpi phonebmc08gt2015-10-121-0/+25
| | | | | Change-Id: Ib2649f55327775bbd4d94012952b4301536391ed Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
* Add HWUI overrides for xxxhdpi phonebmc08gt2015-10-121-0/+30
| | | | | Change-Id: I4393ef0a5f6f1e9775b5d40b094da3f74ed3ae35 Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
* sf: Avoid disabling DispSync resyncRaj Kamal2015-10-061-5/+2
| | | | | | | | | Avoid disabling DispSync resync if app and SF events aren't using phase offsets. This prevents hardware VSYNC from turning on always whenever something needs to be drawn, thereby bringing down the power numbers. Change-Id: I83c8f79eb46b9fdaa730ec32767ebed3286347b8
* SurfaceFlinger: Add dim layer information into HWC layer.Dileep Marchya2015-10-066-1/+28
| | | | | | | - Set dim layer flag = 0x80000000 to send dim layer hint to HWC. - Clear HWC_SKIP_LAYER flag when dim layer flag is set. Change-Id: I56904c65fb487e6e89d4c057015443730d727299
* libgui: Copyback all region except dirty region for newly allocated bufferBaldev Sahu2015-10-061-3/+7
| | | | | | | | | | | Inside Surface::lock if new buffer is allocated and DirtyRegion does not cover complete buffer bounds then copyback may not cover all remaining area as it copyback only area covered by dirty regions from other buffers. This will lead to left out black area which may cause flicker. Change-Id: I4a3f7a56fc5fbaf4af926584919577d8d34bed57
* fix copy back dirty regionOmprakash Dhyade2015-10-061-10/+9
| | | | | | | | | Copyback dirty region logic does copyback, even when its not necessary causing 2ms delay. Fix the logic to copy back only what is necessary CRs-fixed: 562334 Change-Id: I52de68258ac9f87d704ee5401f93417805fa6773
* sf: This is a combination of following changes.Ramkumar Radhakrishnan2015-10-063-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | Author: Prabhanjan Kandula<pkandula@codeaurora.org> SF: Add support for inverse mounted panels. Add 180 rotation in SF to account for inverse mounted panels. The framework will be unaffected and use policies for a 0 mounted panel. SF changes the global transform and silently induces the H,V flips. Similar flips are added to screenshots as well. CRs-Fixed: 894147 Change-Id: I6e9576ee734ee85097491eaa1e8e94cfb3731e0f Author: Ramkumar Radhakrishnan<ramkumar@codeaurora.org> SF: Clear visible region of layer appropriately. Clear visible region of layer having layer stack id different than the display layer stack id to ensure that the layer won't be present on the wrong display layer list. Change-Id: I59289fea63ec7a2451d4715cfe7926ba34fdb8e3 Change-Id: I5ad08a6013aa173d621ee80c766a6e19e1086a35
* SurfaceFlinger: Add support for V4L2 based wfd solution.Baldev Sahu2015-10-063-16/+76
| | | | | | This change add support for V4L2 based Wi-Fi display. Change-Id: Ib3f3868eb0b7fa2bf7e58246fb2c5cd0ddceb7e1
* gui: add Tertiary display support in surface composer headerVinu Deokaran2015-10-061-2/+3
| | | | | | | | Add definition of Tertiary display into the enumeration list of surface composer header file, to support third display for all Surface Flinger APIs. Change-Id: Ic932be4f7f1ac9c44a5a8f36d17eb9386135de87
* SurfaceFlinger: Add support for DisplayUtilsRaj Kamal2015-10-0611-20/+303
| | | | | | | | Add DisplayUtils class which uses the custom implementations of ExLayer, ExSurfaceFlinger, ExHWComposer, and ExVirtualDisplaySurface classes if needed Change-Id: Ibdd8da5d3d0d602f42b76a15d0994c6aa98bee3f
* SurfaceFlinger: Support get/set ActiveConfigsTatenda Chipeperekwa2015-10-063-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes the following two changes squashed into one and retaining the change I182f41edbaf9226fc62d6d17ee964998cd9f21f7 sf: Fixes for resolution change in SurfaceFlinger 1. Use active config from HWC when querying display attributes When we query the display attributes we should use the active config as reported by HWC in cases where HWC version is 1.4. In all other cases we should revert to the default config, config 0, as the active config. 2. Set/update the display config if HWC config change was successful The new config should only be applied if HWC succeeded in changing the active config. This would otherwise cause failure or undefined behavior if the client sets an invalid/unsupported display config. 3. Set the active config at display creation time When a new display device is added update the active config by querying HWC. Change-Id: I182f41edbaf9226fc62d6d17ee964998cd9f21f7 sf: Initialize active config for non-virtual displays at boot time When a non-virtual display device is added at boot time, update the active config by querying HWC otherwise the default config (config 0) will be used. Change-Id: I90f42fa1d20ed6176c4be464a10ae69a2f6a6d55 Change-Id: I182f41edbaf9226fc62d6d17ee964998cd9f21f7
* Add body sensors app op for custom sensorsPrashant Malani2015-09-031-0/+4
| | | | | | | | If the custom sensor requires the BODY SENSOR permission, we should add the body sensors app op for the custom sensor Bug: 23396558 Change-Id: I132917d1bca12c76c8a9fb146e00951cba3e6d7a
* Add XML for pro audio featureGlenn Kasten2015-08-281-0/+22
| | | | | Bug: 23604253 Change-Id: I480cf0a46c286badc6fd95a3b42e6cb1ed056b1b
* merge in mnc-release history after reset to mnc-devThe Android Automerger2015-08-120-0/+0
|\
| * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-08-080-0/+0
| |\
| | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-08-040-0/+0
| | |\
| | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-08-010-0/+0
| | | |\
| | | | * Revert "Bug fix in SensorManager."Narayan Kamath2015-07-292-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 869eb2089ec8a6286b944bfcff57e4cbe0c7e207. Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
| | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-290-0/+0
| | | | |\
| | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-250-0/+0
| | | | | |\
| | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-220-0/+0
| | | | | | |\
| | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-210-0/+0
| | | | | | | |\
| | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-180-0/+0
| | | | | | | | |\
| | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-150-0/+0
| | | | | | | | | |\
| | | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-140-0/+0
| | | | | | | | | | |\
| | | | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-080-0/+0
| | | | | | | | | | | |\
| | | | | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-070-0/+0
| | | | | | | | | | | | |\
| | | | | | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-07-010-0/+0
| | | | | | | | | | | | | |\
| | | | | | | | | | | | | | * Fix directory path of codecache.Daichi Hirono2015-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously installd removed the normal cache directory when delete_code_cache is called. It should delete the code cache directory. BUG=21206499 Change-Id: I5774430e389e22805fa7984b4c83420c3677ca75
| | | | | | | | | | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-06-270-0/+0
| | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | * Fix crash in SensorService. Ignore devices with no sensors.Aravind Akella2015-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1491740baa6348f97c336b6883b11ad2ab93cf73