summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Sort the suggestions based based on the length of the text they are attached ↵Luca Zanolin2011-08-011-3/+36
| | | | | | | | | | too. When the suggestions are displayed, the shortest one will be at the top of the list, as they are the most relevant one. Bug: 5006130 Change-Id: Id3ac3accce5198a6a58a0c3028ee5f77957ceac6
* Trim HardwareRenderer memory more frequently.Romain Guy2011-07-291-0/+2
| | | | Change-Id: I92e72ce5da324f9ffcfdf7a54d8b368c2531799c
* Merge "Improving accessibility feedback for two state widgets."Svetoslav Ganov2011-07-299-40/+82
|\
| * Improving accessibility feedback for two state widgets.Svetoslav Ganov2011-07-299-40/+82
| | | | | | | | | | | | | | | | | | | | | | | | 1. Added population of sensible text for the state of the two state controls such as CheckBox, Switch, etc. This is important since if they are in a layout manager which fires an accessibility event there should be a description of the widget. bug:5092552 Change-Id: Ie3ca955653563496b84db379ae23a23fe88089a8
* | Merge "Part of fix for bug 4997380: Some error types unknown to SslError"Kristian Monsen2011-07-291-1/+6
|\ \
| * | Part of fix for bug 4997380: Some error types unknown to SslErrorKristian Monsen2011-07-291-1/+6
| | | | | | | | | | | | | | | | | | Use the new SslError chromium error codes parser. Change-Id: I0b5584bd3f3e042600caebe72f4e41989318cd6a
* | | Merge "Add a runtime switch between Raster and Ganesh rendering modes."Derek Sollenberger2011-07-292-1/+32
|\ \ \
| * | | Add a runtime switch between Raster and Ganesh rendering modes.Derek Sollenberger2011-07-122-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are corresponding changes in: external/webkit -- change ID: 120660 packages/apps/Browser -- change ID: 120664 bug: 5013645 Change-Id: I4fc8ca6735a06682671ee06378c738ccf172e576
* | | | Merge "New interaction model for suggestions"Gilles Debunne2011-07-291-159/+144
|\ \ \ \
| * | | | New interaction model for suggestionsGilles Debunne2011-07-281-159/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Double tap and long press both start a text selection mode. The previous 'Paste' popup window associated with insertion handle is now also used in selection mode. It offers a new 'Replace' option that will popup the suggestion list. The HC paste/side/nopaste layout are no longer used. For the new action popup window, I also chose not to make the new background / text appearance styles themable in order to avoid the same problem in case this design evolves again. Known problems: the popup is not moved when the TextView is scrolled. the final visual style may change the "ADD TO DICT" option is missing from the suggestion list no interaction with the spell checker - There are different bugs open for each of these Change-Id: I167841f5ac017227fe4efa616eb935247250871a
* | | | | Merge "Don't submit a query if it's whitespace only."Amith Yamasani2011-07-292-1/+2
|\ \ \ \ \
| * | | | | Don't submit a query if it's whitespace only.Amith Yamasani2011-07-272-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just to maintain backward compatibility. It's not documented that a space is not a valid query, but it does make sense to expect that. Bug: 5079755 Also avoid showing an x by an empty query, by having the SearchDialog simulate an ActionBar. Change-Id: I3a9332286a439b659e179a249587c491ef29e5c1
* | | | | | Merge "Require the current backup pw in all backup/restore operations"Christopher Tate2011-07-291-1/+2
|\ \ \ \ \ \
| * | | | | | Require the current backup pw in all backup/restore operationsChristopher Tate2011-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, we now also require the current password to confirm any restore operation. Bug 4901637 Change-Id: I39ecce7837f70cd05778cb7e0e6390ad8f6fe3f3
* | | | | | | Merge "Various work on out of memory managment."Dianne Hackborn2011-07-2913-48/+371
|\ \ \ \ \ \ \
| * | | | | | | Various work on out of memory managment.Dianne Hackborn2011-07-2913-48/+371
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Improve how we handle processes that have shown UI, to take care of more cases where we want to push them into the background LRU list. - New trim memory level for when an application that has done UI is no longer visible to the user. - Add APIs to get new trim memory callback. - Add a host of new bind flags to tweak how the system will adjust the OOM level of the target process. Change-Id: I23ba354112f411a9f8773a67426b4dff85fa2439
* | | | | | | am 86574d66: am 0d8acea9: Make copy-constructor make deep copy.Robert Greenwalt2011-07-291-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '86574d66dacc09c9b5a0a0ab2623ec01704b6fc8': Make copy-constructor make deep copy.
| * \ \ \ \ \ \ am 0d8acea9: Make copy-constructor make deep copy.Robert Greenwalt2011-07-291-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0d8acea9bb452d1fdbb3d811041f7bdb1b0ef8a3': Make copy-constructor make deep copy.
| | * | | | | | | Make copy-constructor make deep copy.Robert Greenwalt2011-07-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used to grab immutables but now will copy the data so the result is mutable and we don't get crashes. bug:5051667 Change-Id: I0878bf8c58069055f528121541d1911f404cbe49
| * | | | | | | | resolved conflicts for merge of 41394a36 to honeycomb-plus-aospRobert Greenwalt2011-07-271-2/+2
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ic839eb7bd8081b94802dbbf9140b9d1fa0cf7df3
| * | | | | | | | Fix build.Robert Greenwalt2011-07-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add NetworkUtils function missed in manual merge. Change-Id: Ifce8f2988bb581ddc9b971b8af07a32f46c91e14
* | | | | | | | | Merge "The fullest of fullscreen modes."Daniel Sandler2011-07-292-10/+56
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | The fullest of fullscreen modes.Daniel Sandler2011-07-282-10/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View.setSystemUiVisibility() now properly accepts a bitfield, including: * SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode" (previously known, erroneously, as STATUS_BAR_HIDDEN) * SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every single pixel on a device that also has a navigation bar These flags are painstakingly aggregated across the entire view hierarchy and carefully delivered to the status bar service, which in turn gently passes them along to the bar implementation. To really get access to the whole screen, you need to use HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for an example of how to do this. Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
* | | | | | | | | Merge "Fix issues in TextServicesManagerService"satok2011-07-291-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | Fix issues in TextServicesManagerServicesatok2011-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I48c81226d824e8aad42e01e87fcf9a5b466d2321
* | | | | | | | | Merge "Fix a bug where a provider could be never released."Jean Chalard2011-07-281-2/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix a bug where a provider could be never released.Jean Chalard2011-07-281-2/+2
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5034192 Change-Id: I5d4adf27ea933687d4a0bc5ee76d57b74e708eec
* | | | | | | | | Merge "Don't create hw layers when there's no hw context. Bug #5093805"Romain Guy2011-07-284-6/+13
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Don't create hw layers when there's no hw context.Romain Guy2011-07-284-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5093805 Change-Id: Ia58b3381c83b9a200e80020e5c1b9c337ad6c35c
* | | | | | | | | | Merge "Handle the existing binds to spell checkers correctly."satok2011-07-282-1/+23
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Handle the existing binds to spell checkers correctly.satok2011-07-292-1/+23
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I32efce9f8c09b5a829b0431e8c444fc54b03b440
* | | | | | | | | Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen"Jim Miller2011-07-285-14/+210
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix 5044158: Initial pass: add music transport controls to LockScreenJim Miller2011-07-285-14/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored all lockscreen notifications to go through new KeyguardStatusViewManager. This is required to intercept messages originally intended for separate TextViews that are now shown in a single view when showing the transport control view. Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager. First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen. First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on LockScreen. Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts. Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user out if certain criteria isn't met (missing SIM, etc). Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and no longer make good use of a shared layout for this. Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement was being calculated improperly. Moved EmergencyCallButton to bottom of view where we can. Removed unused Alpha keyboards from tablet password unlock layouts. Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names. Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation. Separated clock colors for phones/tablets since they're now different. Converted remaining phone layouts to use GridLayout. Start routing audiomanager events to lockscreen views. Move emergency call button handling to KeyguardStatusViewManager. Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
* | | | | | | | | | Merge "Provide an API to set the friendly name of a remote device."Matthew Xie2011-07-284-1/+88
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Provide an API to set the friendly name of a remote device.Matthew Xie2011-07-284-1/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothDevice setName overwrite the locally cached remote name. The changed name is saved in the local storage so that the change is preserved over power cycle. bug 5081605 Change-Id: I486966033828d153bfb1076a99e274c8a7f41636
* | | | | | | | | | | Merge "use pageswap callback to sync WebTextView with drawing of page"Chris Craik2011-07-281-7/+22
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | use pageswap callback to sync WebTextView with drawing of pageChris Craik2011-07-281-7/+22
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5008210 Redraw the WebTextView when the page swaps (and thus the background is updated) That way it updates at (approximately) the same time as the page. In software rendering, do as before. Depends on following external/webkit change: https://android-git.corp.google.com/g/#change,124606 Change-Id: I59d7266a49d0ba734efdb88fef5fafe68aecfbce
* | | | | | | | | | | Merge "Add frame metadata parameter to camera data_callback."Wu-cheng Li2011-07-281-17/+21
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
| * | | | | | | | | | Add frame metadata parameter to camera data_callback.Wu-cheng Li2011-07-291-17/+21
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:4460717 Change-Id: Ib47d7d7df20af8155a719f3dabefe030893bfebc
* | | | | | | | | | Merge "Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize ↵Adam Powell2011-07-285-7/+29
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | if activity handles orientation change"
| * | | | | | | | | Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resizeAdam Powell2011-07-285-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if activity handles orientation change Make sure that bar content height and sizing/layout parameters are properly updated after a configuration change. Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
* | | | | | | | | | Merge "Support full-backup encryption and global backup password"Christopher Tate2011-07-282-30/+63
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Support full-backup encryption and global backup passwordChristopher Tate2011-07-282-30/+63
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user has supplied a backup password in Settings, that password is validated during the full backup process and is used as an encryption key for encoding the backed-up data itself. This is the fundamental mechanism whereby users can secure their data even against malicious parties getting physical unlocked access to their device. Technically the user-supplied password is not used as the encryption key for the backed-up data itself. What is actually done is that a random key is generated to use as the raw encryption key. THAT key, in turn, is encrypted with the user-supplied password (after random salting and key expansion with PBKDF2). The encrypted master key and a checksum are stored in the backup header. At restore time, the user supplies their password, which allows the system to decrypt the master key, which in turn allows the decryption of the backup data itself. The checksum is part of the archive in order to permit validation of the user-supplied password. The checksum is the result of running the user-supplied password through PBKDF2 with a randomly selected salt. At restore time, the proposed password is run through PBKDF2 with the salt described by the archive header. If the result does not match the archive's stated checksum, then the user has supplied the wrong decryption password. Also, suppress backup consideration for a few packages whose data is either nonexistent or inapplicable across devices or factory reset operations. Bug 4901637 Change-Id: Id0cc9d0fdfc046602b129f273d48e23b7a14df36
* | | | | | | | | | Merge "Changed walled garden to better url"Irfan Sheriff2011-07-281-7/+0
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Changed walled garden to better urlIsaac Levy2011-07-281-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now checking for walled gardens using 204 error code on http://clients3.google.com/generate_204 Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
* | | | | | | | | | | Merge "Fixing widget notifyDataSetChanged() not getting called, issue 5092676"Adam Cohen2011-07-284-6/+52
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fixing widget notifyDataSetChanged() not getting called, issue 5092676Adam Cohen2011-07-284-6/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
* | | | | | | | | | | Merge "Keep original DialogTitle color when resizing."Jeff Sharkey2011-07-281-12/+10
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Keep original DialogTitle color when resizing.Jeff Sharkey2011-07-281-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id9d3bf565cc5660ab37037e74be63221cd638ba6
* | | | | | | | | | | Merge "Updating the data base upgrade/creation code for the new touch ↵Svetoslav Ganov2011-07-282-1/+3
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | exploraion setting."