26565 Commits

Author SHA1 Message Date
Mangesh Ghiware
e87d2da0b4 am ade26e2e: Merge "Fix restore of view and text wrap scales." into ics-mr1
* commit 'ade26e2e383cd0041f8aa94467d119c2bd1ee5e8':
  Fix restore of view and text wrap scales.
2011-10-27 23:15:58 +00:00
Mangesh Ghiware
ade26e2e38 Merge "Fix restore of view and text wrap scales." into ics-mr1 2011-10-27 16:11:32 -07:00
Adam Powell
635c60af62 Add API for deferring fragment start.
Fragments now have the setDeferStart method to signal that a fragment
has lower priority than others. Deferred start fragments will not
always be started immediately; they will be started once any loaders
have finished servicing any outstanding requests. This is useful if
any attached fragments are not immediately visible and can wait to
start until later.

Disabling deferStart on a fragment that is waiting for a deferred
start will start it immediately. Start.

Change-Id: Ia1f004877ca5e88d4f10147d21c7e2e97f141c34
2011-10-27 15:54:51 -07:00
Mangesh Ghiware
f0e96d54b6 Fix restore of view and text wrap scales.
Fixes bug 5507881: Open pages in overview doesn't stick on initial
browser load.

Update the fix for bug 5230909: Zoom not restored on Back.

Added a boolean to indicate that scales have been restored. In the case
of restored scales (view and text wrap) being zero, set them to overview
and reading level respectively.

Change-Id: I5a22dd2040a22ee3b48c5903b586a65a4fa320f2
2011-10-27 15:20:49 -07:00
Gilles Debunne
28f81dede5 Revert "Potential thread concurrency issue with WordIterators."
This reverts commit d224c88c480b4493b001f64b59ad37334c00e8dd.

Based on Dianne's comments, this small optimization seems uncessarily
risky. I'll submit a new change where each SpellParser has its own
WordIterator to make this thread-safe.

Change-Id: Ic09fa656b00d284536e58f4cc7d26d5e26c3f3cf
2011-10-27 15:02:00 -07:00
Svetoslav Ganov
ec6c89b616 Merge "Minor documentation fixes for the APIs to expose virtual view tree." 2011-10-27 14:52:51 -07:00
RoboErik
28e9733e35 am 8805dc13: Merge "b/5309787 Add new columns to hidden list of read only fields" into ics-mr1
* commit '8805dc137ad2c254f25117a5eb1fd662a4ef63b0':
  b/5309787 Add new columns to hidden list of read only fields
2011-10-27 21:45:44 +00:00
RoboErik
8805dc137a Merge "b/5309787 Add new columns to hidden list of read only fields" into ics-mr1 2011-10-27 14:41:03 -07:00
RoboErik
c7ef9390cf b/5309787 Add new columns to hidden list of read only fields
Change-Id: I9bfc01e4211087be0dfd144c022903c51817c024
2011-10-27 14:11:44 -07:00
Mark Brophy
437049b76e Merge "Fix scroll listeners lost in ViewTreeObserver." 2011-10-27 14:08:31 -07:00
Gilles Debunne
e9c98bdf99 Merge "Potential thread concurrency issue with WordIterators." 2011-10-27 14:04:03 -07:00
Gilles Debunne
f2a02018e2 Scroll performance improved in multiline TextEdit
Measuring line widths, glyph by glyph slows down the scrolling
process for long text (for some reason, width measure efficiency
is affectedi by text length, maybe because the whole text has to
be passed to JNI layers).

This optimization avoids this computation in the case where there
is no possible horizontal scroll.

Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
2011-10-27 14:00:56 -07:00
Eric Fischer
6091225497 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-27 13:59:51 -07:00
John Reck
0cce87ef07 am 44c99092: Merge "Keep text handles in sync with native touch targets" into ics-mr1
* commit '44c990927c362b26b51c4388f8c51e8c799f9932':
  Keep text handles in sync with native touch targets
2011-10-27 20:43:40 +00:00
John Reck
44c990927c Merge "Keep text handles in sync with native touch targets" into ics-mr1 2011-10-27 13:40:24 -07:00
RoboErik
6520174f4c am 20345af2: Merge "Add new Calendar APIs to fw" into ics-mr1
* commit '20345af24a50798965f6d295fbe4cc8f78c95e7f':
  Add new Calendar APIs to fw
