History log of /packages/apps/Browser/src/com/android/browser/UrlInputView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36b87b1acb4212147a9d5a2b159a174413050863 27-Feb-2014 Sungmann Cho <sungmann.cho@navercorp.com> Fix the problem that the layout of the suggestion drop down list does not fit to the screen width when an orientation changes.

Steps to reproduce:
1. Set the orientation of the Browser to landscape mode.
2. Type some keys in the url input view to show some suggestions.
3. Set the orientation to portrait mode again.

What heppended:
The width of the suggestion layout exceeds the screen width.
The arrow icon on the right side couldn't be seen.

Additional comments:
On some devices, setupDropDown() doesn't work correctly.
On the Samsung Galaxy S3, for instance, setupDropDown() produces left-hand margins.

The simplest way to fix these problems is to call setDropDownAnchor() when the url input view is created.

Change-Id: Icfe979033da235a960b8b306f291802cb7c46646
Signed-off-by: Sungmann Cho <sungmann.cho@navercorp.com>
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
5ff5c8b88968fa794eab4b7a263cae25f05bd4d3 03-May-2012 Michael Kolb <kolby@google.com> Remove voice search handling

Bug: 6439925

Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
4bb6fcb473ec4b2ce4cddf573280fd47f21a20c7 13-Apr-2012 Michael Kolb <kolby@google.com> fix QuickControls url input IME

Change-Id: I9c8cfef29c94d19d82a39d64a888209f5917ddb7
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
1082b02f25d6af2344da6ff4404846a4a2e68ff3 13-Apr-2012 Michael Kolb <kolby@google.com> Don't force keyboard on focus change

Bug: 6332623

Let frameworks do its thing.

Change-Id: I6c3bc46b8f3deb47df5d7886a4c66931f3a3c62e
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
f3174a588cdf63ef59055998c23aad4b36b7856e 17-Nov-2011 Narayan Kamath <narayan@google.com> Remove the psychic labs feature.

Reverts the UrlInputView to a standard autocomplete
that causes less trouble for IMEs.

bug:5598837
Change-Id: If469d76f4feda88e4a122264a39d317737404578
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
8d021aa02f8f9e7f167649dbe83832827b0454e3 07-Sep-2011 John Reck <jreck@google.com> Grid align omnibox on tablet

Bug: 5155161
Offset for popup window padding

Change-Id: I586bdfdffdd0c21466001492ecae8d74f3581617
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
94ec527ac5b4d4ca245c878de4eb559658a55d4d 01-Sep-2011 Michael Kolb <kolby@google.com> Fix focus highlight bug

Bug: 5240233
post the layout change on state change
add clear button when editing

Change-Id: I9db16619cd39611153503b28757d4b16e52ab9e3
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
5e8f2b9cf44263ac77a21653eb3c012a98c3587f 19-Jul-2011 Michael Kolb <kolby@google.com> show voice icon if in voice mode

Bug: 5005932
The voice icon is shown in the url bar in non-focused
state when there are voice results

Change-Id: Id89052938768cb1b4e17895986d49129df78017d
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
305b1c51f5e0d48a59d0e7c646b6cd0bc777a5dc 22-Jun-2011 Michael Kolb <kolby@google.com> Titlebar on phone UI update

introduce new states for titlebar:
normal, highlighted, editing, loading

Change-Id: I8a6f88afc3457a07063aba40ef4d3e5f6c806b8f
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
74e60c2d77ee84e6f2b5311dc465e2933d304fb8 01-May-2011 Michael Kolb <kolby@google.com> fix url editing scroll bug

Bug: 4262017

Change-Id: I95991847277ece1027e0e9a9d1f6591910ae3ff4
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
35e9dd6283a2d65687104eb0b3a459c02dcb150b 25-Apr-2011 John Reck <jreck@google.com> Browser settings refactor

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
8a4c38243de9d19162c883d3b20df65f8bcba81a 15-Mar-2011 Michael Kolb <kolby@google.com> fix qc urlbar position and show in auto-login

