702 Commits

Author SHA1 Message Date
Karl Rosaen
9507490ede Remove vertical separator from landscape layout of pattern lock screen. 2009-09-25 10:42:35 -07:00
Dianne Hackborn
3b3e145d3c A variety of work on animations.
- The lock screen now fades in and out.
- Fixed a bug where we would accidentally freeze the screen when switching
  to an activity with a different orientation than the current (but
  the screen itself is in the current orientation).  This would mess up
  the animations on the car dock.
- New API to force a particular animation for an activity transition
  (untested).
- New wallpaper animations.
- Resources now uses the next API version when in a development build,
  to help applications being developed against such builds.

Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
2009-09-25 00:48:02 -07:00
Android (Google) Code Review
0808c96126 Merge change 26954 into eclair
* changes:
  Update layouts to show status (battery, alarm) info on pattern unlock screen.  make buttons dark.
2009-09-24 19:54:07 -04:00
Karl Rosaen
816ef1c116 Update layouts to show status (battery, alarm) info on pattern unlock screen. make buttons dark. 2009-09-24 16:51:50 -07:00
Christopher Tate
4cc86e1ae8 Clear the device's data from the transport when backup is disabled
Turning off backup in the Settings UI constitutes an opt-out of the whole
mechanism.  For privacy reasons we instruct the backend to wipe all of the data
belonging to this device when the user does this.  If the attempt fails it is
rescheduled in the future based on the transport's requestBackupTime()
suggestion.  If network connectivity changes prompt the transport to indicate a
backup pass is appropriate "now," any pending init operation is processed before
the backup schedule is resumed.

The broadcasts used internally to the backup manager are now fully protected;
third party apps can neither send nor receive them.

(Also a minor logging change; don't log 'appropriate' EOF encountered during
parsing of a backup data stream.)
2009-09-24 11:19:04 -07:00
Android (Google) Code Review
9f8d59eea1 Merge change 26714 into eclair
* changes:
  Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones).
2009-09-24 13:19:15 -04:00
Daniel Sandler
1ee4aeaa46 New high-res framework assets (drop dated Sep-24).
Note that there are a few new assets here that don't exist
in mdpi (and aren't yet referenced by code):

	core/res/res/drawable-hdpi/stat_sys_signal_0_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_1_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_2_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_3_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_4_cdma.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_0.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_1.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_2.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_3.png
	core/res/res/drawable-hdpi/stat_sys_signal_evdo_4.png
2009-09-24 12:26:41 -04:00
Karl Rosaen
74646ad618 Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones). 2009-09-24 09:24:42 -07:00
Android (Google) Code Review
3e81ad2181 Merge change 26819 into eclair
* changes:
  Fixes http://b/2143180 (mdpi sdcard notification icons).
2009-09-24 10:28:20 -04:00
Daniel Sandler
2e760a9ced Fixes http://b/2143180 (mdpi sdcard notification icons).
Adapted from hdpi versions.
2009-09-24 09:11:12 -04:00
Dianne Hackborn
ffa424800d Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Lot of infrastructure for more things to go away when "clear system dialogs"
happens, and now do this when we turn on the lock screen.

Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
2009-09-23 23:17:07 -07:00
Android (Google) Code Review
769de37e21 Merge change 26752 into eclair
* changes:
  Fix 2105956: The nine patch markers for one of the zoom buttons were reversed
2009-09-23 21:27:46 -04:00
Mike Cleron
826653df85 Fix 2105956: The nine patch markers for one of the zoom buttons were reversed 2009-09-23 18:20:11 -07:00
Android (Google) Code Review
880aaa7fe0 Merge change 26730 into eclair
* changes:
  Fix 2132058: Tweak hdpi textfield assets so they align with buttons
