Commit Graph

16870 Commits

Author SHA1 Message Date
Jeff Brown
51e7fe7545 Rename the locked meta key constants for clarity.
Also added some tests for LED setting.

Change-Id: I3fd86322afd07ae8de52d1ccbc2fae2c6d586641
2010-11-05 13:27:35 -07:00
Jim Miller
ec6ac82a29 Fix 3165868: Fix stall in state machine logic in WaveView
It was possible for the state machine to get stuck when
user interaction and animations both completed before success
was detected.  This fixes the problem by explicitly advancing
the state machine when an up event is detected.

Change-Id: I802e3f1bb35aeab7a0d6f64e85acaa6980b9d65a
2010-11-05 13:05:27 -07:00
Dianne Hackborn
2332a74c61 Merge "Adjust window animations to better match UX spec." 2010-11-05 12:52:19 -07:00
Vasu Nori
1a33a09ec2 Merge "Let cachefull-warning be under SQLiteDebug.DEBUG_SQL_CACHE flag" 2010-11-05 12:11:57 -07:00
Adam Powell
fe4782393e Merge "Fix bug 3167945 - list selection mode should persist across rotations" 2010-11-05 19:03:24 +00:00
Romain Guy
8160345205 Merge "Fix documentation HTML." 2010-11-05 18:58:21 +00:00
Vasu Nori
7301a23fb2 Let cachefull-warning be under SQLiteDebug.DEBUG_SQL_CACHE flag
This warning doesn't really matter much. If a developer wants to
debug the cache usage, it can be done by turning on this flag.
adb bugreport also displays cachestats - which can be used as a debugging tool.

Change-Id: Ied173714d535c271133247ee4768f86d3be359cf
2010-11-05 11:55:57 -07:00
Adam Powell
a0eeeac820 Fix bug 3167945 - list selection mode should persist across rotations
Modal multi-choice mode action modes will now be restarted when
restoring instance state provided that the application has set a
multi-choice mode callback before instance state is restored. This
matches other list state restoration behavior with adapters.

Change-Id: I8e96e079faa3a086d3d4480d65b8c53a60f4c0ea
2010-11-05 11:55:05 -07:00
Romain Guy
f989944c90 Fix documentation HTML.
Change-Id: Ic5380867a4d77d0b4724ca3bde091ddea89fb20d
2010-11-05 11:45:53 -07:00
Cary Clark
4debfcb3d4 Don't draw the selection pointer on long press.
bug:3169375
Change-Id: I76cedf0951213c1ee869ccbaa97938f0c6385942
2010-11-05 14:43:10 -04:00
Vasu Nori
1cde3fbf8f address couple of review comments
by reviewers on previous CLs

Change-Id: Ifc4529b367651f68fbb4117e449c70bfd9fae462
2010-11-05 11:02:52 -07:00
Dianne Hackborn
8fe044a3a9 Adjust window animations to better match UX spec.
This introduces new resources for interpolators that match the
types received from UX, and uses them appropriately in the animations.

Change-Id: I68c435ff1c8845c7854fa78f24e33157659b16d1
2010-11-05 10:50:58 -07:00
Tom O'Neill
28e3f10170 Remove inappropriate conversion of IOException to AssertionError
An IOException is a recoverable condition, and AssertionError should be
used for non-recoverable conditions.

Fixes b/3169361

Change-Id: Ie71a537293e01ffb49c5f535412e2631e27c84c8
2010-11-05 10:14:24 -07:00
Gilles Debunne
a710aca74f Merge "Created missing assets by up/down scaling the one in other dpi" 2010-11-05 16:51:01 +00:00
Jean-Baptiste Queru
c3b112ba20 Merge db2403ff from open-source master
Change-Id: I90dfa2f37db901b62690b6becbf5d0d91468672c
2010-11-05 07:53:24 -07:00
Patrick Scott
f3e5fcc917 Fix the build and scrollable layers gesture.
Change-Id: I06f7c379f187df982ac82c9a52cc643358987085
2010-11-05 10:42:06 -04:00
Ben Murdoch
db8d19c9cb Display the AutoFill preview string in the drop down box.
Native code now provides us with a preview string as well as
an autofill query id. Display the preview string in the
drop down box.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,77132

