1774 Commits

Author SHA1 Message Date
Chet Haase
b8e9b810a8 Merge "Optimized swipe animation for Recents app." 2011-08-12 11:49:20 -07:00
Chet Haase
212f625b71 Optimized swipe animation for Recents app.
Removed the delay after the swipe and before the remaining items
animated into their new places. Also, expanded container of app so
that it no longer clips the swiped thumbnails on the right (on tablet).

Change-Id: I3d757a3b42bf0d1e002fab5b74b47c1e7f4f97a2
2011-08-12 09:19:10 -07:00
Christian Robertson
2e347429df New RSSI cluster in status bar.
Bug: 5147463
2011-08-12 10:15:31 -04:00
Daniel Sandler
ba3711ccd3 Merge "Disable peeking at individual notifications." 2011-08-11 17:59:08 -07:00
Kenny Root
e342551e56 Merge "Better errors from copyResource" 2011-08-11 13:27:10 -07:00
Daniel Sandler
298a2a816a Disable peeking at individual notifications.
Now tapping anywhere on the notification/clock/status end of
the system bar will bring up the notification panel.
Swiping up anywhere in that region works as well.

This change also adds visual touch feedback to the panel
trigger area.

Bug: 4723688
Change-Id: I5e24fea1231b798c41ddd48c0c42c283c92ebe65
2011-08-11 16:25:57 -04:00
Chet Haase
81abe87dcc Fix Recent Apps jumping artifact
When removing an item from the Recents list such that the list went from
larger than the screen to smaller (bringing the first item completely into view)
there was an artifact where the list would jump briefly, just prior to running
the transition to animate the remaining items into place.

The problem was that the custom ScrollView classes in the Recents app were
manipulating the scrollX/Y values of the items as a side-effect of any resize
of the list. Meanwhile, the LayoutTransition was manipulating both the size and
the scroll position of the list. The transition's scroll values would get clobbered by
the app's side-effect operation, causing the jump that we'd see on the screen.

The fix was to disable the side-effect operation during a layout transition.

Change-Id: I17f3f05d0e8a792e41bd46869ee700f128e63216
2011-08-11 07:18:20 -07:00
Daniel Sandler
5e3f4000a9 Merge "Remove logspew." 2011-08-11 05:17:14 -07:00
Daniel Sandler
6140ef1b1b Merge "Remove obsolete assets." 2011-08-11 05:17:09 -07:00
Daniel Sandler
0c5c6a6f27 Merge "Clean up some effects in the phone notification panel." 2011-08-11 05:17:03 -07:00
Daniel Sandler
8355e932a0 Remove logspew.
Bug: 5118028
Change-Id: I5517d79624020aa7ceeabf251581b3baf2f7b080
2011-08-11 00:27:45 -04:00
Daniel Sandler
f159586471 Remove obsolete assets.
Bug: 5002409
Change-Id: If9e544b347ca55d0344225eff00bafed180edf8c
2011-08-11 00:23:27 -04:00
Daniel Sandler
0761e4cd95 Clean up some effects in the phone notification panel.
* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
  reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
2011-08-11 00:19:49 -04:00
Daniel Sandler
294a6199bd Merge "Subtract the navigation bar from DisplayMetrics." 2011-08-10 18:54:20 -07:00
Kenny Root
f5121a9b80 Better errors from copyResource
Copy resource would fail without a good error code when the file
couldn't be found during copy.

Also destroy the target container ID during move operations since it
might exist. If the copy failed due to it existing, it would get
destroyed anyway. This way the user has a chance to have a good outcome
the first time.

Bug: 3375299
Bug: 5113898
Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab
2011-08-10 17:00:30 -07:00
Winson Chung
9a79680bde Merge "Fixing screenshot timestamp (5147168)" 2011-08-10 16:23:52 -07:00
Winson Chung
930facd20e Fixing screenshot timestamp (5147168)
Change-Id: I28ce2431bdfe7025191d9a6780ba0a59175c8047
2011-08-10 16:02:59 -07:00
Daniel Sandler
36412a7e7c Subtract the navigation bar from DisplayMetrics.
Its region is now treated like the system bar: inaccessible
to applications and therefore not worth reporting as part of
the display.