2009-09-23 20:49:01 -04:00
Mike Cleron
67e42b0f98 Fix 2132058: Tweak hdpi textfield assets so they align with buttons 2009-09-23 17:28:04 -07:00
Dianne Hackborn
5baba16989 Newer animations.
Change-Id: I1bb8e52f91dc60a6ec9496e2c66623bc8080b95d
2009-09-23 17:03:41 -07:00
Android (Google) Code Review
3f2c70fb9e Merge change 26627 into eclair
* changes:
  Convert instances of px in default UI styles to dip.
2009-09-23 14:54:44 -04:00
Android (Google) Code Review
9d12fdb1b5 Merge change 26625 into eclair
* changes:
  Fix http://b/2139600 (expander indicators misaligned).
2009-09-23 14:12:37 -04:00
Daniel Sandler
c025b436aa Convert instances of px in default UI styles to dip.
Almost fixes http://b/issue?id=2131173, but unfortunately
due (perhaps) to asset size differences, the gap between
Gallery tiles is now 1px instead of ~10.
2009-09-23 14:00:00 -04:00
Daniel Sandler
2a237a9f5c Fix http://b/2139600 (expander indicators misaligned).
Culprit: busted 9-patch.
2009-09-23 13:56:16 -04:00
Bjorn Bringert
077357ccf0 Back button in search always goes back or closes search
Before, the back button had different behavior depending on
which part of the search dialog had focus, and depending on
whether there were more suggestions than could fit in the
visible space in the drop-down.

This change makes the behavior of the BACK button more
predictable, by always going back to QSB when pivoted
into a source, and closing the search dialog when in
QSB.

Fixes http://b/issue?id=2126526
"One tap of back button when entering text to search
should always take you back to previous page"

Change-Id: I7b3553122eaa1a5d87ac966d5ab2a9f432063cc9
2009-09-23 14:59:02 +01:00
Android (Google) Code Review
7c47adefea Merge change 26527 into eclair
* changes:
  Dock screen on config can now select AC or USB.
2009-09-22 22:24:10 -04:00
Dianne Hackborn
99f7eb453c Dock screen on config can now select AC or USB.
Change-Id: Ifae9af4eb0295ba8e46c65879440b0da543b18e6
2009-09-22 18:59:35 -07:00
Daniel Sandler
465ccb8a40 Add support for thumbnails to WallpaperInfo.
Clean up the Gallery to show thumbnails appropriately; still using FPO artwork
for wallpapers without thumbnails.

This change introduces a new "thumbnail" attribute to the API (used
in wallpaper metadata to point to the thumbnail drawable resource).
2009-09-22 20:56:10 -04:00
Evan Millar
03ca572a7d New fasttrack assets.
Change-Id: I320f2e52bfa85d1a15cbfc1724b3bf23389fc2ff
2009-09-22 15:21:57 -07:00
Evan Millar
de9eef1c66 Add aggregated badge to ContactHeaderWidget
Change-Id: I0266828c7d560b9aefc3f58d27c217f710f1b0bb
2009-09-22 08:40:22 -07:00
Jeff Sharkey
a25c9b280e Remove unused type attribute. 2009-09-21 21:25:01 -07:00
Jeff Sharkey
3f0476a4e2 Basic API for third-party apps to define custom Data rows.
To display styled ContactsContract.Data rows in UI, this
change adds basic styling attributes that third-party apps
can use.  The Contacts app parses these structures before
displaying Data rows with unrecognized MIME-types.

Partially fixes http://b/2126691
2009-09-21 21:05:59 -07:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Jeff Sharkey
88a83d3f10 Update getDisplayLabel() API to support new types.
We recently added several new phone types, and this change
updates the API that resolves thoses types to strings.  It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
2009-09-21 13:27:38 -07:00
Android (Google) Code Review
3242cbbf82 Merge change 26181 into eclair
* changes:
  Make background color pure black.