2011-10-27 20:19:06 +00:00
RoboErik
20345af24a Merge "Add new Calendar APIs to fw" into ics-mr1 2011-10-27 13:13:36 -07:00
John Reck
effabe8d8b Keep text handles in sync with native touch targets
Bug: 5522153
 Also add some slop to the handle targets, cleaned
 up the JNI and improved debugging.

Change-Id: I9ac637d793f2bd88d5315aa1483a4513d2496716
2011-10-27 11:32:55 -07:00
Jeff Hamilton
b38fbaf256 Merge "Clarify the docs around the activityInfo field." 2011-10-27 11:08:35 -07:00
Jeff Hamilton
ca756bfd97 Clarify the docs around the activityInfo field.
Change-Id: Id9a5ac610d564165073cb60e5b631b1cba3e8187
2011-10-27 13:07:23 -05:00
satok
98af0a8178 am c04e2d5f: am e0122406: Merge "Add a path to HelloSpellChecker sample application for SDK build" into ics-mr0
* commit 'c04e2d5f1678b3251edbcc1297015b49b36086a7':
  Add a path to HelloSpellChecker sample application for SDK build
2011-10-27 17:55:52 +00:00
satok
c04e2d5f16 am e0122406: Merge "Add a path to HelloSpellChecker sample application for SDK build" into ics-mr0
* commit 'e0122406bb1c512ee57f3a5a1503435a0779e1d8':
  Add a path to HelloSpellChecker sample application for SDK build
2011-10-27 17:51:51 +00:00
RoboErik
4172d95a67 Add new Calendar APIs to fw
b/5317399 b/5309787 b/5207781 b/5347210 Adds apis for a color
table to support future migrations. Adds allowedAttendeeTypes
and allowedAvailabilities for exchange/gsync support. Adds
type_resource for attendees and tentative availability. Documents
that eventTimezone is required for creating an event.

Change-Id: Id3f866c46f76f2b5b098f4961ea09d48f17598c3
2011-10-27 10:50:09 -07:00
satok
182e4ae2f4 Add a path to HelloSpellChecker sample application for SDK build
Change-Id: I77e334f8e2b50b8609b1729edb253254d6b7360b
2011-10-28 02:27:53 +09:00
Eric Fischer
bb53aa4cc3 Import revised translations. DO NOT MERGE
Change-Id: I667d7530fd0308b7bd62abf2eec96a9178580d4b
2011-10-27 09:49:49 -07:00
Eric Fischer
80d67c66ce Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-10-27 09:43:23 -07:00
Wu-cheng Li
0f4f97b70f Update camera continuous autofocus javadoc.
Suppose applications call autoFocus in CAF picture mode. If
CAF is in the middle of scanning, the picture is very likely to
be blurry. Change focus callback to return when the scanning
finishes.

bug:5514415
Change-Id: Ibcb8f92a5263d7dbd7cce54df3617fb21c6255d4
2011-10-28 00:38:02 +08:00
Narayan Kamath
563fd3ae1b Widen permissions on synthesized files.
When synthesized files are written to app private data dirs,
they are written with owner/grp set to the TTS engine and
are inaccessible by the app itself. This is a reported regression
from gingerbread behaviour. Note that the dir in which the
engine writes files is itself already world writable.

bug:5523587
Change-Id: I2cb26c6f3c3d9cb3cedd60fab32c99a85a27f4b1
2011-10-27 15:00:36 +01:00
Jaikumar Ganesh
8dbd8815e3 am c307d1ae: am 01d24784: Merge "Fix auto connection of headset profile." into ics-mr0
* commit 'c307d1aea2fe755780f02922e1d1d347bf35aba3':
  Fix auto connection of headset profile.
2011-10-27 02:35:00 +00:00
Eric Fischer
440cfec872 Import revised translations. DO NOT MERGE
Change-Id: I2a75aaed297a6abd14a40d03c01c1ce0ea4abf1e
2011-10-26 17:38:16 -07:00
Gilles Debunne
35199f5ce7 Performance improvements for long text edition.
Limit each parse to batches of a few words, to keep the UI thread
responsive.

Possible optimizations for the future:
- SpellCheck in a thread, but that requires some locking mecanism
- Only spell check what is visible on screen. Will require additional
  spans to tag the pieces of text.

Change-Id: Ibf8e98274bda84b7176aac181ff267fc1f1fa4cb
2011-10-26 16:45:40 -07:00
Gilles Debunne
a30946e820 Performance improvement in TextView
Using a SpanSet to minimize the number the calls to getSpans.

