20120 Commits

Author SHA1 Message Date
Shimeng (Simon) Wang
56d9353195 Merge "Make sure pinch zoom and overview scale are within limits" 2011-02-25 10:37:33 -08:00
Vasu Nori
7ad9eb69c4 Merge "bug:3467948 if byteArray couldn't be allocated for blob, throw exception" 2011-02-25 08:57:59 -08:00
Vasu Nori
e6044145bc bug:3467948 if byteArray couldn't be allocated for blob, throw exception
Change-Id: I73e36c10f31086ea567debad536350316b2df67f
2011-02-25 08:56:07 -08:00
Leon Scroggins
675ad891b6 Merge "Comment clean up." 2011-02-25 08:21:23 -08:00
Leon Scroggins
31cb0bedc6 Comment clean up.
Bug:3405773
Change-Id: I225cccc637dd0652af2ce58072beac32e56088c7
2011-02-25 10:53:50 -05:00
Chet Haase
a00f3865f5 Add ViewPropertyAnimator for easy animation of View properties
Change-Id: I2bc52ca16507d8d20004d2d6823e587791272aac
2011-02-25 06:47:53 -08:00
Peter Visontay
11f4ae76f0 Removed launch count increase API from Applications.
Bug: 3431684
Change-Id: I5bcf8fc6c917cc0ec60302a6c994e4e47b77c357
2011-02-25 12:37:33 +00:00
Wu-cheng Li
0c74819b76 Merge "Improve camera getSupportedPreviewFormats javadoc." 2011-02-25 01:36:56 -08:00
Svetoslav Ganov
66edf2bb3f am 9e5b1a49: Merge "Use different version of CLDR data in DatePicker" into gingerbread
* commit '9e5b1a49022d08aee8653fd34f3a8cd878618aa5':
  Use different version of CLDR data in DatePicker
2011-02-25 00:09:03 -08:00
Svetoslav Ganov
9e5b1a4902 Merge "Use different version of CLDR data in DatePicker" into gingerbread 2011-02-24 23:56:52 -08:00
Wink Saville
ee4d1a6708 Merge "LTE Changes for Telephony including Multiple PDN support and IPV6 support" 2011-02-24 22:08:41 -08:00
Wu-cheng Li
f9293e7d50 Improve camera getSupportedPreviewFormats javadoc.
bug:3463624
Change-Id: I4151fc7821e9648c6429acca53582f11f35f8813
2011-02-25 13:35:10 +08:00
Jeff Hamilton
098f05e0e2 am 09979bcf: am fd34aa8e: am 5644d0e1: Support for NDEF on iCODE.
* commit '09979bcf730e7df033ab0d8cadf564873c7e624b':
  Support for NDEF on iCODE.
2011-02-24 20:45:27 -08:00
Jeff Hamilton
09979bcf73 am fd34aa8e: am 5644d0e1: Support for NDEF on iCODE.
* commit 'fd34aa8e1386547bcfbaf043f26c054946b92c2b':
  Support for NDEF on iCODE.
2011-02-24 20:43:15 -08:00
Jeff Hamilton
fd34aa8e13 am 5644d0e1: Support for NDEF on iCODE.
* commit '5644d0e18ad847b66a8cb4f185cb28edebe75d88':
  Support for NDEF on iCODE.
2011-02-24 20:30:14 -08:00
Jeff Hamilton
5644d0e18a Support for NDEF on iCODE.
Change-Id: I9ce2ee5e739d34a9047ca494315cbc54b30fefb8
2011-02-24 22:03:20 -06:00
Jesse Wilson
50fc0e5c1b Merge "Remove default constructors from static utility classes." 2011-02-24 19:37:00 -08:00
Wink Saville
2b8bcfe5b7 LTE Changes for Telephony including Multiple PDN support and IPV6 support
Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
2011-02-24 18:23:36 -08:00
Adam Powell
78b1dc594e Merge "Ensure WebView passes a complete/in-order event stream to ScaleGestureDetector. Prerequisite for several ScaleGestureDetector bugfixes." 2011-02-24 17:19:20 -08:00
Shimeng (Simon) Wang
61bb911938 Make sure pinch zoom and overview scale are within limits
issue: 3482463
Change-Id: I9d746883c03326bdfa7fb0373ffadfbc75f69087
2011-02-24 17:15:46 -08:00
Svetoslav Ganov
30b1fe07a7 Merge "Exposing the CalendarView of the DatePicker." 2011-02-24 16:48:38 -08:00
Svetoslav Ganov
d5623fab34 Merge "The NumberPicker input cotrols are somtimes not shown." 2011-02-24 16:48:26 -08:00
Romain Guy
a5364ee894 Add an API to control the distance between a View and its camera.
Change-Id: Ibaf4e7dc827933f7ad2bb7ab50c1dcef45fee83c
2011-02-24 16:49:47 -08:00
Jaikumar Ganesh
7d4da25c5c Merge "Refactor android.server.BluetoothService classes." 2011-02-24 16:34:37 -08:00
Adam Powell
e33cef8037 Ensure WebView passes a complete/in-order event stream to
ScaleGestureDetector. Prerequisite for several ScaleGestureDetector
bugfixes.

