Commit Graph

13933 Commits

Author SHA1 Message Date
Kristian Monsen
40e086c422 am 6c5e4dc2: Merge "Adding a static method to get the size of a content url" into honeycomb
* commit '6c5e4dc2312f0b6a3c02972c382d5a047793e734':
  Adding a static method to get the size of a content url
2011-01-12 11:17:11 -08:00
Kristian Monsen
6c5e4dc231 Merge "Adding a static method to get the size of a content url" into honeycomb 2011-01-12 11:15:09 -08:00
Huahui Wu
012acc8620 am 342bfbf9: Merge "b/3340946 Fix NPE caused by null gesture detector." into honeycomb
* commit '342bfbf94fa806be8fefa7ff905ba0a0b0b98df0':
  b/3340946 Fix NPE caused by null gesture detector.
2011-01-12 10:59:22 -08:00
Huahui Wu
342bfbf94f Merge "b/3340946 Fix NPE caused by null gesture detector." into honeycomb 2011-01-12 10:57:51 -08:00
Dianne Hackborn
20acd9d93d am 6014527c: Add "min size" facility to the Window class.
* commit '6014527c350895383b99ba91d3d009a32b1d22a6':
  Add "min size" facility to the Window class.
2011-01-12 10:39:58 -08:00
Huahui Wu
8465cc9d88 b/3340946 Fix NPE caused by null gesture detector.
Gmail use WebView without instantiating the gesture detector. The Gmail team replied that they don't need the pinch to zoom feature so we can safely skip multi-touch events for them.

Change-Id: Id60a4d4583979ef5b420fff04c4ca097c0594024
2011-01-12 10:37:11 -08:00
Dianne Hackborn
6014527c35 Add "min size" facility to the Window class.
This allows us to have a new dialog theme that behaves like an alert dialog
for both Dialog and Activity versions.  Very useful with so many more things
being displayed as dialogs on our nice large screen.

Note I didn't change the existing dialog themes to have this behavior, since
it will probably break things.  Instead there is a new variation.  And the
DialogWhenLarge variations now use this for their dialog form, to fix many
of the real new dialogs we have that need this behavior.

Removed the public definition of the one alert dialog theme.  None of the
others have ever been public, this one shouldn't be.

Added new .Panel versions of the Holo themes, like we already had for the
original themes.

Changed the alert dialog layout to no longer use WeightedLinearLayout,
since the window now takes care of that.  This allowed for the removal
of the xlarge version of those layouts.

Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
2011-01-12 10:33:13 -08:00
Patrick Scott
b3b7197cd4 am 92a9a3c5: Merge "Do not merge." into honeycomb
* commit '92a9a3c5ef9774863b4cee93d43b67582a02c2f0':
  Do not merge.
2011-01-12 09:47:09 -08:00
Patrick Scott
92a9a3c5ef Merge "Do not merge." into honeycomb 2011-01-12 09:44:59 -08:00
Patrick Scott
d1737edc13 Do not merge.
Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system.  This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
2011-01-12 12:42:51 -05:00
Cary Clark
45c674304e am 688b0af6: Merge "add null check to copy selection" into honeycomb
* commit '688b0af6a888a8a427d9a4c82fedf3e345e6ae34':
  add null check to copy selection
2011-01-12 08:21:03 -08:00
Cary Clark
7170bb6391 add null check to copy selection
This prevents a toast from appearing
if copyselection is done initially.

bug:3339016
Change-Id: If6f91b8f3794b3807fb3319fc542838abd431c64
2011-01-12 10:12:15 -05:00
Kristian Monsen
80ff5d82bd Adding a static method to get the size of a content url
Part of fixes for bug 2862096

Change-Id: I86f1255c17efb367fac54b69b8de220d2874fc70
2011-01-12 10:21:17 +00:00
Brad Fitzpatrick
43194ce05e am 52d70722: am cb842753: Merge "Closing cursor in finalizer to avoid GREF and fd leak in acore"
* commit '52d70722654548d156bd7a1cb8c1f05b94b09f06':
  Closing cursor in finalizer to avoid GREF and fd leak in acore
2011-01-12 00:04:27 -08:00
Svetoslav Ganov
d753aea1ad am 2ad2bf23: Merge "Renaming NumberPicker resources to be consistent." into honeycomb
* commit '2ad2bf232714009586c5163e08754886bdd9ea20':
  Renaming NumberPicker resources to be consistent.