Change-Id: I0a6e1fc7bd7a89325c2925bf98d59626d5e12995
2011-10-26 16:41:30 -07:00
Jaikumar Ganesh
c307d1aea2 am 01d24784: Merge "Fix auto connection of headset profile." into ics-mr0
* commit '01d24784a5ddece8bb7c5d088bf93c99faa0dc7e':
  Fix auto connection of headset profile.
2011-10-26 23:20:48 +00:00
Jaikumar Ganesh
6ae5912175 Fix auto connection of headset profile.
Sometimes when headset service doesn't get bound, the auto
connection fails.

Based on a patch by: Chunho Park <chun.ho.park@samsung.com>

Change-Id: Ia24613b47487717f51895953c7e8bc52abffecb5
2011-10-26 16:00:28 -07:00
Jeff Sharkey
87a6e380d0 am fd61e702: Merge "Only populate stack when StrictMode will use it." into ics-mr1
* commit 'fd61e702e3fd7ad401abca8cab9fdada3a13b19c':
  Only populate stack when StrictMode will use it.
2011-10-26 22:51:05 +00:00
Jim Miller
2333a02e15 Merge "Convert the outer lockscreen ring to a shape drawable. DO NOT MERGE" into ics-mr1 2011-10-26 15:40:08 -07:00
Jeff Sharkey
fd61e702e3 Merge "Only populate stack when StrictMode will use it." into ics-mr1 2011-10-26 15:37:34 -07:00
Svetoslav Ganov
872d11cbc4 am 8c807076: Merge "NumberPicker does not not fit on Crespo in landscape." into ics-mr1
* commit '8c8070763971b72aa012e23585fe844b4b956282':
  NumberPicker does not not fit on Crespo in landscape.
2011-10-26 22:35:22 +00:00
Svetoslav Ganov
af0d984a58 resolved conflicts for merge of b0267e28 to master
Change-Id: Ic65ab83958b2e6bb941fe015b557fd2fd8f80683
2011-10-26 15:29:26 -07:00
Svetoslav Ganov
8c80707639 Merge "NumberPicker does not not fit on Crespo in landscape." into ics-mr1 2011-10-26 14:49:29 -07:00
Svetoslav Ganov
b0267e2870 Merge "AccessibilityNodeInfo makes incorrect check before calling into the system." into ics-mr1 2011-10-26 14:47:49 -07:00
Svetoslav Ganov
c0291bb2eb AccessibilityNodeInfo makes incorrect check before calling into the system.
AccessibilityNodeInfo#getParent is checking whether the source view
accessibility id is specified instead that of the parent.

bug:5505799

Change-Id: I436fd2327def2762b4d307819ba0c23baa9a4e03
2011-10-26 14:37:46 -07:00
Svetoslav Ganov
e0c8ab5aaa NumberPicker does not not fit on Crespo in landscape.
1. Now the NumberPicker has a max height and width for which is looks
   good but can still shrink if there is not enough available space.

bug:5512787

Change-Id: Ieea88cafa8408e1d4160bab4bfe2b771bd79f7f8
2011-10-26 14:06:26 -07:00
satok
cbb7bdff0a am 6f444425: Merge "Make FLAG_AUTO_CORRECTION public" into ics-mr1
* commit '6f444425fe1bb62e12973c5df6a3161bc2aa2ce7':
  Make FLAG_AUTO_CORRECTION public
2011-10-26 20:18:19 +00:00
satok
6f444425fe Merge "Make FLAG_AUTO_CORRECTION public" into ics-mr1 2011-10-26 13:14:36 -07:00
Svetoslav Ganov
d3c555c670 am 1a3ad7d1: Merge "Adding accessibility support to the tablet swipe unlock." into ics-mr1
* commit '1a3ad7d18f0e15611268347da7f1b5db8c3b558d':
  Adding accessibility support to the tablet swipe unlock.
2011-10-26 18:34:25 +00:00
Eric Fischer
08d0f6420a Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-10-26 11:32:07 -07:00
Svetoslav Ganov
1a3ad7d18f Merge "Adding accessibility support to the tablet swipe unlock." into ics-mr1 2011-10-26 11:30:06 -07:00
Eric Fischer
0170850207 Import revised translations. DO NOT MERGE
Change-Id: I49ab9333e978be18d8c01284349cf5e61b73043d
2011-10-26 11:01:40 -07:00
Jeff Sharkey
7978a414bb Only populate stack when StrictMode will use it.
When the StrictMode VM flag is changed mid-lifecycle, pass along at
least a basic trace.

Bug: 5516561
Change-Id: I6c922ba20f34349c35624cfc04d1c71ee56ad6ef
2011-10-26 10:43:51 -07:00