16175 Commits

Author SHA1 Message Date
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
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
Leon Scroggins
5bf4bb97e0 Merge "Stop the blinking caret when moving to another field." 2011-02-24 11:21:41 -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
Kristian Monsen
256d603d11 Merge "Hiding deprecated classes and methods" 2011-02-24 08:02:34 -08:00
Wu-cheng Li
e857cc8175 Merge "Add YV12 preview format to camera parameter constants." 2011-02-24 02:51:17 -08:00
Wu-cheng Li
10a1b30dfb Add YV12 preview format to camera parameter constants.
bug:3463624
Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
2011-02-24 18:19:48 +08:00
Romain Guy
47b8adec39 Add a new Camera API to control the camera's location
Change-Id: Id9a082d2def803eb527e1987875e0d8a22c6e8aa
2011-02-23 19:51:42 -08:00
Gilles Debunne
eca97a320f Cursors correctly displayed with legacy theme.
Bug 3482848

Change-Id: Ic2eda961a8bb5e865bc638106124d00a5a7b4b21
2011-02-23 18:06:48 -08:00
Michael Kolb
601e779ae7 make @hide actually hide
Change-Id: I84f09acd551d0dc81081322fbeda883d271f8256
2011-02-23 17:43:16 -08:00
Gilles Debunne
ddf00b8afe Text handles movement improvements.
Bug 3329346

Making sure the cursor is never hidden by the finger. Some
vertical movement is not repercuted on the handles' position
if it moves the finger closer to its 'ideal' touch position,
where both the insertion line and the top of the handle are
visible.

Also removed the hysteresis line filter which is not that
usefull and feels sluggy.

Change-Id: I6ad0fed0cf66753c6571b3bc620b1a0f2397c7b2
2011-02-23 17:25:13 -08:00
Michael Kolb
75a03f9a3c use getTitleHeight for measuring
Bug: 3473996
    change getTitleHeight to be protected so that subclass
    can override it
    use getTitleHeight for rendering
    use getHeight for clipping

Change-Id: I6e9a85d88eba176886e53b260d02082d26b410d8
2011-02-23 17:01:38 -08:00
Chet Haase
a8bdc2a42e Merge "Fix bug with bad state in animators" 2011-02-23 16:59:03 -08:00
Irfan Sheriff
1e231cbf0c Merge "Remove backup of sleep policy setting" 2011-02-23 16:54:55 -08:00
Chet Haase
154f14508a Fix bug with bad state in animators
Bug 3482310: The playing state was not being correctly set to
RUNNING after an animator was start()'d. Instead, we were seeking
to the start value (correct), setting the state to SEEKED (also correct),
but not resetting the playing state to STOPPED. So when the animation
actually started animating values, it didn't recognize that it was
starting a STOPPED animation, so it never set its state to RUNNING,
and never returned true from isRunning().

Change-Id: Iea92dce98f92f60052d8a9a451094b953f9f0c67
2011-02-23 16:53:18 -08:00
John Reck
a6adf983d9 Merge "Add x- header to prevent url logging in incognito" 2011-02-23 16:50:24 -08:00
John Reck
ab5901dab2 Add x- header to prevent url logging in incognito
Bug: 3336575

Change-Id: I4a65242405d731f74c676382a810f608afcaad39
2011-02-23 16:42:10 -08:00
Dmitri Plotnikov
dbcdbf2128 Fix javadoc for DisplayNameSources
Bug: 3370212
Change-Id: I13d3ae96b6fcbba6d1ae8a1f06fb971de1f73f81
2011-02-23 16:05:58 -08:00
Romain Guy
557704e22a Merge "A bit more doc for ListAdapter#areAllItemsEnabled()." 2011-02-23 16:04:07 -08:00
Romain Guy
68b6b1c2d1 A bit more doc for ListAdapter#areAllItemsEnabled().
Change-Id: I339de99f52a8b5a3405d2aabd83a6dc92ca96e98
2011-02-23 16:05:07 -08:00
Scott Main
cd4ed5438c am b1eea45a: am 201959af: Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb
* commit 'b1eea45a71a3fffe3014bbe84226df3c57ddbafc':
  docs: fix sensorevent code snippets bug: 3480932
2011-02-23 16:02:13 -08:00
Scott Main
b1eea45a71 am 201959af: Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb
* commit '201959af6e61c148576c77de6cf772456d664251':
  docs: fix sensorevent code snippets bug: 3480932
2011-02-23 16:00:08 -08:00
Scott Main
201959af6e Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb 2011-02-23 15:58:13 -08:00
Jaikumar Ganesh
5936245654 Merge "Make BluetoothPan inherit from BluetoothProfile." 2011-02-23 15:50:57 -08:00
Jaikumar Ganesh
74ef119945 Make BluetoothPan inherit from BluetoothProfile.
Change-Id: Ibd3e24e391be93ebe2cf975bd075efb68e10c1ff
2011-02-23 15:49:15 -08:00
Kristian Monsen
f0d9731313 Hiding deprecated classes and methods
These have been deprecated for more than a yearm so hiding them.

