OSDN Git Service

android-x86/frameworks-base.git
15 years agoAllow animation styles to be applied to popup windows.
Amith Yamasani [Mon, 17 Aug 2009 14:50:19 +0000 (07:50 -0700)]
Allow animation styles to be applied to popup windows.

Window params were not carrying the package name required for loading
animation styles from outside of the android package.

15 years agoMerge change 21364 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 23:04:29 +0000 (16:04 -0700)]
Merge change 21364 into eclair

* changes:
  Moving contacts-specific strings to donottranslate files.

15 years agoMoving contacts-specific strings to donottranslate files.
Dmitri Plotnikov [Fri, 14 Aug 2009 21:39:49 +0000 (14:39 -0700)]
Moving contacts-specific strings to donottranslate files.

15 years agoDO NOT MERGE, ALready merged to master.
Sahil Sachdeva [Fri, 14 Aug 2009 21:52:23 +0000 (14:52 -0700)]
DO NOT MERGE, ALready merged to master.
1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.

15 years agoMerge change 21311 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 19:38:51 +0000 (12:38 -0700)]
Merge change 21311 into eclair

* changes:
  fix documentation

15 years agofix documentation
Mike Reed [Fri, 14 Aug 2009 19:34:36 +0000 (15:34 -0400)]
fix documentation

15 years agoMerge change 21307 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 19:24:02 +0000 (12:24 -0700)]
Merge change 21307 into eclair

* changes:
  Turn off static live wallpaper for now.

15 years agoTurn off static live wallpaper for now.
Dianne Hackborn [Fri, 14 Aug 2009 19:12:31 +0000 (12:12 -0700)]
Turn off static live wallpaper for now.

15 years agoHide the title bar when zoomed in.
Leon Scroggins [Thu, 13 Aug 2009 19:34:06 +0000 (15:34 -0400)]
Hide the title bar when zoomed in.

15 years agoAdds the ability to configure the mock Geolocation service from DumpRenderTree.
Steve Block [Fri, 14 Aug 2009 11:08:33 +0000 (12:08 +0100)]
Adds the ability to configure the mock Geolocation service from DumpRenderTree.

15 years agoThe local loaders assume the url given to them is decoded.
Patrick Scott [Thu, 13 Aug 2009 19:39:20 +0000 (15:39 -0400)]
The local loaders assume the url given to them is decoded.

Decode the url before passing down to the local loaders since they do not decode
the url themselves. This was creating a crash on youtube.com since the data url
was percent-encoded and failing to parse from base64.

15 years agoMerge change 21225 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 05:36:05 +0000 (22:36 -0700)]
Merge change 21225 into eclair

* changes:
  fix a bug that could cause a window to be hidden in some cases.

15 years agoMerge change 21235 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 04:33:57 +0000 (21:33 -0700)]
Merge change 21235 into eclair

* changes:
  Change the number of volume steps from 6 to 7 per Verizon Requirements

15 years agoChange the number of volume steps from 6 to 7 per Verizon Requirements
Jared Suttles [Fri, 14 Aug 2009 02:50:52 +0000 (21:50 -0500)]
Change the number of volume steps from 6 to 7 per Verizon Requirements

Submitted on behalf of Helen Tran <Helen.Tran@motorola.com>
Signed-off-by: Jared Suttles <jared.suttles@motorola.com>
15 years agoA little more wallpaper robustness.
Dianne Hackborn [Fri, 14 Aug 2009 01:51:59 +0000 (18:51 -0700)]
A little more wallpaper robustness.

- Recover if a live wallpaper is crashing repeatedly.
- Don't crash when someone tries to set a static wallpaper.
- Make the static wallpaper update correctly when the image changes.

15 years agofix a bug that could cause a window to be hidden in some cases.
Mathias Agopian [Fri, 14 Aug 2009 02:08:00 +0000 (19:08 -0700)]
fix a bug that could cause a window to be hidden in some cases.

this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.

in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.

15 years agoam 94ff3f1f: Merge change 21063 into donut
Xavier Ducrohet [Fri, 14 Aug 2009 01:43:54 +0000 (18:43 -0700)]
am 94ff3f1f: Merge change 21063 into donut

Merge commit '94ff3f1f08805b68c5524b39024968aebcdc83ee' into eclair

* commit '94ff3f1f08805b68c5524b39024968aebcdc83ee':
  Fix handling of reference XML file in layout files