2011-01-11 21:58:22 -08:00
Svetoslav Ganov
2ad2bf2327 Merge "Renaming NumberPicker resources to be consistent." into honeycomb 2011-01-11 21:56:03 -08:00
Christopher Tate
771fcc5e3d am 28514f8f: Merge "API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"" into honeycomb
* commit '28514f8f9cdac95799d5654a30fe36ef05443dd3':
  API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
2011-01-11 20:03:57 -08:00
Romain Guy
af62958690 am 9688fdf5: am fcf3d12d: Merge "Typo in Javadoc"
* commit '9688fdf51edb82a73e1a6d436bf7bce706c049fb':
  Typo in Javadoc
2011-01-11 19:34:38 -08:00
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Svetoslav Ganov
2b6f5210ec am 5220834c: Merge "Down arrow on the month can end up at the start of the month" into honeycomb
* commit '5220834c6ccdabf949dfe7160548ad378850d71b':
  Down arrow on the month can end up at the start of the month
2011-01-11 18:06:46 -08:00
Svetoslav Ganov
5220834c6c Merge "Down arrow on the month can end up at the start of the month" into honeycomb 2011-01-11 18:04:42 -08:00
Dianne Hackborn
b5637c467d am 45a8f53b: Merge "Get rid of old ParcelFileDescriptor API." into honeycomb
* commit '45a8f53b25c8306c7f2c37f3a1d70ace21956e28':
  Get rid of old ParcelFileDescriptor API.
2011-01-11 18:00:26 -08:00
Svetoslav Ganov
d7419986ca Down arrow on the month can end up at the start of the month
bug:3338078

1. The bug was that I was claculating delta month and day from
   the current date but was changing the latter in the middle
   thus causing inconsistent state.

Change-Id: Id3082b01778fc2b3116aa412aff3f12e9ebf0c97
2011-01-11 17:59:32 -08:00
Dianne Hackborn
540f86aa42 Get rid of old ParcelFileDescriptor API.
Also some new debugging code in AsyncTaskLoader.

Change-Id: Ib13386b7862821cf0ee31b003bedef78f46240f1
2011-01-11 17:56:12 -08:00
Romain Guy
650284739e am d139a0ca: Merge "Better backend for hardware layers." into honeycomb
* commit 'd139a0ca25dbabfaeaed6383f3177704fe0183e2':
  Better backend for hardware layers.
2011-01-11 17:53:58 -08:00
Romain Guy
d139a0ca25 Merge "Better backend for hardware layers." into honeycomb 2011-01-11 17:52:05 -08:00
Romain Guy
6c319ca127 Better backend for hardware layers.
With this new backend, a hardware layer is only recreated when
its associated view is udpated. This offers fast composition
in GL and fast update of the layer in GL as well.

Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
2011-01-11 17:53:19 -08:00
Svetoslav Ganov
0879ea3228 am 49c771c4: Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb
* commit '49c771c4da8bb7cf135e6afed3a901b1744beb67':
  WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.
2011-01-11 17:45:37 -08:00
Svetoslav Ganov
49c771c4da Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb 2011-01-11 17:43:01 -08:00
Svetoslav Ganov
012dd5a461 Renaming NumberPicker resources to be consistent.
1. The resources for the NumberPicker now start with 'numberpicker_' instead of the legacy 'timepicker_'

2. Removed unused resources.

Change-Id: Ide7c61df1936f174b6fffc778cba3a58b324556a
2011-01-11 17:02:46 -08:00
Adam Powell
431845609f am 16ffa6cb: Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb
* commit '16ffa6cb2d31d130bb0b58afca31c461c784ce5d':
  Fix bug 3338079 - Dialog styled activity decor
2011-01-11 15:59:54 -08:00
Adam Powell
16ffa6cb2d Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb 2011-01-11 15:58:29 -08:00
Adam Powell
32aa2c90ee Fix bug 3338079 - Dialog styled activity decor
Fixed a bug in FastScroller that could cause a crash on an empty list
in always-show mode.

Fix holo light button text color

Change-Id: I7b50043d715b9b870eb34808017d743ba64d2e08
2011-01-11 15:57:07 -08:00
Svetoslav Ganov
b01c3d2bf2 WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.
bug:3341772

1.  Now a key in the binding is represented as a long with 32 MSB for modifiers and 32 LSB for keyCode.

bug: 3340732

1. Added check in the WebView key handling code to diable the accessibility injector/injected script in
   case accessibility is been disabled after loading the content.

