57237 Commits

Author SHA1 Message Date
Bill Gruber
f455e9a3b3 Merge "Cherry pick from honeycomb-mr2 Change ID I7ded723152d7beface51b45b882d4ccf92981927 Doc fix: Hello World tutorial updates Bug: 5149925" 2011-08-29 13:04:05 -07:00
Gilles Debunne
474cac1c21 Merge "Suggestions popup window is dismissed on tap outside." 2011-08-29 12:58:36 -07:00
John Reck
082a9fa343 Merge "Tap highlight fix + small perf increase" 2011-08-29 12:55:50 -07:00
Bill Gruber
e874366f76 Cherry pick from honeycomb-mr2 Change ID I7ded723152d7beface51b45b882d4ccf92981927
Doc fix: Hello World tutorial updates
Bug: 5149925

Change-Id: I715947dbda66657a92d5b86fb467444f331029cd
2011-08-29 12:53:15 -07:00
Adam Powell
890be6b919 Merge "Fix bug 5217267 - Action bars and menu shortcuts" 2011-08-29 12:07:52 -07:00
Adam Powell
6055f3e0d6 Fix bug 5217267 - Action bars and menu shortcuts
Don't try to "close" the menu after completing a shortcut action if an
action bar is present.

Change-Id: I54a75543cf9a52e3186ff464924a0b37d0b20b9d
2011-08-29 11:41:13 -07:00
Brandon Keely
5471781430 Merge "Massaging framework window transitions." 2011-08-29 11:34:02 -07:00
Chet Haase
890a631ede Merge "Made the Switch class public." 2011-08-29 11:21:49 -07:00
Romain Guy
f8c015d262 Merge "Italic should be italic and bold should be bold." 2011-08-29 11:13:23 -07:00
Romain Guy
94d5e9ad65 Italic should be italic and bold should be bold.
Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
2011-08-29 11:12:19 -07:00
Svetoslav Ganov
6537b003b7 Merge "Clean up and bug fixes in the TouchExplorer." 2011-08-29 11:04:33 -07:00
Chet Haase
150176d830 Made the Switch class public.
Tweaked the API of Switch slightly and made the class public (it was
hidden before).

Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
2011-08-29 10:59:58 -07:00
Adam Powell
b5d80fca2e Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode" 2011-08-29 10:42:43 -07:00
John Reck
0ba72ad45b Tap highlight fix + small perf increase
Bug: 5229717

Change-Id: I9ebc92dc96d77ff9051517b717d203686b574f7a
2011-08-29 10:29:09 -07:00
Jean-Michel Trivi
2db44c5838 Merge "Update IRemoteControlDisplay when it registers." 2011-08-29 10:09:04 -07:00
Jean-Michel Trivi
db8a361629 Update IRemoteControlDisplay when it registers.
When an IRemoteControlDisplay registers, it must receive information
 from the current client.

Change-Id: Id845e7a87ac74c2db2c59e0281b28a45f8d20528
2011-08-29 09:57:18 -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
Svetoslav Ganov
f804420d6e Clean up and bug fixes in the TouchExplorer.
1. The downTime of the first down event was zero but it should the event time.

2. Hover exit events were not injected while transitioning to delegating
   state and when tapping.

3. Differentiation between dragging and delagating state based on
   two moving pointer direction and distance is now based only on
   the direction. Hence, two pointers moving in the same direction
   are dragging, otherwise the event stream is delegated unmodified.
   The reason for that is the blind people cannot easily determine
   and control the distance between their fingers resulting in
   different behavior for gestures which the user thinks are the same
   which creates confusion. Also in some cases the delegation and
   draggig yield the same result, for example in list view, further
   adding to the confusion. This was also causing the status bar to
   be opened closed inreliably creating frustration.

4. Refactored the code such that now there is only one method that
   injects motion events and all request go through it. Some bugs
   were introduced by inconsistent implementation in the different
   injection methods.

5. Fixed a couple of event stream inconsistencies reported by the
   event consistency verifier.

bug:5224183
bug:5223787
bug:5214829

Change-Id: I16c9be3562ad093017af5b974a41ab525b73453f
2011-08-29 00:06:57 -07:00
Adam Powell
9a5cc2810b Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
2011-08-28 17:13:16 -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