15 years agoam e1b63d22: Merge change 21033 into donut
Xavier Ducrohet [Fri, 14 Aug 2009 01:43:46 +0000 (18:43 -0700)]
am e1b63d22: Merge change 21033 into donut

Merge commit 'e1b63d224a0a68191f087186c470cde317e3fa76' into eclair

* commit 'e1b63d224a0a68191f087186c470cde317e3fa76':
  Mock ServiceManager and AccesibilityManager to make the view renders in ADT

15 years agobe more friendly with C
Mathias Agopian [Fri, 14 Aug 2009 00:57:53 +0000 (17:57 -0700)]
be more friendly with C

15 years agoSurface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically...
Mathias Agopian [Fri, 14 Aug 2009 00:29:02 +0000 (17:29 -0700)]
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.

this also ripples into the window manager API by making some constant there deprecated as well.

15 years agoMerge change 21207 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 00:59:39 +0000 (17:59 -0700)]
Merge change 21207 into eclair

* changes:
  Always have a wallpaper service running.

15 years agoAlways have a wallpaper service running.
Dianne Hackborn [Thu, 13 Aug 2009 17:20:21 +0000 (10:20 -0700)]
Always have a wallpaper service running.

15 years agoui: make native_window_set_usage be a static inline
Dima Zavin [Thu, 13 Aug 2009 23:50:54 +0000 (16:50 -0700)]
ui: make native_window_set_usage be a static inline

Signed-off-by: Dima Zavin <dima@android.com>
15 years agoFix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
Grace Kloba [Thu, 13 Aug 2009 18:01:21 +0000 (11:01 -0700)]
Fix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
treat it as double click in the middle of the page.

15 years agoBackup participants must now hold the BACKUP_DATA permission
Christopher Tate [Thu, 13 Aug 2009 22:13:03 +0000 (15:13 -0700)]
Backup participants must now hold the BACKUP_DATA permission

Packages that do not use android.permission.BACKUP_DATA will neither be backed
up nor restored.  That permission is currently signature-only.  In the future if
access to the backup/restore infrastructure is made available to arbitrary 3rd
party applications, the permission checks (and indeed, the permission itself)
can simply be removed.

15 years agoMerge change 21171
Android (Google) Code Review [Thu, 13 Aug 2009 22:14:12 +0000 (15:14 -0700)]
Merge change 21171

* changes:
  Allow max_retires to be set to infinite.

15 years agoMerge change 21166
Android (Google) Code Review [Thu, 13 Aug 2009 22:13:58 +0000 (15:13 -0700)]
Merge change 21166

* changes:
  Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.

15 years agoMerge change 21186
Android (Google) Code Review [Thu, 13 Aug 2009 22:13:47 +0000 (15:13 -0700)]
Merge change 21186

* changes:
  Trigger data connection update if network type changes.

15 years agoTrigger data connection update if network type changes.
jsh [Thu, 13 Aug 2009 22:02:18 +0000 (15:02 -0700)]
Trigger data connection update if network type changes.

Data connection icon could be stale otherwise.

15 years agoMerge change 21162
Android (Google) Code Review [Thu, 13 Aug 2009 22:00:34 +0000 (15:00 -0700)]
Merge change 21162

* changes:
  more support for bindStatic some minor tweaks to the layout in the hopes I can start using this for gtalk soon

15 years agoMerge change 21185
Android (Google) Code Review [Thu, 13 Aug 2009 21:58:43 +0000 (14:58 -0700)]
Merge change 21185

* changes:
  Set V8 flag --expose_gc in TestShellActivity.

15 years agoSet V8 flag --expose_gc in TestShellActivity.
Feng Qian [Thu, 13 Aug 2009 21:54:56 +0000 (14:54 -0700)]
Set V8 flag --expose_gc in TestShellActivity.

Page cycler calls window.gc between pages, JSC exposes window.gc by default, and V8 requires the flag to be set.

15 years agoMerge change 21159
Android (Google) Code Review [Thu, 13 Aug 2009 21:34:27 +0000 (14:34 -0700)]
Merge change 21159

* changes:
  Allow overlays to add resources.

15 years agomore support for bindStatic
Mark Wagner [Wed, 12 Aug 2009 19:23:03 +0000 (12:23 -0700)]
more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon

15 years agoMerge change 21152
Android (Google) Code Review [Thu, 13 Aug 2009 21:18:52 +0000 (14:18 -0700)]
Merge change 21152

* changes:
  Implement named slots and convert script.addType to script.setType to remove ordering restrictions.

