16013 Commits

Author SHA1 Message Date
Kristian Monsen
8beb86c043 Updated from comments to previous change after submitting
Previous change:
https://android-git.corp.google.com/g/#change,91471

This change was to fix bug 3270236

Change-Id: I7dc3179a55420d3383647e2bd50d4766dd21231b
2011-02-16 11:32:56 +00:00
Robert Ly
b424227509 am e131ccb6: am c3ebf27a: am 4bebbe5f: Merge "Adding package summary for nfc.tech package" into gingerbread
* commit 'e131ccb615172e317501f721c30b152823c566bf':
  Adding package summary for nfc.tech package
2011-02-15 23:01:37 -08:00
Robert Ly
e131ccb615 am c3ebf27a: am 4bebbe5f: Merge "Adding package summary for nfc.tech package" into gingerbread
* commit 'c3ebf27a511934d7529b2fbde223169e83c74561':
  Adding package summary for nfc.tech package
2011-02-15 22:58:51 -08:00
Robert Ly
c3ebf27a51 am 4bebbe5f: Merge "Adding package summary for nfc.tech package" into gingerbread
* commit '4bebbe5fea1b6d7f5deff6d41d7633308607c08b':
  Adding package summary for nfc.tech package
2011-02-15 22:54:52 -08:00
Scott Main
55cdc0c904 am 0ab1b326: am 13033ea5: docs: fix misc broken links
* commit '0ab1b326c72afb2bd7798462fcdd8e5d3b440fd2':
  docs: fix misc broken links
2011-02-15 20:15:00 -08:00
Scott Main
0ab1b326c7 am 13033ea5: docs: fix misc broken links
* commit '13033ea52714d48d754c6bc8fccb18514c645a47':
  docs: fix misc broken links
2011-02-15 20:08:07 -08:00
Elliott Hughes
32c3b81bbc Merge "Use InetAddress.parseNumericAddress." 2011-02-15 17:42:55 -08:00
Robert Ly
2deeefeb5e Adding package summary for nfc.tech package
Change-Id: Ibbf55c21dcaf48b4eb369e78c54fb1023abb3cb3
2011-02-15 17:41:47 -08:00
Elliott Hughes
f5bbb57204 Use InetAddress.parseNumericAddress.
Bug: 3300307
Change-Id: I4ebfe533056e67931db1117e934596ba7b5c8b75
2011-02-15 17:11:29 -08:00
Scott Main
13033ea527 docs: fix misc broken links
Change-Id: Id7d0ee36398aca452ceb2c3d15982397f58a06c6
2011-02-15 16:00:37 -08:00
Fabrice Di Meglio
2fa160840c Merge "Small optimization when getting the spans" 2011-02-15 15:28:50 -08:00
Daisuke Miyakawa
d81958e0fc Merge "Fix typo." 2011-02-15 15:21:09 -08:00
Adam Powell
99c4032fb3 Merge "Fix bug 3362273 - Make overscroll glow appear within padding region" 2011-02-15 15:07:55 -08:00
Adam Powell
7d86378b0c Fix bug 3362273 - Make overscroll glow appear within padding region
Change-Id: I3c6513ada6bdd192c83f3ff59a2c85717156de22
2011-02-15 15:05:03 -08:00
Fabrice Di Meglio
a2a035ef47 Small optimization when getting the spans
- loop earlier if the kind is not the one we want

Change-Id: I5b020f20a144678ad2f7a4bca8fef64eb6ae491f
2011-02-15 14:31:26 -08:00
Daisuke Miyakawa
5c40f3fcc9 Fix typo.
Change-Id: I32bbe182d51d5fe0289c8939fbadb57336ddd98a
2011-02-15 13:24:36 -08:00
Amith Yamasani
5101e1ed51 Merge "Don't change keyboard state in setIconifiedByDefault." 2011-02-15 13:06:20 -08:00
Mathias Agopian
f27ebdeb39 Merge "fix [3452769] SensorEventListener can cause a java allocation at each received event [external]" 2011-02-15 12:34: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
Shimeng (Simon) Wang
a94e0c8651 Merge "Keep overview mode when screen is rotated." 2011-02-15 11:52:16 -08: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
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
9c4cc03a35 Add a method to check a string contained in ExtraValue of InputMethodSubtype
Change-Id: I34390537eaacd3ff8cfd336eaf5b9ca0d3e4b802
2011-02-15 17:53:58 +09: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
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
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
Jaikumar Ganesh
14f39594e4 Merge changes I7a5c806d,Iaa0a773e,I818b0c70,I4dfe14ce,I32a8d274
* changes:
  Make profile handler classes package and final.
  Fix ANR in Settings and Phone app.
  Refactor Input profile operations from Bluetooth Service.
  Remove Bluetooth Pan operations from Bluetooth Service.
  Distinguish between NAP and PAN role disconnections
2011-02-14 15:41:59 -08:00
Jaikumar Ganesh
47898dd398 Make profile handler classes package and final.
Also merge in the netmask removal fix.

Change-Id: I7a5c806d442a704f9cb21204a1d1307461f801c7
2011-02-14 15:40:54 -08:00
Romain Guy
1f5392039b Merge "Deprecate ARGB_4444." 2011-02-14 15:35:54 -08:00
Jaikumar Ganesh
9efb1343a0 Fix ANR in Settings and Phone app.
When we have a lot of devices paired and try to enable bluetooth,
loadBondState will take a some time. During this all UUIDs would
have been registered and we would send out the Bluetooth On intent.
When Settings apps or phone app gets the Bluetooth On intent, they
try to initialize state. However, the enable Thread in Bluetooth Service
is still initializing internal state in loadBondState leading to
ANRs and deadlocks. So register SDP records as the last step of enable Thread.

Change-Id: Iaa0a773e31b9d269f4c56c4f975a0e2973e02d6e
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
30b8cbe059 Refactor Input profile operations from Bluetooth Service.
Change-Id: I818b0c7056fd43c7303c95150d8001dfc434e5e7
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
a8571f15c3 Remove Bluetooth Pan operations from Bluetooth Service.
Change-Id: I4dfe14ce04ec357a952b577d452da2257165fc6f
2011-02-14 15:02:42 -08:00
Jaikumar Ganesh
a44a1e77ef Distinguish between NAP and PAN role disconnections
Distinguish between NAP and PANU disconnect in BT tethering
and call appropriate functions. We were never disconnecting
NAP role devices.

ToDo: BluetoothService needs to be refactored, its become too big
1) BluetoothAdapter and BluetoothDevice properties need to be moved to separate
classes.
2) BluetoothPanProfile and BluetoothInputDeviceProfile which are handled
by BluetoothService need to be moved to a separate file.
3) Integrate PAN to the profile state machine.

Change-Id: I32a8d274f38c78931434bd9738c8f6570ba89fcf
2011-02-14 15:00:25 -08:00
Robert Greenwalt
302b9884b3 Merge "Remove more use of netmask" 2011-02-14 14:48:05 -08:00
Romain Guy
676b17391f Deprecate ARGB_4444.
It looks awful.
Don't use it.
Use ARGB_8888, it's much better.
If you think you need ARGB_4444, you are wrong.
You are.

Change-Id: I4d6963cf98b6a8fb34cebcd0d24b9fd66b5a0fbf
2011-02-14 14:45:33 -08:00
Robert Greenwalt
b979f79158 Remove more use of netmask
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Dmitri Plotnikov
b3703a76ce Merge "Full text search: removing unused deprecated hidden API." 2011-02-14 14:21:09 -08:00
Erik
145d7d879b Merge "Add comment about not changing calendar authority" 2011-02-14 13:36:16 -08:00