summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the buildMichael Jurka2012-03-303-3/+3
| | | | Change-Id: Ib4ea7df5459d025903d00361eb0e9477be299c85
* Merge "Preload recents on phones with hard nav keys"Michael Jurka2012-03-309-197/+291
|\
| * Preload recents on phones with hard nav keysMichael Jurka2012-03-299-197/+291
| | | | | | | | | | Also refactor recents code across Phone/Tablet Change-Id: Id557c5cb0f7d9378f81c40b20511a5d98bf4078e
* | Merge "Fix b/5353417 Images downloaded from browser are showing incorrect ↵Chih-Chung Chang2012-03-301-2/+2
|\ \ | | | | | | | | | details (Time is shown as dec 31 1969)"
| * | Fix b/5353417 Images downloaded from browser are showing incorrect details ↵Ray Chen2012-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Time is shown as dec 31 1969) MediaScanner sets DATE_TAKEN with EXIF's datetime tag value. When this information is not available, ExifInterface will simply return -1 which is accidentally used by MediaScanner. Adding a check to avoid it so MediaProvider can calculate the date taken from last modified time instead. Change-Id: I305b93a6c5602cbb9f97c3bbd384d358bda030c6
* | | Merge "Improve responsiveness by always consuming batched events."Jeff Brown2012-03-291-3/+7
|\ \ \
| * | | Improve responsiveness by always consuming batched events.Jeff Brown2012-03-291-3/+7
| | | | | | | | | | | | | | | | Change-Id: I2eb88f8fde97ce0cd820f39da4ebe8698a7db95c
* | | | Merge "Remove obsolete variable masking valid one."Craig Mautner2012-03-293-32/+33
|\ \ \ \
| * | | | Remove obsolete variable masking valid one.Craig Mautner2012-03-293-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mUpdateRotation variable was still in the WindowManagerService mInnerFields object. This was masking the true mUpdateRotation found in WindowAnimator. Fixes Bug 6240025. Change-Id: I6531002f870f30d22e19ba9af5cac86e1c7b9bcb
* | | | | Merge "Try to survive a failure return from eglMakeCurrent."Jack Palevich2012-03-291-14/+25
|\ \ \ \ \
| * | | | | Try to survive a failure return from eglMakeCurrent.Jack Palevich2012-03-291-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assume a failure in eglMakeCurrent occurs because the SurfaceView surface has been destroyed. See b/6257956 for an example of this failure happening during rotation stress testing. Change-Id: I4618703b5291aba3a3f0c6bd83c3435a67b97d33
* | | | | | Move TelephonyCapabilities from Phone to telephonyDaisuke Miyakawa2012-03-293-0/+168
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move the class. - Remove some TODOs mentioning this action : the class should belong to telephony layer instead of to the Phone package - Add private strings used in the class Bug: 6252254 Change-Id: I0d4ca2f8e4d775004d146fe6f9c60165a94366a9
* | | | | Merge "Refactor DisplayEventReceiver read loop."Jeff Brown2012-03-291-28/+29
|\ \ \ \ \
| * | | | | Refactor DisplayEventReceiver read loop.Jeff Brown2012-03-291-28/+29
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I98ef802ec0ca48f768e3b0920e1b4b4f7f141050
* | | | | | Merge "Enable vsync traversals by default."Jeff Brown2012-03-295-308/+295
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Enable vsync traversals by default.Jeff Brown2012-03-295-308/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved how the various callbacks are managed and sequenced to reduce code duplication. Added a heuristic to avoid postponing traversals until the next vsync frame if we did not actually do any drawing during the previous frame. This helps in the very common case where drawing occurs in response to input. Change-Id: I277d9eeaf50408f8745a3cfd181db1d140770658
* | | | | | Merge "Improve FocusFinder for RTL support"Fabrice Di Meglio2012-03-291-14/+16
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Improve FocusFinder for RTL supportFabrice Di Meglio2012-03-271-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix some issues introduced in the previous CL Change-Id: Ib679e9f66b029506c7e07e44b8fef176ad262585
* | | | | | Merge "Move Surface operations out of WindowState."Craig Mautner2012-03-296-1023/+1052
|\ \ \ \ \ \
| * | | | | | Move Surface operations out of WindowState.Craig Mautner2012-03-296-1023/+1052
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrated the bulk of Surface operations from WindowState to WindowStateAnimator. There remain a multitude of cross-referencing between the two classes and most of the other classes in the wm package. Change-Id: I4bfdfb84be31341371f3ef311aca8fc6a4966692
* | | | | | | Merge "Move wallpaper animations int WindowAnimator."Craig Mautner2012-03-294-228/+248
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Move wallpaper animations int WindowAnimator.Craig Mautner2012-03-294-228/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More refactoring. This time wallpaper animations were broken up from WindowManagerService and the layout piece kept there while the animation piece was moved into WindwoAnimator. Also, applyAnimationLocked and applyEnterAnimationLocked were moved from WindowManagerService to WindowState. Change-Id: I05935023702ce05fdfdc804342ec14f719cdfea4
* | | | | | | Merge "Fix NDEF documentation to indicate the message may be null."Martijn Coenen2012-03-292-15/+11
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Fix NDEF documentation to indicate the message may be null.Martijn Coenen2012-03-292-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current NFC stack formats tags to the INITIALIZED state as defined by NFC forum; in that state the tag has the NDEF Capability Container, but does not contain any message yet. Tags in that state (correctly) return the NDEF technology, but the documentation does not specify that the message may be null. Also, get rid of buggy getLastErrorCode and use (cached) presence check value to determine if tag was lost during read. Change-Id: If4293428093024ba9cda5dd7c9979b8b06353234
* | | | | | | Merge "Make GLSurfaceView handle eglSwapBuffers errors more robustly."Jack Palevich2012-03-291-34/+31
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Make GLSurfaceView handle eglSwapBuffers errors more robustly.Jack Palevich2012-03-291-34/+31
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A careful reading of the EGL spec, as well as experience with many different EGL drivers, has shown that it is error prone to attempt to discriminate between different error conditions. We now treat any error besides EGL_CONTEXT_LOST as an indication that the EGL context is in a bad state, most likely due to the window manager having removed the underlying surface flinger surface. In addition, we changed the way we deal with this kind of error: Previously we would ignore the error and keep rendering. But if the EGL context and surface has become invalid, it would be better to stop drawing. We now stop drawing until the surface view surface is recreated. See b/6032663 for an example of this problem affecting the GMM app, but note that GMM is using their own version of GLSurfaceView, so this change won't help them directly. They'll have to make a similar change to their version of GLSurfaceView. Change-Id: Iffe3e1e3a3c7a91d03140fd34391eadeaecf777e Signed-off-by: Jack Palevich <jackpal@google.com>
* | | | | | Merge "Enable scrolling page while editing text."George Mount2012-03-291-92/+97
|\ \ \ \ \ \
| * | | | | | Enable scrolling page while editing text.George Mount2012-03-291-92/+97
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6194113 Change-Id: I27841bcf0635b9c8579e6db081612fd9e506d4ca
* | | | | | Merge "Allow formatting a tag as NDEF without a message."Martijn Coenen2012-03-291-3/+7
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Allow formatting a tag as NDEF without a message.Martijn Coenen2012-03-291-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I53a219eec17450b2d0ddc42556f0b930d9b34615
* | | | | | Merge "Use Application#registerLifecycleEvents() instead of a Fragment for ↵Nick Pelly2012-03-294-280/+406
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Beam."
| * | | | | | Use Application#registerLifecycleEvents() instead of a Fragment for Beam.Nick Pelly2012-03-294-280/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fragments don't work as desired if called after life-cycle events such as onDestory() or onSaveInstanceState(). The new approach doesn't work after onDestroy() either, but we can more easily detect this now. For pre-JB apps, we will log an error, and for JB and onwards we will throw. Update documentation to make these rules clear, and to encourage the use of a single Activity per API call, and to make the call in onCreate(). Bug: 5199662 Bug: 5994691 Bug: 6034901 Bug: 6125297 Change-Id: Ib0dde6abfa44cd56c7ddc13ba0ad0e83bbe30058
* | | | | | | Merge "Disable DisplayList properties pending fixes for AlphaAnimation"Chet Haase2012-03-292-2/+2
|\ \ \ \ \ \ \
| * | | | | | | Disable DisplayList properties pending fixes for AlphaAnimationChet Haase2012-03-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new DisplayList properties design has ordering conflicts with the way that alpha works with old animations (AlphaAnimation). This CL disables DiksplayList properties while I'm working on a fix and some more thorough tests for old animations-vs-DL properties in general. Change-Id: I8f6893138f939171491c2ec3c889214ee55d17b7
* | | | | | | | Merge "Fix NPE on tablets."Daniel Sandler2012-03-291-22/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix NPE on tablets.Daniel Sandler2012-03-291-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2128daac06988e4bae25ec48a874901ba731ebf9
* | | | | | | | | Merge "Add discovery broadcasts for p2p"Irfan Sheriff2012-03-294-0/+68
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add discovery broadcasts for p2pIrfan Sheriff2012-03-284-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow apps to figure out if discovery is active or not and based on that initiate a new discovery for fresh connections Change-Id: I4778f135fdd88773e4f0d50c384f9b6ebf561e6d
* | | | | | | | | | Merge "Add document to SpellCheckerService"satok2012-03-291-2/+6
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add document to SpellCheckerServicesatok2012-03-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6136149 Change-Id: I93f0127878372006a240a9a34823f873bcc09927
* | | | | | | | | | | Merge "Support batching input changes to remove flicker."George Mount2012-03-292-7/+61
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Support batching input changes to remove flicker.George Mount2012-03-282-7/+61
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6245151 Change-Id: I642d1487d488ac69a9dedf5c8099d14db559dc0a
* | | | | | | | | | | Merge "Stop showing ADB and MTP/PTP/USB notifications at the top."Daniel Sandler2012-03-292-1/+4
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Stop showing ADB and MTP/PTP/USB notifications at the top.Daniel Sandler2012-03-292-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two parts to this: 1. Stop treating FLAG_ONGOING_EVENT notifications specially (in particular, ordering them at the top of the panel). 2. Set the priority bits on the system UI notifications appropriately (low). Change-Id: I3bde7e573654c5aad5e1c5d29e6a21ba94edcc5b
* | | | | | | | | | | | Merge "The beginning of expanded notifications."Daniel Sandler2012-03-298-71/+205
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | The beginning of expanded notifications.Daniel Sandler2012-03-298-71/+205
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now two "rebuilder" classes, each of which consumes a Notification.Builder and modifies its behavior. (Inheritance in Builder classes is...not advisable.) - BigPictureStyle: includes a large Bitmap above the usual notification strip. - BigTextStyle: shows the contentText in a large, wrapping TextView instead of truncating to one line. As for SystemUI, the notification panel now shows the expanded form if it is available, otherwise the usual contentView is shown. (Note that the structure of largeIcon notifications has changed a bit: The largeIcon is no longer handled by the status bar at all; it's entirely inside the template now. Not only does this make the code simpler, and make large notifications possible, but it fixes the longstanding irritation that tapping on a largeIcon doesn't highlight the whole notification row. Man, that feels good.) Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
* | | | | | | | | | | Merge "Minor code tidying up in WebStorage & GeolocationPermission"Jonathan Dixon2012-03-292-14/+3
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Minor code tidying up in WebStorage & GeolocationPermissionJonathan Dixon2012-03-282-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove unused imports and constants. Change-Id: I5007b270b2cabb55624d85546bfc84f10189e618
* | | | | | | | | | | | Merge "Ensure pointer location view is attached to the policy thread."Jeff Brown2012-03-292-295/+309
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | / / | | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | |
| * | | | | | | | | | Ensure pointer location view is attached to the policy thread.Jeff Brown2012-03-292-295/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we created the PointerLocationView on whatever thread happened to trigger the call to updateSettings(). There was also some messiness around having to add or remove the view while not holding mLock. Now, just post the work to the policy handler. This also makes it possible for us to use invalidate() instead of postInvalidate() in PointerLocationView, which is more efficient. Change-Id: I0646d7aeecffdc22f6ac56ae3ef951e7a12e2b93