15 years agoAllow max_retires to be set to infinite.
Wink Saville [Thu, 13 Aug 2009 21:18:00 +0000 (14:18 -0700)]
Allow max_retires to be set to infinite.

Setting max_retires to infinite sets mRetryForever to true and therefore
isRetryNeeded will always be true. This is better than an alternative
which is to set max_retires to a large value such as 2147483647.

15 years agoMerge change 21134
Android (Google) Code Review [Thu, 13 Aug 2009 21:04:37 +0000 (14:04 -0700)]
Merge change 21134

* changes:
  Add a more compact representation of usage stats.

15 years agoMerge change 20853
Android (Google) Code Review [Thu, 13 Aug 2009 21:02:08 +0000 (14:02 -0700)]
Merge change 20853

* changes:
  Add net type to mobile for mobile-required traffic

15 years agoMerge change 21158
Android (Google) Code Review [Thu, 13 Aug 2009 20:41:15 +0000 (13:41 -0700)]
Merge change 21158

* changes:
  Add brackets, braces, and backslash to alt-space character entry popup.

15 years agoAllow overlays to add resources.
Dianne Hackborn [Thu, 13 Aug 2009 20:36:00 +0000 (13:36 -0700)]
Allow overlays to add resources.

15 years agoAdd brackets, braces, and backslash to alt-space character entry popup.
Eric Fischer [Thu, 13 Aug 2009 20:27:23 +0000 (13:27 -0700)]
Add brackets, braces, and backslash to alt-space character entry popup.

Bug 2024806

15 years agoMerge change 21153
Android (Google) Code Review [Thu, 13 Aug 2009 20:02:56 +0000 (13:02 -0700)]
Merge change 21153

* changes:
  Increase search radius for adjacent keys, to reduce unpredictability of suggestions.

15 years agoIncrease search radius for adjacent keys, to reduce unpredictability of
Amith Yamasani [Thu, 13 Aug 2009 20:00:12 +0000 (13:00 -0700)]
Increase search radius for adjacent keys, to reduce unpredictability of
suggestions.

15 years agoImplement named slots and convert script.addType to script.setType to remove ordering...
Jason Sams [Thu, 13 Aug 2009 19:59:04 +0000 (12:59 -0700)]
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.

15 years agoAdd methods for directly setting Contact header data.
Jeff Sharkey [Thu, 13 Aug 2009 04:23:39 +0000 (21:23 -0700)]
Add methods for directly setting Contact header data.

Previously, ContactHeaderWidget only allow data binding
through helper methods, or a single static call.  In the
Contacts edit UI, we need to set individual fields directly
based on internal EntityDelta states.  Also added more
documentation and exposed more-direct query helpers.

15 years agohandle false results in file.delete
Cary Clark [Wed, 12 Aug 2009 17:20:41 +0000 (13:20 -0400)]
handle false results in file.delete

found by findbugs
http://b/issue?id=1856614

15 years agoAdd a more compact representation of usage stats.
Christian Sonntag [Thu, 13 Aug 2009 18:51:13 +0000 (11:51 -0700)]
Add a more compact representation of usage stats.

We are replaceing the package name in the activity name with a * iff the activity is in the
same package, otherwise the activity name is pritned out in full.
This small change will remove a lot of bytes (in the order of kilobytes for a real log) from the logged data on the network and downstream processing,
since the package name is repeated in almost all cases.

 An exampe of the new format is here:
 DUMP OF SERVICE usagestats:
 D:4,20090813
 P:com.android.launcher,4,155456
 A:*.Launcher,4,0,0,0,0,0,0,0,0,0,2
 P:com.android.browser,1,6724
 A:*.BrowserActivity,1,0,0,0,0,0,0,0,0,0,0
 A:*.CombinedBookmarkHistoryActivity,1,0,0,0,0,0,0,0,0,0,1
 P:com.google.android.apps.maps,1,2219
 A:com.google.android.maps.MapsActivity,1,0,0,0,0,0,0,0,0,0,0
 P:com.android.contacts,1,0
 A:*.DialtactsActivity,1,0,0,0,0,0,0,0,0,0,1

15 years agoMerge change 21063 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 18:31:07 +0000 (11:31 -0700)]
Merge change 21063 into donut

* changes:
  Fix handling of reference XML file in layout files

15 years agoFix handling of reference XML file in layout files
Xavier Ducrohet [Thu, 13 Aug 2009 04:47:11 +0000 (21:47 -0700)]
Fix handling of reference XML file in layout files

