2407 Commits

Author SHA1 Message Date
Andrew Flynn
c5bad6956e am 36fde268: am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop
* commit '36fde2688bc32ddd5ed5de834a39ce3c7cd2b6cf':
  Use a different width for nav icons in sw600dp-port.
2012-03-09 11:43:53 -08:00
Andrew Flynn
36fde2688b am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop
* commit 'dfc87c82e4a5e77e89c464f7074e50238525913d':
  Use a different width for nav icons in sw600dp-port.
2012-03-09 11:03:00 -08:00
Andrew Flynn
1d9af30b74 Use a different width for nav icons in sw600dp-port.
Change-Id: I6c4024e9f60e14c072d7c01f29fabc89fc51dfb8
2012-03-08 15:56:10 -08:00
Eric Fischer
ae4e6d8d4b Import translations. DO NOT MERGE
Change-Id: I02d61de9903b0c96622dc4d670658c8cd92fa67e
2012-03-08 12:51:06 -08:00
Eric Fischer
94828c3f3b Merge "Import translations. DO NOT MERGE" 2012-03-07 15:02:24 -08:00
Eric Fischer
83ba2df45d Merge "Import translations. DO NOT MERGE" 2012-03-07 14:53:07 -08:00
Eric Fischer
6ff1f4fa5d Import translations. DO NOT MERGE
Change-Id: I7cfb3eeb7743f4db15ff591826d16cc316e2d915
2012-03-07 14:03:43 -08:00
Eino-Ville Talvala
d5f0799082 Merge "NEW_API: Rework CameraSound into MediaActionSound, and unhide it." 2012-03-07 13:54:43 -08:00
Eric Fischer
1ff8796440 Import translations. DO NOT MERGE
Change-Id: I1d2217605c628c8d31d2604fe9a1ee53b541fd15
2012-03-07 13:17:06 -08:00
Eino-Ville Talvala
e69095869c NEW_API: Rework CameraSound into MediaActionSound, and unhide it.
MediaActionSound is a helper class for applications that use the
camera, or include camera-like behavior such as taking
screenshots. This class helps applications match the sound-playing
behavior of the Camera.takePicture, MediaRecorder.start, and
MediaRecorder.stop methods.

This is useful for applications that don't use the above methods, but
still logically capture images or video, such as the panorama capture
feature and the video effects in the platform camera application.

Bug: 5029099
Change-Id: I829f6e2941f167f91f9cb506215b7232cb054958
2012-03-06 16:33:50 -08:00
Daniel Sandler
6768c11d60 Merge changes I8343449c,I4eaf69a1
* changes:
  New slide-out mechanism.
  Newly reimplemented PhoneStatusBar, now with fewer windows.
2012-03-06 05:18:10 -08:00
Eric Fischer
d42abc32ce Import translations. DO NOT MERGE
Change-Id: Ib8f8a67208b0626263507d3bea3ceb48cf8c7507
2012-03-05 14:26:22 -08:00
Daniel Sandler
079b33d215 New slide-out mechanism.
Instead of sliding the panel in from off-screen, the panel
is now stretched open (cropping the scrolling contents).

This is slower, so the layout has been dramatically
simplified to help performance.

Change-Id: I8343449c2b3fa4b4ee161f1de992d2242635d15e
2012-03-05 15:33:32 -05:00
Daniel Sandler
c6d29fc0f5 Newly reimplemented PhoneStatusBar, now with fewer windows.
Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
2012-03-05 14:40:17 -05:00
Dianne Hackborn
38addbe3ab Merge "Whoops forgot this change." 2012-03-01 19:21:40 -08:00
Irfan Sheriff
43d8a95fa8 Merge "Improve Wi-Fi hand-off" 2012-02-29 19:33:06 -08:00
Irfan Sheriff
07573b3249 Improve Wi-Fi hand-off
When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
2012-02-29 17:33:36 -08:00
Michael Jurka
fa73c1fd3e Merge "Fix alpha when swiping recents on tablets" 2012-02-29 17:30:05 -08:00
Michael Jurka
4eaa983f25 Fix alpha when swiping recents on tablets
When you swipe to dismiss a recent item on a
tablet, fade the item to 0 alpha