Note that this CL was approved in honeycomb, but moved to MR1:
https://android-git.corp.google.com/g/#change,89487
2011-02-23 23:07:42 +00:00
Irfan Sheriff
b0e5326d8c am a46a5cba: Merge "DO NOT MERGE No backup of country and sleep policy" into honeycomb
* commit 'a46a5cba276ee269d227a5e4d69f3891c4349edf':
  DO NOT MERGE No backup of country and sleep policy
2011-02-23 14:38:10 -08:00
Irfan Sheriff
5e7e5ec038 Remove backup of sleep policy setting
Remove backup and restore of sleep policy settings

Change-Id: I87821efcaca72e12d32fdeedd8349971d85bff2b
2011-02-23 14:11:11 -08:00
Irfan Sheriff
ae388dac6d DO NOT MERGE No backup of country and sleep policy
Remove country code and sleep policy setting back up as it
is a device specific setting

Bug: 3481068
Change-Id: Ifc824c1cd3c3706f8cdaf09b06a05a0c94243acb
2011-02-23 13:51:52 -08:00
Scott Main
e86c12c9e4 am 02be2f1d: am 2788e4f9: docs: fix some typos
* commit '02be2f1d874078f227af34fcac7863eca1f35653':
  docs: fix some typos
2011-02-23 11:27:12 -08:00
Scott Main
02be2f1d87 am 2788e4f9: docs: fix some typos
* commit '2788e4f96a3f210192145a340a1d072c70c7bc4f':
  docs: fix some typos
2011-02-23 11:24:42 -08:00
Leon Scroggins
91ebba38ee Merge "New flag to open intent in a new tab." 2011-02-23 11:20:05 -08:00
Scott Main
d11ee90b6e docs: fix sensorevent code snippets
bug: 3480932

Change-Id: Id97ca4e0edfb92eaac0f2996bc5e91d757644afb
2011-02-23 10:57:23 -08:00
Scott Main
2788e4f96a docs: fix some typos
Change-Id: I2dc9855f8fe87234d4337351e8bac6c382fb74d2
2011-02-23 10:54:31 -08:00
James Dong
afc671fc5e Merge "Application-managed callback buffer support for raw image" 2011-02-23 10:38:21 -08:00
Leon Scroggins
af5b406ad6 New flag to open intent in a new tab.
Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
2011-02-23 10:46:35 -05:00
Daniel Sandler
70564141ce Merge "Minor cleanups to Notification docs." 2011-02-23 06:43:12 -08:00
Daniel Sandler
5e98dbc770 Merge "Documentation: Notification.icon is mandatory." 2011-02-23 06:42:48 -08:00
Bjorn Bringert
ceb1997174 Merge "ActivityManager exposes launch count API." 2011-02-23 02:30:57 -08:00
Alon Albert
5df34ac754 am a0946d63: am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit 'a0946d6399431d3cc86ef06d44695251ab04933b':
  Support quoted parameters
2011-02-22 21:56:23 -08:00
Romain Guy
e42aa50ded am e5410aa1: am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
* commit 'e5410aa165d2c707c9f31eabbfcf9c2332d9228a':
  Fix for #12945: ProgressBar.setMax() will always redraw.
2011-02-22 21:35:20 -08:00
Alon Albert
a0946d6399 am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit '1aba843dc327490a749059bcddff90e8048ed75c':
  Support quoted parameters
2011-02-22 21:23:50 -08:00
Alon Albert
1aba843dc3 am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit 'ccc802e12be64248c2c6822eb36a957435a06ef2':
  Support quoted parameters
2011-02-22 21:18:52 -08:00
James Dong
e00cab707d Application-managed callback buffer support for raw image
bug - 3292153

Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
2011-02-22 20:48:15 -08:00
Gilles Debunne
81f08086b4 Text selection handles correctly scroll
Bug 3416154

The origin of the problem is new display optimisations that enable
a scrollView to be scrolled without calling the onDraw method of its
children. As a result, the handles' positions were not updated on scroll.

DropDown popup menu have an integrated scroll listener that will fix the
problem. Using these indead is the first part of the solution.

The next problem is that when they get hidden, these popups try to move their
parent (the TextView in our case) which creates a scroll conflict. Fixed by
overriding findDropDownPosition.

Finally, when the handles get invisible, a new scroll listener has to be
installed that will show them back in case the view is scrolled back.

This is also an important step to fix Bug 3441308 (selectable text in list
views).

Debugging find outs:
Small optimization in PopupWindow to avoir unregistering then registering
back the listener when it is updated.

getHandle().show(); is not needed since updatePosition will do it through
moveTo().

Change-Id: I6bf6a3649538328257734ed1e651b23b889d65d9
2011-02-22 15:21:17 -08:00