This allows layout that references animation to properly load
in the layout editor in ADT

15 years agoPass clicks to webkit's textfield to determine the new selection.
Leon Scroggins [Wed, 12 Aug 2009 22:48:10 +0000 (18:48 -0400)]
Pass clicks to webkit's textfield to determine the new selection.

Requires a corresponding change to external/webkit.  We were previously
letting WebTextView handle clicks, determine the change in selection,
and pass that down to webkit.  This sometimes resulted in a different
placement of the caret if the WebTextView and the webkit-rendered
textfield did not line up exactly.  Now, we pass the click directly
to webkit, which determines the new selection and passes that info
back to the WebTextView.  This also has the benefit of letting
the WebTextView reflect changes in the selection that originated from
webkit. Also remove some unused parameters.

15 years agoMerge change 21033 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 18:13:46 +0000 (11:13 -0700)]
Merge change 21033 into donut

* changes:
  Mock ServiceManager and AccesibilityManager to make the view renders in ADT

15 years agoRename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.
Wink Saville [Wed, 12 Aug 2009 17:48:00 +0000 (10:48 -0700)]
Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.

15 years agoModified the camera HAL interface to use the same generic callback architecture as...
Benny Wong [Wed, 12 Aug 2009 17:01:27 +0000 (12:01 -0500)]
Modified the camera HAL interface to use the same generic callback architecture as camera services

15 years agoMerge change 21090
Android (Google) Code Review [Thu, 13 Aug 2009 17:33:36 +0000 (10:33 -0700)]
Merge change 21090

* changes:
  remove Gears

15 years agoMerge change 21106
Android (Google) Code Review [Thu, 13 Aug 2009 16:46:29 +0000 (09:46 -0700)]
Merge change 21106

* changes:
  In the simulator, make sure that the preview thread is a Java thread, since we won't be going through the binder in single process mode.

15 years agoIn the simulator, make sure that the preview thread is a Java thread,
Marco Nelissen [Thu, 13 Aug 2009 16:24:47 +0000 (09:24 -0700)]
In the simulator, make sure that the preview thread is a Java thread,
since we won't be going through the binder in single process mode.

15 years agoremove Gears
Andrei Popescu [Thu, 13 Aug 2009 10:59:57 +0000 (11:59 +0100)]
remove Gears

15 years agoUnbreak the sdk build.
Joe Onorato [Thu, 13 Aug 2009 05:40:37 +0000 (22:40 -0700)]
Unbreak the sdk build.

I didn't break it, so if this doesn't fix it, somebody else should give
it a shot.

15 years agoresolved conflicts for merge of 4431a065 to master
Dianne Hackborn [Thu, 13 Aug 2009 04:58:34 +0000 (21:58 -0700)]
resolved conflicts for merge of 4431a065 to master

15 years agoMerge change 21044
Android (Google) Code Review [Thu, 13 Aug 2009 04:53:24 +0000 (21:53 -0700)]
Merge change 21044

* changes:
  Add new API to compare certs of two UIDs.

15 years agoDon't crash when the window is closing
Joe Onorato [Thu, 13 Aug 2009 04:40:29 +0000 (21:40 -0700)]
Don't crash when the window is closing

15 years agoAdd new API to compare certs of two UIDs.
Dianne Hackborn [Thu, 13 Aug 2009 01:33:39 +0000 (18:33 -0700)]
Add new API to compare certs of two UIDs.

15 years agoMerge change 21055 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 04:36:22 +0000 (21:36 -0700)]
Merge change 21055 into donut

* changes:
  Lock in final resource identifiers.

15 years agoam c41dca14: Merge change 21045 into donut
Mike LeBeau [Thu, 13 Aug 2009 04:36:16 +0000 (21:36 -0700)]
am c41dca14: Merge change 21045 into donut

Merge commit 'c41dca14ee9a9513e547a54a6356b4dab41d781c'

* commit 'c41dca14ee9a9513e547a54a6356b4dab41d781c':
  Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)

15 years agoam 370e1f74: Merge change 21038 into donut
Mike LeBeau [Thu, 13 Aug 2009 04:36:09 +0000 (21:36 -0700)]
am 370e1f74: Merge change 21038 into donut

Merge commit '370e1f7439fd2688220bfc9615ea70fa3d397cea'

* commit '370e1f7439fd2688220bfc9615ea70fa3d397cea':
  Propagate info about whether a "call" command was issued in RecognitionResult.

