summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes I689cb0c0,I09603218Mathias Agopian2011-08-032-56/+2
|\ | | | | | | | | | | * changes: Add a 'release' method to the SurfaceTexture public Java API Mark Window-Manager-specific APIs on android.view.Surface as @hide
| * Add a 'release' method to the SurfaceTexture public Java APIMathias Agopian2011-08-031-0/+1
| | | | | | | | | | Bug: 5063618 Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
| * Mark Window-Manager-specific APIs on android.view.Surface as @hideMathias Agopian2011-08-032-56/+1
| | | | | | | | | | Bug: 5063337 Change-Id: I096032186acfc6b6a032636188e4d44907e46233
* | Merge "Added Device Default Themes."Romain Guy2011-08-031-0/+173
|\ \
| * | Added Device Default Themes.Andrew Sapperstein2011-08-031-0/+173
| |/ | | | | | | | | | | | | | | | | | | | | Now we have device default themes that OEMs can change without affecting the Holo theme or its derivatives. Additionally, the device default themes point to device default styles that have stubs (while inheriting from their holo analogs). Change-Id: I91f4a828eca1ba4da1d5b073dd04a34e52534aa4
* | Merge "Expose quota status for active network."Jeff Sharkey2011-08-031-1/+12
|\ \ | |/ |/|
| * Expose quota status for active network.Jeff Sharkey2011-08-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Create API to expose quota status derived from underlying network policy. This is designed to support applications making informed decisions when performing network requests. Fix bug with random stats generation, and write policy when changing restrict background data flag. Deprecate EXTRA_NETWORK_INFO, since it varies based on UID. Bug: 4517283, 5088603 Change-Id: Ic6893a8967f69937e466be226ba7bb86ef5a5d2d
* | Merge "Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS."Debashish Chatterjee2011-08-031-0/+1
|\ \
| * | Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS.Debashish Chatterjee2011-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | READ_WRITE_OWN_VOICEMAIL sounds a confusing name. Dianne recommened to rename it to ADD_VOICEMAILS as this simply allows 3rd party apps to add new voicemails to the system. The fact that we allow the app to acces only its own voicemail is implicit and need not be highlighted in the permission name. See bug: 5098551 for more details This CL implements the 1st step of this change by adding the permission ADD_VOICEMAILS. A follow up CL will remove READ_WRITE_OWN_VOICEMAIL once content provider and contacts app have been modified to start using the new ADD_VOICEMAILS permission instead. Bug: 5098551 Change-Id: I515e7967bdb0e8498a60a32983f9122ce10dcc4a
* | | Rename API name "RESULT_ATTR_LOOKS_TYPO"satok2011-08-031-1/+1
|/ / | | | | | | Change-Id: I42ab73513de20ea9a39af734b358094269ca7fe4
* | Fix bug 5098288 - Rethink the suite of new themesAdam Powell2011-08-021-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cut down the list of new themes for ICS. Holo apps now have Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to choose from. Add manifest attribute android:uiOptions to express splitActionBarWhenNarrow. Other options may move into this later as well. (DialogWhenLarge?) This attribute is valid on both activity and application tags; application settings will serve as the default for activities that do not explicitly set uiOptions. uiOptions are not currently reflected in the startup window for new activities. Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
* | Merge "Fix for http://b/issue?id=5081478"Philip Milne2011-08-021-43/+41
|\ \
| * | Fix for http://b/issue?id=5081478Philip Milne2011-08-021-43/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GridLayout needs to call measure on children after it knows how large children should be Also: . Remove deprecated methods and XML attributes. . Stop Spaces having margins by default. . Remove getSpacers() and findUsed() . Change default for row/columnOrderPreserved() from false to true. . Improve automatic index allocation mechanism to use individual maxima. Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72
* | | Merge "Add OpenableColumns to the Voicemail table."Hugo Hudson2011-08-021-1/+1
|\ \ \
| * | | Add OpenableColumns to the Voicemail table.Hugo Hudson2011-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 5066115 Change-Id: I0f7c142fe1244c91a32cc534e258d78a2ce1fa45
* | | | Move SpellCheckerSessionsatok2011-08-021-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | SpellCheckerSession should be in android.view.textservice because this class will be used directly by users. Change-Id: I0df6d7958adda421312b5f641ac4459ca4739cc9
* | | | Move ImageWallpaper to SystemUI process.Dianne Hackborn2011-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nice to not load 4MB bitmaps in the system process. Also, hey, with how we are now scrolling the surface instead of the bitmap, there is no reason to keep that 4MB bitmap loaded in to memory. So don't. Unfortunately it looks like for some reason the VM is still holding on to the bitmap. I'll need to figure out why. Later. Change-Id: Ib3503756144502fc5c8d5e294248c2417c4fe8c8
* | | | Merge "Fix bug 5090996 - Crash on tapping Menu on dial pad"Adam Powell2011-08-011-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix bug 5090996 - Crash on tapping Menu on dial padAdam Powell2011-08-011-0/+1
| |/ / | | | | | | | | | | | | | | | | | | Let the FragmentManager handle deferring menu invalidation when not currently resumed. Change-Id: I6e5de9c8ab5288c7c90a59ce8e0c7bb9133b6eb5
* | | Merge "Add operation counts to network statistics."Jeff Sharkey2011-08-011-0/+1
|\ \ \
| * | | Add operation counts to network statistics.Jeff Sharkey2011-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide API to increment "operation counts" for a UID and tag, used to eventually derive bytes/operation stats. Internally is stored at network layer, but should belong at data layer. Switch profiling to use data layer stats, which are emulated by summarizing network layer details. Read packet counts from new /proc/ columns and collect them into NetworkStatsHistory. Prevent double-counting by ignoring values from first snapshot. Watch for duplicate /proc/ entries. Update tests to verify packet and operation counters. Bug: 5052136, 5097392 Change-Id: I1832f65a2b8a9188f8088f253474a667c21a2f09
* | | | Revert "Unhide APIs for user space VPN."Chia-chi Yeh2011-08-011-21/+0
| |_|/ |/| | | | | | | | | | | | | | This reverts commit 3c2529c717cda3df321c1d0d6abe23ac1f298ac9. Change-Id: I37d4ea6c1079d337ede7ac567d88414a41fc1e11
* | | Hide permissions that are not available to apps.Dianne Hackborn2011-08-011-2/+0
| |/ |/| | | | | Change-Id: I5f3bc72114b780fffe218a5600bfd011ede029d3
* | Restore the 'final' bit on DataInputStream.read()Jesse Wilson2011-07-291-0/+1
| | | | | | | | | | | | This was lost in a recent refactoring. Change-Id: I31bc9cd5c4015135c4074d9b564edf5a9cc2ecd5
* | Merge "Various work on out of memory managment."Dianne Hackborn2011-07-291-5/+37
|\ \ | |/ |/|
| * Various work on out of memory managment.Dianne Hackborn2011-07-291-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "The fullest of fullscreen modes."Daniel Sandler2011-07-291-2/+5
|\ \ | |/ |/|
| * The fullest of fullscreen modes.Daniel Sandler2011-07-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Fixing widget notifyDataSetChanged() not getting called, issue 5092676"Adam Cohen2011-07-281-0/+2
|\ \
| * | Fixing widget notifyDataSetChanged() not getting called, issue 5092676Adam Cohen2011-07-281-0/+2
| | | | | | | | | | | | Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
* | | Merge "Fix bug 5087752 - Maintain correct contrast against action bars in ↵Adam Powell2011-07-281-1/+3
|\ \ \ | | | | | | | | | | | | inverse-bar themes"
| * | | Fix bug 5087752 - Maintain correct contrast against action bars inAdam Powell2011-07-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inverse-bar themes Add the actionBarWidgetTheme theme attribute. This lets a theme specify a wrapper theme that can be used to create views that will end up in the action bar so that the rest of the code can ignore differences in contrast. (e.g. the inverse action bar themes.) Apps can use ActionBar#getThemedContext() to obtain a Context with a proper theme for views that will end up in the action bar. MenuInflaters generated by Activities will automatically use this to properly theme inflated action views. Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
* | | | Add constant for NFC sharing settings screen.Martijn Coenen2011-07-281-0/+1
|/ / / | | | | | | | | | Change-Id: Ibeea153442110542f05d1ece57a7dc6388a91fbf
* | | Merge "Part of fix for bug 4997380: Some error types unknown to SslError"Kristian Monsen2011-07-282-2/+4
|\ \ \ | |_|/ |/| |
| * | Part of fix for bug 4997380: Some error types unknown to SslErrorKristian Monsen2011-07-132-2/+4
| | | | | | | | | | | | | | | | | | | | | Mapping chromium error codes from net/base/net_error_list.h to SslError codes. Change-Id: Ie4f98974e23969c3b5ae1f8c4413772cf93603b9
* | | Merge "Unhide APIs for user space VPN."Chia-chi Yeh2011-07-271-0/+21
|\ \ \
| * | | Unhide APIs for user space VPN.Chia-chi Yeh2011-07-211-0/+21
| | | | | | | | | | | | | | | | Change-Id: I2d9e5a8a3ee8556626e373bfdc93c809dad40bff
* | | | Merge "Handle stylus buttons and tool types."Jeff Brown2011-07-271-2/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Handle stylus buttons and tool types.Jeff Brown2011-07-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added TOOL_TYPE_ERASER. Refactored the InputReader to share more code between the various input mappers that handle button states and to simplify the accumulator implementations by having each one only handle a single type of input. Removed the concept of direct/indirect tool types from the API. If we add it back, it should be done in a manner that is orthogonal to the tool type itself, perhaps as a flags field on the pointer. The device source may well provide sufficient information anyhow. Change-Id: I811c22d95e8304269b6ee4f6d11a6b04f3cfc1b2
* | | | Merge "Add getName to renderscript base object"Alex Sakhartchouk2011-07-271-0/+1
|\ \ \ \
| * | | | Add getName to renderscript base objectAlex Sakhartchouk2011-07-261-0/+1
| |/ / / | | | | | | | | | | | | Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
* | | | Merge "Bug 4987014: a tap outside dismisses the text suggestion popup"Gilles Debunne2011-07-271-53/+52
|\ \ \ \
| * | | | Bug 4987014: a tap outside dismisses the text suggestion popupGilles Debunne2011-07-251-53/+52
| |/ / / | | | | | | | | | | | | Change-Id: I61f5a3c981770393aa861c88d989c653ea00a067
* | | | Merge "Unhide new RS apis."Jason Sams2011-07-261-0/+17
|\ \ \ \
| * | | | Unhide new RS apis.Jason Sams2011-07-261-0/+17
| |/ / / | | | | | | | | | | | | Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
* | | | Add IS_READ field to CallLog and VoicemailContract.Flavio Lerda2011-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had initially decided to merge the NEW field (from the call log) and IS_READ field (from the voicemail contract) into the single NEW field already present in the call log. However, it turned out that the meaning of the two fields is slightly different: NEW means the items has just been inserted (and the user is not aware of it) while IS_READ represents whether the user has read this specific message (or heard, in case of voicemails). This change makes the IS_READ field public, as well as deletes the NEW field from the voicemail contract, since it is no longer needed there. The NEW field in the voicemail contract (in fact the entire voicemail contract) has never been released (this feature is new in ICS). Bug: 5036195 Change-Id: I740c51c1a8e6d2460050eaab9943fb38b1565058
* | | | Merge "Add new contacts intent action for the "invite" feature"Makoto Onuki2011-07-261-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Add new contacts intent action for the "invite" featureMakoto Onuki2011-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug 5061956 Change-Id: Iaf9926108db51adb3a8742130b1f0418186090c2
* | | | Merge "Fix for http://b/issue?id=5064532"Philip Milne2011-07-251-5/+4
|\ \ \ \
| * | | | Fix for http://b/issue?id=5064532Philip Milne2011-07-251-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly Also: . Infer stretchibility from whether or not gravity is defined. . Make algorithms for handling flexibility within cell groups consistent with those acting between cells groups (via constraint system). . Hide and deprecate methods taking flexibility argument. . Hide and deprecate CAN_STRETCH constant. Both deprecated features will be removed after references are removed from platform. Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125