57218 Commits

Author SHA1 Message Date
Michael Jurka
3cd0a59393 Improve Recent Apps scrolling performance
- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code

Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
2011-08-31 17:48:40 -07:00
Claudia de Veaux
3b21427b4c Merge "Simplified punctuation on lock screen. Bug: 5221162" 2011-08-29 09:06:13 -07:00
Justin Ho
05ef04394e Merge "Updated text_select handles Bug: 5076695" 2011-08-29 09:01:20 -07:00
Jean-Michel Trivi
aca6d629e2 Merge "Cannot compare Binder references for RC display to unregister" 2011-08-29 08:56:23 -07:00
Andreas Huber
b3c084af16 Merge "Signal errors to the client instead of asserting in ACodec." 2011-08-29 08:10:56 -07:00
Adam Powell
6b316513e8 Merge "Fix bug 5067075 - missing scrollbar when entering long signatures" 2011-08-28 16:58:54 -07:00
Adam Powell
63543e2997 Merge "Fix bug 5133509 - Align holo menu panel windows along the bottom of the screen" 2011-08-28 16:58:27 -07:00
Jim Miller
816879f2d5 Merge "Fix 5216579: Don't show IME switch option in numeric mode of lockscreen" 2011-08-28 15:10:27 -07:00
Jim Miller
b0166bc62f Fix 5216579: Don't show IME switch option in numeric mode of lockscreen
Since LockScreen provides its own PIN entry keyboard, we don't need to show
the IME switcher button.

Change-Id: I04528acaee66e5109d631c0c79a3e7c64876e4c5
2011-08-28 15:00:29 -07:00
Pannag Sanketi
3451df1a5c Merge "Default W, H allowed in SurfaceMediaSource dequeue" 2011-08-28 14:40:26 -07:00
Adam Powell
c82c7a5403 Fix bug 5067075 - missing scrollbar when entering long signatures
Let DialogPreferences decide their own IME adjust mode as normal
rather than forcing adjustPan.

Change-Id: Ib53e9f648342430640469a0682308b056e7ef991
2011-08-28 14:36:05 -07:00
Adam Powell
67ed6c7224 Fix bug 5133509 - Align holo menu panel windows along the bottom of
the screen

Alter preferred options panel gravity policy.

Integrate new menu panel assets for holo apps.

Change-Id: I9fa98ed9359148ea6d1f1d1e727ddcd437b16e2f
2011-08-28 13:23:02 -07:00
Pannag Sanketi
b8a9e15c2a Merge "Modify enum value of OMX_COLOR_FormatAndroidOpaque" 2011-08-26 20:05:58 -07:00
Pannag Sanketi
2b9c5d8a89 Merge "Fixing small syntax error in MPEG4 logging" 2011-08-26 20:01:46 -07:00
Pannag Sanketi
4da5660eee Modify enum value of OMX_COLOR_FormatAndroidOpaque
The enum value chosen earlier had a conflict with one of the vendors.

Change-Id: I47832dd1157447f89324d56e8ab146260cd7927c
2011-08-26 19:38:13 -07:00
Adam Powell
441cc7dba3 Merge "Accessibility fixes for action bars" 2011-08-26 19:32:09 -07:00
Romain Guy
3957a76d77 Merge "ToggleButton could keep a reference to a previous drawable" 2011-08-26 19:30:08 -07:00
Pannag Sanketi
5cfcfb22d6 Fixing small syntax error in MPEG4 logging
Found that the build was breaking when the logging was enabled in
MPEG4Writer. Fixed.

Change-Id: I62c5e6d16b2ecf5644c8d46b9bbcca68a797b223
2011-08-26 19:18:57 -07:00
Jean-Michel Trivi
7309c83b95 Cannot compare Binder references for RC display to unregister
Cannot trust references to IRemoteControlDisplay to remain the
 same when removing a RemoteControlDisplay, compare the
 result of .asBinder() instead.

