22707 Commits

Author SHA1 Message Date
George Mount
c4ffe77a71 Merge "Add back auto-completion and auto-fill." 2012-03-12 07:10:28 -07:00
Ken Wakasa
d85d590ed3 Merge "Add missing bullet points in javadoc of InputMethodManager.java" 2012-03-10 08:01:12 -08:00
Jeff Sharkey
ce8668f809 Merge "Save timezone when setting data cycle reset date." 2012-03-09 18:33:44 -08:00
Gilles Debunne
d122d8eb3e Merge "Re-use the display list valid flag, save a boolean" 2012-03-09 17:16:21 -08:00
Jeff Sharkey
9bf3150cfa Save timezone when setting data cycle reset date.
Instead of cycle reset at midnight UTC, use midnight of timezone
active when user last set cycle reset date.  Tests to verify, and
also to test leap year behavior.

Bug: 5938567
Change-Id: Ie06f7f0fa242d23110f9586a3f4f7037af87b31b
2012-03-09 17:10:05 -08:00
Ken Wakasa
384f8bad60 Add missing bullet points in javadoc of InputMethodManager.java
Change-Id: I2e9c04569b52705972d5a67b17d48405315dd3d3
2012-03-10 10:05:57 +09:00
Fabrice Di Meglio
73ba0df14f Merge "Make Drawable RTL APIs public" 2012-03-09 17:02:56 -08:00
Romain Guy
5a5dc1c634 Merge "Use the actual screen size for the max bitmap cache size." 2012-03-09 16:59:35 -08:00
Romain Guy
887c2eea31 Use the actual screen size for the max bitmap cache size.
Change-Id: I2177f91aea7c449c377fde6337180d15487cecef
2012-03-09 16:57:58 -08:00
Fabrice Di Meglio
06e1ec6462 Make Drawable RTL APIs public
- also optimize imports

Change-Id: I2649a539a5784293d09179981a5d57e900219246
2012-03-09 16:37:45 -08:00
John Reck
c419610477 Merge "Remove wrong nativeSubtractLayers" 2012-03-09 16:19:09 -08:00
Svetoslav Ganov
19a07d9747 Merge "AccessibilityServiceInfo does not convert correctly feedback type to string." 2012-03-09 16:05:10 -08:00
Svetoslav Ganov
c6c25f9e28 AccessibilityServiceInfo does not convert correctly feedback type to string.
1. When the feedback type is set to TYPES_ALL_MASK the method
   feedbackTypeToString was not generating a string with all
   feedback types. Also the generated string sometimes could
   have a comma appended after the last feedback type name
   - this happens if the feedback type contains unknown type
   flag.

Change-Id: I848c520cf7dae16dcd882f68275869c7ab656dd7
2012-03-09 16:01:23 -08:00
Ken Wakasa
559c4841a6 Merge "Fix obvious typos under frameworks/base/core" 2012-03-09 15:52:06 -08:00
George Mount
bcd5dd7c9a Add back auto-completion and auto-fill.
Bug 5993316

 Webkit Change: I9d09a924a579d2d4551bff0489670de71d04757e

Change-Id: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4
2012-03-09 15:45:32 -08:00
John Reck
d09666cbf0 Remove wrong nativeSubtractLayers
Bug: 5338388

Change-Id: I6b40d29d53df67bc04e8e52627b5d0c2769c28a5
2012-03-09 15:44:45 -08:00
Jeff Brown
3162225d51 Merge "Don't remove all animation callbacks if action/who was null." 2012-03-09 15:12:30 -08:00
Jeff Brown
43ea54bdc3 Don't remove all animation callbacks if action/who was null.
Fixes a bug in View.removeCallbacks and View.unscheduleDrawable
where it was possible for the caller to remove all animation
callbacks if it happened to specify an action or who parameter
of null.

Also refactored the callback queueing code in Choreographer
to make it more intent revealing although the behavior remains
the same.

