11154 Commits

Author SHA1 Message Date
Jaikumar Ganesh
9b637e5985 Add a new state machine for handling the incoming / outgoing profile
connections.

Change-Id: I5fc9170b5e24c4a52a6f2ef4ca7a8bac65271941
2010-06-02 16:03:45 -07:00
Jeff Brown
ca583f0966 Merge "Fixed some minor bugs in MotionEvent recycling." into kraken 2010-06-02 15:46:13 -07:00
Jeff Brown
d28f4be870 Fixed some minor bugs in MotionEvent recycling.
1. MotionEvent.recycle() never set mRecycled to true so it couldn't actually
   detect doubly-recycled events (unless the TRACK_RECYCLED_LOCATION debuging
   flag was enabled).

2. MotionEvent.obtain() did not set mNext to null before returning the event
   so it would unnecessarily retain a reference to other events in the
   recycled event linked list until recycled again.

Change-Id: I93709c402d260691875f632dfc080a355f85fbb0
2010-06-02 15:36:01 -07:00
Joe Onorato
75199e3ddc Populate the notifications at startup of SystemUI.apk.
Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
2010-06-02 14:48:46 -07:00
Joe Onorato
798ac4c7d7 Start moving resources to SystemUI.apk.
Change-Id: Ibf30b8196d65d7fbca1177968cefa5f7a875bf1d
2010-06-02 14:48:45 -07:00
Joe Onorato
0e26dffd6c updateNotifications works.
Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
2010-06-02 14:48:44 -07:00
Joe Onorato
aaba60b281 Notifications don't crash when you click them, and pass through events to NotificationManagerService
Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
2010-06-02 14:48:43 -07:00
Joe Onorato
e345fff2f8 notifications show
Change-Id: I9240b803c643874828c95afcf1ba9ed91194dbc0
2010-06-02 14:48:43 -07:00
Joe Onorato
a0c56fe939 Checkpoint. Doesn't build.
Change-Id: I92e4d539ea71af9e22ced02cbdee7fbd456b7971
2010-06-02 14:48:43 -07:00
Joe Onorato
18e69dfc72 Checkpoint. Data structures for Notifications in place.
Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
2010-06-02 14:48:43 -07:00
Joe Onorato
4762c2d75a Add expand and collapse.
Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
2010-06-02 14:48:42 -07:00
Joe Onorato
f3f0e053f0 Make disable() work.
Change-Id: I93fea37e777b3e04fe7f9171d5b84821587c24f5
2010-06-02 14:48:42 -07:00
Joe Onorato
514ad663f0 Set the visibility of the icons.
Change-Id: Ib414718f1c51f1d306308a989d5d31d8e3ea7fd1
2010-06-02 14:48:41 -07:00
Joe Onorato
fb78cd99f9 Put the icons in the right order.
Change-Id: Ice077764b74221319291474bb5681b941b2f7364
2010-06-02 14:48:41 -07:00
Joe Onorato
0cbda99f87 The status bar draws its icons now. 2010-06-02 14:48:41 -07:00
Joe Onorato
503007dd02 Checkpoint status bar factoring. Now it builds and doesn't crash at boot.
Change-Id: I23f2045abfec0b414d5381f5e609b7267da7f21a
2010-06-02 14:48:41 -07:00
Joe Onorato
90233a1ee5 Add IStatusBar
Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
2010-06-02 14:48:40 -07:00
Joe Onorato
25f95f9200 Rename IStatusBar to IStatusBarService.
Change-Id: Icfec2a830f037b21f6afaa796bf49da610567e7b
2010-06-02 14:48:40 -07:00
Joe Onorato
2314aab506 First pass at splitting the status bar for the different devices.
Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
2010-06-02 14:48:39 -07:00
Doug Felt
2324188751 Fix IndexOutOfBoundsException when measuring text.
Some line wrapping conditions caused the same style run to be measured
twice, incorrectly advancing the position in the width buffer and
occasionally causing measurement to run out of room.  The fix is to
not remeasure the same style run.

Change-Id: Iceb29729c1c27bb602df20fdf83af1da28c82e11
2010-06-02 14:41:06 -07:00
Romain Guy
812ccbeb3c Add new hardwareAccelerated manifest attribute to enable HW drawing.
Change-Id: I2bb0252f3699cb720e7f5b6868419c9904e4fb35
2010-06-02 10:41:59 -07:00
Derek Sollenberger
af39e4b802 Update EmbeddedZoomControl to use new ZoomManager methods.
Change-Id: Icea2bea36d42ff58a05600ceb4388992bc8979d7
2010-06-02 12:55:40 -04:00
The Android Open Source Project
76b704982a am 8f1259be: am b705eea7: am 1bd7597b: merge from open-source master 2010-06-02 09:06:34 -07:00
The Android Open Source Project
b705eea702 am 1bd7597b: merge from open-source master
Merge commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0' into kraken

* commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0':
  Replaced raw string arguments for Context.getSystemService() with final Context variables
2010-06-02 09:03:04 -07:00
The Android Open Source Project
ed06eccce0 am afca60dd: am 59c82376: am c8763858: merge from open-source master 2010-06-02 08:58:37 -07:00
The Android Open Source Project
59c82376e5 am c8763858: merge from open-source master
Merge commit 'c8763858cfcae8be89c0f88df87bf9a3ad90ae64' into kraken

* commit 'c8763858cfcae8be89c0f88df87bf9a3ad90ae64':
  Fix for issue 895 (missing android: prefix), Removed unused imports
