1957 Commits

Author SHA1 Message Date
Daniel Sandler
abff032e78 Draw smaller system status icons without scaling.
Bug: 5297795
Change-Id: I11dc3a21b2e1111963b1cd9621434747f1757a67
2011-09-27 11:20:17 -04:00
Mathias Agopian
8632561e14 Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom 2011-09-26 16:19:26 -07:00
Eric Fischer
622abb73a9 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-26 14:55:58 -07:00
Eric Fischer
334c39be25 Import revised translations. DO NOT MERGE
Change-Id: I3b5544d4e5739d08d1c3c6cc59dafe89de3b92c0
2011-09-26 14:49:06 -07:00
Daniel Sandler
7c12eee643 Update all RSSIs whenever the connectivity changes.
The connectivity includes the network condition, which is a
magic number that indicates how useful the connection is
(driven by ability to connect to GTalk, and manifested with
a differently-colored signal icon).

Previously we were only updating the icons of the network
type currently in use. Now we tickle all the icons any time
the connectivity changes, to avoid the two icons getting out
of sync (example: on mobile, connection is bad, connect to
wifi, conncetion is good; wifi icon appears and turns blue
but mobile RSSI remains gray).

Bug: 5369405
Change-Id: I78b62084b819c83f83aacc146feeb323c1199dc0
2011-09-25 15:53:33 -04:00
Daniel Sandler
f733c2aaa6 Make the status and navigation bars OPAQUE.
Bug: 5369240
Change-Id: I1c01baa732f441bf7d2c469eb7d3d82d26da07b1
2011-09-25 15:03:40 -04:00
Eric Fischer
a94fd2f05e Import revised translations. DO NOT MERGE
Change-Id: I1c2a959cd127faec64c01523fdec3baf43e8d7ab
2011-09-23 15:21:30 -07:00
Eric Fischer
6b1a9af51e Delete translations of files that no longer exist.
Change-Id: I26edc4a3dd2ac19c410af75c4fce1b67100a71d2
2011-09-22 17:17:55 -07:00
Daniel Sandler
2dbe444e5d Merge "Properly generate systemUiVisibilityChanged callbacks." into ics-factoryrom 2011-09-22 10:29:33 -07:00
Svetoslav Ganov
624181af38 Merge "Settings are restored in alphabetical order rather in order of dependency." into ics-factoryrom 2011-09-21 19:06:26 -07:00
Svetoslav Ganov
a571a5836c Settings are restored in alphabetical order rather in order of dependency.
Settings were restore in alphabetical order and capturing dependency
among them required keys to be chosen in such a way that after sorting
they apprear in dependency order. Now settings are exported and restored
in the order they are declared in the arrays of settings to backup.
Hence, the order in this array will capture the dependency order.

bug:5343351

Change-Id: I93a40bcdd194943cd6f85aa18f1557d546e38274
2011-09-21 18:21:24 -07:00
Daniel Sandler
d5c16c6c7c Properly generate systemUiVisibilityChanged callbacks.
User activity is supposed to immediately revert
HIDE_NAVIGATION, but we were just showing the navigation bar
directly. By routing through the service we'll generate
callbacks for everyone.

At long last, SYSTEM_UI_FLAG_HIDE_NAVIGATION will work like
lights out (now called SYSTEM_UI_FLAG_LOW_PROFILE) which
worked well enough in Honeycomb.

Bug: 5052456
Change-Id: I677f1295e1208c1aec48a4a9c8a6850916688388
2011-09-21 13:34:29 -04:00
Justin Ho
7a2063b1d5 Merge "New sync icon for Phone stat_sys area Bug: 5076774" into ics-factoryrom 2011-09-21 09:15:53 -07:00
Justin Ho
9d48b57809 Merge "Fixing low battery dialog" into ics-factoryrom 2011-09-21 07:59:32 -07:00
Justin Ho
9f176580c2 New sync icon for Phone stat_sys area
Bug: 5076774

Change-Id: I06a3d6be5818279b751b411485e8161493eac43c
2011-09-20 18:16:48 -07:00
Justin Ho
1d55f27445 Fixing low battery dialog
Change-Id: I58f7a4ed1c525fd4db4f2e9b60badeb0bdb3d519
2011-09-20 16:30:47 -07:00
Eric Fischer
01ad2a3fa7 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-20 15:35:23 -07:00
Eric Fischer
63664daaff Import revised translations. DO NOT MERGE
Change-Id: Id625c4d16121cadef5c8c7326f3458fa0d5d96a3
2011-09-20 15:20:06 -07:00
Daniel Sandler
da49dac48d Retain signal level even when data is offline.
Also disable extremely verbose RSSI logging.

Bug: 5340142
Change-Id: I051a4cec5651a0734db2666526b16037d7053a1e
2011-09-20 15:39:50 -04:00
Daniel Sandler
d1d074326d Merge "More debug logs for RSSI updates." into ics-factoryrom 2011-09-20 11:47:50 -07:00
Daniel Sandler
c49e195da4 More debug logs for RSSI updates.
Bug: 5340142
Change-Id: I1f7f106301d3942cc88d21d97a6c732c712e4516
2011-09-20 14:30:50 -04:00
Michael Jurka
2d69cff88e Merge "Fix crash in recent apps" into ics-factoryrom 2011-09-20 10:49:48 -07:00
Daniel Sandler
f1ebcee224 Fix MENU icon weirdness. (DO NOT MERGE)
(Broken by change I7cbb7bbf.)

Bug: 5308636
Change-Id: I30ca20f62bd140a823eb926a9a0521c4d6014680
2011-09-20 13:38:22 -04:00
Daniel Sandler
3144a6ca15 Stop clobbering the systemUiVisibility on navbar touch. (DO NOT MERGE)
Bug: 5328284
Change-Id: Ib49af35a7919dbf1cdb99f357798101d2534e853
2011-09-20 11:12:15 -04:00
Daniel Sandler
4cea3b4bd1 Fix disappearing nav icons. (DO NOT MERGE)
Bug: 5328284
Change-Id: Iaa20454cff9f5a340da7b0c71190796445e8a205
2011-09-20 11:12:00 -04:00
Justin Ho
54ecf3c636 Merge "Updated Status bar icons Bug: 5297795" into ics-factoryrom 2011-09-19 17:49:53 -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
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
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
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