Change-Id: Ib2e82aa24bd4b12804bccff94a6a0090ff83bea8
2011-08-26 18:54:44 -07:00
Adam Powell
7bc3ca0dc5 Accessibility fixes for action bars
Fix bug 5220543 - fix accessibility events for action buttons

Fix bug 5224260 - fix accessibility events for home/up

Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
2011-08-26 18:31:47 -07:00
Svetoslav Ganov
d96dbbe335 Merge "Lock screen should be kept on while it is touch explored." 2011-08-26 18:18:04 -07:00
Jean-Michel Trivi
28c5b96d84 Merge "Address multiple RemoteControlDisplay competing for registration" 2011-08-26 18:17:40 -07:00
Jean-Michel Trivi
18e7bce523 Address multiple RemoteControlDisplay competing for registration
The RemoteControlClient / Display feature only supports one
 display. If multiple displays are registered, this CL implements
 the following policy:
 - cannot unregister a display that is not the current one,
 - registering a display when another is already registered
    causes the old one to be unregistered.
This fixes a death handler leak where the previous display was
 simply overwritten, without unlinking to its death.

Change-Id: I63f8a38093796e0960761936d7fc58d47b7589b3
2011-08-26 18:14:29 -07:00
Nick Pelly
e432de8493 Merge "Improve NDEF push API" 2011-08-26 17:31:02 -07:00
Nick Pelly
c84c89a6ca Improve NDEF push API
Introduce
  setNdefPushMessage()
  setNdefPushMessageCallback()
  setNdefPushCompleteCallback()

Deprecate public API
  enableForegroundNdefPush()
  disableForegroundNdefPush()

Hide & Deprecate staged (public but never released) API
  enableForegroundNdefPushCallback()

The new API's do not require the application to explicitly call
enable()/disable() in onPause()/onResume(), we use a Fragment behind
the scenes to manager this automatically.

NDEF Push can be disabled by using a null parameter, so each
enable()/disable() pair is collapsed to a single set() call.

Application code should now look something like:

    public void onCreate() {
        NfcAdapter adapter = NfcAdapter.getDefaultAdapter(this);
        if (adapter != null) {  // check that NFC is available on this device
            adapter.setNdefPushMessage(myNdefMessage, this);
        }
    }

And that's it - no need to explicitly hook into onPause() and onResume() events.