15 years agoMerge change 21060
Android (Google) Code Review [Thu, 13 Aug 2009 04:35:04 +0000 (21:35 -0700)]
Merge change 21060

* changes:
  resolved conflicts for merge of 6550076f to master

15 years agoresolved conflicts for merge of 6550076f to master
Dianne Hackborn [Thu, 13 Aug 2009 04:11:00 +0000 (21:11 -0700)]
resolved conflicts for merge of 6550076f to master

15 years agoMerge change 21059
Android (Google) Code Review [Thu, 13 Aug 2009 04:25:15 +0000 (21:25 -0700)]
Merge change 21059

* changes:
  make sure EGL_ANDROID_swap_rectangle is actually supported before using it

15 years agomake sure EGL_ANDROID_swap_rectangle is actually supported before using it
Mathias Agopian [Thu, 13 Aug 2009 04:24:53 +0000 (21:24 -0700)]
make sure EGL_ANDROID_swap_rectangle is actually supported before using it

15 years agoMerge change 21057
Android (Google) Code Review [Thu, 13 Aug 2009 04:18:35 +0000 (21:18 -0700)]
Merge change 21057

* changes:
  Better error handling in EGL extensions

15 years agoBetter error handling in EGL extensions
Mathias Agopian [Thu, 13 Aug 2009 04:18:15 +0000 (21:18 -0700)]
Better error handling in EGL extensions

15 years agoLock in final resource identifiers.
Dianne Hackborn [Thu, 13 Aug 2009 03:55:20 +0000 (20:55 -0700)]
Lock in final resource identifiers.

15 years agoMerge change 21047
Android (Google) Code Review [Thu, 13 Aug 2009 01:51:46 +0000 (18:51 -0700)]
Merge change 21047

* changes:
  Fix build break.

15 years agoFix build break.
Jason Sams [Thu, 13 Aug 2009 01:50:44 +0000 (18:50 -0700)]
Fix build break.

15 years agoMerge change 21045 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 01:40:22 +0000 (18:40 -0700)]
Merge change 21045 into donut

* changes:
  Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)

15 years agoLast minute change: Replace default app icon with a prettier one - droid on a softwar...
Mike LeBeau [Thu, 13 Aug 2009 01:37:35 +0000 (18:37 -0700)]
Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)

Addresses http://b/2000048

15 years agoMerge change 21038 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 01:05:50 +0000 (18:05 -0700)]
Merge change 21038 into donut

* changes:
  Propagate info about whether a "call" command was issued in RecognitionResult.

15 years agoPropagate info about whether a "call" command was issued in RecognitionResult.
Mike LeBeau [Thu, 13 Aug 2009 01:03:31 +0000 (18:03 -0700)]
Propagate info about whether a "call" command was issued in RecognitionResult.

This is needed for the fix of http://b/2018041.

15 years agoMerge change 21025 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 01:00:16 +0000 (18:00 -0700)]
Merge change 21025 into donut

* changes:
  The DONUT constant also needs to be updated to the official SDK version.

15 years agoMerge change 21035
Android (Google) Code Review [Thu, 13 Aug 2009 00:57:16 +0000 (17:57 -0700)]
Merge change 21035

* changes:
  Implement reflecting Java objects into the ACC enviroment.

15 years agoThe DONUT constant also needs to be updated to the official SDK version.
Dianne Hackborn [Wed, 12 Aug 2009 23:53:56 +0000 (16:53 -0700)]
The DONUT constant also needs to be updated to the official SDK version.

Also remove all of the resource value padding.

15 years agoImplement reflecting Java objects into the ACC enviroment.
Jason Sams [Thu, 13 Aug 2009 00:54:11 +0000 (17:54 -0700)]
Implement reflecting Java objects into the ACC enviroment.

15 years agoMerge change 21032
Android (Google) Code Review [Thu, 13 Aug 2009 00:23:22 +0000 (17:23 -0700)]
Merge change 21032

* changes:
  Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

15 years agoMock ServiceManager and AccesibilityManager to make the view renders in ADT
Xavier Ducrohet [Thu, 13 Aug 2009 00:20:18 +0000 (17:20 -0700)]
Mock ServiceManager and AccesibilityManager to make the view renders in ADT

BUG: 2049348

15 years agoMerge change 21031
Android (Google) Code Review [Thu, 13 Aug 2009 00:19:54 +0000 (17:19 -0700)]
Merge change 21031