Also, create common interface for Recents-specific
methods for Recents[Horizontal/Vertical]ScrollView

Bug: 5953654

Change-Id: I0a72b49b3cfae0607b42dbf8f6d4da9898d7e491
2012-02-29 16:49:01 -08:00
Dianne Hackborn
e0afc34128 Whoops forgot this change.
Should have been creating a few more processes.

Change-Id: I59d8c89c989fff7965122c5a9d798138ef156857
2012-02-29 12:37:59 -08:00
Michael Jurka
a267f0a707 Merge "Add shortcut for voice search" 2012-02-28 14:40:33 -08:00
Michael Jurka
7a3489552c Add shortcut for voice search
On phones with soft nav bar, make long press on
home launch a voice search intent

Change-Id: I69840a96a08524a76e33a306b799222c879db095
2012-02-28 14:37:35 -08:00
Eric Fischer
6fa13b5a02 Merge "Import translations. DO NOT MERGE" 2012-02-28 13:56:29 -08:00
Ying Wang
04a3a4350e Disable ProGuard for FakeOemFeatures to fix build.
Change-Id: If0ccf16712bf43adb5fe490906be2a13b484f726
2012-02-28 12:53:19 -08:00
Eric Fischer
18634b34e6 Import translations. DO NOT MERGE
Change-Id: I2761d2e7bb8795ab23a0024ed41ec299abc400e1
2012-02-28 12:23:51 -08:00
Dianne Hackborn
ef437848ca Merge "You could think of this as what an OEM might do." 2012-02-28 11:26:02 -08:00
Dianne Hackborn
d459f4bbfc You could think of this as what an OEM might do.
Except it does nothing.

But eat resources.

Yum, yum!

Current we create five processes.  The main process sucks up 16MB of
RAM and creates a full-screen window; only on high-end devices does
the window (and process) use the GPU.

The second through fourth processes just sits there not really doing
anything except using process overhead.

The fifth process runs a background service, slowing eating RAM until
it gets killed by the system (as the system will ultimately do with
background services).  It also creates a full-screen window, and always
uses the GPU even on low-end devices.

Change-Id: Ibe9e25f7dbd889f4dc83eed6a3c09b9b0437b4e3
2012-02-27 18:46:29 -08:00
Chia-chi Yeh
eb8ab685c2 Merge "VpnDialogs: hide the fields when the statistic numbers are unavailable." 2012-02-27 17:35:06 -08:00
Chia-chi Yeh
b0736abca9 VpnDialogs: hide the fields when the statistic numbers are unavailable.
Bug: 5954284
Change-Id: I2321984d4f423e951989d799073a9da17a577ef9
2012-02-27 17:30:41 -08:00
Michael Jurka
cbaa666955 Merge "Remove unnecessary code" 2012-02-27 17:15:41 -08:00
Michael Jurka
f16fc51d96 Remove unnecessary code
Found cleaner way to improve recents scrolling
performance on crespo-- instead of rendering the
background in the items, instead we just set
a window flag. Removed need for a lot of code.
2012-02-27 15:34:52 -08:00
Daniel Sandler
fc6fda3950 Fix fullScreenIntents.
The intruder alert stuff was getting activated, but it's not
really ready yet.

Bug: 6070420
Change-Id: If65165e96bddf1e5e4c89ed26131e45639d5cf2d
2012-02-24 22:05:27 -05:00
Daniel Sandler
3f0c58eb70 Merge "New notification priority and related APIs." 2012-02-24 10:53:42 -08:00
Daniel Sandler
2561b0b10a New notification priority and related APIs.
This change introduces a few new bits of data on
Notification that will help the Notification Manager and
System UI route and display them more intelligently:

 -> priority: an integer in a predefined range that
    indicates the app's best guess as to the relative
    importance (to the user, right now) of that information

 -> kind: a tag (really, set of tags) indicating the general
    type of notification (realtime, asynchronous, etc)

 -> extras: a Bundle of additional key/value pairs
    associated with this notification (currently @hidden)

