1989 Commits

Author SHA1 Message Date
Justin Ho
54ecf3c636 Merge "Updated Status bar icons Bug: 5297795" into ics-factoryrom 2011-09-19 17:49:53 -07:00
Michael Jurka
df9d4e88db Merge "Speeding up Recent Apps" 2011-09-19 15:11:23 -07:00
Michael Jurka
57e4d44f09 Speeding up Recent Apps
- removing unused calls on startup
- no longer compositing bitmaps against a background bitmap

Change-Id: If26812ef475d5d972d98dd1cb9f7f741eeb99dae
2011-09-19 14:49:59 -07:00
Justin Ho
63b153b060 Updated Status bar icons
Bug: 5297795

Change-Id: Ie99288166e4680fff0e3369201aec72d498d8992
2011-09-19 13:35:10 -07:00
Michael Jurka
7e9c49c8eb Fix crash in recent apps
Bug #5332922

Change-Id: I223cdd306c6872cc47c53456da195c0d83c8f8bd
2011-09-19 11:18:19 -07:00
Daniel Sandler
da1b819595 Stop clobbering the systemUiVisibility on navbar touch.
Bug: 5328284
Change-Id: Ib49af35a7919dbf1cdb99f357798101d2534e853
2011-09-19 14:16:25 -04:00
Michael Jurka
43fc2d3cb4 am b0a1f197: Merge "Added "No recent apps" message on phones" into ics-factoryrom
* commit 'b0a1f197303d520d788ba11fcb0ac56f3a3c8604':
  Added "No recent apps" message on phones
2011-09-19 10:34:39 -07:00
Michael Jurka
b0a1f19730 Merge "Added "No recent apps" message on phones" into ics-factoryrom 2011-09-19 10:33:08 -07:00
Michael Jurka
6d66708706 Added "No recent apps" message on phones
Change-Id: I00bf163369775b79377090b7a9dae0c94ce5d0ac
2011-09-16 17:24:25 -07:00
Eric Fischer
db506e7699 Import revised translations. DO NOT MERGE
Change-Id: Ibae2079f2de6ae74d12a88e3c6f6f52b3010990f
2011-09-16 15:18:46 -07:00
Daniel Sandler
56598cd4d3 Fix MENU icon weirdness.
(Broken by change I7cbb7bbf.)

Bug: 5308636
Change-Id: I30ca20f62bd140a823eb926a9a0521c4d6014680
2011-09-15 16:08:45 -04:00
Daniel Sandler
369711f89b Merge "Fix overlapping wifi and airplane icons." 2011-09-15 07:56:48 -07:00
Chia-chi Yeh
89dea78603 Merge "VpnDialogs: add string description for translation." 2011-09-15 00:06:23 -07:00
Peter Ng
428dd26cd5 Merge "Status_bar_close that works on light and dark" 2011-09-14 20:27:14 -07:00
Peter Ng
669a8193bb Status_bar_close that works on light and dark
-No more blue, black works throughout all screens
-removed blue line from drop down handle because it was very problematic when a user has several notifications in their scrollview combined with the removal of fadingEdge vertical
-title_bar_shadow has an increased height

Change-Id: I8a291039b9c47c32ce289787612b050fd95e1fc4
2011-09-14 18:57:41 -07:00
Daniel Sandler
d9283b9031 Fix NPE.
Also remove unneeded log.

Bug: 5320647
Change-Id: If62b491ceb25d26195dea694fe0b5cd83c0f6305
2011-09-14 21:55:13 -04:00
Christopher Tate
687f643fca Merge "Use string resources instead of inline literals for progress toasts" 2011-09-14 18:18:36 -07:00
Chia-chi Yeh
f63c17d741 VpnDialogs: add string description for translation.
Change-Id: Id826838661e8cfa20d01a4f51943f7744a2665e2
2011-09-14 18:09:59 -07:00
Dianne Hackborn
ca7b656833 Merge "Fix issue #5283365: Rotating the device to portrait mode, hides the keyboard partly" 2011-09-14 17:58:18 -07:00
Dianne Hackborn
1f903c3b57 Fix issue #5283365: Rotating the device to portrait mode, hides the keyboard partly
PhoneWindowManager now takes full responsibility for deciding where the
navigation bar goes.  This gets rid of a bunch of race conditions with
determining layout while the nav bar is moving itself at the same time
the window manager is computing a new configuration.