Also - introduce a generic NfcEvent class that is provided as a parameter on
all NFC callbacks. Right now it just provides the NfcAdapter, but using
the wrapper classes allows us to add more fields later without changing
the callback signature. (i'm thinking Bluetooth).

Change-Id: I371dcb026b535b8199225c1262eca64ce644458a
2011-08-26 17:28:45 -07:00
Wink Saville
3ffb889746 Merge "Add timezone to the terminal response for provide local information command" 2011-08-26 16:53:39 -07:00
Jake Hamby
bbf6a409e9 Merge "Add ISIM application support for LTE devices." 2011-08-26 16:47:45 -07:00
Martijn Coenen
6a85a48831 Merge "Add getMaxTransceiveLength() API." 2011-08-26 16:36:29 -07:00
Martijn Coenen
faca12adc6 Add getMaxTransceiveLength() API.
Also moved canMakeReadOnly() down in the stack, and
cleaned up TransceiveResult.

Change-Id: I85576c52478ab79f0726606659b0c17d00b222e6
2011-08-26 16:30:58 -07:00
Chet Haase
4c340652f8 Merge "Fixed error in invalidation/LayoutTransition logic" 2011-08-26 16:26:22 -07:00
Romain Guy
aa1c88de02 ToggleButton could keep a reference to a previous drawable
Change-Id: Ic19a8e86c61b58926504daf35f0de41358a899b4
2011-08-26 16:21:03 -07:00
Christopher Tate
97c06141f0 Merge "Warn if we're tearing down "live" DeathRecipient content [take 2]" 2011-08-26 16:17:50 -07:00
Eric Fischer
03b1fecd53 Merge "Import revised translations." 2011-08-26 16:17:31 -07:00
Chet Haase
aceafe63ee Fixed error in invalidation/LayoutTransition logic
A recent fix for invalidation noop'd calls to invalidate() on
GONE/INVISIBLE views. This logic also noop'd views which might
be GONE, but which are in the process of fading in/out via
LayoutTransition animations. These views should invalidate as
usual.

Change-Id: Ie90a340f70290391a3aa4e68df535c6aabf4e5eb
2011-08-26 16:05:29 -07:00
Andreas Huber
6032a6018d Signal errors to the client instead of asserting in ACodec.
Also make sure NuPlayer can properly shutdown in certain edge cases.

Change-Id: Iceb16d600d87ba66c802e60e95bf62f66487a453
2011-08-26 16:02:19 -07:00
Gilles Debunne
754289a895 Merge "Changed PreferenceCategory left padding." 2011-08-26 15:58:17 -07:00
Gilles Debunne
e1770fd1ab Merge "Text selection handle animations made faster." 2011-08-26 15:57:57 -07:00
Jeff Sharkey
e598cd0143 Merge "Always splice historical data stats, debug info." 2011-08-26 15:46:19 -07:00
John Reck
2c5423da4e Merge "Better touch rects" 2011-08-26 15:31:16 -07:00
John Reck
335f454753 Better touch rects
Bug: 5164486
 Get the focus rings from webkit instead of the navcache
 and draw them in Java.

Change-Id: Ib44d3f6972b3cdbca4d2f0a3034f53d9ae5bb2a8
2011-08-26 15:17:55 -07:00
Makoto Onuki
754b394bdf Merge "Define mime-types for stream items" 2011-08-26 14:50:12 -07:00
Eric Fischer
6a51343975 Import revised translations.
Change-Id: I51e1fc94b7fa3fec13f7dddad62b978dd9a71d43
2011-08-26 14:49:23 -07:00
Christopher Tate
ac5e350e56 Warn if we're tearing down "live" DeathRecipient content [take 2]
If the native-side bookkeeping still has strong references to VM-side
DeathRecipient objects at the time when it's being torn down, that
suggests that the app is doing unwholesome.  Log a warning to that
effect, with the class name of the objects to try to help the developer
figure out what they're mishandling.

Fixes bug 5202777 -- in particular, it no longer logs in the
working-as-intended case following delivery of the death notices,
when we've got the existing list shell but the weak refs have properly
cleared.  Also step down from "error" to "warning" logging as befits
the nature of the actual situation now being described.

This new patch fixes the JNI bug present in the earlier version.

Change-Id: I095862777a8d0e3905cb7f416af658878280041d
2011-08-26 14:34:21 -07:00
Jean-Michel Trivi
fedd53b82b Merge "Don't try to rescale when no bitmap in RemoteControlClient" 2011-08-26 14:25:05 -07:00
Jeff Sharkey
47eb102b40 Always splice historical data stats, debug info.
When reading network counters, always splice in xt_qtaguid values
to avoid counting backwards. Test to verify.

Remove verbose logging around global alerts, and add dumpsys debug
info for NMS and MDST. Also fix subtle bug around stats persisting
and dumping.

Bug: 5212893, 5211028
Change-Id: I783e5286637a67ee2dd2b09878198711a926d0cb
2011-08-26 14:19:54 -07:00
Peter Ng
31c272ae7e Merge "Textfield search items updated thickness on vertical bars Bug: 5076695" 2011-08-26 14:06:33 -07:00
Fabrice Di Meglio
d32f27aec0 Merge "Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL" 2011-08-26 14:05:09 -07:00
Irfan Sheriff
2589c93733 Merge "Fixed WifiWatchdog notification bugs" 2011-08-26 14:04:55 -07:00
Justin Ho
8604e54194 Updated text_select handles
Bug: 5076695

Change-Id: I994be334fcb9dbf7ff309e37038d0f7849202923
2011-08-26 14:00:45 -07:00
Claudia de Veaux
2957f84868 Simplified punctuation on lock screen.
Bug: 5221162

Change-Id: I1c2cb1847e05a017c2ecb496ef91f252f0e1b803
2011-08-26 13:49:51 -07:00