Bug: 4108540
Show the url bar when auto-login is in progress
Move url bar to top in QuickControls to work with instant
search
Remove suggestions reversal

Change-Id: I0040fa74dd26b5eecdab278c0104199fe5269aba
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
02f97585a675aba7ae81554060bbf2d526b76c61 03-Mar-2011 Bjorn Bringert <bringert@android.com> Merge "Implement the psychic search engine."
57996ae649fbfc157ec360f86d154e0c3b57b9ad 03-Mar-2011 Bjorn Bringert <bringert@android.com> Merge "Add autocomplete to the browser UrlInputView."
2a56ecaf153d788a1acebc54b670347a1a58d693 25-Feb-2011 Michael Kolb <kolby@google.com> add haptic feedback, fix QC

reduced number of QC entries
fixed qc behavior with new titlebar
add haptic feedback to qc selection
change qc rendering from flat paint to bitmap shader

Change-Id: I4b89fea1aec7ce680147f663f2c22d0d369f4194
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
5119edd5744cfc6d3a8ed480a8853586c737bed4 23-Feb-2011 Narayan Kamath <narayan@google.com> Implement the psychic search engine.

(a) Add a new subclass of SearchEngine that receives
suggestions provided by psychic and displays them in the
suggestions dropdown.
(b) Add a Labs setting that can turn this feature on or
off.

Change-Id: Icae05b6b55f489278028e5af560d9b36014a0f59
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
80aad8d851601d39f73214c198111ca49e25f654 23-Feb-2011 Narayan Kamath <narayan@google.com> Add autocomplete to the browser UrlInputView.

Code and tests based on the google search app. A lot
less code would be duplicated if we could somehow
override AutoCompleteTextView but that is made impossible
by it calling a bunch of stuff in its constructor. To do
so would require changes to the existing API.

I've verified that the unit test passes, but other browser
tests appear to fail - even on a clean branch with none
of my changes.

Also fixes a minor bug in SearchEngines.getSearchableInfo( ).

Change-Id: Ic61bc6b8fa27cd210a45dc181ebf15accf503244
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
dc2ee1bfb50b7bec0cf3215e3d298b246dc71101 14-Feb-2011 Michael Kolb <kolby@google.com> fix shortcut handling

Bugs: 3400078
3270434
3368141
3381411

Fixed controller to check for menu & ctrl keys for shortcuts
Changed focus handling in url bar
Keyboard focus transitions are not 100% working yet, but it's possible
to navigate to all the elements

Change-Id: I514d85a37dae2589e3ce1ecb18c7fc0bf4e715f3
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
92026735c1097fd71c6d50410e2af93e077381cd 15-Feb-2011 John Reck <jreck@google.com> Switch the phone to use the omnibox instead of qsb

Initial changes, needs more work

Change-Id: Ic9bbe4eb8e95212baa7c40813217f01d9efdf286
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
7cdc4906fc5852297a9a254c3251ad2f4dead6ee 04-Feb-2011 Michael Kolb <kolby@google.com> Remove second url bar

Remove the overlay "fake" titlebar by telling the
WebView where to render the embedded titlebar
Simplify focus handling
requires Ic979b641c8cc80acb83eeab49c4f700fc5c50e72
in frameworks/base

Change-Id: I7896cd731949fdcc47cd18abfee5ef947b0e8cee
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
47171d85e40b3d89e347f950d157036f6b0c1d8d 28-Jan-2011 Michael Kolb <kolby@google.com> fix focus handling in url input

http://b/issue?id=3373046
removed focus updates from focus listener

Change-Id: I48fdb39053dce7546038022f7aee671fe97047df
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
91902d5db3dcbd161bf824620567e210d6f4fcbe 27-Jan-2011 Michael Kolb <kolby@google.com> fix suggestion dropdown offset