2010-06-02 08:54:59 -07:00
The Android Open Source Project
1bd7597b8c merge from open-source master
Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
2010-06-02 08:54:47 -07:00
The Android Open Source Project
c8763858cf merge from open-source master
Change-Id: Ife78a3e7582be1853d28bbcef41f5d06f3b97ef6
2010-06-02 08:41:59 -07:00
Ben Murdoch
347d50fb1f Merge "Frameworks changes to enable File Reader and blob.slice APIs." 2010-06-02 04:29:39 -07:00
John Eckerdal
dad86349be Add better error handling for savePicture and restorePicture
If an Exception occurs when storing the file treat this as an error
and always fail to try to prevent corrupted pictures to be stored to
the file system.

Close files if they were opened, the caller might want to perform other
file operations on the file and if it is still open these may fail.

Change-Id: Ic68596b5c745bbe413096c22684c388e853a7643
2010-06-02 10:59:46 +02:00
Kenny Root
e99c012503 Merge "Improved error-handling in Rfc822Tokenizer" 2010-06-01 22:56:39 -07:00
Mike Lockwood
755fd61725 Prototype Content Provider support for MTP/PTP devices.
At this point much of the plumbing is in place, but only a few simple queries
are supported.
This is enough to support a proof of concept sample program that navigates
the file hierarchy of a digital camera connected via USB.

Also removed obsolete ptptest host test program.

Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-01 22:12:44 -04:00
Grace Kloba
ec9a104ce9 If the WebView can't be scaled, don't check for
double tap. This will make the click event on the
non-scalable page much responsive.

Fix http://b/issue?id=2645880
2010-06-01 19:00:23 -07:00
Grace Kloba
6660740cfa Merge "Expose canZoomIn and canZoomOut for WebView." 2010-06-01 17:23:37 -07:00
Konstantin Lopyrev
10280fc8fa Merge "Fix 2571872: Showing an error message on wrong password/pin entered." 2010-06-01 17:14:13 -07:00
Konstantin Lopyrev
f9a166ab82 Fix 2571872: Showing an error message on wrong password/pin entered.
Change-Id: I78463112326ebd1ac7d43d083e22d506518e84fd
2010-06-01 17:00:47 -07:00
Dan Egnor
dd27f14da2 am b8dd6b19: am 1e1e292e: am 1f5e8473: am a80331c4: Merge "Comment-only change to add documentation for FileObserver" into froyo 2010-06-01 16:10:49 -07:00
Grace Kloba
6164ef1b78 Expose canZoomIn and canZoomOut for WebView. 2010-06-01 16:09:58 -07:00
Wu-cheng Li
e28f7b80d3 am c3cfd10a: am 00e21f8e: Add javadoc for camera scene modes. 2010-06-01 16:09:32 -07:00
Dan Egnor
1e1e292edc am 1f5e8473: am a80331c4: Merge "Comment-only change to add documentation for FileObserver" into froyo
Merge commit '1f5e847350ef1aece046666e20e7692a1651d9dc' into kraken

* commit '1f5e847350ef1aece046666e20e7692a1651d9dc':
  Comment-only change to add documentation for FileObserver
2010-06-01 14:44:35 -07:00
Dan Egnor
1f5e847350 am a80331c4: Merge "Comment-only change to add documentation for FileObserver" into froyo
Merge commit 'a80331c4d75cb8a7122e31315bc1e2950131659c' into froyo-plus-aosp

* commit 'a80331c4d75cb8a7122e31315bc1e2950131659c':
  Comment-only change to add documentation for FileObserver
2010-06-01 14:28:46 -07:00
Romain Guy
a393a85d2b Fix build warnings about improper ASCII encoding.
Change-Id: I5f26278e74a0a7018059db75ca44a36c42c559f3
2010-06-01 14:06:24 -07:00
Derek Sollenberger
3af4a2c6bb Merge "eoving Zoom animation logic from WebView into ZoomManager. This is pick bad5ede Revert "Refactor the on-screen zoom controls into a separate class."" 2010-06-01 13:52:17 -07:00
Vasu Nori
7e6eaa9a90 Merge "set sqlite pagesize to the size, in bytes, of a block on "/data"" 2010-06-01 13:12:01 -07:00
Vasu Nori
a8c24904eb set sqlite pagesize to the size, in bytes, of a block on "/data"
Change-Id: I40b2bdac348a611eb9fe12ea05b6bd9a87f2310a
2010-06-01 13:03:32 -07:00
Derek Sollenberger
87b17be55e eoving Zoom animation logic from WebView into ZoomManager. This is
pick bad5ede Revert "Refactor the on-screen zoom controls into a separate class."

one part of a series of CL's that is intended to refactor all zoom
logic into the ZoomManager.

Change-Id: I6260c7d2daade4861df1296c9db364ee2a892bd0
http://b/2671604
2010-06-01 15:03:53 -04:00
Ben Murdoch
65b4cdabb0 Frameworks changes to enable File Reader and blob.slice APIs.
Rather than just storing the name of the file that the user chose in the file picker,
store the full path to the file. That way we can open it using the file API and still
extract the filename itself by simply chopping off all but the last path segment.

Change-Id: I25f2fe818deda8ca848f0da02cf45ae97d2127fb
2010-06-01 19:29:38 +01:00
Grace Kloba
c8f302fb5d Merge "merge two restore scale to one." 2010-06-01 10:19:59 -07:00
Shimeng (Simon) Wang
06c40631ff Merge "Add English hyphenation dictionary into frameworks/base asset." 2010-06-01 10:05:47 -07:00
Christian Mehlmauer
ef367529f9 Replaced raw string arguments for Context.getSystemService() with final Context variables
Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
2010-05-31 23:08:30 +02:00