Change-Id: Ia5e26b98546cda1090142f1720f6a7836be6595c
2010-11-05 12:33:29 +00:00
Ben Murdoch
202a2c974e Merge "Work around race condition in CallBackProxy." 2010-11-05 10:12:21 +00:00
Mattias Petersson
19f22745aa Prevent system crash when OOM in Binder thread.
When handling large images during an update of a widget,
we can run out of memory in the Binder thread. This will
cause an OutOfMemoryError to be thrown. When an Error is
thrown in the Binder thread, the entire system will crash.
This was fixed by catching this OutOfMemoryError and instead
throw a RuntimeException to keep the system alive.

Change-Id: If27199676c6f8aef23fb249be1197ca5dfe0fe99
2010-11-05 08:27:14 +01:00
satok
9ef0283bdc Change API for getting InputMethodSubtype's mode from resource id to String
Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
2010-11-05 11:40:56 +09:00
Vasu Nori
63cf0279d7 Merge "add API to return Uri for the given downloaded file id & get mimetype" 2010-11-04 18:51:03 -07:00
Scott Main
6e88c84cbe docs: remove allowClearUserData from <application> manifest doc
and clarify in javadocs that it's only for system apps
bug: 3128020

Change-Id: Ibc01f0e24f7d1f4e76a4da0a324c7682b92992aa
2010-11-04 18:45:05 -07:00
Shimeng (Simon) Wang
3b48f350e5 Merge "Use minPrefWidth instead of viewsize.x." 2010-11-04 18:22:28 -07:00
Adam Powell
2614c6c1f9 Fix bug 3167099 and bug 3009490 - GridView choice modes and
getCheckedItemCount after orientation change

Remove the restriction on choice modes for GridView - this is handled
by common code in AbsListView. Persist the checked item count in saved
instance state.

Change-Id: Iebb964bb3c43779c082a458ea3f2754ab694b69d
2010-11-04 18:16:38 -07:00
Gilles Debunne
d7120ed63d Merge "Assets remove from bare drawable-xlarge directory." 2010-11-04 18:11:14 -07:00
Shimeng (Simon) Wang
619ded23ce Use minPrefWidth instead of viewsize.x.
This is to fix a bug I introduced in one of my last CLs, which is tested
under hw accerlation, and the problem was not there.

issue:3161799
Change-Id: Ic7e7c186d1830c3cbd9359af0e283afbbdfbbac1
2010-11-04 17:58:17 -07:00
Vasu Nori
5be894e636 add API to return Uri for the given downloaded file id & get mimetype
Change-Id: I1f5dd734e394db0056579a3a0c26862fee27981e
2010-11-04 17:57:24 -07:00
Elliott Hughes
7899b0e076 Merge "Use InetAddress.isNumeric." 2010-11-04 17:50:15 -07:00
Dianne Hackborn
0ed714a95d Merge "Rough cut at new window animations." 2010-11-04 17:32:07 -07:00
Fabrice Di Meglio
2c410a18fc Fix bug #1776278 (consider supplying our own (unique) eid for calendar entries created on the device)
- modify EventsEntity iterator to take care of the SYNC_ADAPTER_DATA column

Change-Id: I3d08a4ebdca5b595aad7c56b9f5d6259522297e2
2010-11-04 17:30:44 -07:00
Dianne Hackborn
bf78275b2c Rough cut at new window animations.
Change-Id: I5c698de205d820b770e2405ea9d3d483b6b8a463
2010-11-04 17:25:28 -07:00
Mathias Agopian
1bd80ad7fd possibly fix [2265804] OpenGL GLSurfaceView apps don't draw status bar drop shadow correctly
request a layout when asking the transparent region to be recomputed, without this
it may never happen, since the transparent region is only calculated during layout.

this also fixes an issue where some fullscreen apps will run slower than expected
because their transparent region is never processed.

