2429 Commits

Author SHA1 Message Date
Daniel Sandler
fa7887bebf Intruder alerts with actions and swipe-to-cancel.
Change-Id: I1d8c7d32bcbf4d3910bb866431e92a8639e4e28b
2012-03-27 22:28:53 -04:00
Daniel Sandler
c1ebee40b6 Turn off logspew.
Change-Id: I54757796de109d12649d4b0f74fbd07a6d360bf8
2012-03-26 19:39:46 -04:00
Craig Mautner
d5f2374e13 Merge "Reset layout needed at each animation step." 2012-03-23 16:20:47 -07:00
Craig Mautner
bb1449b392 Reset layout needed at each animation step.
The member variable WindowAnimator.mPendingLayoutChanges was never
being reset to 0. Consequently once it was set it was causing endless
calls to the layout method.

Fixes bug 6208114, 6220403, 6219546.

Fixed NPE in RecentsPanelView.

Change-Id: Ie529b8f31e535543cb5ae0af9447146306b14eeb
2012-03-23 16:11:14 -07:00
Dianne Hackborn
7cf4640e81 Merge "Add new thumbnail animation." 2012-03-23 15:00:59 -07:00
Eric Fischer
a7b4ad46ec Merge "Import translations. DO NOT MERGE" 2012-03-23 14:20:57 -07:00
Eric Fischer
6379312c04 Merge "Import translations. DO NOT MERGE" 2012-03-23 14:20:45 -07:00
Dianne Hackborn
8078d8c8a2 Add new thumbnail animation.
Use it for recent tasks switching.

Not perfect yet by far, but something.

Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D

Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
2012-03-23 14:13:13 -07:00
Jeff Brown
47847f3f4d Support enabling WAL using a flag when DB is opened.
Using enableWriteAheadLogging() to enable WAL is inefficient because
we previously disabled WAL mode when the database was opened.
Switching from WAL to PERSIST then back to WAL is inefficient
and could slow down application launch time.  It would be better
to leave the database in WAL mode when we open it to begin with.

To do that, we need to know ahead of time whether we will want to
have WAL enabled for the newly opened database.

Using this flag also reduces the chance that we will encounter
an error enabling WAL mode due to there being other open connections
to the database.

Bug: 6124556
Change-Id: I38ec7a528baeda9f1ef77e25e88b3ca4b6296200
2012-03-23 13:26:26 -07:00
Eric Fischer
3a2d7ee26d Import translations. DO NOT MERGE
Change-Id: I04b64fd35f290123b9bf81d550fa31f144097811
2012-03-23 13:06:57 -07:00
Eric Fischer
e68159ae74 Import translations. DO NOT MERGE
Change-Id: Iaa68a41570f03ee73c3f36502862477746c474a3
2012-03-23 13:04:55 -07:00
Eric Fischer
7bf371e200 Import translations. DO NOT MERGE
Change-Id: Ie99a723075c6e17d413dc055bc52feb81b1db73f
2012-03-21 12:49:52 -07:00
Daniel Sandler
0b83efb64a Merge "Make navbar deadzone silent in touch exploration." 2012-03-20 12:37:05 -07:00
Daniel Sandler
e97a776e9c Make navbar deadzone silent in touch exploration.
Bug: 5827342
Change-Id: Id93ab35f488a6aa48318b0f17dc510c443800aff
2012-03-19 22:56:42 -04:00
Glenn Kasten
252030b79c Fix priority constants in RecentTasksLoader
These constants should be priority values, not scheduling group values,
for use with this API.

Change-Id: If2ba1feffd20fff2f93295816fa8a724196d978e
2012-03-16 09:19:50 -07:00
Daniel Sandler
336a1bc30f Allow the quick settings panel to fully dim the display.
Bug: 5745968
Change-Id: I81bdfa0c1a53026c31bce3cdd81d4d95c94fd460
2012-03-15 22:39:26 -04:00
Eric Fischer
55baedbea0 Import translations. DO NOT MERGE
Change-Id: Ifae737940ed904103eb4177dcb0fe6256f1f1fbb
2012-03-13 14:17:47 -07:00
Eric Fischer
bdc5afeee5 Merge "Import translations. DO NOT MERGE" 2012-03-12 15:17:37 -07:00
Eric Fischer
e7ee9a0504 Import translations. DO NOT MERGE
Change-Id: I183552feb00f1764db73bf6c7f16d5f5ef0f3b0f
2012-03-12 14:45:39 -07:00
Eric Fischer
dded0cb35d Merge "Import translations. DO NOT MERGE" 2012-03-12 14:30:21 -07:00
Eric Fischer
852ac0ed07 Import translations. DO NOT MERGE
Change-Id: Ic90318a02d8cc5ba9974ec78b47d156b721ee795
2012-03-12 13:58:55 -07:00
Michael Jurka
a5d0ddba60 Fix back button state issue
Back button / down chevron button (eg when you have an IME visible)
was not getting synced on rotation changes

Bug: 6133831
Change-Id: Iefaf3babf92898fcc87a0b14c10b037de04d84e2
2012-03-09 17:41:41 -08:00
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