Commit Graph

19397 Commits

Author SHA1 Message Date
Romain Guy
e707859415 Load identity matrix when calling Canvas.setMatrix(null)
Bug #5446826

Change-Id: I3a7817f266b17e9abe948500816d629edd9a2822
2011-10-28 14:32:20 -07:00
Jeff Brown
90c487f0e8 Merge "Optimize fillWindow to improve reverse-seek performance. Bug: 5520301" 2011-10-28 11:52:01 -07:00
Gilles Debunne
3c5ba55385 Merge "Cleaning and new constant in ViewConfiguration" 2011-10-28 10:08:32 -07:00
Gilles Debunne
53031212ef Merge "Revert "Potential thread concurrency issue with WordIterators."" 2011-10-28 10:08:22 -07:00
Narayan Kamath
6673aecaed am 7a2f6f38: Merge "Widen permissions on synthesized files." into ics-mr1
* commit '7a2f6f38fe025654614d4c279fcfabf5819638b8':
  Widen permissions on synthesized files.
2011-10-28 09:19:14 +00:00
Narayan Kamath
7a2f6f38fe Merge "Widen permissions on synthesized files." into ics-mr1 2011-10-28 02:15:04 -07:00
Jeff Brown
650de3dcfc Optimize fillWindow to improve reverse-seek performance.
Bug: 5520301

When an application requests a row from a SQLiteCursor that
is not in the window, instead of filling from the requested
row position onwards, fill from a little bit ahead of the
requested row position.

This fixes a problem with applications that seek backwards
in large cursor windows.  Previously the application could
end up refilling the window every time it moved back
one position.

We try to fill about 1/3 before the requested position and
2/3 after which substantially improves scrolling responsiveness
when the list is bound to a data set that does not fit
entirely within one cursor window.

Change-Id: I168ff1d3aed1a41ac96267be34a026c108590e52
2011-10-28 01:46:18 -07:00
Jeff Brown
4257e3b181 am ce6578ac: am 84bee4f8: Merge "Fix copyStringToBuffer row index calculation. Bug: 5515552" into ics-mr0
* commit 'ce6578acc5729f76fc93b6daafede413703a8d19':
  Fix copyStringToBuffer row index calculation. Bug: 5515552
2011-10-28 08:24:11 +00:00
Jeff Brown
ce6578acc5 am 84bee4f8: Merge "Fix copyStringToBuffer row index calculation. Bug: 5515552" into ics-mr0
* commit '84bee4f8746a19428e0ddfd10df1130324dc39fa':
  Fix copyStringToBuffer row index calculation. Bug: 5515552
2011-10-28 08:20:20 +00:00
Jeff Brown
0772007b61 Fix copyStringToBuffer row index calculation.
Bug: 5515552

Change-Id: I60aa25d2becd3195d6997d23ef5654a31e93bf71
2011-10-27 19:27:11 -07:00
Gilles Debunne
006fa48bce Cleaning and new constant in ViewConfiguration
Fixed the documentation and comments for dips versus pixels.

Added a new DOUBLE_TAP_TOUCH_SLOP to replace the hard-coded and
*unscaled* value used in GestureDetector. Assuming this value was
ok for hdpi devices, set it to 20 / 1.5 ~= 16 in dips.

New method kept hidden to keep API unchanged.

Change-Id: I6d237faa2fdb7714e0e3558978af130df9a061a5
2011-10-27 17:26:58 -07:00
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
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 d224c88c48.

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
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
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
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
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
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
Philip Milne
fec2aa51d6 Merge " Update to fix for bug 5393156" 2011-10-26 10:18:30 -07:00
satok
0f0a3945ef Make FLAG_AUTO_CORRECTION public
Bug: 5440299

Change-Id: Ia82745e793be741c1558ce15b189b63872107ddb
2011-10-26 15:13:28 +09:00
Gilles Debunne
dc37203c95 Merge "Text handles do not handle scroll correctly" 2011-10-25 15:54:51 -07:00
Philip Milne
ecab117864 Update to fix for bug 5393156
Tweak to the logic to take account of margins when gravity = FILL is used and
    there is a measurement dependency between the axes (as in mulit-line text).

Change-Id: I91b9143c2d5db41cb67dd641d5c7ea0b56cae7ff
2011-10-25 15:07:19 -07:00