* changes:
  Should clear background.

15 years agoShould clear background.
Dianne Hackborn [Thu, 13 Aug 2009 00:19:03 +0000 (17:19 -0700)]
Should clear background.

15 years agoDefault mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayou...
Karl Rosaen [Thu, 13 Aug 2009 00:18:33 +0000 (17:18 -0700)]
Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

Fixes bug 2038629, and thereby external issue 3484.

15 years agoMerge change 21030
Android (Google) Code Review [Thu, 13 Aug 2009 00:17:01 +0000 (17:17 -0700)]
Merge change 21030

* changes:
  Fix issue #2045895: Finger IDs are not tracked properly.

15 years agoFix issue #2045895: Finger IDs are not tracked properly.
Dianne Hackborn [Thu, 13 Aug 2009 00:13:55 +0000 (17:13 -0700)]
Fix issue #2045895: Finger IDs are not tracked properly.

This was a problem with not dealing well with how the driver was
reporting data in the old touch protocol.

Also fixed issue with not correctly rotating non-primary touches.

15 years agoMerge change 20419
Android (Google) Code Review [Wed, 12 Aug 2009 23:56:58 +0000 (16:56 -0700)]
Merge change 20419

* changes:
  new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.

15 years agoAdd net type to mobile for mobile-required traffic
Robert Greenwalt [Wed, 12 Aug 2009 23:08:25 +0000 (16:08 -0700)]
Add net type to mobile for mobile-required traffic

This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.

15 years agoMake <font size> and <font height> in string resources respect density.
Eric Fischer [Wed, 12 Aug 2009 22:00:10 +0000 (15:00 -0700)]
Make <font size> and <font height> in string resources respect density.

This unfortunately requires API changes because the existing text markup
classes had no access to the screen density.

TextPaint gains a "density" field so that TextView can pass the density
along.  AbsoluteSizeSpan gains a new flag to indicate that its argument
is in dip instead of in physical pixels.  LineHeightSpan gains an inner
interface whose chooseHeight() method includes a TextPaint argument so
it can get at the density.  And when StringBlock creates the markup
objects, it now uses the density-aware versions.

Bug 1976971, Bug 2031746

15 years agoMerge change 21010
Android (Google) Code Review [Wed, 12 Aug 2009 22:56:13 +0000 (15:56 -0700)]
Merge change 21010

* changes:
  Grass has graduated from an RS experiment to a real live wallpaper.

15 years agoGrass has graduated from an RS experiment to a real live wallpaper.
Romain Guy [Wed, 12 Aug 2009 22:55:17 +0000 (15:55 -0700)]
Grass has graduated from an RS experiment to a real live wallpaper.

15 years agoMerge change 20913
Android (Google) Code Review [Wed, 12 Aug 2009 22:55:03 +0000 (15:55 -0700)]
Merge change 20913

* changes:
  Report wallpaper offset to the wallpaper, use this in the image wallpaper.

15 years agoMerge change 21006
Android (Google) Code Review [Wed, 12 Aug 2009 22:48:31 +0000 (15:48 -0700)]
Merge change 21006

* changes:
  Fix the issue of incorrect conversion of the plus sign in a dial string.

15 years agoFix the issue of incorrect conversion of the plus sign in a dial string.
Tang@Motorola.com [Mon, 3 Aug 2009 23:06:04 +0000 (18:06 -0500)]
Fix the issue of incorrect conversion of the plus sign in a dial string.

The issue is that the plus sign in a dial string is always converted
to the IDP (International Dial Prefix).

This fix implements a plus sign conversion mechanism based on the default
telephone numbering system that the phone is activated and the current telephone
number system that the phone is camped on. Currently, we only support the cases
where the default and current telephone numbering system are NANP.

15 years agoMerge change 20998
Android (Google) Code Review [Wed, 12 Aug 2009 22:24:23 +0000 (15:24 -0700)]
Merge change 20998

* changes:
  Add norm() and map() to MathUtils.

15 years agoAdd norm() and map() to MathUtils.
Romain Guy [Wed, 12 Aug 2009 22:23:56 +0000 (15:23 -0700)]
Add norm() and map() to MathUtils.

15 years agoReport wallpaper offset to the wallpaper, use this in the image wallpaper.
Dianne Hackborn [Wed, 12 Aug 2009 04:13:54 +0000 (21:13 -0700)]
Report wallpaper offset to the wallpaper, use this in the image wallpaper.

Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.