OSDN Git Service
Grace Kloba [Thu, 21 Jan 2010 01:38:18 +0000 (17:38 -0800)]
DO NOT MERGE
Adopt the sloppy detection in the ScaleGestureDetector.
Try to fix the fat thumb problem.
Fix http://b/issue?id=
2385061
Mike Reed [Thu, 21 Jan 2010 02:32:32 +0000 (18:32 -0800)]
Merge "Do not merge" into eclair
Xavier Ducrohet [Thu, 21 Jan 2010 01:45:18 +0000 (17:45 -0800)]
Revert "SDK doc change: Add doc update for NDKr3."
This reverts commit
1dced50963312c5d340cbd129d0017d9cbb45f0b.
Grace Kloba [Thu, 21 Jan 2010 01:36:50 +0000 (17:36 -0800)]
Merge "Fix the sloppy detection in the ScaleGestureDetector." into eclair
Grace Kloba [Wed, 20 Jan 2010 22:10:31 +0000 (14:10 -0800)]
Fix the sloppy detection in the ScaleGestureDetector.
Fix http://b/issue?id=
2385061
Xavier Ducrohet [Thu, 21 Jan 2010 01:30:27 +0000 (17:30 -0800)]
Merge "SDK doc change: Add doc update for NDKr3." into eclair
Scott Main [Thu, 21 Jan 2010 01:10:25 +0000 (17:10 -0800)]
Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Scott Main [Wed, 20 Jan 2010 22:11:56 +0000 (14:11 -0800)]
docs: add guide to copying and installing the Dev Tools app
from the emulator to a device.
Mike Reed [Wed, 20 Jan 2010 14:38:04 +0000 (09:38 -0500)]
Do not merge
port stretchy from master
Irfan Sheriff [Wed, 20 Jan 2010 21:26:08 +0000 (13:26 -0800)]
Merge "DO NOT MERGE Avoid wifi disable in a UNKNOWN state" into eclair
Robert Greenwalt [Wed, 20 Jan 2010 21:26:04 +0000 (13:26 -0800)]
Merge "Add bugreport info about network feature use. DO NOT MERGE" into eclair
Mike Reed [Wed, 20 Jan 2010 21:17:49 +0000 (13:17 -0800)]
Merge "Do not merge" into eclair
Robert Greenwalt [Tue, 22 Dec 2009 02:24:07 +0000 (18:24 -0800)]
Add bugreport info about network feature use. DO NOT MERGE
Backported from master change Ib9285359.
We've had a couple bug reports showing the effects of a left-live feature request.
We need a bit more bugreport-time logging.
bug:
2323226
bug:
2377507
change-id: I296b2887101c260aea678bf6db91144535cbad7e
Robert Greenwalt [Wed, 20 Jan 2010 19:08:13 +0000 (11:08 -0800)]
Merge "Cleanup of process-specific DNS." into eclair
Irfan Sheriff [Fri, 8 Jan 2010 17:36:04 +0000 (09:36 -0800)]
DO NOT MERGE Avoid wifi disable in a UNKNOWN state
Multiple broadcast receiver unregister calls cause exception.
Bug:
2361335
Mike Lockwood [Wed, 20 Jan 2010 18:00:55 +0000 (10:00 -0800)]
Merge "Be tolerant of GPS session and engine on status messages arriving out of order." into eclair
Xavier Ducrohet [Wed, 20 Jan 2010 17:43:46 +0000 (09:43 -0800)]
Merge "ADT/Layoutlib: implement sweep gradient." into eclair
Mike Lockwood [Wed, 20 Jan 2010 15:14:54 +0000 (10:14 -0500)]
Be tolerant of GPS session and engine on status messages arriving out of order.
BUG:
2366194
Change-Id: I642dacd397202f671adba5a863394438ca62988d
Signed-off-by: Mike Lockwood <lockwood@android.com>
Scott Main [Wed, 16 Dec 2009 03:38:16 +0000 (19:38 -0800)]
docs: a lot of revision and expansion of the hello view tutorials
includes new screenshots for some tutorials and a new sample images
zip file
Bug:
2338253
Xavier Ducrohet [Wed, 20 Jan 2010 02:51:06 +0000 (18:51 -0800)]
ADT/Layoutlib: implement sweep gradient.
Change-Id: I2d460decff82f5f64b0a5cfeaa68156aad4fb3e6
Robert Greenwalt [Thu, 17 Dec 2009 22:54:59 +0000 (14:54 -0800)]
Cleanup of process-specific DNS.
Backport of MR2 change
421c72b6.
Removes entries sooner. A bug.
Doesn't add one for phone process at all. This was intended to be removed long ago.
bug:
2329900
bug:
2377507
Adam Powell [Wed, 20 Jan 2010 00:40:17 +0000 (16:40 -0800)]
Merge "Edge of screen slop detection for ScaleGestureDetector." into eclair
Adam Powell [Wed, 20 Jan 2010 00:33:46 +0000 (16:33 -0800)]
Edge of screen slop detection for ScaleGestureDetector.
Scott Main [Wed, 20 Jan 2010 00:18:52 +0000 (16:18 -0800)]
Merge "docs: add a section about debugging web pages with the Console APIs; revise and cleanup some of the other content." into eclair
Scott Main [Sat, 16 Jan 2010 01:26:29 +0000 (17:26 -0800)]
docs: add a section about debugging web pages with the Console APIs;
revise and cleanup some of the other content.
Bug:
2353529
Dianne Hackborn [Tue, 19 Jan 2010 23:36:42 +0000 (15:36 -0800)]
Fix issue #
2364506: Phone locked up while listening to music and attempting to download an update
Make sure calls into the notification manager are not done with the
activity manager lock held.
Change-Id: Ib53c3b9f46160d94ee1e7079b1a5123e0d1225d8
Xavier Ducrohet [Tue, 19 Jan 2010 22:48:58 +0000 (14:48 -0800)]
Merge "ADT/Layoutlib: implement radial gradient." into eclair
Xavier Ducrohet [Tue, 19 Jan 2010 18:20:43 +0000 (10:20 -0800)]
ADT/Layoutlib: implement radial gradient.
Also refactored some parts of LinearGradient to reuse them
in the radial gradient
Change-Id: I2ec69bd60190bd014217d989177dcc7269188dea
Mike Reed [Tue, 19 Jan 2010 21:38:53 +0000 (16:38 -0500)]
Do not merge
roll 1-line fix from master here. Fixes crasher when apps use custom fonts
fixes http://code.google.com/p/android/issues/detail?id=6030
Ying Wang [Tue, 19 Jan 2010 19:55:12 +0000 (11:55 -0800)]
Merge "Add instrumentation as a source tag for proguard keep options." into eclair
Guang Zhu [Tue, 19 Jan 2010 19:53:00 +0000 (11:53 -0800)]
Merge "Prevent orientation change from triggering activity recreation." into eclair
Guang Zhu [Tue, 19 Jan 2010 19:51:44 +0000 (11:51 -0800)]
Prevent orientation change from triggering activity recreation.
Amith Yamasani [Tue, 19 Jan 2010 19:50:39 +0000 (11:50 -0800)]
Merge "Security fix in accessibility - don't read out password. #
2371557" into eclair
Scott Main [Tue, 19 Jan 2010 19:18:39 +0000 (11:18 -0800)]
Merge "docs: some spelling typos" into eclair
Scott Main [Tue, 19 Jan 2010 19:12:07 +0000 (11:12 -0800)]
docs: some spelling typos
Grace Kloba [Sat, 16 Jan 2010 01:11:27 +0000 (17:11 -0800)]
DO NOT MERGE
If pinched to overview mode, double tap should bring
it back to default instead of just setting the current
mode as overview mode.
Grace Kloba [Sat, 16 Jan 2010 00:08:17 +0000 (16:08 -0800)]
DO NOT MERGE
Make sure the mZoomOverviewWidth is as least as
wide as the current (adjusted) view width.
This should fix the weird state Bart got in with
m.wikipedia.org.
Grace Kloba [Sat, 16 Jan 2010 00:02:57 +0000 (16:02 -0800)]
DO NOT MERGE
Remove testing (enable plugin) code.
No reflow when zoom in, auto reflow when zoom out.
Fix http://b/issue?id=
2375955
Grace Kloba [Mon, 18 Jan 2010 23:21:38 +0000 (15:21 -0800)]
Merge "If ZoomButttonsController detects more than one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair
Grace Kloba [Mon, 18 Jan 2010 23:21:31 +0000 (15:21 -0800)]
Merge "DO NOT MERGE" into eclair
Grace Kloba [Mon, 18 Jan 2010 18:43:59 +0000 (10:43 -0800)]
If ZoomButttonsController detects more than one pointer,
give up the control. This should enable the View behind
it, like WebView, will always get the multi-pointer
events even when ZoomButtonsController is up.
Jim Miller [Sat, 16 Jan 2010 01:20:29 +0000 (17:20 -0800)]
Merge "Fix for
2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair
Grace Kloba [Sat, 16 Jan 2010 00:35:40 +0000 (16:35 -0800)]
DO NOT MERGE
Bring back +/- when panning. Dismiss it when pinching.
Jim Miller [Sat, 16 Jan 2010 00:20:36 +0000 (16:20 -0800)]
Fix for
2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.
Instead, we'll handle this separately in lockscreen.
Xavier Ducrohet [Fri, 15 Jan 2010 22:27:34 +0000 (14:27 -0800)]
Merge "ADT/Layoutlib: Add dash support to stroke." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 19:24:44 +0000 (11:24 -0800)]
ADT/Layoutlib: Add dash support to stroke.
Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424
Xavier Ducrohet [Fri, 15 Jan 2010 18:30:52 +0000 (10:30 -0800)]
Merge "ADT/Layoutlib: properly handle stroke information." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 03:19:06 +0000 (19:19 -0800)]
ADT/Layoutlib: properly handle stroke information.
Change-Id: Iec9284d0e65d1313739e361d1fd5a522646fd1fd
Grace Kloba [Fri, 15 Jan 2010 03:29:09 +0000 (19:29 -0800)]
Merge "DO NOT MERGE" into eclair
Grace Kloba [Fri, 15 Jan 2010 03:28:55 +0000 (19:28 -0800)]
Merge "DO NOT MERGE" into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 03:10:44 +0000 (19:10 -0800)]
Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair
Amith Yamasani [Fri, 15 Jan 2010 02:56:02 +0000 (18:56 -0800)]
Security fix in accessibility - don't read out password. #
2371557
Check for password type before send accessibility event.
[Submitting for Svet]
Xavier Ducrohet [Fri, 15 Jan 2010 02:45:04 +0000 (18:45 -0800)]
ADT/Layoutlib: improved gradient drawing for perf.
Change-Id: I79b909d7787e4442e7cfdf196de1ac0c077da7f8
Xavier Ducrohet [Fri, 15 Jan 2010 02:37:21 +0000 (18:37 -0800)]
ADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.
Change-Id: I298d00208ace2421478c5864cc5a66a508b2b411
Xavier Ducrohet [Fri, 15 Jan 2010 02:36:26 +0000 (18:36 -0800)]
Merge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair
Grace Kloba [Fri, 15 Jan 2010 02:30:45 +0000 (18:30 -0800)]
DO NOT MERGE
When adjust scale for zoom overview, keep the state
of whether textWrapScale is matching mActualScale.
So if user pinch during loading, we won't reflow.
Fix http://b/issue?id=
2370552
Grace Kloba [Fri, 15 Jan 2010 02:18:41 +0000 (18:18 -0800)]
DO NOT MERGE
If mViewportWidth is 0, it means screen width. If
textwrapWidth is not same as view width, which means
that we are in the state triggered by pinch, always
send textwrapWidth as width to WebKit to keep the
same layout.
Fix http://b/issue?id=
2375232
Roman Nurik [Fri, 15 Jan 2010 01:18:31 +0000 (17:18 -0800)]
Merge "Updated developer groups documentation to point to Stack Overflow, also rearranged a few things." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 01:14:05 +0000 (17:14 -0800)]
ADT/Layoutlib: always use custom gradient (java) Paint.
The normal linear paint from AWT does not support our TileModes.
Change-Id: I24667671dabdf1a5dffa342e4de9cc69487db0b6
Xavier Ducrohet [Fri, 15 Jan 2010 01:15:56 +0000 (17:15 -0800)]
Merge "ADT/Layout: support for 3+ color in linear gradients" into eclair
John Wang [Fri, 15 Jan 2010 00:43:38 +0000 (16:43 -0800)]
Merge "Add Event log for RAT switch." into eclair
Roman Nurik [Fri, 8 Jan 2010 20:48:45 +0000 (12:48 -0800)]
Updated developer groups documentation to point to Stack Overflow, also rearranged a few things.
Joe Onorato [Thu, 14 Jan 2010 23:53:45 +0000 (15:53 -0800)]
Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair
Xavier Ducrohet [Thu, 14 Jan 2010 23:15:35 +0000 (15:15 -0800)]
ADT/Layout: support for 3+ color in linear gradients
Change-Id: I14c6a5a1de41470c6f1c66d490492ecc727302f2
Scott Main [Thu, 14 Jan 2010 21:01:30 +0000 (13:01 -0800)]
Merge "docs: remove dev guide link from download confirmation content so we only link to the install guide and re-affirm the system reqs bug:
2374363,
2374334" into eclair
Joe Onorato [Thu, 14 Jan 2010 20:59:35 +0000 (15:59 -0500)]
add drawSpriteScreenspaceCropped to renderscript
Scott Main [Thu, 14 Jan 2010 20:03:23 +0000 (12:03 -0800)]
docs: remove dev guide link from download confirmation content
so we only link to the install guide and re-affirm the system reqs
bug:
2374363,
2374334
Xavier Ducrohet [Thu, 14 Jan 2010 18:30:16 +0000 (10:30 -0800)]
ADT/Layoutlib: shader clean-up.
Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312
Xavier Ducrohet [Thu, 14 Jan 2010 18:03:56 +0000 (10:03 -0800)]
Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair
Grace Kloba [Thu, 14 Jan 2010 17:29:52 +0000 (09:29 -0800)]
Merge "DO NOT MERGE" into eclair
Grace Kloba [Thu, 14 Jan 2010 02:02:09 +0000 (18:02 -0800)]
DO NOT MERGE
Use the common ScaleGestureDetector to detect the
multi-touch motion.
Check both supportZoom and getBuiltInZoomControls
to decide whether enable the multi-touch behavior.
This should the new pinch behavior only replace the
old +/-.
Fix http://b/issue?id=
2363260
Only update textWrapScale if it is different. This
should fix the performance decrease caused by initial
multi-touch code.
Fix http://b/issue?id=
2371694
Xavier Ducrohet [Thu, 14 Jan 2010 04:30:26 +0000 (20:30 -0800)]
ADT/Layoutlib: 2 color, linear gradient support.
Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7
Xavier Ducrohet [Thu, 14 Jan 2010 03:14:28 +0000 (19:14 -0800)]
Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair
Xavier Ducrohet [Thu, 14 Jan 2010 02:06:00 +0000 (18:06 -0800)]
ADT/Layoutlib: implement Canvas.concat(Matrix)
This prevented ImageView from making proper use of ScaleType.
Also fixed Canvas.getSaveCount() that returned the wrong
value and Matrix.getTransform() which used the wrong order
for the AffineTransform constructor!!
Bug:
2364564
Change-Id: I78babf4aa6689440e52ad06b1473f75b20eb66da
Adam Powell [Thu, 14 Jan 2010 02:00:35 +0000 (18:00 -0800)]
Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can't reliably handle translation and scaling at the same time." into eclair
John Wang [Thu, 14 Jan 2010 01:55:57 +0000 (17:55 -0800)]
Add Event log for RAT switch.
Write event log while the 2G/3G radio access technology switched.
Adam Powell [Thu, 14 Jan 2010 00:29:27 +0000 (16:29 -0800)]
TransformGestureDetector is now ScaleGestureDetector - scope reduced.
N1 screen can't reliably handle translation and scaling at the same time.
Ying Wang [Wed, 13 Jan 2010 22:18:11 +0000 (14:18 -0800)]
Add instrumentation as a source tag for proguard keep options.
Xavier Ducrohet [Thu, 14 Jan 2010 00:43:07 +0000 (16:43 -0800)]
ADT/Layoutlib: Reimplement parts of BitmapFactory
The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.
This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.
Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
Robert Greenwalt [Wed, 13 Jan 2010 17:36:31 +0000 (09:36 -0800)]
Backport l53e91db7 from master.
Prevents sending out ConnectivityManager broadcasts when the connection
is repeating the same major state. This means continued wifi scanning
does not generate CM broadcasts (though wifi state broadcasts continue).
bug:
2265222
Dr No approval: jsh
Ying Wang [Wed, 13 Jan 2010 00:31:14 +0000 (16:31 -0800)]
Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair
Ying Wang [Wed, 13 Jan 2010 00:08:23 +0000 (16:08 -0800)]
Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.
Before this change, aapt generates proguard keep flags like
"-keep class com.android.somepackage.", which proguard doesn't recognize.
Adam Powell [Thu, 7 Jan 2010 01:33:52 +0000 (17:33 -0800)]
Added TransformGestureDetector (still in progress)
Modified VelocityTracker to track multiple pointers
Added TransformTest
Grace Kloba [Tue, 12 Jan 2010 18:00:03 +0000 (10:00 -0800)]
Merge "DO NOT MERGE." into eclair
San Mehat [Tue, 12 Jan 2010 17:59:35 +0000 (09:59 -0800)]
Merge "framework: storage: Ensure that filesystems are unmounted before shutdown/reboot" into eclair
Grace Kloba [Tue, 12 Jan 2010 01:28:01 +0000 (17:28 -0800)]
DO NOT MERGE.
Couple of tweak for multi-touch in WebView.
1. If we can't zoom, don't get in multitouch mode.
This avoid the logo in google.com looks fuzzy.
2. Reset mAnchor after sending VIEW_SIZE_CHANGED.
3. Don't call zoom when finishing multitouch unless
zoom is called before.
4. Change the width for nativeSetSize, which was modified
in the last check-in. The new logic should make both
msn.com and news.google.com looks correct.
5. Use the pressure instead of distance/time to filter
out the jitter just before lifting the finger.
Fix http://b/issue?id=
2360032
San Mehat [Tue, 12 Jan 2010 15:57:42 +0000 (07:57 -0800)]
framework: storage: Ensure that filesystems are unmounted before shutdown/reboot
Signed-off-by: San Mehat <san@google.com>
Xavier Ducrohet [Mon, 11 Jan 2010 23:25:16 +0000 (15:25 -0800)]
Merge "LayoutLib: support for custom styles." into eclair
Xavier Ducrohet [Mon, 11 Jan 2010 22:28:03 +0000 (14:28 -0800)]
LayoutLib: support for custom styles.
Change-Id: Ic6c2ef234589f45db15024261d698066aa6e2f4e
Jaikumar Ganesh [Sat, 9 Jan 2010 02:26:14 +0000 (18:26 -0800)]
Don't set priority in Bonding state.
This was causing A2DP get connected for Car Docks, when user didn't select it.
Bug:
2364328
Dr No: Eastham
Tom Taylor [Mon, 11 Jan 2010 22:11:46 +0000 (14:11 -0800)]
Merge "Hide unused fields" into eclair
Trevor Johns [Mon, 11 Jan 2010 22:00:54 +0000 (14:00 -0800)]
Merge "Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com." into eclair
Trevor Johns [Fri, 8 Jan 2010 00:26:39 +0000 (16:26 -0800)]
Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com.
Dirk Dougherty [Mon, 11 Jan 2010 19:33:57 +0000 (11:33 -0800)]
Merge "SDK doc change: Miscellaneous fixes." into eclair
Dirk Dougherty [Thu, 7 Jan 2010 18:48:19 +0000 (10:48 -0800)]
SDK doc change: Miscellaneous fixes.
Bug:
2160782
Change-Id: I5f1e449bcb2c8f715858b6819f041349088a8a32
Grace Kloba [Wed, 6 Jan 2010 23:49:29 +0000 (15:49 -0800)]
First draft of multitouch in the WebView.
Currently we just handle a simple pinch action. We
will wait for framework support for more complicated
gesture.
When pinch in the webview, zoom level will be changed
on the fly. But we won't re-wrap the text until user
action like double tap, rotate screen.
Double tap will re-layout the page and wrap the text
to the screen width. We try to keep the spot you
tapped at the same place on the screen after relayout.
If the block after relayout fully fit on the current
screen, we will center it for easy reading.
Fix http://b/issue?id=
2360032
Dirk Dougherty [Mon, 11 Jan 2010 17:33:00 +0000 (09:33 -0800)]
SDK doc change: Add doc update for NDKr3.
Bug:
2160782
Change-Id: I20bd2b84bdab27b03c3544d8eecab2404eeb2c1c
Jack Palevich [Sun, 10 Jan 2010 05:51:05 +0000 (21:51 -0800)]
Merge "DO NOT MERGE A library for encoding and decoding ETC1 textures." into eclair
Vasu Nori [Fri, 8 Jan 2010 23:09:12 +0000 (15:09 -0800)]
Merge "add eventlog message whenever sqlite reports db corruption error" into eclair
Scott Main [Fri, 8 Jan 2010 20:21:00 +0000 (12:21 -0800)]
javadoc change: fix the selector sample XML in the class
description (was broken due to improper ordering)