summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-167-6/+117
|\ | | | | | | | | | | git://codeaurora.org/platform/frameworks/native into cm-13.0 Change-Id: Ib29f744a0f7baac5d5ad8a7e9c5c14303b6aeec1
| * Merge "native: add ambient temperature & relative humidity sensor features"Linux Build Service Account2015-11-062-0/+72
| |\
| | * native: add ambient temperature & relative humidity sensor featuresSatya Durga Srinivasu Prabhala2015-11-042-0/+72
| | | | | | | | | | | | | | | | | | | | | Adding ambient temperature & relative humidity hardware sensor features as they are missing and causing CTS failures. Change-Id: I4f07db8e77cb77c5b2c1bb7ed80a26f68c91c23e
| * | sf: vds: Avoid HWC for certain scenariosManoj Kumar AVM2015-11-023-3/+28
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Reserve HWC for VDS for WFD use case. During WFD usecase, sink usage will contain GRALLOC_USAGE_PRIVATE_WFD flag. When HWC is avoided, all virtual displays are composed using GLES. This means that GLES composes directly into the sink buffer and signals the consumer. Furthermore, it is expected that any color conversion will be handled on the consumer side. CRs-Fixed: 908380 Change-Id: I93ff54c79ece788b6caf3f4172835d8ac1362f62
| * SurfaceFlinger: Disable rotation animation on Secondary displaysArun Kumar K.R2015-10-262-3/+19
| | | | | | | | | | | | | | | | | | - Add support to set animating layer for HWCLayers - After hwc_prepare, dont override the compType of a layer to HWC_FRAMEBUFFER if its for non-primary displays Change-Id: Iac462778ce5fb9016290846146e62f80dcfafd5c CRs-fixed: 922304
* | sf : Apply user defined panel orientation to blur layerRamakant Singh2015-11-161-1/+4
| | | | | | | | | | | | | | | | Blur layer need to capture screen shot to create to blur effect. Hence need to take care any user defined orientation as well. Change-Id: I1c0478810d12661edf2586293bbed342a5b4dc7e
* | Revert "surfaceflinger: Consolidate display orientation compensation hooks"Steve Kondik2015-11-103-15/+11
| | | | | | | | | | | | | | | | * This is completely breaking graphics. This reverts commit f8e2372ad7c6ab5ba0363352607f5ded918add01. Change-Id: I1d694f4228199891a191ce3fb924cec71a6100f0
* | surfaceflinger: Consolidate display orientation compensation hooksRicardo Cerqueira2015-11-103-11/+15
| | | | | | | | | | | | | | Dedupe rotation calculation code and make rotation a statically available property in the DisplayDevice Change-Id: Ic517ab0d2c05026cd6fa46d664aab7926be17b62
* | surfaceflinger: odd hw rotation (90/270) patch for swapping width/heightHashcode2015-11-101-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | This patch works in addition to the following commit re-implementing ro.sf.hwrotation: https://github.com/CyanogenMod/android_frameworks_native/commit/7d283431efffc4402cb1a6cacf5da64729c883bb When using values of 90 and 270 for ro.sf.hwrotation the LCD width and height also need to be swapped to display properly. Change-Id: I2874fdb8f8d8b855df6d62d338c9a22360491973 NOTE: This patch does not fix the initial startup of bootanimation
* | SurfaceFlinger: Native changes to add blur effectByunghun Jeon2015-11-0827-25/+955
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Native changes to add blur-behind and blur mask effect Change-Id: I54faf82d750e8299de6d261f6a893ab26d08df84 SurfaceFlinger: Adding template for LayerBlur files Change-Id: I444009113b7bdd6c5284863fd1f56358e67d9fe6 SurfaceFlinger: Featurize libuiblur module for OSS build Change-Id: Ifdc176e699434125d17b111c044b8ba954cf717c
* | sensorservice: Don't replace HAL orientation sensorEthan Chen2015-11-071-4/+0
| | | | | | | | | | | | | | | | | | * Previously HAL orientation sensor would always be replaced if the HAL did not provide a rotation vector sensor as well. Practically no HAL does, so the virtual sensor would always replace it. * Add the virtual sensor only if the HAL does not provide it. Change-Id: I50ad2cd6c60b53eddc4c6854997ec2e3dbff0d1a
* | installd: Consider bundled app dir as a valid apk pathSteve Kondik2015-11-074-0/+12
| | | | | | | | Change-Id: I92db56f21bf91e0816b63faffcfbb270ca2d8fca
* | sensorservice: Register orientation sensor if HAL doesn't provide itArne Coucheron2015-11-071-3/+8
| | | | | | | | | | | | | | | | | | * In KitKat and on most Samsung devices, the orientation sensor is not getting registered, and makes the compass non-working in a lot of apps. This patch enables the sensor for such devices. Change-Id: I0ebba72ec4aa2cfa02c21a6daff0c356c6793fd0 (cherry picked from commit 98fa6f1152da759ef3eaf36cb16e0aaf2013376a)
* | sensorservice: Fix init sequence for pre-1.1 API sensor HALsRicardo Cerqueira2015-11-071-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sensors API introduced a new flush() method that older binaries won't have. For those, replace the firstFlush invocation with a setDelay call since a lot of implementations interpreted that as the initialization step. We also don't want any kind of call to flush() to happen when it isn't there, since it'll either hit a random OEM extension or a memory address we really don't want to execute. Change-Id: I26ce923fe385751fed7d1c483a53c074249f0620 sensorservice: Set the rate for pre-1.1 HALs _after_ activation We want to be sure these are applied in the same sequence they used to be... Change-Id: Ied2ba08ed3c4bed3a80bac6ab5471fcea9ba2c09
* | Fix boot animation rotation problem when ro.sf.hwrotation is set to 90 or 270Clyde Tan2015-11-071-1/+9
| | | | | | | | Change-Id: I7ad3c83e23ce38280818ec5283d173d50c889531
* | surfaceflinger: Reimplement hwrotationRicardo Cerqueira2015-11-071-0/+14
| | | | | | | | Change-Id: Ia26bb36b5b6de132af49c272c4472ad2703afbda
* | surfaceflinger: Set max acquired buffer countNaseer Ahmed2015-11-071-0/+1
| | | | | | | | | | | | | | | | | | If triple framebuffers are enabled, the number of acquired buffers isn't increased by default. Set the count to one less than the max buffers to make sure all three buffers come into play. Change-Id: I8fae1b5564fbea598e415a86b0a21c3449c92d87
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-0537-399/+4117
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: include/android/input.h Change-Id: Ifa374c6d3055be3b8a5d60967f8b4c0043da739b
| * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-10-020-0/+0
| |\ \
| | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-250-0/+0
| | |\ \
| | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-240-0/+0
| | | |\ \
| | | | * | Installd: Take boot status as dexopt parameterAndreas Gampe2015-09-223-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expect the boot status explicitly as a parameter so that we do not have to rely on dev.bootcomplete, which isn't meaningfully set when the device needs the decryption screen on boot. Bug: 23898216 Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
| | | | * | Installd: Allow different behavior before bootcompleteAndreas Gampe2015-09-161-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check dev.bootcomplete in dex2oat(). Use the information for two changes. Only switch to the background when we're post bootcomplete. This will ensure better utilization after upgrades. Add a second dex2oat-threads property that is used pre bootcomplete. A separation of these phases allows using less cores when the device is up, freeing up resources for other purposes, e.g., avoid jank. The precedence during boot is the boot property, or the image property if the former doesn't exist, or the default property as a fallback. Bug: 23898216 Bug: 24004256 Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d
| | | | * | merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-150-0/+0
| | | | |\ \
| | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-080-0/+0
| | | | | |\ \
| | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-060-0/+0
| | | | | | |\ \
| | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-310-0/+0
| | | | | | | |\ \
| | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-290-0/+0
| | | | | | | | |\ \
| | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-290-0/+0
| | | | | | | | | |\ \ | | | | | | | | |/ / / | | | | | | | |/| / / | | | | | | | | |/ /
| | | | | | | | * | merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-260-0/+0
| | | | | | | | |\ \
| | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-120-0/+0
| | | | | | | | | |\ \
| | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-080-0/+0
| | | | | | | | | | |\ \
| | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-060-0/+0
| | | | | | | | | | | |\ \
| | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-040-0/+0
| | | | | | | | | | | | |\ \
| | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-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-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-290-0/+0
| | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-250-0/+0
| | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-230-0/+0
| | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-210-0/+0
| | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-180-0/+0
| | | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-150-0/+0
| | | | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-140-0/+0
| | | | | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-110-0/+0
| | | | | | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-080-0/+0
| | | | | | | | | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | | | | | | | | | * \ merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-060-0/+0
| | | | | | | | | | | | | | | | | | | | | | | |\ \
| * | | | | | | | | | | | | | | | | | | | | | | | | InputResampling: Don't extrapolate for very low frame rates.Andrew de los Reyes2015-10-011-2/+11
| |/ / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In very low framerate situations, extrapolation is generally going to either cause no benefit or make a mistake. We can safely turn it off with no user-visible negative impact. BUG=https://buganizer.corp.google.com/u/0/issues/24550942 TEST=Scrolled very slowly and saw mispredictions on Angler. With change, saw the log message that the mispredictions were suppressed. Change-Id: Ic9747d3ff098d7918047ada2ed1c2d21282c65b0
| * | | | | | | | | | | | | | | | | | | | | | | | am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-devNaveen Leekha2015-09-241-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '69412a51f58fa9450f1cb077c8d4b6410128d993': resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-devNaveen Leekha2015-09-241-2/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c4bd7211373cf5b745c7d4f849f43f7a2d2b1141': resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
| | | * | | | | | | | | | | | | | | | | | | | | | | | resolved conflicts for 7534e4e6 to lmp-mr1-ub-devNaveen Leekha2015-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I543df164076b44578b14d41031800bb62b81586d