summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | am 9a0732af: Merge "SensorManager reconnects to sensor service when the ↵Mathias Agopian2011-10-171-4/+16
|\ \ | |/ | | | | | | | | | | later dies" into ics-mr0 * commit '9a0732af1bd96a7d8247dee124a7da389137a52f': SensorManager reconnects to sensor service when the later dies
| * Merge "SensorManager reconnects to sensor service when the later dies" into ↵Mathias Agopian2011-10-171-4/+16
| |\ | | | | | | | | | ics-mr0
| | * SensorManager reconnects to sensor service when the later diesMathias Agopian2011-10-161-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | if system process ever restarted, processes using a SensorManager would loose the ability to use it, resulting to a crash. we now listen for sensor service death and reconnected if necessary. Bug: 5445240 Change-Id: Ia47f8b26cdcecb729fa22bf11d55e10fcaef8cfc
* | | am 840b8a67: Revert "Add a LayerScreenshot"Mathias Agopian2011-10-171-1/+0
|\ \ \ | |/ / | | | | | | | | | * commit '840b8a678537519c27ddf2f818494eaa20a135d4': Revert "Add a LayerScreenshot"
| * | Revert "Add a LayerScreenshot"Mathias Agopian2011-10-161-1/+0
| |/ | | | | | | This reverts commit d6809f40cf61203573ec5dbc437f695cd132cc18.
* | Merge branch 'master' of ssh://android-git:29418/platform/frameworks/baseElliott Hughes2011-10-172-5/+7
|\ \
| * \ Merge changes I4e5ff00c,Id5e3ca1d,I97cbba61Jamie Gennis2011-10-172-5/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: SurfaceFlinger: Remove display freezing code SurfaceFlinger: add some layer update tests SurfaceFlinger: make sync transactions explicit
| | * | SurfaceFlinger: Remove display freezing codeJamie Gennis2011-10-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the dead code from SurfaceFlinger that resulted from disabling support for freezing the display. Change-Id: I4e5ff00c94b4c7a79af2f65c9850c135210068ed
| | * | SurfaceFlinger: make sync transactions explicitJamie Gennis2011-10-142-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables a layer or orientation update transaction sent to SurfaceFlinger to explicitly request a synchronous transaction. Change-Id: I97cbba610c13679849f66114b216fa6dbf12f2a9
* | | | am 57337eb7: Merge "Add a LayerScreenshot" into ics-mr0Mathias Agopian2011-10-171-0/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| * commit '57337eb78e65c160fb9c46a01e04c476d1bfdca1': Add a LayerScreenshot
| * | Add a LayerScreenshotMathias Agopian2011-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | A LayerScreenshot is a special type of layer that contains a screenshot of the screen acquired when its created. It works just like LayerDim. Bug: 5446982 Change-Id: I7814aff2380e7e146937f2b641907be2a30c76cc
* | | Merge "Deprecate local-only CursorWindows."Jeff Brown2011-10-141-2/+1
|\ \ \ | |_|/ |/| |
| * | Deprecate local-only CursorWindows.Jeff Brown2011-10-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no difference and has never really been a difference between local-only and remotable CursorWindows. By removing the distinction officially in the API, we will make it easier to implement CrossProcessCursor correctly. CrossProcessCursor is problematic currently because it's not clear whether a call to getWindow() will return a local-only window or a remotable window. As a result, the bulk cursor adaptor has special case handling for AbstractWindowedCursors vs. ordinary CrossProcessCursors so that it can set a remotable window before the cursor fills it. All these problems go away if we just forget about local-only windows being special in any way. Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
* | | Merge "Support for an MPEG2 Program Stream extractor."Andreas Huber2011-10-131-1/+4
|\ \ \
| * | | Support for an MPEG2 Program Stream extractor.Andreas Huber2011-09-301-1/+4
| | | | | | | | | | | | | | | | Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
* | | | am 514a6cfb: Merge "Improve camera javadoc and fix some errors." into ics-mr0Wu-cheng Li2011-10-121-10/+21
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| * commit '514a6cfb7f7085b266f457155ff63373d2dff8ee': Improve camera javadoc and fix some errors.
| * | Improve camera javadoc and fix some errors.Wu-cheng Li2011-10-131-10/+21
| | | | | | | | | | | | | | | bug:5169599 Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d
* | | Merge "Reduce the size of libhwui by 50%"Romain Guy2011-10-121-1/+2
|\ \ \ | |/ / |/| |
| * | Reduce the size of libhwui by 50%Romain Guy2011-10-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change removes unnessary symbols. All symbols are hidden by default, public APIs with exported symbols are explicitly marked with ANDROID_API. Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
* | | Merge "SurfaceFlinger: update orientation via transactions" into ics-mr0Jamie Gennis2011-10-122-10/+3
|\ \ \
| * | | SurfaceFlinger: update orientation via transactionsJamie Gennis2011-10-112-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change merges the ISurfaceComposer::setOrientation functionality into ISurfaceComposer::setTransactionState. It enables the window manager to atomically update both the display orientation and the position and size of the windows in a single transaction with SurfaceFlinger. Bug: 5439574 Change-Id: I18a8ccc564d7d760ef8afb2d015ccdb7a7963900
* | | | Merge "Add video stabilization control to Camera parameters." into ics-mr0Eino-Ville Talvala2011-10-121-0/+19
|\ \ \ \ | |_|/ / |/| | |
| * | | Add video stabilization control to Camera parameters.Eino-Ville Talvala2011-10-121-0/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Hardware video stabilization reduces camera shake in preview and in recorded videos. It has no effect on still image capture. Convenience accessor methods hidden for now. Change-Id: Ie18450bff662b2ef98b85d19719beefc180975fc
* | | Use ashmem for CursorWindows.Jeff Brown2011-10-111-160/+131
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5332296 The memory dealer introduces additional delays for reclaiming the memory owned by CursorWindows because the Binder object must be finalized. Using ashmem instead gives CursorWindow more direct control over the lifetime of the shared memory region. The provider now allocates the CursorWindows and returns them to clients with a read-only protection bit set on the ashmem region. Improved the encapsulation of CursorWindow. Callers shouldn't need to care about details like how string fields are allocated. Removed the compile-time configuration of string and numeric storage modes to remove some dead weight. Change-Id: I07c2bc2a9c573d7e435dcaecd269d25ea9807acd
* | Fix regression in CursorWindow.copyStingToBuffer.Jeff Brown2011-10-071-0/+7
| | | | | | | | | | | | Bug: 5332296 Change-Id: Iff9eed786f0a8293b6156f883a66a322ddad5e99
* | Clean up CursorWindow code.Jeff Brown2011-10-062-6/+26
| | | | | | | | | | | | | | | | | | Bug: 5332296 The code is functionally equivalent, but a little more efficient and much easier to maintain. Change-Id: I90670a13799df05831843a5137ab234929281b7c
* | Set crop params to ANative Window during Initialization.Lakshman Gowda2011-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The native_window_set_crop() is called when port reconfig event callback comes from decoder's and crop parameters are changed from default getconfig() OMX_IndexConfigCommonOutputCrop values. Since the default crop params are same as port reconfig crop params, the native_window_set_crop() is not called, hence resulting in displaying the whole frame(paddedWidth x paddedHeight). By calling native_window_set_crop() during initilaization of output port of decoder ensures in setting up ANative window to crop region. Change-Id: I68926464a1f5c7e6053804615c8b9bd32ea85688 Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
* | Fix handling of "allow fds" state.Dianne Hackborn2011-10-031-1/+2
| | | | | | | | | | | | Didn't take into account nesting of bundles. Boo. Change-Id: Ic8cf21ad8d6f4938a3e105128624c9d162310d01
* | Transfer large bitmaps using ashmem.Jeff Brown2011-10-031-3/+46
| | | | | | | | | | | | Bug: 5224703 Change-Id: If385a66adf4c6179a0bb49c0e6d09a9567e23808
* | Add mechanism for Parcel to not allow FDs to be written to it.Dianne Hackborn2011-10-032-1/+5
| | | | | | | | | | | | This is to help implement issue #5224703. Change-Id: I026a5890495537d15b57fe61227a640aac806d46
* | SurfaceTexture: parameterize the texture targetJamie Gennis2011-09-301-1/+11
|/ | | | | | | This change adds a hack to allow Android Browser to use a SurfaceTexture to stream RGBA images to a GL_TEXTURE_2D texture object. Change-Id: Idb90064d5d4b920959ef3be7451362ac5012460e
* Gracefuly return on detecting wrong AAC format from corrupted filesGilles-Arnaud Bleu-Laine2011-09-301-1/+1
| | | | | | | | | | | Return BAD_VALUE error upon detection of wrongly formatted files. The client should abort the initialization upon error detection. The current CHECK() interrupts the configurecodec() preventing a graceful exit. Change-Id: Ic79313fa76a63284897df5d91635de87d06f3100 Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
* Support AMR, G.711 and vorbis audio in ACodec and friends.Andreas Huber2011-09-281-0/+6
| | | | Change-Id: I08c03219bf2d60fc5c6e89957bd4b4c615570983
* Merge changes Ib302d79e,Ib4ee085fJamie Gennis2011-09-271-1/+10
|\ | | | | | | | | | | * changes: SurfaceFlinger: set layer names on SurfaceTextures SurfaceTexture: add name support
| * SurfaceTexture: add name supportJamie Gennis2011-09-221-1/+10
| | | | | | | | | | | | | | This change adds support for setting a string that can be used to identify a SurfaceTexture object in log messages. Change-Id: Ib4ee085f36c8830dc964c05ef1654f5a55dfcd60
* | Propagate error signalled by the source all the way to the output EOS ↵Andreas Huber2011-09-261-0/+1
| | | | | | | | | | | | | | notification. Change-Id: I30e959a6d669f09745c59fbdebee08f869511cf7 related-to-bug: 5372901
* | Revert "Transfer large bitmaps using ashmem. Bug: 5224703"Bart Sears2011-09-251-46/+3
| | | | | | | | | | This reverts commit 56c58f66b97d22fe7e7de1f7d9548bcbe1973029 This CL was causing the browser to crash when adding bookmarks, visiting the bookmarks page, and sharing pages (see bug http://b/issue?id=5369231
* | Transfer large bitmaps using ashmem.Jeff Brown2011-09-231-3/+46
| | | | | | | | | | | | Bug: 5224703 Change-Id: Ic7481dd9f173986f085a8bbdcc59bbe9830d7a44
* | am 3d9a9e55: Merge "Update camera javadoc about AE and AWB lock." into ↵Wei Huang2011-09-231-16/+6
|\ \ | |/ |/| | | | | | | | | ics-factoryrom * commit '3d9a9e55df85c720573e69ec3062efc331ea69bb': Update camera javadoc about AE and AWB lock.
| * Update camera javadoc about AE and AWB lock.Wu-cheng Li2011-09-221-16/+6
| | | | | | | | | | | | | | | | | | - Autofocus does not lock AE and AWB. - stopPreview and takePicture do not clear AE and AWB locks. bug:5356404 Change-Id: I55d9b35f4ff746ecd2bff112c2674f1aa2543aca
* | Handle orientation changes more systematically.Jeff Brown2011-09-211-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4981385 Simplify the orientation changing code path in the WindowManager. Instead of the policy calling setRotation() when the sensor determined orientation changes, it calls updateRotation(), which figures everything out. For the most part, the rotation actually passed to setRotation() was more or less ignored and just added confusion, particularly when handling deferred orientation changes. Ensure that 180 degree rotations are disallowed even when the application specifies SCREEN_ORIENTATION_SENSOR_*. These rotations are only enabled when docked upside-down for some reason or when the application specifies SCREEN_ORIENTATION_FULL_SENSOR. Ensure that special modes like HDMI connected, lid switch, dock and rotation lock all cause the sensor to be ignored even when the application asks for sensor-based orientation changes. The sensor is not relevant in these modes because some external factor (or the user) is determining the preferred rotation. Currently, applications can still override the preferred rotation even when there are special modes in play that might say otherwise. We could tweak this so that some special modes trump application choices completely (resulting in a letter-boxed application, perhaps). I tested this sort of tweak (not included in the patch) and it seems to work fine, including transitions between applications with varying orientation. Delete dead code related to animFlags. Handle pausing/resuming orientation changes more precisely. Ensure that a deferred orientation change is performed when a drag completes, even if endDragLw() is not called because the drag was aborted before the drop happened. We pause the orientation change in register() and resume in unregister() because those methods appear to always be called as needed. Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
* | Merge "fix the float Rect in OpenGLRenderer to handle NANs"Mathias Agopian2011-09-201-1/+1
|\ \
| * | fix the float Rect in OpenGLRenderer to handle NANsMathias Agopian2011-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - we want functions like isEmpty() to return true if NANs are involved in the Rect - also clean-up the intersect familly of calls - minor cleanup in the int32_t Rect as well These played a role in http://b/5331198. Bug: 5331198 Change-Id: I5369725ab482e4b83da9f1bd4cee5256e5de75b2
* | | am 92d0a64b: Merge "Add QVGA resolution to CamcorderProfile" into ics-factoryromJames Dong2011-09-191-2/+4
|\ \ \ | |/ / |/| / | |/ | | * commit '92d0a64b909cd95e8f4ce587438b0cc6d2daeaa0': Add QVGA resolution to CamcorderProfile
| * Add QVGA resolution to CamcorderProfileJames Dong2011-09-191-2/+4
| | | | | | | | | | Change-Id: Icebbafb68d8164370f98a2c36699845d10ef081b related-to-bug: 5145483
* | A new API "androidGetThreadPriority"Andreas Huber2011-09-161-0/+4
|/ | | | Change-Id: I6baeead8c70460863343fd557250635fb1e6a170
* Merge "Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529"Jeff Brown2011-09-141-9/+40
|\
| * Velocity Tracker II: The Revenge of Velocity TrackerJeff Brown2011-09-141-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5265529 Rewrote the velocity tracker to fit a polynomial curve to pointer movements using least squares linear regression. The velocity is simply the first derivative of this polynomial. Clients can also obtain an Estimator that describes the complete terms of the estimating polynomial including the coefficient of determination which provides a measure of the quality of the fit (confidence). Enhanced PointerLocation to display the movement curve predicted by the estimator in addition to the velocity vector. By default, the algorithm computes a 2nd degree (quadratic) polynomial based on a 100ms recent history horizon. Change-Id: Id377bef44117fce68fee2c41f90134ce3224d3a1
* | Merge "Change an assert failure due to unsupported level by HW AVC decoder ↵James Dong2011-09-141-1/+1
|\ \ | |/ |/| | | and report the error to applications"
| * Change an assert failure due to unsupported level by HW AVC decoder and ↵James Dong2011-09-131-1/+1
| | | | | | | | | | | | | | report the error to applications Change-Id: I522a994981d86329ccc86c3b536b561dc6e40eeb related-to-bug: 5300618