Bug: 6144688
Change-Id: Iba29dcda6b3aaad73af664bb63feab65ae3483e5
2012-03-09 14:41:50 -08:00
Michael Kolb
0f98616bd6 Merge "fix callback NPEs when WebView is destroyed" 2012-03-09 14:01:06 -08:00
Svetoslav Ganov
2bff640779 Merge "Adding an announcement type accessibility event and a method on View to announce." 2012-03-09 12:00:13 -08:00
Michael Kolb
d78ad29b09 fix callback NPEs when WebView is destroyed
Bug: 6141489

change destroy flow for WebViewCore and block callback
messages
Change-Id: Ib15a0e016508bc6df031996adde150dd37c195c4
2012-03-09 11:49:17 -08:00
Svetoslav Ganov
51ab90cab1 Adding an announcement type accessibility event and a method on View to announce.
1. The need for sending an accessibility event to announce a context change
   which does not cleanly fit into the existing UI transition UI events has
   come quite a few time in application development. To avoid retrofitting
   accessibility event types that do not semantically match the intent to
   just announce a short message this patch is adding specialized event type.
   Also a helper method on View is added to sheild developers from knowing
   how to construct and send such an event.

bug:5977979

Change-Id: Iaf5f620426f8616be67fbf243a02ad5b606c949b
2012-03-09 11:47:17 -08:00
Svetoslav Ganov
977c9a5d3c Merge "Removing checked state description text for accessibility from some widgets." 2012-03-09 10:24:33 -08:00
Svetoslav Ganov
55249c8601 Removing checked state description text for accessibility from some widgets.
1. The framework was appending some text to convey the state of a
   a CheckedTextView or a RadioButton or a ToggleButton or a Switch
   but the checked property already conveys that information. It is
   responsibility of the screen reader developer to append the state
   text based on the checked property. This change is requested by a
   few screen reader developers.

bug:5951683

Change-Id: Ieba6797770201155c48e37147ae375dfcb5238aa
2012-03-09 10:17:16 -08:00
Victoria Lease
c9a390811e Merge "finalise scrolling before checking scroll position" 2012-03-09 09:23:54 -08:00
Victoria Lease
9776ed7b94 Merge "scroll relative to visibleRect in spawnContentScrollTo()" 2012-03-09 09:23:40 -08:00
Victoria Lease
3beeb1c6da finalise scrolling before checking scroll position
Bug: 5470588

Change-Id: I09435875895452d0b015a641b471b113b84f9bf5
2012-03-09 09:03:40 -08:00
Irfan Sheriff
aa6816a8a0 Merge "Enhancements for avoiding poor connection on wifi" 2012-03-09 08:53:01 -08:00
Ken Wakasa
f76a50ce8f Fix obvious typos under frameworks/base/core
Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
2012-03-09 22:48:43 +09:00
Adam Powell
dca510e026 Fix docs
Change-Id: Idea902ec3b6e540972650a070e8d224603a55c94
2012-03-08 20:06:39 -08:00
Adam Powell
1ce891bc47 Merge "Public API for android.widget.Spinner properties" 2012-03-08 19:51:53 -08:00
Adam Powell
d9c7be6cc7 Public API for android.widget.Spinner properties
Bug 6104467

Add properties that can be set/retrieved programmatically to match the
XML attributes available.

Also add resource ID versions of Drawable setters for Switch.

Change-Id: I198cfd9701189ab200c3190f61d18c459b7e4591
2012-03-08 19:49:39 -08:00
Jeff Sharkey
047238ced4 Switch Parcel to static JNI calls, pass pointer.
Instead of using parcelForJavaObject(), pass down the mNativeObj
pointer explicitly.  Benchmarks show that writeInt() is roughly 3x
faster with this approach.

