15930 Commits

Author SHA1 Message Date
Vasu Nori
a84a744bb1 Merge "if db close() fails due to un-closed sql statements, print useful msg" 2010-11-29 15:09:30 -08:00
Gilles Debunne
8df09a0906 SelectAllOnFocus switches to highlighted mode, not text selection mode
Change-Id: Ia0adf561f207e0a82d9588471823da7f5b2f1799
2010-11-29 14:57:12 -08:00
Dianne Hackborn
e26092e202 Merge "Don't leak." 2010-11-29 14:43:06 -08:00
Dianne Hackborn
1f5b195ed0 Don't leak.
Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6
2010-11-29 14:41:46 -08:00
Vasu Nori
b438902369 if db close() fails due to un-closed sql statements, print useful msg
The current error message says "close failed due to unfinalised statements".
This CL fixes that message by incorporating one of the un-closed sql statements
should help developers debug the problem.

Change-Id: I2a24c6ba876caa008507b236052c5f03e8cbb27e
2010-11-29 14:10:46 -08:00
Shimeng (Simon) Wang
7691451094 Merge "Set initial view scale to be at least overview scale." 2010-11-29 13:43:36 -08:00
Shimeng (Simon) Wang
96fcb87ae1 Set initial view scale to be at least overview scale.
Some website will have an initial view scale which is less
than the overview scale and the page will display poorly.

This fix sets the initial scale and text wrap scale to be at least
overview scale to make the page looking good at first load.  When a page
is restored, the scale will not be changed.

Also make the reading level scale always bigger than overview
scale for consistency.

issue: 3226625
Change-Id: I8b77cf4fda454a35c3037fa09aaff1aac0c0f664
2010-11-29 13:32:52 -08:00
Vasu Nori
f1cdfc9f6d Merge "fix messages from sqlite layer in c++ code to be useful." 2010-11-29 12:00:40 -08:00
Vasu Nori
b37f8a8af1 fix messages from sqlite layer in c++ code to be useful.
Change-Id: Ib13f86f3481aae391f5e887bb14877f12bf48034
2010-11-29 11:53:55 -08:00
Gilles Debunne
f076eebd05 Restore isTextEditable() method meaning.
Change-Id: I52a4e71026396b27ed804d94e8373487a2645212
2010-11-29 11:42:55 -08:00
Gilles Debunne
7dca01e254 Merge "Paste popup shows up after a delay on tap. Immediately if there is a recent copy/cut." 2010-11-29 11:41:31 -08:00
Gilles Debunne
0a2aa40363 Paste popup shows up after a delay on tap. Immediately if there is a recent copy/cut.
Change-Id: Ib13f7731eb9b25c39c1b962763b3d16310fe2923
2010-11-29 11:23:24 -08:00
Vasu Nori
00e4017189 Revert "Merge "print certain rows from downloads.db when bugreports are taken""
This reverts commit 34878787f06c07b5cf14879254ef9abccffa631b, reversing
changes made to 5a2755d0c9220b6bc52cb1262927e27dc3dce6c1.
2010-11-29 11:03:23 -08:00
Cary Clark
6f5dfc6b3c scroll the selection when dragging near the edge
Also move a debug statement so it can report the
extra selection choice.

This does not scrolls overflow divs for now; once
Pat has that code checked in, this can adapt to
work for that as well.

requires a companion change in external/webkit

bug:3186988
Change-Id: I071ecd31d589e9ef715d2ecb12b1768696075686
2010-11-29 09:20:23 -05:00
Dianne Hackborn
f9d0be917b Implement rotation animations.
This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension.  Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
2010-11-28 18:28:57 -08:00
Joe Onorato
5a6b4f8265 tighten up the notifciation layouts
Change-Id: I8e4f6a6412123fdd2d76381d568ab0bc3157b974
2010-11-27 21:58:49 -08:00
Joe Onorato
2e76ccad08 Merge "Long press on home shouldn't open recents" 2010-11-26 14:07:34 -08:00
Joe Onorato
50262e587c Long press on home shouldn't open recents
Change-Id: Iafb8205878768b74a833528532ab399d44b04263
2010-11-26 14:04:54 -08:00
Steve Block
5fd5d74f79 No longer need to pass storage paths to WebRequestContext.cleanupPrivateBrowsingFiles()
Requires the following changes to external/webkit and packages/apps/Browser
https://android-git.corp.google.com/g/81781
https://android-git.corp.google.com/g/81780

Bug: 3232569
Change-Id: I0247f3db25edfdc95363a5a94296458b20456a46
2010-11-26 11:55:35 +00:00
satok
440aab54ca Removed InputMethodSubtypePicker
Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
2010-11-25 19:53:56 +09:00
Adam Powell
fc19b84448 Merge "Updated list assets for holo" 2010-11-24 21:14:54 -08:00
Adam Powell
d50761d7e6 Updated list assets for holo
Change-Id: I9ea3ee7e171432ddba76123d0cd38179f96c4d20
2010-11-24 21:13:24 -08:00
satok
cd7cd2969f Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar
Bug: 3212206
Bug: 3201828

- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.

Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
2010-11-25 14:02:04 +09:00
Gilles Debunne
d1544d38a2 Merge "Handle hiding timer reset on every move." 2010-11-24 17:13:01 -08:00
Gilles Debunne
2a7f346ff1 Handle hiding timer reset on every move.
updatePosition is the centralized place where this should happen.

