57906 Commits

Author SHA1 Message Date
Peter Ng
02038e3cbb Updated Recent Apps visuals
-added padding to portrait and landscape layout recent item
-updated drawable stroke on press and drag

Change-Id: I98e0073f5fba6d13f041871337e4dc534bbc1460
2011-09-08 20:35:19 -07:00
Svetoslav Ganov
a53efe9923 The time and data pickers did not support IME editor action correctly.
1. Updated TextView to traverse all focusable items. It was searching focus
   down and up and was missing right and left focusabled. Updated the focus
   seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
   are visited.

2. TimePicker and DatePicker were not specifying the IME options for
   the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5
2011-09-08 20:19:48 -07:00
Eric Laurent
9f103de83f Fix issue 4673378: switching from VoIP to GSM call
The problem is that any app can change the audio mode and override
a mode previously set by another app. If two apps (gTalk and Phone) compete
for audio mode ownership, there is no mechanism to maintain coherency
in the actual audio mode selected.

Added a mechanism in AudioService to manage an audio mode request stack.
Any app requesting a mode different from NORMAL enters at the top of the stack
and the requested mode is applied. When an app sets mode back to NORMAL, it exits
the stack and the new mode corresponding to the request at the top of the
stack (if any) is applied.

Change-Id: I68d1755d0922f680df4a19bfc5ab924f5a5d8ccd
2011-09-08 19:23:56 -07:00
Michael Jurka
3705b22c97 Merge "Adding null check to prevent monkey crash. (5263199)" 2011-09-08 19:07:02 -07:00
Winson Chung
45d378b705 Adding null check to prevent monkey crash. (5263199)
Change-Id: I26372c8aa8022659582b31ca5a4279b9590f02f8
2011-09-08 19:03:05 -07:00
Jeff Brown
bfcb60ab0f Adjust layers for system overlays.
Prevent system overlays from showing above the notification bar.

Allow secure system overlays to be fullscreen, for the pointer
location view.

Show the drag layer above the notification bar.

Change-Id: Ic8d663792a243cca2cd9952d241d001e0357d551
2011-09-08 18:53:42 -07:00
Fabrice Di Meglio
2295cc77c7 Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field" 2011-09-08 18:27:29 -07:00
Adam Powell
9c7b547e7f Merge "Fix bug 5279075 - Handle action bar config changes when action mode is active" 2011-09-08 18:23:26 -07:00
Svetoslav Ganov
f2e7540021 Update the sharing UI according to latest UX specs.
bug:3362473

Change-Id: Ic302c289e28061f53446f98e5b97573d57d9cfb8
2011-09-08 18:19:13 -07:00
Fabrice Di Meglio
e4231461f4 Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field
Part 2

- use "textview_error_popup_default_width" as a dimension resource instead of a basic constant

Change-Id: Ieb89fc416105716ab491749a82390a7e784b1755
2011-09-08 18:15:50 -07:00
Adam Powell
425689eea2 Fix bug 5279075 - Handle action bar config changes when action mode is active
Change-Id: I83d40d2d555b01a9e678231c4f3c5278fab959d7
2011-09-08 18:10:24 -07:00
JP Abgrall
40e8b4118f Merge "NetworkManagementService: adjust the qtaguid idx to new kernel" 2011-09-08 18:10:05 -07:00
Chet Haase
e2ca08765e Merge "Throw an exception if a both nav and system bars are configured" 2011-09-08 17:59:30 -07:00
Fred Quintana
16e1678df4 Merge "Make the SyncManager have wakelocks per account, not per account type, otherwise the parallel sync behavior of gmail can cause the first account to finish to release the wakelock that is used for the other account, which will result in the device going to sleep before the sync is complete." 2011-09-08 17:53:03 -07:00
Fabrice Di Meglio
0669577b13 Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field" 2011-09-08 17:35:01 -07:00
Eric Laurent
1a4cbba932 Merge "Fixed digital audio output detection" 2011-09-08 17:21:39 -07:00
Fabrice Di Meglio
33438be008 Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field
- cap the popup to 240 (Validated with UX team)