The notification manager takes these data into account when
assigning to each notification a score which is passed with
the notification on to the system UI, where it can be used to
affect presentation. For example:

  - Spammy apps (identified explicitly by the user or by
    some other means) will have their notifications scored
    very negatively by the notification manager, allowing
    the UI to suppress them
  - Notifications of higher score might be shown larger
    or in a different way
  - Very important notifications (indicated by a very high
    score) might interrupt the user during an otherwise
    important task (videochat, game, etc)

Implementation note: This replaces/extends the old internal
notion of "priority", which was mostly used to organize
ongoings and system notifications at the top of the panel.

Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
2012-02-24 13:47:00 -05:00
Michael Jurka
2db72fce6c Fix blip after notifications are swiped
Bug #6035662

Change-Id: I7f0274c9011247d0fd5ef09a05b7630eda0ca77f
2012-02-23 17:51:02 -08:00
Mike Lockwood
79f5a0416f WifiStateTracker: add support for overriding DCHP max retry count in an overlay
Bug: 5551068

Signed-off-by: Mike Lockwood <lockwood@google.com>

Conflicts:

	packages/SettingsProvider/res/values/defaults.xml

Change-Id: I6a6519316a87bd1af39ea9dc51e0d312011135ef
2012-02-16 10:01:44 -08:00
Michael Jurka
693ce6447d Fix recents on crespo 2012-02-14 23:25:08 -08:00
Michael Jurka
a17a7953f9 Merge "Making recents faster" 2012-02-14 13:57:14 -08:00
John Wang
286b364c7b am 0b17fc36: am 252c64f9: am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
* commit '0b17fc360185ca7b9d05a096b0033ddd8d883940':
  Only use CDMA rssi for config_alwaysUseCdmaRssi.
2012-02-14 13:07:58 -08:00
John Wang
0b17fc3601 am 252c64f9: am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
* commit '252c64f9c3e2e357f8687e18d8a066cc1cdb8c15':
  Only use CDMA rssi for config_alwaysUseCdmaRssi.
2012-02-14 12:42:40 -08:00
John Wang
252c64f9c3 am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
* commit '63b596664c3fdb70ad32c8f641f477ec9140d6ec':
  Only use CDMA rssi for config_alwaysUseCdmaRssi.
2012-02-14 12:37:14 -08:00
Michael Jurka
99a9655b93 Making recents faster
Improving load time by:
- using window animation for fade-in and not
    waiting to create HW layer
- starting loading of thumbnails/icons earlier
- only initially creating views for the first
    screenful of items
- recycling views

Change-Id: I529b1085fe35d81aaafeb7433ccaed8e0537f01c
2012-02-13 19:11:40 -08:00
John Wang
d55cde1384 Only use CDMA rssi for config_alwaysUseCdmaRssi.
If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .

bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b
2012-02-13 17:48:24 -08:00
Mike Lockwood
d3c5e1eca1 Allow disabling network stats support in a resource overlay
Bug: 5771240

Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-02-10 14:44:08 -08:00
Mike Lockwood
2395527c9b SettingsProvider: Allow overridding default value for Setttings.Secure.DEVICE_PROVISIONED
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:24 -08:00
Mike Lockwood
86aeb06635 Load lockscreen.disabled setting on database create as well as upgrade
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:24 -08:00
Mike Lockwood
c33d576661 SystemUI: Log an error instead of throwing an exception if navigation bar is enabled in tablet UI
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:24 -08:00
Mike Lockwood
7bef73900b SettingsProvider: Add support for overriding lockscreen.disabled default value
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:23 -08:00
Mike Lockwood
4b797dd8c1 Allow overriding default STAY_ON_WHILE_PLUGGED_IN setting value in an overlay
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:23 -08:00
Justin Ho
448249d1a7 am 744c5b0b: Merge "Import translations. DO NOT MERGE" into ics-mr1
* commit '744c5b0bdee6a26e2dc7e740a695d53c32104326':
  Import translations. DO NOT MERGE
2012-02-10 10:09:42 -08:00