45357 Commits

Author SHA1 Message Date
Joe Malin
80dcc6aebf am 6d1387b6: Merge "SDK docs: Hierarchy Viewer V2" into honeycomb
* commit '6d1387b6ecf0aaea6f36472fcd1a499824fd30b5':
  SDK docs: Hierarchy Viewer V2
2011-02-15 12:34:35 -08:00
Joe Malin
6d1387b6ec Merge "SDK docs: Hierarchy Viewer V2" into honeycomb 2011-02-15 12:32:48 -08:00
Amith Yamasani
1b64c3b5fe Don't change keyboard state in setIconifiedByDefault.
Bug: 3225887
Bug: 3453253 (possibly)

Since some apps call setIconifiedByDefault(false) at the initialization step,
it isn't a good idea to open/close the keyboard during this call. Apps
can call setIconified(false) instead to invoke the keyboard.

Change-Id: I9d5d08b74055a3e99053d647df0cd4c7953bae80
2011-02-15 12:02:45 -08:00
Andreas Huber
0407269ae3 Work around several issues with non-compliant RTSP servers.
In this particular case these RTSP servers were implemented as local services,
retransmitting live streams via a local RTSP server instance.

They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session
description, wrong case of the format description, relative base URLs...

Change-Id: I63fa90ca2398f19e8b52c147248bd2c5c2372426
related-to-bug: 3452103
2011-02-15 12:00:07 -08:00
Mike Lockwood
8c553b9003 MTP host: disable some test code
Change-Id: I2237ad88f73b03a2c324f17267c52cc42b8a0d5b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-15 14:55:51 -05:00
Andreas Huber
f2599ba788 am ad1831a5: (-s ours) am e0c9f275: (-s ours) am d1ba051a: DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
* commit 'ad1831a56fd60779464326468ee1d471a10f71a0':
  DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
2011-02-15 11:53:47 -08:00
Shimeng (Simon) Wang
a94e0c8651 Merge "Keep overview mode when screen is rotated." 2011-02-15 11:52:16 -08:00
Andreas Huber
ad1831a56f am e0c9f275: (-s ours) am d1ba051a: DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
* commit 'e0c9f2757b0ebd291fec89ebb520878aacd3f7dc':
  DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
2011-02-15 11:51:33 -08:00
Andreas Huber
e0c9f2757b am d1ba051a: DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
* commit 'd1ba051a465518fa4325c364ed77025fc1a2a794':
  DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
2011-02-15 11:49:03 -08:00
Scott Main
d3b6abc466 am 2b0c6fdf: am 97ef3b41: Merge "docs: revise a couple sample app names to match side nav" into honeycomb
* commit '2b0c6fdfff0faf17163d126ac21c1651e4053968':
  docs: revise a couple sample app names to match side nav
2011-02-15 11:38:50 -08:00
Scott Main
2b0c6fdfff am 97ef3b41: Merge "docs: revise a couple sample app names to match side nav" into honeycomb
* commit '97ef3b416ada559c446d1d21d70d2604433b92f5':
  docs: revise a couple sample app names to match side nav
2011-02-15 11:36:44 -08:00
Scott Main
97ef3b416a Merge "docs: revise a couple sample app names to match side nav" into honeycomb 2011-02-15 11:33:43 -08:00
Daniel Sandler
bec7d63c9c Fix NPE.
I believe this is the result of a race condition involving multiple tickers under load. The fix simply guards against the null pointer.

Bug: 3448450
Change-Id: Icc78c89890f0a41c574f7077b1b450e9fd4ca28b
2011-02-15 14:24:58 -05:00
Adam Powell
5fd8dd01a7 Merge "Fix some bugs with MenuPopupHelper and ListPopupWindow" 2011-02-15 11:16:01 -08:00
Shimeng (Simon) Wang
a5b3d807a1 Keep overview mode when screen is rotated.
issue: 3385613
Change-Id: I49ba8dbdfe72adb1df5e453d7c95ec107e0d3e75
2011-02-15 11:14:57 -08:00
Scott Main
1e7131eac2 am 9b833cf0: am 5a44efb4: docs: fix markup error
* commit '9b833cf0cb499f2fe66319f9773f88fb94a85709':
  docs: fix markup error
2011-02-15 11:09:19 -08:00
Scott Main
9b833cf0cb am 5a44efb4: docs: fix markup error
* commit '5a44efb42738e4fd1b448004f74dc96372801936':
  docs: fix markup error
2011-02-15 11:07:06 -08:00
Andreas Huber
d1ba051a46 DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
In this particular case these RTSP servers were implemented as local services,
retransmitting live streams via a local RTSP server instance.

