summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use float textures to render gradients when possible" into jb-mr2-devRomain Guy2013-04-056-122/+192
|\
| * Use float textures to render gradients when possibleRomain Guy2013-04-056-122/+192
| | | | | | | | | | | | | | | | | | | | | | Float textures offer better precision for dithering. In addition this change removes two uniforms from gradient shaders. These uniforms were used to dither gradients but their value is a build time constant. Instead we hardcode the value directly in the shader source at compile time. Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee
* | Merge "Fix AlertDialog in RTL mode" into jb-mr2-devFabrice Di Meglio2013-04-052-2/+4
|\ \
| * | Fix AlertDialog in RTL modeFabrice Di Meglio2013-04-012-2/+4
| | | | | | | | | | | | | | | | | | | | | - the list view need to define textAlignment to "viewStart" so that the list view items will inherit it. Change-Id: Ib8cd75f28dcaf8a1afb22dd595490afa8e24d25f
* | | Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-devJeff Brown2013-04-057-10/+58
|\ \ \
| * | | Correctly manage the lifecycle of IME InputChannels.Jeff Brown2013-04-047-10/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InputChannels are normally duplicated when sent to a remote process over Binder but this does not happen if the recipient is running within the system server process. This causes problems for KeyGuard because the InputMethodManagerService may accidentally dispose the channel that KeyGuard is using. Fixed the lifecycle of InputChannels that are managed by the IME framework. We now return a duplicate of the channel to the application and then take care to dispose of the duplicate when necessary. In particular, InputBindResult disposes its InputChannel automatically when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE). Bug: 8493879 Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
* | | | New NotificationListenerService.Daniel Sandler2013-04-0526-93/+573
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
* | | | Merge "Make the min layer go down through all windows" into jb-mr2-devCraig Mautner2013-04-051-19/+18
|\ \ \ \
| * | | | Make the min layer go down through all windowsCraig Mautner2013-04-051-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The min layer was set to only show the windows that matched the specified app token. But that meant when dialogs were launched it only showed the dialogs and not the background windows. Added improved debugging. fixes bug 8502844. Change-Id: I26b49568b872801ec9aa088df20317aa752dacd6
* | | | | Merge "Adding new Chomium-WebView property key, and deprecating old key." ↵Kristian Monsen2013-04-051-5/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | Adding new Chomium-WebView property key, and deprecating old key.Jared Duke2013-03-281-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adding isExperimentalWebViewAvailable(), which is required to show/hide the corresponding setting in Developer Options. BUG=8383477 Change-Id: I82608cb4a3c7a85c3ad9091365913df5f2663f9c
* | | | | | Merge "Add a config updater component for the intent firewall" into jb-mr2-devBen Gruver2013-04-054-4/+55
|\ \ \ \ \ \
| * | | | | | Add a config updater component for the intent firewallBen Gruver2013-04-044-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
* | | | | | | Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-04-0515-79/+43
|\ \ \ \ \ \ \
| * | | | | | | Import translations. DO NOT MERGEBaligh Uddin2013-04-0515-79/+43
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifb0d09822f93bb719c48bc3e0108e0f81c592c66 Auto-generated-cl: translation import
* | | | | | | Merge "Fix AudioTrack.setPlaybackRate() error handling" into jb-mr2-devGlenn Kasten2013-04-051-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix AudioTrack.setPlaybackRate() error handlingGlenn Kasten2013-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CTS expects that setPlaybackRate() returns an error for a static buffer AudioTrack that has not yet had any data written to the buffer. Bug: 8181114 Change-Id: I17ba039368468f6ccd1eec5322018bfe420c09c8
* | | | | | | Merge "Implement async event callout from drm plugin to Java app" into ↵Jeff Tinker2013-04-053-14/+175
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | jb-mr2-dev
| * | | | | | Implement async event callout from drm plugin to Java appJeff Tinker2013-04-033-14/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I451b7c6f766aafac39ce432a71ef5a03bffe29f1
* | | | | | | Merge "Error on conflicting <uses-permission>" into jb-mr2-devNick Kralevich2013-04-051-17/+35
|\ \ \ \ \ \ \
| * | | | | | | Error on conflicting <uses-permission>Nick Kralevich2013-04-041-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't install packages where we have multiple, conflicting <uses-permission> lines for the same permission. For example, a package which contains: <uses-permission android:name="android.permission.INTERNET" android:required="false" /> <uses-permission android:name="android.permission.INTERNET" android:required="true" /> will now fail to install. In addition, this change slightly refactors the code, and creates a new parseUsesPermission() method. Change-Id: I0f4bb8b51dc4a0c5b73458a70f706e19829275d2
* | | | | | | | Merge "aapt: add support for optional uses-permission" into jb-mr2-devNick Kralevich2013-04-051-0/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | aapt: add support for optional uses-permissionNick Kralevich2013-04-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications can request a permission with android:required="false". For example: <uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" /> Make aapt understand such permissions. Bug: 8522021 Change-Id: I7d3af64e7c3eca608316d5bea19c4ea639dd2b7a
* | | | | | | | | Merge "First OpenGL ES 3.0 based optimization" into jb-mr2-devRomain Guy2013-04-047-13/+40
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | First OpenGL ES 3.0 based optimizationRomain Guy2013-04-047-13/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change uses a new OpenGL ES 3.0 feature to upload less data when the font cache needs to be update. This can result in significant performance improvements on device with large textures or with locales that use a lot of glyphs (CJK for instance.) This change also fixes various unpack alignment issues. The unpack alignment, as well as the unpack row length, is not texture specific but a global state that affect all glTex/SubImage2D calls. Some of them were missing the appropriate glPixelStorei() call. This could result in corrupted textures. Change-Id: Iefb429d4d0d0b4e0faeadf27daafee6d30a21d85
* | | | | | | | | | Merge "Reduce the size of dirty invalidates" into jb-mr2-devRomain Guy2013-04-042-25/+13
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Reduce the size of dirty invalidatesRomain Guy2013-04-042-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove remnants from times long gone. We don't need to redraw the union of the previous frame's dirty region and the new dirty region. Change-Id: I9fb96f99a6a72c2233f9ca563cf6432a42b2b65b
* | | | | | | | | | | Merge "Traverse layers in update order" into jb-mr2-devChris Craik2013-04-043-8/+7
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Traverse layers in update orderChris Craik2013-04-043-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:8540150 Layers now require traversal in update order, as it will be child first, then parent for layer-in-layer Fixes issue with deferred layer playback not flushing in order, and thus child not painting before parent Also fixes DisplayList to only be cleared after flush in deferred list Change-Id: I2f284d00079cdb20798aeef6a1c94e823940db40
* | | | | | | | | | | Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" ↵Fabrice Di Meglio2013-04-0418-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | | | | | | Fix for bug #8146846 Phone App should be mirrored for RTL languagesFabrice Di Meglio2013-04-0318-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add RTL version of quickcontact badge overlay Change-Id: I007d0dae9ceec9c42684e45a735ea6b06aa6f9a0
* | | | | | | | | | | | Merge "PackageParser: ignore <uses-permission> android:required on older ↵Nick Kralevich2013-04-041-0/+11
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps" into jb-mr2-dev
| * | | | | | | | | | | | PackageParser: ignore <uses-permission> android:required on older appsNick Kralevich2013-04-041-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't honor <uses-permission android:required="false"> on older apps. Lots of apps in the wild are improperly using this, and we don't want to break them. Bug: 8528162 Change-Id: I6e0a10bc9feac58d13ef624239c6b91e9fc34590
* | | | | | | | | | | | | Merge "Adding small animation features" into jb-mr2-devChet Haase2013-04-043-6/+80
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Adding small animation featuresChet Haase2013-04-043-6/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RectEvaluator is useful when animating object bounds. The other change is a hidden API that allows temporary suspension of layout, useful for animations which need to animate view bounds without conflicting with layout passes that might happen in the middle of the animation. Change-Id: I3dc08cb6ec455dfa3409e825506b218d3ea63d7a
* | | | | | | | | | | | | | Merge "Uphold common ordering expectations around action bar Home/Up ↵Adam Powell2013-04-042-5/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | dispatch" into jb-mr2-dev
| * | | | | | | | | | | | | Uphold common ordering expectations around action bar Home/Up dispatchAdam Powell2013-04-042-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some apps aren't particularly happy if a stray key event is dispatched to a newly created window before its menu is prepared, causing the action bar's Home/Up event to be dispatched. Ignore these clicks on the Home/Up button before the menu goes through its initial prepare step. Note that it is still possible (and valid!) for Home/Up to be dispatched even if the app chose to return false from onCreateOptionsMenu or similar. Bug 7085070 Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb
* | | | | | | | | | | | | | Merge "Add internal API to query GL version number" into jb-mr2-devRomain Guy2013-04-042-0/+30
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / |/| | | | | / / / / / / / / | | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Add internal API to query GL version numberRomain Guy2013-04-042-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idc02efc237b8e97445a9bab05c291bf193c7f279
* | | | | | | | | | | | | Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-devVictoria Lease2013-04-041-3/+20
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | use libphonenumber for Linkify.PHONE_NUMBERVictoria Lease2013-04-041-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces a regex pattern match for Linkify.PHONE_NUMBER with a call to libphonenumber's PhoneNumberUtil.findNumbers(). Bug: 5533245 Change-Id: I0e0563b241fb62e77d7f49e4a8484c6b0685dd8f
* | | | | | | | | | | | | | Merge "Nuke heavy parts of notification before archiving." into jb-mr2-devJeff Sharkey2013-04-041-1/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Nuke heavy parts of notification before archiving.Jeff Sharkey2013-04-031-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8537938 Change-Id: I2e4eccc3bd6d57fe5cef340d9e67986d78d3be95
* | | | | | | | | | | | | | | Fix doc build.Ying Wang2013-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I954a45866d968b0571040ba99cc93b818d02aeb5
* | | | | | | | | | | | | | | Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to ↵Matthew Xie2013-04-048-43/+140
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothGatt" into jb-mr2-dev
| * | | | | | | | | | | | | | | Change BluetoothGattCallback methods argument from BluetoothDevice to ↵Matthew Xie2013-04-038-43/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothGatt Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt Add BluetoothGatt#connect() to reconnect back to the server. Make BluetoothGatt#close() public to clean up/unregister callback Add BluetoothDevice.getType() to return int of bug 8529188 Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2
* | | | | | | | | | | | | | | | am 614c155f: am f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc ↵kmccormick2013-04-031-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update: clean up text and code snippets" into jb-mr1.1-docs * commit '614c155fc6e4c3e83b152398df0e628d7a7f4051': Doc update: clean up text and code snippets
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean ↵kmccormick2013-04-031-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up text and code snippets" into jb-mr1.1-docs * commit 'f64ad28f6b3c56c054f938680c58b69cf7237b2c': Doc update: clean up text and code snippets
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and ↵kmccormick2013-04-031-2/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code snippets" into jb-mr1.1-docs * commit '15ebf622de39e1a8c7d8855f5b4ede35039a2b2b': Doc update: clean up text and code snippets
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am f614d536: am e4922f28: Merge "Doc update: clean up text and code ↵kmccormick2013-04-031-2/+2
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | snippets" into jb-mr1.1-docs * commit 'f614d53664b78f0fb386bbea93f4513c92786ff1': Doc update: clean up text and code snippets