http://b/issue?id=3394446
adjust offset to new bckground resource
and adjust based on quickcontrols mode
Change-Id: I93d096e6465f91fcbb01941aa3f746f5e3f77354
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
b77bdc4dddf867e49a0157ca56119b85e12fb440 24-Jan-2011 John Reck <jreck@google.com> Special case searching in incognito mode

Bug: 3336558
The default flow when the user hits enter in UrlInputView is handled
by IntentHandler. If the input isn't a URL, it is treated as a search
request, which is causes an intent to be fired off from the search
engine. This is logged, which we can't have in incognito mode. For now,
handle this by having the UrlInputView detect search requests, lookup
the search engine info, and use that to build the search request URL
directly, previnting logging.

Change-Id: I4b98240f4b2aff265638b53cb65677bc1bd507c0
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
117f07d08e3e25e3c920a1dabe31dcd7643bacb2 24-Jan-2011 John Reck <jreck@google.com> Disable SearchSuggestions in incognito mode

Bug: 3336558

Change-Id: Ie88eddee0f4931a206ba45cec708cdbb69cce008
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
87369eaa86190d500e80b5af663c3019249f77f3 24-Jan-2011 John Reck <jreck@google.com> Fix keyboard enter in omnibox

Bug: 3381363
Fixed by a partial revert of change 89542 which accidentally
removed the OnItemClick listener.

Change-Id: I102dd44fb15472d16499804adf8a7a171873970c
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
bd2dd64dda88ca8a7c2b148d88c5a44e73e1c331 13-Jan-2011 Michael Kolb <kolby@google.com> fix voice search suggestions

http://b/issue?id=3348242
In voice search mode, make sure the suggestions are
routed via tab's activateVoiceSearch

Change-Id: I464f186510047a1d2b0d6b2be7809ec66ec74b22
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
1605bef4e1f99805a801308f97ade622b907dc7a 11-Jan-2011 John Reck <jreck@google.com> Reverse suggestions for quick controls

Reverses the URL suggestions when in quick controls mode

Change-Id: Icd010f4b5803a8633f5b41fb393a91ff0c2206cb
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
ad373302b1e1a322144f818340fdce60f0eee403 18-Dec-2010 John Reck <jreck@google.com> Single column omnibox and pressed selector

Bugs: 3275725, 3270476
Converted omnibox to single column in landscape, made each item
slightly smaller to fit 5 instead of 4 rows in landscape,
added the correct pressed selector, and added basic keyboard support

Change-Id: I0b2774817f055c1b17289a33975ed4f8f088db45
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
cfa3af5c59abb38c895416a80ef16da0ec1b5287 14-Dec-2010 Michael Kolb <kolby@google.com> Enable voice search

http://b/issue?id=3039695
send voice search intent
implement voice search title bar
also fixes another Urlbar focus handling bug

Change-Id: Icdcbec9ffff586d445545cc7fe86ca045022f381
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
31d469bca6f6d5a8b444b7dac8038a1b75cd7e43 10-Dec-2010 Michael Kolb <kolby@google.com> Update url bar look & feel

updated assets, layout, search behavior

Change-Id: I05543e57cb9a69e3a7cb5fe9a27648fd7196e51e
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
257cc2c8fcdd7117317e89861d4509955a622be8 09-Dec-2010 Michael Kolb <kolby@google.com> add source type to search queries

Bug: http://b/issue?id=3237688
add the source extra to search queries based on the source

Change-Id: Id39083a5904c7ff98431e7e625871f920f634bcf
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
ba99c5d1a71c384c930152f7c98e2fbe15bd1e85 29-Nov-2010 Michael Kolb <kolby@google.com> Url bar selection handling updated

Bug: 3222647
framework has been updated to change the way tap/double tap
and long press are handled
url bar uses a custom action bar to add the share option

