summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Improve OPEN/CREATE_DOC docs." into klp-devJeff Sharkey2013-10-152-51/+94
|\
| * Improve OPEN/CREATE_DOC docs.Jeff Sharkey2013-10-152-51/+94
| | | | | | | | | | Bug: 10936473 Change-Id: I4378aaaf927f114982191efd4f9887dad075390d
* | Merge "Improve external storage docs on Context." into klp-devJeff Sharkey2013-10-151-44/+104
|\ \ | |/
| * Improve external storage docs on Context.Jeff Sharkey2013-10-151-44/+104
| | | | | | | | | | Bug: 10461652 Change-Id: I42a3d887418e126f9dc2a9be8060a8eedd425f8e
* | Merge "Force the wallpaper to reload when dimensions change" into klp-devMichael Wright2013-10-151-0/+1
|\ \
| * | Force the wallpaper to reload when dimensions changeMichael Wright2013-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently it's possible for the home application to suggest new wallpaper dimensions and the WallpaperService to request the bitmap between when the new dimensions have been propagated and the old bitmap has been forgotten. This leads to the WallpaperService drawing a Bitmap with the old dimensions into a Surface with the new dimensions. By forcing the WallpaperManager to forget the old Bitmap immediately before we reload it, we can ensure that we always have a Bitmap of the correct size. Bug: 10853302 Change-Id: I298ac5f3f8bcde54eeb1e45d21bf2ba3cbb618c9
* | | Camera2: return CaptureResult.STATISTICS_FACESZhijun He2013-10-151-37/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes included in this CL: - remove the WAR for face detect mode null case. - make the sanity check assert to warnings. - make number of faces to be the minimal length of face metadata array length to avoid out of bound access, since we relax the sanity check. Bug: 11206459 Change-Id: Ifd9f7f79617039c1b3ad631f202b48076d775e09
* | | Delete the old WebView.Torne (Richard Coles)2013-10-1555-29789/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Delete all the Java classes used only by the old WebView implementation, and also sections of common classes that were only needed for the old WebView. Bug: 10427705 Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
* | | Remove support for switching WebView.Torne (Richard Coles)2013-10-151-28/+3
| | | | | | | | | | | | | | | | | | | | | | | | WebViewFactory remains as an abstraction layer, but will now always creates Chromium WebView instances. Bug: 10427705 Change-Id: I045e43eb35462567fecd29d04e7b61902baef547
* | | Merge "Camera2: Fix face rectangle coordinate mapping, and use Key.equals" ↵Eino-Ville Talvala2013-10-151-4/+25
|\ \ \ | | | | | | | | | | | | into klp-dev
| * | | Camera2: Fix face rectangle coordinate mapping, and use Key.equalsEino-Ville Talvala2013-10-141-4/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - Faces are reported differently from other rectangles, so the mapping has to be specialized for them - Use Key.equals for key comparison. Bug: 11206459 Change-Id: I9a2a408dad981c2911048191ec30977020953146
* | | Merge "Fix getBuiltInWallpaper method" into klp-devMichael Jurka2013-10-151-1/+1
|\ \ \
| * | | Fix getBuiltInWallpaper methodMichael Jurka2013-10-141-1/+1
| | | |
* | | | Merge "Give IMEs the entire screen to use for measuring purposes." into klp-devJohn Spurlock2013-10-151-2/+4
|\ \ \ \
| * | | | Give IMEs the entire screen to use for measuring purposes.John Spurlock2013-10-141-2/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMEs recently gained the ability to layout out under the nav bar, but our core measuring logic does not give height=WRAP_CONTENT windows the entire screen height when computing desired window height. Since IMEs can be identified by type, let them use the entire screen height for measuring purposes, to properly handle the cases where space is constrained, making that unaccounted-for nav bar height important. Bug:11215678 Change-Id: I1d0b73454c0c629e7d669b9de70641c7e8c4d333
* | | | Merge "Fix issue #11223335: APR: Lots of failures in procstats due to..." ↵Dianne Hackborn2013-10-152-16/+11
|\ \ \ \ | | | | | | | | | | | | | | | into klp-dev
| * | | | Fix issue #11223335: APR: Lots of failures in procstats due to...Dianne Hackborn2013-10-142-16/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...bad cleanup of crashing processes We now have a special path for crashing processes, to silently clean up their state. Also some tweaks to Log/Slog.wtf to get better stack crawl summaries in APR. Change-Id: Ieced26989907a6e7615b6fa033813fced78d7474
* | | | Merge "Fix the build" into klp-devMichael Jurka2013-10-151-2/+0
|\ \ \ \
| * | | | Fix the buildMichael Jurka2013-10-141-2/+0
| | | | |
* | | | | Merge "Ensure URIs have content:// scheme in WPM" into klp-devMichael Jurka2013-10-151-1/+24
|\ \ \ \ \ | |/ / / /
| * | | | Ensure URIs have content:// scheme in WPMAdam Lesinski2013-10-141-1/+24
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | getCropAndSetWallpaperIntent should only accept URIs with the content:// scheme, so that the receiving application doesn't crash opening a file it can't access. bug:11173560 Change-Id: I855496633b646373db757e9d8e6e425568103b8b
* | | | Merge "Relax user constraint on storage state." into klp-devJeff Sharkey2013-10-151-1/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Relax user constraint on storage state.Jeff Sharkey2013-10-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we wtf() when called various places in the system. Bug: 11223886 Change-Id: I514d28603db02e3debd4af1cf20049af0c7399f4
* | | | Merge "Add extras to AFD, send orientation metadata." into klp-devJeff Sharkey2013-10-152-11/+120
|\ \ \ \ | |/ / /
| * | | Add extras to AFD, send orientation metadata.Jeff Sharkey2013-10-142-11/+120
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AssetFileDescriptor augments a ParcelFileDescriptor with details about how it should be interpreted, so extend it to support a Bundle of extras. Then use these extras to share thumbnail orientation metadata. The raw image data of EXIF thumbnails matches the orientation of the enclosing image, but the thumbnail data doesn't repeat the EXIF flags. This meant that receivers of openDocumentThumbnail() would get an image that needed to be transformed, but without enough context to actually transform it. Instead of transforming and recompressing the image on the fly on the provider side, send a transformation hint that the receiver side can interpret. Bug: 11205688 Change-Id: Ibc5a7ad002377a55e6ffcb5ac5c8829841002e06
* | | Merge "NFC card emulation API docs." into klp-devMartijn Coenen2013-10-144-97/+296
|\ \ \ | |_|/ |/| |
| * | NFC card emulation API docs.Martijn Coenen2013-10-144-97/+296
| | | | | | | | | | | | | | | Bug: 10550319 Change-Id: I3023639d728aa76af89d15e0491b86c7c641648e
* | | Wrap measurement optimization in targetSdk checkAdam Lesinski2013-10-141-4/+26
| |/ |/| | | | | | | | | | | | | | | | | | | | | A measurement optimization has exposed some apps that are relying on incidental layout requests to have themselves update. With the optimization enabled, these apps break. Apps targetted at older versions of Android should not break due to this optimization. bug:11192311 Change-Id: Id5fc7f83ec2cb1541d3d0d16f951cd57c0afaccd
* | Merge "Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-devJohn Spurlock2013-10-142-68/+3
|\ \
| * | Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.John Spurlock2013-10-142-68/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate transient bar mode to IMMERSIVE_STICKY, and introduce new behavior for IMMERSIVE: namely the opaque bars are revealed by clearing the flags on swipe. Remove low-profile optimization that confuses api demos and other apps using low-profile as a signal. TransientNavigationConfirmation renamed to ImmersiveModeConfirmation, and its associated resources, since the confirmation is now shown when the nav bar is shown in either of the two immersive modes. Remove unused Toast.makeBar and associated hidden framework bits now that the confirmation uses a cling instead. Bug:11062108 Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
* | | Merge "no layout = no visibility" into klp-devVictoria Lease2013-10-141-0/+2
|\ \ \ | |/ / |/| |
| * | no layout = no visibilityVictoria Lease2013-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This fixes an Editor crash when the associated TextView's Layout is null. Bug: 11165608 Change-Id: I061c0db6eef95bf39a7696ad6e6f919bd22bfb11
* | | Fix updating fast scroll state for data set changesAdam Powell2013-10-133-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only looking for old/new count changes is incomplete with the current state of things. The observer's onChanged method will update this in some cases, stomping the different values needed to trigger a fast scroller update. Also update the fast scroller if the data change flag is set. Also fix the positioning of the legacy text overlay. Bug 11188512 Change-Id: I35b3915ce49f8494c6d82f6be6d6df7169deddd7
* | | Fix issue #11199654: Action bar enter animation skips frames when cleared by ↵Dianne Hackborn2013-10-131-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the system We have become too aggressive about not allowing windows to draw while windw animations are running, basically not allowing any drawing in any window when there is any window animation. So if you did a relayout while the status bars were being animated, your window would stop drawing until that status bar animation was complete. This change relaxes those rules in two ways: - A particular window will only be told to stop updating when *it* is currently involved in a window animation. So animations in status bars will not stop app windows from update, and vice versa. - If a window receives input events while it is in the "do not update" state, we will immediately terminate that state and start allowing it to draw. If the user is actually interacting with a window, we don't want to wait to show feedback. Change-Id: I72574eec048aee53115b46a78686cf27f42c42f7
* | | Merge "Adding stepcounter & stepdetector feature strings." into klp-devAravind Akella2013-10-131-1/+15
|\ \ \
| * | | Adding stepcounter & stepdetector feature strings.Aravind Akella2013-10-121-1/+15
| | | | | | | | | | | | | | | | Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
* | | | Merge "Account for translationY when targeting the fast scroller via touch" ↵Adam Powell2013-10-131-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | into klp-dev
| * | | | Account for translationY when targeting the fast scroller via touchAdam Powell2013-10-131-2/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | Bug 11188512 Change-Id: Ia8e0088760a18d5862bbe1b904610abd908a190e
* | | | Merge "The list of active print jobs in print service retunring wrong ↵Svetoslav Ganov2013-10-132-8/+22
|\ \ \ \ | |/ / / |/| | | | | | | result." into klp-dev
| * | | The list of active print jobs in print service retunring wrong result.Svetoslav Ganov2013-10-122-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The getActivePrintJobs() method in print service is designed to return the active print job i.e. ones scheduled to be processed by the print service. Now the correct list is returned. 2. The listeners for observing the state of print jobs may be called even after being unregistered. Ex: state change occurs and we schedule a message on the app's main thread to make the notificaion. Now the app unregisretes the callback and on the next loop the notification message is handled. bug:11200258 Change-Id: I4a497b5c9a7287a22023cafe41ce966d14300ca6
* | | | Merge "DO NOT MERGE: Hide new camera API." into klp-devEino-Ville Talvala2013-10-132-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | DO NOT MERGE: Hide new camera API.Eino-Ville Talvala2013-10-112-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not yet ready. Bug: 11141002 Change-Id: I4704bffb9ba36af47a66dc5b49cbba00be623aae
* | | | Printed document size not persisted.Svetoslav Ganov2013-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We persist ongoing print jobs so they can be restarted if the device dies. The data size of the printed document was not persisted to disc. bug:11199352 Change-Id: I53ef1ee285aa4808917dd6a5c7335226aba1ef0a
* | | | Fail only scheduled print jobs, i.e. handed to a service, if the service is ↵Svetoslav Ganov2013-10-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled. When a print service is disabled we assume all print jobs for it failed as we have no way to know what happens to them. However we are also failing created print jobs, i.e. ones not given to the service. Such jobs are in process of construction and the print dialog is up. We should not fail such jobs as the dialog can still modify their state and potentially select a print from a different service. Therefore, we leave them alone and they will be failed if when constructed are passed to a disabled/uninstalled service. bug:11197432 Change-Id: Ie4fe54327e3e25776b1dd572be2dfafdd700c2e5
* | | | Merge "Document special case in hasOverlappingRendering" into klp-devChris Craik2013-10-121-9/+14
|\ \ \ \ | |_|/ / |/| | |
| * | | Document special case in hasOverlappingRenderingChris Craik2013-10-111-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | bug:11121809 Change-Id: I074ac47aa510bd2362cfda7dffc73930f07e925c
* | | | Merge "Fix infinite boot-loop bug in SM." into klp-devMatthew Williams2013-10-112-18/+3
|\ \ \ \
| * | | | Fix infinite boot-loop bug in SM.Matthew Williams2013-10-112-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:11064918 If the ContentResolver sync API is used with the empty ("") string as a provider, the ContentService will throw an RTE. This cl addresses all the entry points of the API that could allow this, as well as adds an ifEmpty check at the point of failure. Also removed RTE throws from public functions(no point in crashing the phone). Change-Id: I57427d12a6cafb3e6d7a32ca0c10b05315b20580
* | | | | Merge "Workaround fading edge incompatibility with alpha modulation" into ↵Chris Craik2013-10-111-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | klp-dev
| * | | | | Workaround fading edge incompatibility with alpha modulationChris Craik2013-10-111-1/+3
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:11121809 Fading edges, such as drawn by a scrolling marquee TextView, don't behave correctly when their view is modulated, as done by the view system when alpha is set on a view that returns false from hasOverlappingRendering. To work around this, always return true from hasOverlappingRendering if a TextView has horizontal fading edges enabled. Change-Id: I64c9b8c653aa1d9ca320292306fd24333e3ee225