They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session
description, wrong case of the format description, relative base URLs...

Change-Id: I502a04a7e1d690fd461b7ecf0b56c6a6c2ac1325
related-to-bug: 3452103
2011-02-15 11:02:43 -08:00
Scott Main
d873e660c5 docs: revise a couple sample app names to match side nav
Change-Id: Ia45e78fe005c80934d70b585558cb4c6c0f52f30
2011-02-15 10:58:34 -08:00
Scott Main
5a44efb427 docs: fix markup error
Change-Id: Ic4f86094bbebaca7f9be37207a4126d083fff575
2011-02-15 10:45:46 -08:00
Gilles Debunne
05cc6dbf70 Merge "Text insertion cursor is now defined by a Drawable." 2011-02-15 10:41:30 -08:00
Shimeng (Simon) Wang
0a20767f61 Merge "Keep mobile site's text wrap scale unchanged." 2011-02-15 10:12:29 -08:00
Chet Haase
6b5e593725 Merge "Fix when >2 keyframes supplied" 2011-02-15 06:46:48 -08:00
satok
773a9c5c0f Merge "Add the Id of InputMethodInfo at the tail of Application label at sorting InputMethods" 2011-02-15 00:58:29 -08:00
satok
9c4cc03a35 Add a method to check a string contained in ExtraValue of InputMethodSubtype
Change-Id: I34390537eaacd3ff8cfd336eaf5b9ca0d3e4b802
2011-02-15 17:53:58 +09:00
satok
e2a50b9c2e Add the Id of InputMethodInfo at the tail of Application label at sorting InputMethods
Change-Id: I632a715e94712b4f2197d5981b691d49a9de89f2
2011-02-15 17:50:50 +09:00
Basavapatna Dattaguru
0554f32afd VideoEditor:IssueID:3396697: Added Preview Test code
This has dependency on Ide5ee82b24806a52b4e612db4bc3c34f75e4465a
Removed trailing space in xml file
Removed dependency on test cases other than Preview & API

Change-Id: I835c0ca17d6ff15819407eb930cca8a08b095287
2011-02-14 20:59:51 -08:00
Basavapatna Dattaguru
e77345966c Merge "VideoEditor:Inconsistance defines:Issue ID:3419090" 2011-02-14 20:14:38 -08:00
Adam Powell
ca51e8788a Fix some bugs with MenuPopupHelper and ListPopupWindow
Clean up handling of a few conditions in MenuPopupHelper that the
monkeys manage to trigger around the use of ViewTreeObserver. (bug
3443819, bug 3312949)

Fix a bug where a stale handler message could cause a ListPopupWindow
to reopen itself after being dismissed. (bug 3453607)

Change-Id: I488014767ccee785500862a2572beb35901d173b
2011-02-14 19:54:29 -08:00
Basavapatna Dattaguru
046dc1ea81 Merge "VideoEditor: IssueID:3396697:Added TN,MP,Exp,API test codes" 2011-02-14 19:31:52 -08:00
Mathias Agopian
929ced3569 fix [3452769] SensorEventListener can cause a java allocation at each received event [external]
increase the size of the SensorEvent pool from 1 to num_sensors*2.
and make the pool global instead of having an instance per SensorEventListener.

Change-Id: I1bcc53a9b07cd1f96fac6fe6e3b9da074e3cb1fd
2011-02-14 19:13:17 -08:00
Gilles Debunne
f75c97e023 Text insertion cursor is now defined by a Drawable.
Bug 3261766

If defined, the drawable is used instead of directly drawing a 1 pixel
line. This makes the cursor more fancy and more visible.

The drawable is currently clipped by the TextView's limits, which is
currently visible on the left when the cursor is at the first position.
To solve this issue properly, we would need to propagate a do-not-clip
up in the hierarchy.

Change-Id: I99f6001048eed14104994acf6bab942dda8eb38e
2011-02-14 18:29:39 -08:00
Christopher Tate
93a4dc6c3f Merge "Disable cross-app drag/drop" 2011-02-14 18:14:49 -08:00
Mathias Agopian
e2db41653e Merge "fix [3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external]" 2011-02-14 18:14:16 -08:00
Basavapatna Dattaguru
c0171d3e7b VideoEditor: IssueID:3396697:Added TN,MP,Exp,API test codes
Updated with review comments: code cleaning in MP.

Change-Id: Ide5ee82b24806a52b4e612db4bc3c34f75e4465a
2011-02-14 18:00:57 -08:00
Basavapatna Dattaguru
699587da4b VideoEditor:Inconsistance defines:Issue ID:3419090
Assigned with MediaProperties array values

