19831 Commits

Author SHA1 Message Date
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
Dianne Hackborn
d42fbba073 Merge "Fix issue #3414684: task_intra_wallpaper transitions have some inconsistency" 2011-02-14 14:28:23 -08:00
Dianne Hackborn
da048264a3 Fix issue #3414684: task_intra_wallpaper transitions have some inconsistency
Change-Id: Iba2a41025ce3d0513e7f9edc5fd63657576544c1
2011-02-14 14:26:52 -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
Erik
e9b734dff1 Add comment about not changing calendar authority
Change-Id: I1d5423ceda17b0e594520b3236e984584fedcbbb
2011-02-14 13:32:19 -08:00
Adam Cohen
0b96a57c85 Making AdapaterViewAnimator setDisplayedChild remotable
Change-Id: Idee91f457e1d4316feb077aaa949baa54eca6ab1
2011-02-14 11:37:26 -08:00
Michael Kolb
28dcdd77ed Merge "Add title bar gravity" 2011-02-14 10:26:55 -08:00
Svetoslav Ganov
62bf34c6e2 Merge "Accessibility events generated by WebView contain non well formed markup." 2011-02-14 10:17:51 -08:00
Svetoslav Ganov
2cfed9eb0e Accessibility events generated by WebView contain non well formed markup.
bug:3444147

1. Now that the spans with CSS data are included in the accessibility
   events, such that a client can parse them, the tests are doing so.

Change-Id: I574c68d27a95cd8226dd7634b00a7d404ae387fe
2011-02-14 09:53:23 -08:00
Xia Wang
718dfa8d94 Merge "Add wait time for Wi-Fi tethering test, bug http://b/issue?id=3436586" 2011-02-14 09:32:10 -08:00
Cary Clark
03f0022518 delay action CAB until word select succeeds
bug:3442865
Change-Id: Ic13ac7abfe43b9b6d9ec1444a960ba24ed444855
2011-02-14 09:20:12 -05:00
satok
7265d9bd6d Add sort method to InputMethodSubtype
Bug: 3364167

Change-Id: I94ad55b8eab49dc9b233dcb4e74429863b406fb4
2011-02-14 18:48:02 +09:00
Adam Cohen
f3032e9d9d Merge "Fixing a bug in RemoteViewsAdapter where cached items weren't being marked as requested" 2011-02-11 18:25:43 -08:00
Vasu Nori
c5d0fbbfdf Merge "add more debug info to help (bug:3446432)" 2011-02-11 16:57:40 -08:00
Vasu Nori
e9714e6c74 add more debug info to help (bug:3446432)
Change-Id: I4a690297ae7f18d5f6928ac5c67d8d4164453fa0
2011-02-11 16:50:51 -08:00
Jesse Wilson
56b6ad3e28 Add a new method, LruCache.remove
Change-Id: Iae78a2ed4d719d4f14a4677ecb6fe5bc823bb660
http://b/3184897
2011-02-11 15:54:28 -08:00
Chet Haase
750e12e18f Fix when >2 keyframes supplied
When there are more than two keyframes, we treat each keyframe
interval as its own separate period during which to calculate animated
values. To do this, we calculate an intervaleFraction from the overall
elapsed fraction of the entire animation. This intervalFraction is then
used to calculate the animated values in that interval.

However, we failed to actually use the intervalFraction in some code
paths, using the overall fraction instead. This caused a jumping behavior
because we were incorrectly calculating the values during the intervals.

Change-Id: Ia052e1e8b5130ff450ee20c0a3581e3de42399e1
2011-02-11 15:21:35 -08:00
Xia Wang
cbafbe7c3e Merge "Fix test3GToWifiNotification for mobile state validation." 2011-02-11 13:55:44 -08:00
Adam Cohen
aeb66ca473 Fixing a bug in RemoteViewsAdapter where cached items weren't being marked as requested
Change-Id: I1275cbbcd949d27c1c7444a9fb7a684ae7d7eb25
2011-02-11 13:33:41 -08:00
Jesse Wilson
98e930a614 Merge "Remove LruCache.setMaxSize()." 2011-02-11 12:45:29 -08:00
Robert Greenwalt
614613e2d2 Merge "Update LinkProperties treatment of gateways" 2011-02-11 11:38:44 -08:00
Jesse Wilson
dfe515e49a Remove LruCache.setMaxSize().
Dynamically changing a max cache size is clumsy; almost everyone
should set this when they create the cache.

Fix SQLiteDatabase to copy entries into a new cache when the size
is changed. In pratice this will always be immediately after the
SQLiteDatabase is created. Since the cache field is no longer
final, change the guard on the cache field to the SQLiteDatabase
instance itself.

Change-Id: I4e325f06edc551636723568a52770c0982e2d945
2011-02-11 11:35:22 -08:00
Robert Greenwalt
992564e481 Update LinkProperties treatment of gateways
A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.

bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
2011-02-11 11:06:23 -08:00
Amith Yamasani
cfd2eb0f2e Merge "Fix over-eager locking of volume dialog's primary stream." 2011-02-11 10:42:56 -08:00
Leon Scroggins
03e0119c93 Do not show the dropdown unless there is something to show.
Bug:3427152
Change-Id: I2f0c36193f762085c2e1e7036387ff04f6f259d0
2011-02-11 10:19:22 -05:00
Chih-Chung Chang
d4c5b7651f Merge "Fix a bug that the condition for play/pause was reversed." 2011-02-10 19:23:52 -08:00
Jesse Wilson
c2c9a2492c Don't add setMaxSize() to the LruCache API. But do add maxSize().
Change-Id: I9697ab29491dabe85c2400defdde16b9abcd003a
2011-02-10 19:20:31 -08:00
Xia Wang
be142fc6aa Fix test3GToWifiNotification for mobile state validation.
Change-Id: I018b28b78907fdd9f3f835faf562b4da5fea8f80
2011-02-10 18:43:45 -08:00
Jesse Wilson
b1d884d589 Merge "Adopt LRU cache in SQLite." 2011-02-10 18:28:44 -08:00
Jesse Wilson
9b5a93550f Adopt LRU cache in SQLite.
Change-Id: I6b43dd8843d41726254bea3a175fe28f5f061ed7
http://b/3184897
2011-02-10 18:26:39 -08:00
Amith Yamasani
e3361b8d08 Fix over-eager locking of volume dialog's primary stream.
Bug: 3427027

Don't lock in the active stream if visual feedback was not requested.
This fixes a transient problem after the notification volume was modified
by an API call.

Change-Id: I2227d8fdf6cc565713d9bbcc66748805e04ae163
2011-02-10 18:20:50 -08:00
Dmitri Plotnikov
e88b2af80a Full text search: removing unused deprecated hidden API.
Change-Id: I8646c4b653703ad15bccd3e6e9041f17776f81b8
2011-02-10 18:19:13 -08:00
Vasu Nori
ba44110117 Merge "bug:3425749 send notification for completed download" 2011-02-10 17:58:36 -08:00