2009-09-21 14:47:52 -04:00
Evan Millar
00ac7e6490 Make background color pure black.
Change-Id: Iedd1da42448bf295b87284d24a030430f4f8e3fe
2009-09-21 11:13:03 -07:00
Grace Kloba
f8d8b46a2c Add a tip toast for double tap.
Fix http://b/issue?id=2059934
2009-09-21 10:10:11 -07:00
Mike LeBeau
894bedacc4 Unhide themes TextAppearance.SearchResult.Title and TextAppearance.SearchResult.Subtitle.
We had discussed doing this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.

Followup CL to 25911.
2009-09-20 20:21:48 -07:00
Amith Yamasani
e43530ab57 Track CPU speed stepping to get more accurate CPU cost per app.
More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
2009-09-20 16:03:50 -07:00
Android (Google) Code Review
9603715ae3 Merge change 25959 into eclair
* changes:
  Add better transition to rotary lock widget when triggering: spin around instead of snap back.
2009-09-20 12:59:59 -04:00
Karl Rosaen
278ec5d6f5 Add better transition to rotary lock widget when triggering: spin around instead of snap back.
Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
2009-09-20 09:51:46 -07:00
Mike Lockwood
b4c0b3d8cc Add resources to allow forcing accelerometer based orientation management when docked.
Change-Id: I708507db735e08a13daeff95e106f0a53037f760

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 01:57:09 -04:00
Daisuke Miyakawa
927b86f3a7 Add config_use_strict_phone_number_comparation, which will be used by internal applications.
Related internal issue number: 1892808
2009-09-19 18:48:03 -07:00
Dianne Hackborn
edd9316ca9 Add better APIs for the battery status, and other cleanup.
Also add new configs for keeping screen on while docked, which will
be used elsewhere.

Change-Id: Ifaa1118f14fd850ac809895f9a5c9e8c413259b8
2009-09-19 14:03:05 -07:00
Mike LeBeau
5825b64e4a Unhide attributes textAppearanceSearchResultSubtitle and
attr/textAppearanceSearchResultTitle. We had discussed doing
this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.
2009-09-19 01:19:52 -07:00
Dianne Hackborn
65c2387206 Fix transformation on windows.
The window offset was being applied incorrectly in relation to the
animation transform.

Change-Id: Ia578129f48cf6c57ae795af862d2b6ce5d447994
2009-09-18 17:47:02 -07:00
Evan Millar
2c22a51072 More hi-res assets, and darken background color to donut level.
Includes hi-res divider and header assets.

Change-Id: I8fbeb619509886f707fe604a8057c6beda1e03a7
2009-09-18 13:27:09 -07:00
Daniel Sandler
4d5babce58 Fix http://b/2086471 (list view headers too dark in mdpi). 2009-09-18 15:17:33 -04:00
Dianne Hackborn
6136b7ef16 Show the live wallpaper on the lock screen.
This also takes care of the problem of system dialogs like the
crash dialog causing the status bar to dim behind the lock screen.

On the down side, the fade transition from the lock screen is
now gone, and I'm not sure how likely it is for it to return.

Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d
2009-09-18 09:27:22 -07:00
Eric Fischer
4175b5f34a Import revised translations. DO NOT MERGE 2009-09-17 14:28:06 -07:00
Android (Google) Code Review
f5a68512c3 Merge change 25463 into eclair
* changes:
  First pass at pattern lock screen that includes date / time and carrier info (framework portion).
2009-09-17 05:59:41 -04:00
Karl Rosaen
50b9d80415 First pass at pattern lock screen that includes date / time and carrier info (framework portion).
- layout's tweaked to squeeze carrier, time and date into pattern layout (landscape and portrait)
2009-09-17 02:56:57 -07:00
Amith Yamasani
12cc9d82a6 Add a new flag for IMEs to disable suggestions for certain fields. 2009-09-16 18:51:46 -07:00
Android (Google) Code Review
32c687c20d Merge change 25351 into eclair
* changes:
  Change Theme.Light's background back to pure white.
2009-09-16 17:49:22 -04:00