20331 Commits

Author SHA1 Message Date
Michael Kolb
d7e80b9d50 Merge "fix NPE in getSearchBox" into honeycomb-mr1 2011-03-03 17:16:10 -08:00
Michael Kolb
b748186c70 fix NPE in getSearchBox
Bug: 3510741
    added null check

Change-Id: I256375b2168942f0b4b700912f2f2ae40ce90492
2011-03-03 17:09:27 -08:00
Lorenzo Colitti
5c1c298054 Merge "Fix IPv6->IPv4 fallback for HTTPS." 2011-03-03 17:04:21 -08:00
Carl Shapiro
375aa0b09b Fix a compare of JNI references to use IsSameObject.
Change-Id: I9932761271034ff5031730874daf7c147b6b008a
2011-03-03 17:00:38 -08:00
Wink Saville
389bf4f734 Merge "DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"" into honeycomb-mr1 2011-03-03 16:13:07 -08:00
Eric Fischer
6c935e6348 Merge "Remove unneeded large-screen-specific translations." into honeycomb-mr1 2011-03-03 16:03:20 -08:00
Eric Fischer
24be6f9b06 Remove unneeded large-screen-specific translations.
Change-Id: Ifb55c466fbd6450504c2111193ce3049ccd99425
2011-03-03 15:47:55 -08:00
Shimeng (Simon) Wang
6cc2bbe5cf Merge "Shorten the animation length to make it snappier." into honeycomb-mr1 2011-03-03 15:39:18 -08:00
Shimeng (Simon) Wang
47e57fd18f Shorten the animation length to make it snappier.
This is double tap zoom animation.

issue: 3509451
Change-Id: Ibc09eb95f3e1aa6874e8182f811829ce3da7179d
2011-03-03 15:29:27 -08:00
Adam Powell
580cde1861 Merge "Fix bug 3506261 - Theme attributes and placeholder assets to support selection action modes" into honeycomb-mr1 2011-03-03 15:13:04 -08:00
Adam Powell
789ff0a13b Merge "Fix bug 3505901 - SeekBar should account for thumb width in layout" into honeycomb-mr1 2011-03-03 15:12:02 -08:00
Adam Powell
0e37f21ca3 Fix bug 3505901 - SeekBar should account for thumb width in layout
Change-Id: Id69ba32c9d79adbb54c85192926659bc5142fdbd
2011-03-03 15:08:45 -08:00
Carl Shapiro
d54952b451 Merge "Establish a global reference before saving a class into a global." 2011-03-03 14:44:50 -08:00
Leon Scroggins
e11ce83a96 Use the same width as the TextView created layout.
Bug:3509684

Change-Id: I5fd1e3e73a07a6049eb8336339a1100e2a5f7018
2011-03-03 17:41:54 -05:00
Adam Powell
c39a659fd7 Fix bug 3506261 - Theme attributes and placeholder assets to support
selection action modes

The assets involved in this CL are placeholders to be replaced later.

Change-Id: Id4358adcf2777ecbebf0e61c286a8c2a1e897a75
2011-03-03 14:27:50 -08:00
Svetoslav Ganov
e70c6607e0 Merge "NPE in in AppGlobals#getIntCoreSetting" into honeycomb-mr1 2011-03-03 14:25:13 -08:00
Carl Shapiro
c1318babb4 Establish a global reference before saving a class into a global.
A local reference is obtained to the string class for the purpose of
using it later in another routine to create string object arrays.
However, the local reference is invalid by the time it is next used.
Making the string class reference a global reference eliminates the
problem.

Change-Id: I8a04642e0ed3060f2fff2cb63996559f004aacff
2011-03-03 14:22:28 -08:00
Eric Fischer
8264781eb0 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-03 14:21:32 -08:00
Carl Shapiro
6c3fd82107 Merge "Eliminate an assignment of a local reference to a global variable." 2011-03-03 14:13:09 -08:00
Eric Fischer
0472beb907 Import revised translations. DO NOT MERGE
Change-Id: Ifc18c6e4f53be86b699f3485d94fb6312cf0d909
2011-03-03 14:05:57 -08:00
Carl Shapiro
b16f769277 Eliminate an assignment of a local reference to a global variable.
Change-Id: I8850685698d228658387afe6145e42ade0458e74
2011-03-03 14:04:59 -08:00
satok
c91437d38a do not merge: Cherry pick change I878192090 from master.
A test for system properties

Change-Id: Id28da70b8e333ca83129c2b7b7aed2ddf9adf51c
2011-03-03 13:54:38 -08:00
Svetoslav Ganov
11e515cbef NPE in in AppGlobals#getIntCoreSetting
bug:3508658

It ActivityThread#currentActivityThread() is called when
the ActivityThread is not attached it returns null and
AppGlobals#getIntCoreSetting was not checking for that.

Change-Id: I5e00d1947a161ad1e52ecfaa12cbbac3b534a0db
2011-03-03 12:55:59 -08:00
Leon Scroggins
2c219c1d32 Merge "Assets for WebView buttons." 2011-03-03 12:33:34 -08:00
Fabrice Di Meglio
1eb1293732 Merge "Add TextLayout Cache" 2011-03-03 12:21:15 -08:00
Leon Scroggins
96d2d3cd75 Assets for WebView buttons.
Bug:3009375
Change-Id: I1481f0c67520ffc2959957c2d39d0d7df6ce884e
2011-03-03 14:38:04 -05:00
Wink Saville
eca208fae6 DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
2011-03-03 09:53:52 -08:00
Leon Scroggins
b80cb0c5d4 Merge "Move NinePatchPeeker into its own file." 2011-03-03 09:13:22 -08:00
Leon Scroggins
a06d86ab81 Move NinePatchPeeker into its own file.
This way it can be used by other clients that want to draw
ninepatches.  Ultimately the goal is to allow ninepatch
drawing from native code for WebView.  Bug:3009375