Note that this breaks the "nav bar on left" option.  The current nav
bar code could also be cleaned up some more to completely drive its
behavior based on onSizeChanged() happening during relayout.

Change-Id: I1651d74c3464ba0d588aab3049e099c78420146a
2011-09-14 17:56:40 -07:00
Christopher Tate
28b591c2a4 Use string resources instead of inline literals for progress toasts
...in the full backup/restore confirmation UI.

Change-Id: I858a2d7017450f016afe5052aa37161a1c89c281
2011-09-14 17:34:52 -07:00
Daniel Sandler
192b98c08e Merge "Fix disappearing BACK button." 2011-09-14 16:26:22 -07:00
Daniel Sandler
6da2b76ea4 Fix disappearing BACK button.
We weren't properly applying the disabled flags from one
orientation to the other. This crops up when the lockscreen
changes the flags and forces a reorientation at the same
time; the other orientation can become stale.

Bug: 5312123
Change-Id: I7cbb7bbf69e6d86cb47450bcdfa692a1f766cd5e
2011-09-14 16:04:59 -04:00
Christopher Tate
f9fa7543b1 Merge "Give backup/restore confirmation a proper window title" 2011-09-14 11:34:03 -07:00
Jeff Brown
aab55bf3e3 Merge "Fix bug in KeyButtonView key injection logic. Bug: 5299191 Bug: 5300282" 2011-09-13 19:23:01 -07:00
Christopher Tate
c58cf7dd02 Give backup/restore confirmation a proper window title
Since the confirmation uses the same Activity but different layouts
for the backup vs restore cases, we have to do the title in code.

Along the way, fix the restore layout's padding [the backup layout
was already right].

Fixes bug 5164470

Change-Id: I4d636f666d97fc377e9cf36abf08d1625a05577f
2011-09-13 17:51:18 -07:00
Jeff Brown
98392efb24 Fix bug in KeyButtonView key injection logic.
Bug: 5299191
Bug: 5300282

Only send keys when mCode != 0.

Simplified the logic for repeating / non-repeating keys.
Key down / up are always correlated with touch down / up, the
only thing that's special is that we detect long press for
repeating keys and not for others.

Ensure that up or cancel is always sent for every key
that is generated.  Previously it was possible for keys to get
stuck down if touch moved out of the button's active area.

Removed the funky HOME long press timer.  We don't need it
since we can rely on the long-press flag instead.  Since the
system UI is in direct control of key repeating and long-press
behavior for the keys it inject, this eliminates the need for
special hacks to circumvent the timer.

Ensure that the same haptic feedback is provided for all keys,
including the recent apps key.  Previously this only worked
because the code was injecting a bogus key with code 0.

Don't generate repeated haptic feedback for virtual keys
even when those keys are injected.  This doesn't happen
for virtual keys synthesized by the InputReader because it
never injects repeats itself (the InputDispatcher synthesizes
them), but it is an issue for the KeyButtonView.

Change-Id: I8b3615dde738af28e76898d161d6ce9a883b59ec
2011-09-13 16:52:12 -07:00
Chia-chi Yeh
d80549c8dc VpnDialogs: allow strings wrapped into multiple lines.
Change-Id: I51443c14c2f113a149818dc060fb90fa16527545
2011-09-13 15:41:23 -07:00
Daniel Sandler
5ccff81a64 Fix overlapping wifi and airplane icons.
Bug: 5254547
Change-Id: If293be36c4e06a8fac6f728b1f96e5759fe20f6d
2011-09-13 15:17:58 -04:00
Daniel Sandler
49f5840734 Transparent notification shade.
Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
2011-09-13 00:35:52 -04:00
Daniel Sandler
fe172cc861 Fix the takeoff position of a flung windowshade.
We were carefully tracking the vertical offset between the view
origin and the user's incident touch, but not actually
including it when performing a fling. (This might have
worked at one point but been later buried under some
refactoring rubble.)