Change-Id: I24ca235c334c44be716070aa8066ec8a429eadb7
2012-03-08 18:29:03 -08:00
Adam Powell
787f2699f1 Merge "Public API for android.widget.Switch properties" 2012-03-08 17:18:10 -08:00
Jeff Brown
34264670da Merge "Should recycle TypedArray." 2012-03-08 16:43:57 -08:00
Jeff Brown
14577c4df5 Should recycle TypedArray.
Change-Id: Ia318de37c22e4533fff631be816cee539a5cd83d
2012-03-08 16:42:29 -08:00
Jeff Sharkey
061ccee7f3 Merge "Deprecate some FileUtils, pointing to Os instead." 2012-03-08 16:29:54 -08:00
Jeff Brown
df813c03b1 Merge "Use the Choreographer for Drawable animations." 2012-03-08 16:28:48 -08:00
Irfan Sheriff
4c8982ad82 Enhancements for avoiding poor connection on wifi
- Avoid flapping
- Increase thresholds and monitor rssi more closely to detect consistently weak signal

Change-Id: I6139a20b7306839b345146a72ce690020a2e00b8
2012-03-08 16:28:35 -08:00
Victoria Lease
16e25e6ad8 scroll relative to visibleRect in spawnContentScrollTo()
WebKit calculates its scrolling destination coordinates relative to the
visibleRect that WebCoreViewBridge provides it. That visibleRect is stored
in WebViewClassic as mScrollOffset. When a titlebar is displaying, the
coordinate conversion from content to view fails. This conversion is used
in many other places and seems to function perfectly fine for them, so I've
concluded that while it may be the wrong tool for this particular job, it is
the correct tool for many others. As a result, I've left the conversion as it
is and simply fixed the function that WebKit calls to programatically scroll
the content. This fixes all of the programmatic scrolling issues I've been
seeing with find-on-page without breaking anything else.

  Bug: 5470588

Change-Id: I50d3af4dd8a7fbd2d04bbb41e38f3e6947fbb46a
2012-03-08 16:09:31 -08:00
Romain Guy
67b3a9ea61 Merge "Fix the docs" 2012-03-08 15:56:59 -08:00
Romain Guy
1e3d313c78 Fix the docs
Change-Id: I73bcb684eac01db870936aa5e29df930b5432833
2012-03-08 15:55:56 -08:00
Amith Yamasani
28ca8f9f95 Merge "Make SyncManager and AccountManagerService multi-user aware." 2012-03-08 15:55:20 -08:00
Adam Powell
6c86e1ba41 Public API for android.widget.Switch properties
Bug 6104562

Add properties that can be set/retrieved programmatically to match the
XML attributes available.

Change-Id: Ief28e5cad9ec3e6c2d12dd11ff9fa24f22eecec3
2012-03-08 15:12:48 -08:00
Romain Guy
583fcb9175 Merge "Dispatch screen state change events to Views Bug #6120957" 2012-03-08 15:06:50 -08:00
Romain Guy
bb9908b828 Dispatch screen state change events to Views
Bug #6120957

Using this new callback, views can interrupt and resume their
animations or other periodic tasks based on the current state
of the display.

Change-Id: I398f4abd421e9c5f207107bf1009a7b92cf45daa
2012-03-08 15:05:12 -08:00
Dianne Hackborn
21c241e061 Add new Intent API for associating a ClipData with an Intent.
Allows applications to propagate multiple URI grants through an
Intent.

Later on, we should probably redefine the share actions to be
based on this ClipData with the old extras-based approach only
there for compatibility.  Even if we don't do that, though, this
allows you to do a multi-select share that grants multiple URI
permissions by stuffing the URIs in a ClipData.

Also add some documentation in various places telling people how
they can grant URI permissions.

Change-Id: Id4ba8e72c11caf7e1f1f438cb7af058d1586a37c
2012-03-08 14:34:03 -08:00
Jeff Sharkey
929b5899a3 Deprecate some FileUtils, pointing to Os instead.
Change-Id: I5d306784ea924ffd8c32c4768f975190445932a4
2012-03-08 14:31:57 -08:00
Fabrice Di Meglio
bbd8226e97 Merge "More fixes about padding" 2012-03-08 12:26:22 -08:00
Elliott Hughes
940fcbddd3 Merge "Tracking changes to SSLParametersImpl.getDefaultTrustManager()" 2012-03-08 12:25:48 -08:00