Change-Id: If4aab404ab0f3988af96b8d2cb1b41f39f4afa50
2010-11-24 16:56:24 -08:00
Wink Saville
b0be5d1d4a Merge "Use apn types instead of host when sending notifications." 2010-11-24 16:50:32 -08:00
Wink Saville
26f5a384d8 Use apn types instead of host when sending notifications.
Previously we were passing the apn host not the type and this
caused us to sometimes not send out network change notifications.

Also rename of getActivceApn to getActiveApnHost to make
the method clearer on what is being returned and add some debug.

A future change will rename ApnSetting.apn to ApnSetting.host
and getActiveApnString.

bug: 2995554
Change-Id: I0c405b0f823f62c9596968c8516b820d9f8a94f2
2010-11-24 16:44:29 -08:00
Gilles Debunne
c4440f039e Lazy creation of selection and insertion handles.
Change-Id: I960f6988e8f4c6f933a40fca7dc860e58a6b67d3
2010-11-24 16:24:47 -08:00
Amith Yamasani
f9beaeffef Merge "Use newer SearchView icons and improve layout and highlights." 2010-11-24 16:20:00 -08:00
Amith Yamasani
a9f1e1503f Use newer SearchView icons and improve layout and highlights.
Also fix the theming for AutoCompleteTextView, which is used by SearchView.
2010-11-24 16:16:23 -08:00
Mindy Pereira
85265ad98f Merge "Per designers, update the algorithm for when effect is clipped or stretched." 2010-11-24 16:13:24 -08:00
Mindy Pereira
4e30d89ced Per designers, update the algorithm for when effect is clipped or stretched.
New algo is:
1) if view width < MIN_WIDTH (currently 300px), clip glow and edge to fit
2) else stretch glow and edge to fill width
3) make alpha and height of edge and glow 30% "more intense"

Change-Id: I8f121bb165a8fb835bc33950dbedd1bc80c5df65
2010-11-24 16:09:03 -08:00
Brad Fitzpatrick
49e57d33db Merge "Don't flash StrictMode from the system server." 2010-11-24 15:49:01 -08:00
Mindy Pereira
c041ae7fcf Merge "Use getDimensionPixel size instead of casting to an int." 2010-11-24 15:34:45 -08:00
Mindy Pereira
35c8be0655 Use getDimensionPixel size instead of casting to an int.
Change-Id: I907c8be25bd4cf0fefc2bb4e0282db2d136da099
2010-11-24 15:28:07 -08:00
Brad Fitzpatrick
f54545927f Don't flash StrictMode from the system server.
These are false positives from a developer's point of view.

Change-Id: Ic8baf81c0e2cf559a38c1fe6adfa6e739dd3eaed
2010-11-24 15:27:51 -08:00
Gilles Debunne
d9d618ffbc Merge "Lazily create the paste popup window." 2010-11-24 14:49:04 -08:00
Adam Powell
ed798a0dd6 Merge "Fix bug 3149106 - disabled text not dimmed" 2010-11-24 14:21:48 -08:00
Adam Powell
24c0bc2406 Fix bug 3149106 - disabled text not dimmed
Change-Id: Ieef20e1f5041b544f32aaefad0ee7413ee56bfa7
2010-11-24 14:18:55 -08:00
Gilles Debunne
2880294cc6 Lazily create the paste popup window.
Change-Id: I271a790bd652cdcdc221896ede9f99858a24cc7a
2010-11-24 14:16:14 -08:00
Gilles Debunne
9948ad7b37 Long press in empty space moves cursor and shows Paste affordance.
Change-Id: I487e9028201a90da76dff5390a64d2d57e7723ea
2010-11-24 14:00:46 -08:00
Gilles Debunne
e587d838e9 Comments on lazy controllers initialization.
Also a couple of bug fixes where the field value was used instead of the
get method().

Change-Id: Ia2c63158febc136065a6e12755c88e6d23ce6cc1
2010-11-24 13:48:24 -08:00
Brad Fitzpatrick
c1a968a8ed Option to enable StrictMode flashing on userdebug builds.
Change-Id: Ifc8e733ea0e0f6bda234a18ad84bcd230879e802
2010-11-24 13:41:48 -08:00
Jaikumar Ganesh
1c96a00685 Fix some formatting issues.
Review comments from a previous review.

Change-Id: Ifa6136f9bc5590ffb6a777240ad1e6607b616ca6
2010-11-24 13:07:29 -08:00
Jaikumar Ganesh
64ad5586c4 Merge "Update BT code for voice capability cases." 2010-11-24 12:44:04 -08:00
Joe Onorato
7750c2ac61 Merge "this should be @hidden" 2010-11-24 11:15:07 -08:00
Joe Onorato
a89e903fd4 this should be @hidden
Change-Id: Ib372fa15a5284b30e2edef5a1d90544eb2166ee4
2010-11-24 11:13:44 -08:00
Jaikumar Ganesh
58b93c3640 Update BT code for voice capability cases.
1. Disable PBAP and Headset / Handsfree records.
2. Add API to query for local adapter UUIDs.

Change-Id: Ic84ba6a49738adc89a8695d3a4890f08562e0621
2010-11-24 10:49:47 -08:00
Dianne Hackborn
a111187a5b Change rotation freeze to all be implemented in window manager.
Lots of work for no visible change in behavior, but now we can
do some fancier stuff...

Also allow rotation in all 4 directions.

Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461
2010-11-24 10:41:07 -08:00
Joe Onorato
9fb2807e2b Merge "Allow status bar panels to be on top of the status bar." 2010-11-24 10:28:20 -08:00