(Note that using setSystemUiVisibility you can gain
temporary access to the navigation bar region, unlike the
sempiternal system bar.)

The navigation bar is now considerably less in control of
its own behavior (the window manager assumes it will be a
certain size and in a certain position in landscape and
portrait). This change also fixes the navbar so that it
becomes GONE instead of merely INVISIBLE (allowing
underlying windows to expand in size accordingly).

Bug: 5052456 // the feature
Bug: 5067627 // notification shade falling behind the navbar
Bug: 4959805 // fix third-party apps relying on DisplayMetrics
Change-Id: I60257fc5c858e0edcaba8cfc1f8d58dd99a68258
2011-08-10 16:10:59 -04:00
Nick Pelly
7ad291a5e7 Merge "Add NFC to airplane mode" 2011-08-09 22:27:22 -07:00
Nick Pelly
8d32a01bd2 Add NFC to airplane mode
NFC now observes airplanes mode, and is by default toggleable in airplane mode.

Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
2011-08-09 16:31:46 -07:00
Daniel Sandler
cf336e10c0 Forcibly recalculate size of the notification expanded view.
This helps avoid a race condition that can sometimes leave
the status bar handle untouchable (read: hiding behind the
expanded view's transparent window, which is too large
because the close handle's height has not yet been
calculated) on first boot.

Bug: 5122306
Change-Id: I5fa2595798a66289c2c33d7c78dd16f9db066ede
2011-08-09 15:50:03 -04:00
Daniel Sandler
d309056d36 Add settings button to notification panel.
Also move date to panel in place of carrier name.

Bug: 5076789
Change-Id: I498dc1e29581829c123b3cc0a8c81551ac8bdbe2
2011-08-09 15:49:39 -04:00
Eric Fischer
9b3ef020f0 Merge "Import revised translations." 2011-08-08 15:07:58 -07:00
Daniel Sandler
2dbf1b76b9 Merge "Don't show network type if no SIM." 2011-08-08 07:11:40 -07:00
Daniel Sandler
1f1304a84e Don't show network type if no SIM.
Bug: 5127932
Change-Id: Ib29bfe3372b2c40618480691d65cc4c74d02f8fd
2011-08-07 16:36:39 -04:00
Dianne Hackborn
9ea3163973 Fix issue #5108980 Wallpaper is not restored after upgrade from IRK32B to IRK33B
Take care of updating from old component name, and don't let this happen
again.

Also tweak how we switch between static wallpapers to avoid introducing
a 4MB allocation in the system UI process when this happens -- we now
stop the current wallpaper service and start a new one, so we get a
brand new surface that we can draw only one time in to.

Change-Id: I6fc8a42b8a46bba79759bd68fb7d0684b5d897b7
2011-08-05 19:22:25 -07:00
Eric Fischer
380dcb4d3f Import revised translations.
Change-Id: Id1dc8ed9e570a81fe25088df3bca5e206f04b1ad
2011-08-05 16:55:39 -07:00
Christopher Tate
580dc389db Merge "Handle rotation gracefully in the backup/restore confirmation UI" 2011-08-05 15:07:21 -07:00
Christopher Tate
3851fa9c8d Handle rotation gracefully in the backup/restore confirmation UI
We now don't automatically deny the operation if stopped, but instead
allow the activity to be destroyed and recreated as usual.  We retain
the observer instance across that sequence so we keep getting progress
reports etc.

The UI now also uses the spiffy new button bar styles, and positions
the deny / confirm buttons according to ICS standards.

Bug 5115411

Change-Id: Ie760a0c8496c69f9d5881273a63ad5b5b76ff554
2011-08-05 13:18:08 -07:00
Amith Yamasani
284585aa83 Merge "Don't change system sound defaults for upgrades." 2011-08-05 11:02:55 -07:00
Daniel Sandler
6cf602cd1d Fix crash in log message.
Bug: 5126593
Change-Id: I2214e48de4d0f858b9b23c431bdf91078cc0ccd6
2011-08-05 13:20:53 -04:00
Daniel Sandler
319d1e3b28 Stop popping up the compatibility mode dialog all the time.
(The check for whether the dialog had already been shown was
accidentally removed in change I1c1bd12.)