Change-Id: Id13cef17ed7655a07e9f055586b686cf1e4af392
2011-03-03 11:40:39 -05:00
Robert Greenwalt
b9aa8e50e1 Merge "Add some input checking to prevent problems" 2011-03-03 08:32:53 -08:00
satok
77459184cc Merge "Add tests for SystemProperties.java" 2011-03-03 02:56:00 -08:00
Jeff Brown
1bc593efeb Merge "Fix off by one errors in touch motion ranges." 2011-03-03 02:41:36 -08:00
satok
edd767d777 Add tests for SystemProperties.java
Change-Id: I878192090848d2c811444a135ec9d8ae6c578ec3
2011-03-03 02:37:36 -08:00
Jeff Brown
d41cff2d3a Fix off by one errors in touch motion ranges.
Report inclusive minimum and maximum ranges for all
axes including X and Y.

Set mouse pointer bounds to 0..width-1, 0..height-1.

Rotate touch and mouse positions more carefully, paying attention
to the maximum bounds when calculating the complement of an axis.

Simplified the InputReader somewhat and removed support for a
couple of poorly defined input device configuration parameters.
We now assume that the touch device provides useful absolute axis
ranges for the X and Y axes since the alternative does not actually
make sense.

Bug: 3413541
Change-Id: I682ce3729e4473de7f1bcf8addb49a3f4484126f
2011-03-03 02:28:51 -08:00
Bjorn Bringert
268c7111f6 Merge "Pass AppData to the app from SearchDialog queries." 2011-03-03 00:18:23 -08:00
Bjorn Bringert
4a85a7dc84 Merge "A Java implementation of the SearchBox API." 2011-03-03 00:11:25 -08:00
Bjorn Bringert
1dda71ae36 Merge "Fixed NPE in ActivityManager's launch count service." 2011-03-03 00:10:03 -08:00
Dianne Hackborn
63e1cea248 Merge "Fix issue #3485923: Gmail crash" 2011-03-02 22:44:55 -08:00
Dianne Hackborn
6482517101 Fix issue #3485923: Gmail crash
Allow application to try to recover if a surface OOM error
happens on the client side.

Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
2011-03-02 22:38:58 -08:00
Simon Wilson
d984ba1320 am df58a1bb: am 3d79f1ce: am edc68a00: Merge "Attempt to reduce problems from issue #3183612" into gingerbread
* commit 'df58a1bbf8d7f6608848eae4d5d48dcff137dc8c':
  Attempt to reduce problems from issue #3183612
2011-03-02 22:11:19 -08:00
Jeff Brown
570d2dfbbc Merge "Get key repeat timeout and delay from ViewConfiguration." 2011-03-02 21:43:40 -08:00
Jeff Brown
a454767b09 Get key repeat timeout and delay from ViewConfiguration.
Replaces previously hardcoded values.  This ensures that key repeat
takes the accessibility long press timeout setting into account.

Unfortunately the system must be rebooted for the change to take
effect.  We will fix that later.

Change-Id: I3ab70bb037331620b7e532170c1727287b5c6f91
2011-03-02 21:38:11 -08:00
Daniel Sandler
134fa4489e Merge "Pressed states for the notification panel's title area." 2011-03-02 21:20:08 -08:00
Daniel Sandler
8f491b5fbc Pressed states for the notification panel's title area.
Finally, some feedback that you can tap on the thing.

Also tweak the veto press state PNG so you can see that it
has a pressed state.

Bug: 3328753
Change-Id: I5c3b826fae66e480784477f844c6585bef1a0b60
2011-03-03 00:18:44 -05:00
Jim Miller
ffc4196c46 Fix 3502257: Fix glow calculation in EdgeGlow
Change-Id: I8e88c399c2b0dcba9f65d1bcf89fdddf432e4ed6
2011-03-02 20:50:58 -08:00
Jeff Brown
55acdf7dcd Merge "Wake screen from external HID peripherals." 2011-03-02 19:59:07 -08:00
Jeff Brown
56194ebec6 Wake screen from external HID peripherals.
Added some plumbing to enable the policy to intercept motion
events when the screen is off to handle wakeup if needed.

Added a basic concept of an external device to limit the scope
of the wakeup policy to external devices only.  The wakeup policy
for internal devices should be based on explicit rules such as
policy flags in key layout files.

Moved isTouchEvent to native.

Ensure the dispatcher sends the right event type to userActivity
for non-touch pointer events like HOVER_MOVE and SCROLL.

Bug: 3193114
Change-Id: I15dbd48a16810dfaf226ff7ad117d46908ca4f86
2011-03-02 19:57:07 -08:00
Gilles Debunne
616f3835a0 Removed documentation links
Broken build.

Should the Paint fields be made public or should the SpanStringBuilder
method be hidden ???

Change-Id: I8ecea19104357ea53ad53b23d02a707ec422161d
2011-03-02 19:50:20 -08:00
Svetoslav Ganov
2da0c5826d Merge "Add system wide management of core settings" 2011-03-02 19:17:06 -08:00
Amith Yamasani
940ef38c7c Pass AppData to the app from SearchDialog queries.
Bug: 3494468

During migration of SearchDialog to use SearchView, the appdata was not
passed along. This fixes the loss.

Change-Id: Ia754086d2bb95294e1d29650a72e4fdddec9c899
2011-03-02 18:43:23 -08:00