Bugfixes for ScaleGestureDetector.

Make ScaleGestureDetector properly support >2 pointers. Track the most
recent two pointers for scale gestures.

Change-Id: I966319ad438c1c8e1103f245b53b3862c2d4e3c0
2011-02-24 16:27:50 -08:00
Jake Hamby
9a62c9cd65 Refactor android.server.BluetoothService classes.
Several cleanups to BluetoothService:
- Move BluetoothService.BondState inner class to top level.
- Extract adapter and remote device properties cache management
  logic into two new classes: BluetoothAdapterProperties and
  BluetoothDeviceProperties.
- Add getter methods for other classes in the package to access
  the new properties cache objects for multi-part operations.
- Inline log() method in BluetoothService and selected the
  appropriate Log method (Log.d, Log.w, Log.e) for each message.
- Refactor dump() method into smaller sized pieces.
- Clean up logic of updateCountersAndCheckForConnectionStateChange()
  method for better readability.
- Change sendConnectionStateChange() to return instead of sending
  an intent if the current or previous state values are invalid.
  Previously the code sent an intent with -1 for the invalid state.
- Added Javadoc comments to document the methods that are called from
  native Bluez code.
- Fixed some typos and code style issues.

Original Change by: Jake Hamby
Modified by: Jaikumar Ganesh

Change-Id: I76ebac00ecd29566dcb2d1ad3e7a486b7530ce24
2011-02-24 16:26:20 -08:00
Svetoslav Ganov
ef7ec7a029 Use different version of CLDR data in DatePicker
The ICU CLDR data doesn't use the month abbreviations that are
appropriate for the DatePicker, so use the framework copy of the CLDR
data.

Bug: 2641810
Note: cherry-picked from Honeycomb

Change-Id: I3c045dbfb751b8b7ce6361b5a67407206fc64db1
2011-02-24 15:45:04 -08:00
Svetoslav Ganov
5f3f6ce154 Exposing the CalendarView of the DatePicker.
bug:3272194

1. Added a getter to DatePicker.

Change-Id: If0c7fee4ab5f6abf6b12a02dbd5d519c00683115
2011-02-24 15:36:19 -08:00
Svetoslav Ganov
f66adbe756 The NumberPicker input cotrols are somtimes not shown.
bug:3452868

1. Now hiding the input controls, which also cancels the input controls
   fade-in animation, on every intercept of down since the fade-in
   anumation flips a flag used to guide the drawing of the input controls.
   Note that we also want the scroll wheel shown on down but the fade-in
   anumation is actually hiding it upon completion.

Change-Id: Ib161ed757e537365b21e6913370d264152dca1fe
2011-02-24 15:08:43 -08:00
Mike Lockwood
b607b884bd Merge "UsbManager: Remove redundant Intent extras from USB device and accessory broadcasts" 2011-02-24 14:05:02 -08:00
Eric Fischer
c950cf2269 Merge "Import revised translations." 2011-02-24 14:03:30 -08:00
Eric Hassold
447ee77431 Merge "Detect out of memory in extractAlpha" 2011-02-24 13:47:16 -08:00
Christopher Tate
7e8a69ed5c Merge "Binder linkage no longer depends on JNI objrefs as persistent tokens" 2011-02-24 13:22:19 -08:00
Christopher Tate
c2d55dd897 Binder linkage no longer depends on JNI objrefs as persistent tokens
There are two areas that have changed to eliminate the assumption that
local jobject references are both canonical and persistent:

1. JavaBBinderHolder no longer holds onto and reuses it parent object
reference per se.  Since the underlying JavaBBinder object holds a
real global ref, this was redundant anyway.  Now, for purposes of its
transient need to perform JNI operations, it simply uses the current
jobject ref(s) passed during method invocation, and no longer attempts
to hold these refs beyond the scope of a single invocation.

2. Binder obituaries no longer assume that a jobject reference to a
recipient will always compare == as a 32-bit value with any future
reference to the same object.  The implementation now asks Dalvik
whether object references match.

Bug 2090115

Change-Id: If62edd554d0a9fbb2d2977b0cbf8ad7cc8e2e68d
2011-02-24 13:15:09 -08:00
Cary Clark
808e8f6837 Merge "center long press to account for sloppy nodes" 2011-02-24 12:19:09 -08:00
Cary Clark
3ecd7db52a center long press to account for sloppy nodes
If a tap is close to, but not on a node, slop allows the tap
to find the node. Pass the slop-corrected values to
requestFocusNodeHref() as well.

bug:3412519
Change-Id: I7543354b6270976e1f99518581de23c567432b98
2011-02-24 14:58:23 -05:00
Eric Fischer
c5f2b9f907 Import revised translations.
Change-Id: Ib0c12e7b10809b2180a743bd2f9c186b04461920
2011-02-24 11:50:41 -08:00
Leon Scroggins
5bf4bb97e0 Merge "Stop the blinking caret when moving to another field." 2011-02-24 11:21:41 -08:00
Eric Hassold
ef7be262e5 Detect out of memory in extractAlpha
When extractAlpha() native method in Skia fails to allocate pixels,
it resets target bitmap. This change detects when such empty bitmap
is returned, and throws a OutOfMemory Java exception.

Depends on https://android-git.corp.google.com/g/97793

Bug: 3418381
Change-Id: I65a84998be089c49ed5005f6995bdc4f4d1669bc
2011-02-24 11:21:13 -08:00
Eric Fischer
86409c8cb7 am 1c38872f: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '1c38872fd30d7b19a01cc309537e911e7f2344e9':
  Import revised translations.  DO NOT MERGE
2011-02-24 11:18:56 -08:00
Eric Fischer
1c38872fd3 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-24 11:15:53 -08:00
Eric Fischer
f951bbf957 Import revised translations. DO NOT MERGE
Change-Id: I6a05c3031a451b0d288762f079203a412133dd14
2011-02-24 10:50:23 -08:00
Jesse Wilson
a0f8bc51af Remove default constructors from static utility classes.
Change-Id: Id8dc55a30a03e1da87500b66c429de9268033b9e
http://b/3344646
2011-02-24 10:46:22 -08:00
Shimeng (Simon) Wang
ab85a63317 Merge "Pre-calculate view scale and text wrap scale for webkit." 2011-02-24 10:32:18 -08:00
Gilles Debunne
808b04abe6 Merge "Cursors correctly displayed with legacy theme." 2011-02-24 10:29:44 -08:00
Gilles Debunne
8f58dfad89 Merge "Text handles movement improvements." 2011-02-24 10:29:22 -08:00
Shimeng (Simon) Wang
76064644a7 Pre-calculate view scale and text wrap scale for webkit.
In viewport setup time, pre-calculate the more likely view scale
and text wrap scale instead of waiting until ZoomManager's FirstLayout
time.  This is to give webkit better and more correct information, such
as window width/height and inner width/height, when it is doing first layout.

issue: 3382398
Change-Id: I53fb15da43fbede6c03a4f51ec1c50e9a94f0236
2011-02-24 10:27:07 -08:00
Leon Scroggins
b611213ea1 Stop the blinking caret when moving to another field.
Bug:2930013

Requires a change in external/webkit.

Change-Id: Ie768efd02da0afe317c0f93e32148ceb5516a1ec
2011-02-24 13:24:00 -05:00
Alon Albert
c96b669013 Merge "DO NOT MERGE - Increasing timeout to 60 sec This was already done in HC branch in this CL: https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commit;h=d39fd5a97c6f56794a6ed7ac1dfb0bbf585becf1 This is also related to bug http://b/issue?id=3402863 I first considered increasing the timeout specificaly for our GData client but when I saw we already accepted a CL for HC that did this at a lower level, I decided to do that instead." into gingerbread 2011-02-24 09:20:46 -08:00
Kristian Monsen
256d603d11 Merge "Hiding deprecated classes and methods" 2011-02-24 08:02:34 -08:00