Change-Id: I2923825a19b7c79fa0d1233300f42e10bdda8df7
2011-09-08 17:19:04 -07:00
Matthew Xie
5d61d8ddec Merge "Apply timeout for powerdown event and reset state machine when bluez crashes" 2011-09-08 17:16:50 -07:00
Eric Laurent
944301e082 Fixed digital audio output detection
Fixed bug in WiredAccessoryObserver preventing correct detection of
docks with digital audio connection (S/PDIF)

Change-Id: I96eeebc53952625d75133ce0af68f4f219bce41d
2011-09-08 17:05:47 -07:00
Chet Haase
bc0009d48d Throw an exception if a both nav and system bars are configured
It was possible for a device to be configured to use a navigation bar
(by setting config_showNavigationBar to true in a config.xml file)
and to use a system bar (by being a tablet device of sufficient size).
The display metrics would be set up for both, but the SystemUI would ignore
the navigation bar, leading to conflict in what would be displayed and how
much room there was on the display. This change throws an exception,
causing SystemUI to fail, when this conflict is detected.

Change-Id: Ib5c19d50ff9444bc33fd53d3dcfa016adc4872ef
2011-09-08 16:19:50 -07:00
JP Abgrall
6acf39b3c6 NetworkManagementService: adjust the qtaguid idx to new kernel
https://partner.source.android.com/g/#/c/8968/ introduced

  idx iface acct_tag_hex uid_tag_int cnt_set ...
  2 wlan0 0x0 10022 0 ...
  3 wlan0 0x0 10022 1 ...
  4 wlan0 0x3010000000000000 10022 0 ...
  5 wlan0 0x3010000000000000 10022 1 ...

so treat it as monotonic starting a idx 1 for header line.

Change-Id: Ie1d0ec9a0b7103620a93b0ef0b01c13fe4162616
2011-09-08 16:16:02 -07:00
Eric Laurent
11e2e5dece Merge "AudioTrack: extend callback thread sleep time" 2011-09-08 16:07:40 -07:00
Robert Greenwalt
4ef6d2ea21 Merge "Pass roaming info to ConnectivityService." 2011-09-08 16:03:45 -07:00
Fred Quintana
fdb2dca454 Make the SyncManager have wakelocks per account, not per account type,
otherwise the parallel sync behavior of gmail can cause the first
account to finish to release the wakelock that is used for the other
account, which will result in the device going to sleep before the
sync is complete.

Change-Id: I7658465ca0956dfd9bb341de03126869e6217d31
2011-09-08 15:59:56 -07:00
Peter Ng
bfc365f4a9 Status bar close dragdown resized to 32dp
Bug: 5160060
Change-Id: I6960aa025922cd9ad208b6ff4a1d9f132c380436
2011-09-08 15:43:52 -07:00
Teng-Hui Zhu
a4248f6932 Merge "Don't sleep when inline video start" 2011-09-08 15:41:54 -07:00
Romain Guy
f5ad309a60 Merge "Add support for 3 new blend modes when blending with framebuffer: Add Multiply Screen" 2011-09-08 15:34:24 -07:00
Pannag Sanketi
5303254cc9 Merge "Always set geometry in queuebuffer" 2011-09-08 15:33:31 -07:00
Romain Guy
2ffefd48e2 Add support for 3 new blend modes when blending with framebuffer:
Add
  Multiply
  Screen

Change-Id: I92a3c2612c86613087568bf0c03cc6f92b5ded44
2011-09-08 15:33:03 -07:00
Jaikumar Ganesh
b5d2d4526c Add error codes for channel disconnection / connection.
Channel connection / disconnection was handled as boolean,
doesn't capture all the values. Also make it asynchronous
instead of the dbus call being synchronous.

Change-Id: If30177b9f93b7c83f162fbbc1233edf3e46dbfea
2011-09-08 15:26:53 -07:00
Svetoslav Ganov
53df60b81e Merge "Touch explorer does not cancel long press correctly causing system crash." 2011-09-08 15:23:44 -07:00
Jeff Sharkey
b0d89922b1 Merge "Always disable() through SBMS; watch date." 2011-09-08 15:22:51 -07:00
Jaikumar Ganesh
d4d2ba8037 Merge "Fix crash while connecting channel." 2011-09-08 15:20:19 -07:00
Jaikumar Ganesh
cedd460820 Merge "Make Bluetooth Health APIs public." 2011-09-08 15:19:37 -07:00
Eric Laurent
f1d360ac86 AudioTrack: extend callback thread sleep time
Do not force wake up the AudioTrack thread every 10ms if no timed
events (loop, markers..) have to be processed.
This will help reduce power consumption.