Bug: 5210198
Change-Id: I97ae883491a5dedf1b48683441096fe9938d118f
2011-09-12 22:18:41 -04:00
Michael Jurka
f1c8adc9ae Merge "Bug fixes in Recents" 2011-09-12 17:04:53 -07:00
Michael Jurka
0e8063a3b4 Bug fixes in Recents
- Making thumbnails invisible until loaded (fixes regression)
- Speed up dismiss animation from menu
- Make the max swipe velocity greater
- Make only the thumbnail and app title long-clickable
- No more click sound when tapping outside the thumbnails to dismiss Recents
- Tweaking color of recents app label text

Change-Id: If7b6cd59e92feb0472eb3ea266733549cb9f4d4b
2011-09-12 16:55:04 -07:00
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -07:00
Jeff Brown
911fe30d58 Track status bar fling velocity using screen coords.
Bug: 5210198

Change-Id: I58630ab861c0934755a4aac4b96fdc5634c4a438
2011-09-12 14:21:17 -07:00
Jeff Brown
68ebcdf3fd Fix ACTION_CANCEL handling in status bar.
Bug: 5198231

Widgets always need to handle ACTION_CANCEL properly since
it can happen at any time, such as when the screen is turned
off or the screen is rotated, removed or reconfigured.

Change-Id: Ia30b14bb6f68cdde5286b4d72e69130e9fb38732
2011-09-12 14:12:17 -07:00
Dianne Hackborn
d2509fd835 Add boot mode where only "core apps" are started.
A core app is one that has coreApp="true" in its manifest tag.

The system can successfully boot (though a little painfully) with
only framework-res.apk, SettingsProvider.apk, SystemUI.apk,
DefaultContainerService.apk, and Launcher2.apk set as core apps.

Currently this boot mode is always turned off.

Change-Id: Ieaa4a8031c2c391a12996aa8d8b1d65fc2b09d6b
2011-09-12 12:29:43 -07:00
Eric Fischer
d61a3a1bed Merge "Import revised translations." 2011-09-12 10:22:21 -07:00
Daniel Sandler
aeb1167501 Merge "Hide navigation buttons when they are DISABLEd." 2011-09-12 10:06:53 -07:00
Eric Fischer
78cc91aa7d Import revised translations.
Change-Id: I6e7f33ff16557f7e9088c0aa66fd1c79ed376c75
2011-09-12 09:48:06 -07:00
satok
d2deee1eeb Merge "Fix the visiblity of the ime switcher icon." 2011-09-12 00:25:41 -07:00
satok
9747f8977c Fix the visiblity of the ime switcher icon.
Bug: 5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
2011-09-12 15:56:40 +09:00
Daniel Sandler
029d5877b0 Hide navigation buttons when they are DISABLEd.
Back is hidden by DISABLE_BACK; Home, Recents, and Menu are
hidden by DISABLE_NAVIGATION.

Bug: 5261576
Bug: 5284740 (confusion about visible inactive icons)
Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
2011-09-12 01:02:30 -04:00
Ken Wakasa
e00633e49a Fix NPE
bug: 5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e
2011-09-12 12:18:09 +09:00
Daniel Sandler
f4b783f8a7 Merge "Exit the keyguard when the user clicks a notification." 2011-09-11 17:08:50 -07:00
Daniel Sandler
8dbdee5b16 Merge "Fix bug swiping away NO_CLEAR notifications." 2011-09-11 17:08:41 -07:00
Daniel Sandler
92d331883a Exit the keyguard when the user clicks a notification.
(This only works if the keyguard is not secure, but then
again, the user can't access the notification panel in that
case anyway.)

Bug: 5173952
Change-Id: I8a6081d26c52843822b381d8ebe0fae94a03bef9
2011-09-11 16:30:03 -04:00
Daniel Sandler
113045ab9c Fix bug swiping away NO_CLEAR notifications.
Bug: 5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4
2011-09-11 16:08:14 -04:00
John Huang
e16c279d4f Handle HSPAP.
We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.

bug: 5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500
2011-09-09 14:52:57 -07:00
Daniel Sandler
99f6ecc2fd Merge "Show roaming icon in status bar." 2011-09-09 10:39:04 -07:00