Change-Id: Ie75fc07fe71c9e16fc7f83deda8ecddea39b0397
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
dcda1d517fe1d8878a476f4ae6ecf244dbd976f4 29-Nov-2010 John Reck <jreck@google.com> Fixes crash on empty url

Bug: 3229882
This fixes a browser crash when the user would hit enter with an
empty URL bar.

Change-Id: I6af056e6b086b9b6c19d3b354d950d2fb2411b1f
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
35defffe93d70e9d5b37ff550968debdcd5d3d8b 11-Nov-2010 John Reck <jreck@google.com> Greatly improved suggestion result speed

Bug: 3201805
This change does 2 key things. The first is it supports recycling
views. The second is local suggestions (bookmarks and history) no
longer wait for remote suggestions (search suggestions)

Change-Id: Ic659ce486a5b674490248b8c1ffb9a8c24afe609
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
40f720ecfd4ef7ebb657f0fc1906a9982b3bafbd 10-Nov-2010 John Reck <jreck@google.com> Omnibox supports search extra data

Bug: 3025590
Fix the omnibox to support passing on SearchManager.EXTRA_SEARCH_DATA
in searches done from the suggestion adapter.

Change-Id: Ica6462ef27722c3bbcc0508178ce431e87e27e86
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
b1402a5c3e1617867c58d32d1fe9782cf6de423f 12-Oct-2010 Bjorn Bringert <bringert@android.com> Remove some unnecessary use of hidden APIs

Change-Id: Ie72947017550d759994e34d7db8087d1f9e6d63a
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
c5998c2068933250cbacb9c904b45b8608835d18 11-Oct-2010 Michael Kolb <kolby@google.com> fix dropdown width issue

http://b/issue?id=3041817

Change-Id: I9bd7de3a2f0d742739a1b8bf2011314ebc617eca
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
21ce4d295802db811873b46e7821abfa0540dab2 15-Sep-2010 Michael Kolb <kolby@google.com> new two column suggestion dropdown
http://b/issue?id=3039704

Change-Id: I8b32553682cc547c695d0089e6633ead77426869
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
513286f421ad4aadc4d016d455ea7c520a0f2f59 09-Sep-2010 Michael Kolb <kolby@google.com> UI theme work
fixed styles for action bar
changed URLInput layout
suppress selection acion mode for url input

Change-Id: Ia5dbab792057b7d172e797c01f07f06ca190c88b
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
c7485ae06c6d5d33c57a03d02bbeed54edb3c66f 03-Sep-2010 Michael Kolb <kolby@google.com> checkpoint for moving UI to Holo style
mostly final assets
dialogs are not styled correctly

Change-Id: Ib98312ca9465ded3efc2743f9828fe9a815814cc
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
ed217745066c160f785626e9a15ebe70af5e25e4 11-Aug-2010 Michael Kolb <kolby@google.com> switched to using action bar for large screen

Change-Id: I33b6bcd78d4983e0ce1b503d3756687588dd8ed0
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
a2b2ba8da913f26c820e49d3e43158e2fe6ebeba 05-Aug-2010 Michael Kolb <kolby@google.com> UI revision for tabbed browsing
bug # http://b/issue?id=2712871

separated tab bar from url bar
subclassed webview for scroll listener
added search button support

Change-Id: Ib9bd0c7e815e2ef08cdd20334daf61263cd52938
/packages/apps/Browser/src/com/android/browser/UrlInputView.java
fe25199a6f975c67d28afcc1de56b0f987b66cd8 09-Jul-2010 Michael Kolb <kolby@google.com> tabbed title bar work
bug # http://b/issue?id=2712871

added tab bar
added tab status callbacks to Tab and TabControl
added compact progress/stop/refresh button
added UrlInputView for auto-complete suggestions
modified BrowserProvider for url input suggestions
modified BrowserActivity to use TitleBarXLarge

Change-Id: I62db2be5b89f4c4f27c09dbc6fee7b3b0d5e91b5
/packages/apps/Browser/src/com/android/browser/UrlInputView.java