Change-Id: I97efa98954eb1be3b21a9e42b989def6bb657d77
2011-02-14 17:50:32 -08:00
John Wang
c2cbc730fc Only decode EXT1 tag when it is available.
Normally ADN record is stored in two tags, EFADN_TAG and EFEXT1_TAG. But if the EFEXT1_TAG is not set in EF_PBR entry,
it shouldn't be decoded otherwise it causes NullPointerException in readAdnFileAndWait().

bug: 3376954
Change-Id: I744cf5cb8662c75be1e7c6219fa92c67bdda82f2
2011-02-14 17:44:13 -08:00
Christopher Tate
7f9ff9d191 Disable cross-app drag/drop
@hides the View constant that designates a drag as cross-app, and also
forcibly ignores that flag on the system_server side even if it's passed
to startDrag() as a literal.

Change-Id: I6f321bdf0389db5bb44131fd0f8d6b92f049be52
2011-02-14 17:31:13 -08:00
Teng-Hui Zhu
53a3081bd9 Merge "WebView's scrollBarStyle need to be set at init" 2011-02-14 17:23:58 -08:00
Mathias Agopian
7b6e4bd697 fix [3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external]
make sure to not pass negative numbers to sqrt().

Change-Id: Ifd200c781ae8a94c8a3c600401b60f4cf2430be3
related-bug: 3452750
2011-02-14 17:17:58 -08:00
Teng-Hui Zhu
15bfa5358e WebView's scrollBarStyle need to be set at init
At initialization time of WebView, the View's scrollBarStyle is set
according to the xml file.
But WebView didn't pick that info up to specialize its own variable.

The fix is to call WebView's setScrollBarStyle according to the View's
ScrollBarStyle at the init() time.
This will help Gmail to pick up the scrollBarStyle from xml file
correctly.

bug:3409308

Change-Id: I3792b12a36bd989b6c31e0054ebacce4269300da
2011-02-14 17:05:47 -08:00
Shimeng (Simon) Wang
a7699fea04 Keep mobile site's text wrap scale unchanged.
issue: 3376306
Change-Id: Ifce67215486f09eadb34c30c085b0e502a5a8b05
2011-02-14 16:44:08 -08:00
Romain Guy
cfe8903441 Merge "Gracefully handle drawing caches allocation failure. Bug #3431451" 2011-02-14 16:34:15 -08:00
Romain Guy
0211a0a10d Gracefully handle drawing caches allocation failure.
Bug #3431451

This bug was causing ListView to not render properly when showing an item
larger than the maximum drawing cache size. ListView relies on the drawing
cache to correctly mask all the background pixels. However, if the cache
is not properly created, the background will show through even though
ListView.isOpaque() == true. This change detects this case and falls
back to the default non opaque behavior.

Change-Id: I30a45e7a03fb7ebb2b12f0e85c075c2901954c44
2011-02-14 16:34:59 -08:00
Jim Miller
c4d6be8f04 Merge "Fix 3409550: Fix crash caused when max pattern attempts met." 2011-02-14 16:27:18 -08:00
Jim Miller
79628c6662 Fix 3409550: Fix crash caused when max pattern attempts met.
This fixes a bug introduced by a recent change in GB that
fixed a memory leak and subsequent OOM crash.  The code in
cleanUp() is now more aggressive about releasing unused
references because the view is expected to go away afterwards.

However, due to the immediate callback from reportFailedUnlockAttempt(),
the member variables are cleared before we reach the end of the
handler.  The fix is to postpone reporting the failed attempt
until after the rest of the logic has completed.

Change-Id: Ic35eaf17e9921213c8793d00f9008d957a290b88
2011-02-14 16:18:49 -08:00
Jim Miller
17cc1a1a4a Merge "Fix 3423212: Constrain large app icons to 64x64 in recents." 2011-02-14 16:16:30 -08:00
Basavapatna Dattaguru
09f18d0503 Merge "VideoEditor: Issue ID:3396697 Missing Files added" 2011-02-14 16:12:13 -08:00
Scott Main
878fd29045 am d2bd6f4d: am 64b12eac: docs: add links to sample apps
* commit 'd2bd6f4d49489db429650a3308554c1d45cb31b6':
  docs: add links to sample apps
2011-02-14 16:10:10 -08:00
Scott Main
d2bd6f4d49 am 64b12eac: docs: add links to sample apps
* commit '64b12eac53ba9acd456be2e23f34b5add18461ce':
  docs: add links to sample apps
2011-02-14 16:07:47 -08:00