Change-Id: Icb425b13800690008dd07c27ffac84739e3dbba3
2011-09-08 15:18:37 -07:00
Jaikumar Ganesh
8ee53da561 Fix crash while connecting channel.
When an incoming connection comes and then we disconnect it,
and then launch the outgoing connection - we crash because
the channel path chan.mChannelPath is null.

Change-Id: I9115cc038f7ce85a193bf05d14b2b0a5e0579a69
2011-09-08 15:17:25 -07:00
Jaikumar Ganesh
eb9d34630f Make Bluetooth Health APIs public.
Fix a few bugs:
  a) Pass a integer token to identify the channel.
  b) Close fds in case of errors.

Change-Id: I2046787be5008769435f2f72a5bd67c19b749da0
2011-09-08 15:17:17 -07:00
Romain Guy
8312b20d83 Merge "Save/restore display lists' canvas properly" 2011-09-08 15:06:05 -07:00
Romain Guy
e080af3754 Save/restore display lists' canvas properly
Change-Id: Ic016f0215f9fe5c67af98f059ecce4ed94994810
2011-09-08 15:05:26 -07:00
Matthew Xie
694c0b833b Apply timeout for powerdown event and reset state machine when bluez crashes
The powerdown event was missed some time for unknown reasons and bluez could
crash for unknown reasons. We will debug on the issue. But for the time
being, we add a powerdown timer and process power up event to recover from
bluez crash
bug 5239719

Change-Id: Ie7315fb01e029747951e1a97a2d2f1dce53a997b
2011-09-08 15:05:19 -07:00
Svetoslav Ganov
406970b06c Touch explorer does not cancel long press correctly causing system crash.
1. The touch explorer was not canceling long press runnable when a finger
   goes down. This was causing system crash in the scenario of one pointer
   down and not moving followed by another pointer down. Since the long press
   runnable posed when the first pointer went down was  not removed it was
   sending events with wrong pointer id leading to a crash.

bug:5271592

Change-Id: I40dd7dd21d465ecedd9413f00b3cedc6066fa22d
2011-09-08 14:49:50 -07:00
Teng-Hui Zhu
690ad54090 Don't sleep when inline video start
bug:4563692

Change-Id: I0174403e3f78b5a637500fbaaf7f9219efe0cbc8
2011-09-08 14:36:33 -07:00
Pannag Sanketi
e46fcef278 Always set geometry in queuebuffer
The queuebuffer could return early due to timestamp issues. Need to set
the geometry even in that case.

Change-Id: I04d7cd1df3996d640c269285398c0042923ba920
2011-09-08 14:16:55 -07:00
Fred Quintana
ad93a323fe Add a form of getAuthToken that both accepts an options Bundle and
doesn't accepts an activity.

Bug: 5278759
Change-Id: I513c9b5d8a907e26b9ad3c0d5977614820a4990c
2011-09-08 14:12:49 -07:00
Chia-chi Yeh
81a5ec5b94 Merge "RTP: support payloads with larger packetization interval." 2011-09-08 14:07:00 -07:00
Tsu Chiang Chuang
c9c541ad16 Merge "idle test app for bandwidth usage." 2011-09-08 14:04:52 -07:00
Adam Powell
dceee86438 Merge "Fix bug 5249855 - put content descriptions for action bar tabs on images" 2011-09-08 14:01:03 -07:00
Dianne Hackborn
3cb5559850 Merge "Fix issue #5139085: Some Recents items can't be killed" 2011-09-08 14:00:24 -07:00
Tsu Chiang Chuang
3ae29d4558 idle test app for bandwidth usage.
Change-Id: Ib35b27617369b360972e653db70bf5cf9303ddf1
2011-09-08 13:50:41 -07:00
Dave Santoro
9fefa3c716 Merge "Add raw entities URI for profiles." 2011-09-08 13:38:00 -07:00