am fbbd2ace: merge from open-source master
am dad488c3: merge from open-source master
Allow interaction with page while Find is up.

In order to do this, I have changed the FindDialog from
an actual Dialog, which steals all touch events, to
a Linearlayout, which rests below the WebView.

Also dismiss Find when the user opens/closes a subwindow,
or navigates to a new page.

res/layout/browser_subwindow.xml:
Add an id to the holder for the subwindow, so it can be
used to add the FindDialog.

res/values/styles.xml:
Remove the style for FindDialog, as the animations are
now added in code (since FindDialog is now a LinearLayout,
which has no theme).

res/values/themes.xml:
Deleted, as the only theme there was FindDialog, which has
been removed.

src/com/android/browser/BrowserActivity.java:
closeFind is now the starting point for removing the
FindDialog, so that it can be called from Tab.
Close the FindDialog when a new page starts loading.
Call showFind on the current Tab.

src/com/android/browser/FindDialog.java
Change from a Dialog to a LinearLayout, so it can be
inserted into the layout.
Call closeFind directly, which now calls dismiss.
Perform the animations which were previously part
of the theme.
Remove the call to set the height of the find dialog,
which is no longer necessary.
Open and close the IME when opening and closing Find.

src/com/android/browser/Tab.java
Change pointer to mContainer to a LinearLayout, which is
used to add the FindDialog.
Add a pointer to BrowserActivity to SubWindowClient, which
is then used to close the FindDialog in onPageStarted.
Close find when adding/removing a Tab or its subwindow.
Add showFind, which attaches it to the layout for the tab,
and closeFind, which removes it from the layout.

Requires a change to frameworks/base

Change-Id: If6745fb65c5628da827781a7b98061e87b279844
Merge "improvement and fixes for bindings test"
Remember find input when reopening it.

Bug 2063074

Change-Id: Ic50711956d88b716e75a31171accf71a1910efbe
Merge "Remember find input when reopening it."
Close find in BACK rather than just dismissing IME

Bug 2641316

Change-Id: I2f706d2e7e3cce47c7a7db319fdcbac10b3780ad
Merge (-sours) commit 'cda8600237ad458e9579b34541ef6fa3504e10b4' into HEAD

* commit 'cda8600237ad458e9579b34541ef6fa3504e10b4':
  Close find in BACK rather than just dismissing IME
  Remember find input when reopening it.
  Allow interaction with page while Find is up.
Added methods and preferences to allow full screen and hiding of zoom controls.
Browser: User-Agent

Add preference options for user agent.

Add user agent dialog title into string values.

Move user agent preference into correct scope.

Add gingerbread as an option and default to it.

Add break; to proper places in switch statement.

Fix whitespace.

Take out duplicate strings, add Build.MODEL to froyo UA.  Add IE 6 and Linux Desktop.  Distinguish Linux/Mac Desktop.

Change-Id: I4cb143af5752fa562eb2d187cef8a7d2e5c7bf5a

Add an Eclair user agent for websites which assume Flash support when device is using Froyo or Gingerbread user agent.
An example of a website with this issue is filmon.com
Using the iPhone user agent isn't possible in streaming video sites as they often send non compatible video.

Change-Id: I38b7d05e7ee6d17694447d27c3cb4963ca83e476
Added control for turning text reflow on/off.