Change-Id: Iba187ef7b23f08ad3454aaa6707a3d262551e30c
2010-11-04 17:13:39 -07:00
Gilles Debunne
9ec4b7f2f6 Merge "wallpaper moved to nodpi" 2010-11-04 17:10:10 -07:00
Robert Greenwalt
1678246710 Merge "Tell each VM to flush their DNS cache." 2010-11-04 17:02:44 -07:00
Elliott Hughes
6b7af6055f Use InetAddress.isNumeric.
This code is trying to detect anything equivalent to localhost, but without
accidentally causing a DNS lookup.

Bug: 3073384
Change-Id: Ib611c8ca46059e00b07fc4b94d4af777217da1fb
2010-11-04 16:46:00 -07:00
Gilles Debunne
6779875f0d wallpaper moved to nodpi
Change-Id: I14a7ee8e04e0bf7882ca793b2541c07447b829ea
2010-11-04 16:34:54 -07:00
Gilles Debunne
cf8ba1123e Assets remove from bare drawable-xlarge directory.
Those were already copied to mdpi, and have been upscaled to hdpi.

Change-Id: Ifd8fe5f96ceb9992ba22086f4c4c3d23d7f18879
2010-11-04 16:28:27 -07:00
Andrew Stadler
f034f87da8 Merge "Avoid NPE when reloading headers in single-pane mode" 2010-11-04 16:19:05 -07:00
Elliott Hughes
e84c00f4a7 Merge "Remove NetworkUtils.isIpAddress." 2010-11-04 16:09:04 -07:00
Andrew Stadler
83681eb600 Avoid NPE when reloading headers in single-pane mode
Change-Id: I696102b371566872ab1e6dca7281015da534b83f
2010-11-04 15:49:05 -07:00
Eric Rowe
5de6d7a162 am 82fc12af: Merge "DO NOT MERGE Add acceptPair method to BT stress." into gingerbread
* commit '82fc12af416e351cb0a9d978734d585ab66d3f27':
  DO NOT MERGE Add acceptPair method to BT stress.
2010-11-04 15:37:19 -07:00
Gilles Debunne
06cd9c1a79 Created missing assets by up/down scaling the one in other dpi
Some of these assets may no longer be used. An other CL will remove these later.
Needed to remove warnings in new aapt version.

Change-Id: I84048d7fd237e6623b14810deeb7887dbe50ab73
2010-11-04 15:34:55 -07:00
Dianne Hackborn
e213677037 Push the jumpDrawablesToCurrentState() thing off everywhere it should be.
Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them.  This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.

Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
2010-11-04 15:34:41 -07:00
Elliott Hughes
1693182c02 Remove NetworkUtils.isIpAddress.
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5
2010-11-04 15:27:33 -07:00
Adam Powell
c63de86ad3 Merge "Fix bug 3163150 - move holo extended themes to an overlay file." 2010-11-04 15:24:23 -07:00
Brian Carlstrom
a4f03f98f1 Merge "Integrate StrictMode with CloseGuard" 2010-11-04 14:32:33 -07:00
Adam Powell
045de11a3b Fix bug 3163150 - move holo extended themes to an overlay file.
The file themes_extended is meant to be overridden per-device in an
overlay file. The overlay should include enhancements appropriate for
the device when hardware acceleration is requested by an app.

Change-Id: If2878b973845f1793a00651089bc0dd66952d916
2010-11-04 14:23:57 -07:00
Eric Rowe
776e64da88 DO NOT MERGE Add acceptPair method to BT stress.
Add a method to the test utils which waits to accept a bonding request from
another device.  This is identical to the pairing method except that it
waits for a remote pair request instead of initiating the pairing
request itself.  Also, add a test method to the test utils.

Change-Id: I6391d03e9f33c040afd64d73083acfe3184251eb
2010-11-04 14:22:39 -07:00
Brian Carlstrom
fd9ddd1a40 Integrate StrictMode with CloseGuard
In additional to adding the StringMode API for controling CloseGuard,
this checkin fixes several CloseGuard issues found booting a device.

Bug: 3041575
Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
2010-11-04 14:21:33 -07:00
Jeff Sharkey
f786805acc Respect padding when positioning custom view.
Fixes http://b/3164071

Change-Id: I74700fecf7e9f4785e8e944b2660724b3d270b0d
2010-11-04 14:16:25 -07:00