Bug: 5069310
Change-Id: I2ea35c5891667922e78d7919132ffe599411f851
2011-08-05 11:35:47 -04:00
Daniel Sandler
c803422bed Merge "Clear all notifications on tablet actually works now." 2011-08-05 04:46:09 -07:00
Daniel Sandler
69ecb0a08a Merge "Instrumentation to track notification panel touch bugs." 2011-08-05 04:45:53 -07:00
Ken Wakasa
bd391ba1f2 Suppress the IME switcher icon by default on tablet
bug: 5001205
Change-Id: I8c983808078d984d1d25e985e23ab036b869332e
2011-08-05 18:17:30 +09:00
Daniel Sandler
06a0d4b5c3 Clear all notifications on tablet actually works now.
Also, the panel is no longer buried below the screen edge
when there are no notifications.

Bug: 5115158
Change-Id: I01bc8a65ceebd64143a4c4c52d63641dc3cd1c77
2011-08-05 00:29:58 -04:00
Daniel Sandler
96e61c3c86 Instrumentation to track notification panel touch bugs.
Bug: 5122306
Bug: 5105599
Change-Id: I2ca677d71daf9c6d5931ae933b3ab496620ab564
2011-08-04 22:49:06 -04:00
Daniel Sandler
f35ed37321 Merge "Fix another NPE." 2011-08-04 19:15:49 -07:00
Amith Yamasani
e6087d7715 Don't change system sound defaults for upgrades.
This reverts an earlier change that reset the system sound defaults even
for upgrades.

Bug: 5114198
Change-Id: Ide0afbd26080ba87d177cedfa9b1d50352857a00
2011-08-04 15:51:32 -07:00
Chia-chi Yeh
b234636105 Merge "VPN: move away from the VPN permission." 2011-08-04 13:04:51 -07:00
Daniel Sandler
f48fd822e0 Fix another NPE.
Bug: 5122306
Change-Id: I6877528325d30bb725f8692c86a8752263b5344e
2011-08-04 15:57:39 -04:00
Daniel Sandler
d3ffa270e0 Merge "Log some signal condition diagnostics for now." 2011-08-04 09:56:53 -07:00
Daniel Sandler
f91f0905e4 Merge "Fix NPE on first-ever boot if display has rotated." 2011-08-04 08:46:20 -07:00
Daniel Sandler
8d77e7714b Merge "Restore DISABLE_NOTIFICATION_ICONS." 2011-08-04 08:44:51 -07:00
Daniel Sandler
96f3b6f010 Fix NPE on first-ever boot if display has rotated.
Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
2011-08-03 21:45:28 -04:00
Mike Lockwood
e2e7b1e2dc Merge "Add support for localizing order of day of week and date in status bar date view" 2011-08-03 18:35:23 -07:00
Daniel Sandler
60b3e9c157 Log some signal condition diagnostics for now.
Bug: 5103241
Change-Id: Id780a3e535270c53e5f1b531c761ca5010291040
2011-08-03 21:26:03 -04:00
Christopher Tate
ab104b2c03 Merge "Make backup/restore confirmation UI landscape-friendly" 2011-08-03 17:37:56 -07:00
Christopher Tate
31deacf6f5 Make backup/restore confirmation UI landscape-friendly
Now the textual content and password fields are placed in scroll view,
and the confirm/deny buttons pinned at the bottom of the layout.
Previously, in landscape mode on some devices the buttons would be
pushed off screen.

Bug 5115411

Change-Id: I8bf8fd1516735bf6111893df79636b519dbfb803
2011-08-03 17:31:52 -07:00
Kenny Root
01704e76fa Merge "Better error codes for missing files" 2011-08-03 17:09:38 -07:00