Change-Id: Ic3746dff16ec77ba682a5b139cec0e6afd8fc839
2011-01-11 15:11:30 -08:00
Huahui Wu
0a8fb4b21a am 3ee37b12: Merge "b/3331379 reduce ping-to-zoom jitter." into honeycomb
* commit '3ee37b12d598d7354fddb698bc6bdefb3b390f64':
  b/3331379 reduce ping-to-zoom jitter.
2011-01-11 14:02:46 -08:00
Huahui Wu
3ee37b12d5 Merge "b/3331379 reduce ping-to-zoom jitter." into honeycomb 2011-01-11 13:59:46 -08:00
Nick Pelly
9667f4d435 am 240cf3d1: am f54ad8da: Clean up transceive().
* commit '240cf3d17e40c012eb4a830d60f4a6a3607373f0':
  Clean up transceive().
2011-01-11 13:53:01 -08:00
Leon Scroggins
4709b69bb1 am 9fafe4e0: Merge "Find when pressing enter. Call onClickListener in TextView." into honeycomb
* commit '9fafe4e0ebab270591a505f1f07fd2e5489a16f7':
  Find when pressing enter.  Call onClickListener in TextView.
2011-01-11 12:43:20 -08:00
Leon Scroggins
9fafe4e0eb Merge "Find when pressing enter. Call onClickListener in TextView." into honeycomb 2011-01-11 12:41:52 -08:00
Shimeng (Simon) Wang
3ba9717e3c am c1960a60: Merge "Change function parameter from int to float." into honeycomb
* commit 'c1960a602037fc4a421e56794bbc581e650b3bcb':
  Change function parameter from int to float.
2011-01-11 12:30:35 -08:00
Leon Scroggins
7014b12873 Find when pressing enter. Call onClickListener in TextView.
Bug:3313519

In Find ActionMode, Enter should call find on page (rather than
advancing focus to the WebView).

In TextView, pass and Enter key down to super, so that the
pressed state can get called properly, and the
onClickListener will fire.

Change-Id: Ia875fa6b5cf02565a0d066a009e68ce97718b032
2011-01-11 15:17:34 -05:00
Huahui Wu
acd944cce2 b/3331379 reduce ping-to-zoom jitter.
Change-Id: I522c86661777e670776b9fb448dc3333cef8b77b
2011-01-11 11:32:34 -08:00
Shimeng (Simon) Wang
c1960a6020 Merge "Change function parameter from int to float." into honeycomb 2011-01-11 10:54:43 -08:00
Shimeng (Simon) Wang
5d8e7a444c Change function parameter from int to float.
This change has a corresponding change in external/webkit:
https://android-git.corp.google.com/g/#change,88118

issue: 3225233
Change-Id: Icff31ef5c440cb02671ed363f57a0a5549cb32ef
2011-01-11 10:52:44 -08:00
Robert Greenwalt
24bc5331cd am cef29578: Merge "Change local names for greater clarity." into honeycomb
* commit 'cef295780ade72a26201c0c92ed2b64fde03a261':
  Change local names for greater clarity.
2011-01-11 10:18:05 -08:00
Robert Greenwalt
cef295780a Merge "Change local names for greater clarity." into honeycomb 2011-01-11 10:15:21 -08:00
Robert Greenwalt
1b744ca49c Change local names for greater clarity.
Change-Id: I806284317c0c756260080b6c006b4c338b9cbc6d
2011-01-11 10:08:31 -08:00
Shimeng (Simon) Wang
fa1f3de00f am eafbce55: Ignore overflow:hidden in overview mode.
* commit 'eafbce55714dbd1f89fe8c131d9c2adcbbc9383e':
  Ignore overflow:hidden in overview mode.
2011-01-11 09:59:17 -08:00
Shimeng (Simon) Wang
eafbce5571 Ignore overflow:hidden in overview mode.
The feature was enabled to prevent flash sites from flickering due to
viewport height change when the site is scrolled.

Now fixed viewport height is in honeycomb, this flickering shall be
a non-issue.  So to support better scrolling of overflow:hidden sites
and better consistency, overflow:hidden in overview mode is ignored
as well.

Tested on flash site http://home.disney.go.com/mwc.index to make sure
no flickering happens.  More testing shall be done once good flash
player is there.

issue: 3330038
Change-Id: Ia3f61ce49cfb970d26976d4e876c337d210a9df2
2011-01-11 09:56:35 -08:00
Leon Scroggins
99263fecdc am d5208cf4: Merge "Enable write ahead logging on databases used by WebView." into honeycomb
* commit 'd5208cf42c0f9b281505cb465b4de4e8179a6f9f':
  Enable write ahead logging on databases used by WebView.
2011-01-11 09:26:57 -08:00