summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
Commit message (Collapse)AuthorAgeFilesLines
* fix title barMichael Kolb2011-03-231-9/+19
| | | | | | | | Merge code from TitleBarXLarge down into base to support omnibox in both tablet and phone browser Change-Id: If54f3b162725411236f0b0676887bbcbdabadd25
* Hack to workaround b/4136071John Reck2011-03-181-5/+0
| | | | Change-Id: Idea9fe38cb44c454bd3e850ef487118aa025d5e7
* use BrowserWebView for all UIsJohn Reck2011-03-181-0/+19
| | | | | | Rename ScrollWebView->BrowserWebView Change-Id: Icce042be4ad054b1fc3d5c0f9500f8ea112479a4
* Merge "Partial revert of CL 101621" into honeycomb-mr1John Reck2011-03-141-2/+9
|\
| * Partial revert of CL 101621John Reck2011-03-141-2/+9
| | | | | | | | | | | | | | Bug: 4089739 This fixes the tab switching flicker regression Change-Id: Ica3cd0e54e0cce53fbe89653ba5e41e357c68989
* | Merge "Add new auto-login UI." into honeycomb-mr1Patrick Scott2011-03-141-0/+13
|\ \ | |/ |/|
| * Add new auto-login UI.Patrick Scott2011-03-101-0/+13
| | | | | | | | | | | | | | | | | | When the WebView notifies us of an auto-login request, check if the account is valid. If so, use it to log into the account manager. If that fails or the account is not valid, display the login UI. Bug: 3367381 Change-Id: I5a164ef676921eec03a89860fa5be722d3d987d4
* | Animate url bar hide/showJohn Reck2011-03-141-9/+2
|/ | | | | | Bug: 3443911 Change-Id: I3121371a784d17183a62dd8f9323de900b792b21
* add menu options to qcMichael Kolb2011-03-091-0/+5
| | | | | | | | Bug 4071315 Use the standard menu items to popuplate a menu from within quick controls Change-Id: I80d483ab2ce054e9b70ff4c6b0d6e0d9be783dc4
* fix action appearing after cabMichael Kolb2011-03-081-0/+4
| | | | | | | | Bug: 3426763 Due to a bug in frameworks, the action bar re-appears after being hidden this CL works around the bug by posting the hide Change-Id: I253bdaa3a5a76ffe82e665b915d8a9f7101ff7c6
* Merge "Implement the psychic search engine."Bjorn Bringert2011-03-031-0/+4
|\
| * Implement the psychic search engine.Narayan Kamath2011-03-021-0/+4
| | | | | | | | | | | | | | | | | | | | (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
* | add tab switch animationsMichael Kolb2011-03-021-4/+12
|/ | | | | | | | Bug: 3446585 Bug: 3281140 Cross fade between the current and the new tab Change-Id: I403e40b02e3f77806dc5ed3ebecd01afc508f68f
* Fade in animation for bookmarksJohn Reck2011-02-181-0/+6
| | | | | | Bug: 3368824 Change-Id: Iefa77f32e74f50024d79879bf1a0362d086b2b17
* Merge "fix NPE in setShouldShowErrorConsole"Michael Kolb2011-02-171-0/+1
|\
| * fix NPE in setShouldShowErrorConsoleMichael Kolb2011-02-171-0/+1
| | | | | | | | | | | | | | | | | | Bug: 3405955 The delayed start of the controller due to the auto-login can leave the browser with no tab; this change checks the current tab before accessing it. Change-Id: If1bb6de22c837fd2190e6b9220a194ba64ce345c
* | Phone UI title bar workJohn Reck2011-02-161-1/+4
|/ | | | | | | | | Updated progress bar to holo and below URL bar Removed spinner Swapped stop/bookmark with new assets Wired up bookmark listener to change star state Change-Id: Ie91ae446cc1c429ce4a1662cc337202aaf7877c3
* fix shortcut handlingMichael Kolb2011-02-161-0/+2
| | | | | | | | | | | | | | 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
* Remove second url barMichael Kolb2011-02-111-41/+37
| | | | | | | | | | 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
* fix IME bugMichael Kolb2011-01-311-1/+2
| | | | | | | | | | http://b/issue?id=3406328 http://b/issue?id=3406389 hide title bar before removing tab to avoid IME triggered by focus change removed unnecessary call to hideComboView Change-Id: Ia559bae8bc98aed9325e715696f20833ecf5916f
* Use the new API to control lights out mode.Joe Onorato2011-01-251-3/+3
| | | | | Bug: 3241144 Change-Id: Ie4c0a3ca608e439d25f6ae4d0a8d4e4b1939ab33
* hardware keyboard supportMichael Kolb2011-01-251-1/+3
| | | | | | | | | | | http://b/issue?id=3368141 http://b/issue?id=3368100 Removed duplicate key handling added focus transition from page to url bar once framework bug http://b/issue?id=3381411 is fixed, focus transitions in url bar will be fixed Change-Id: Id5011e78bf70d51a25a4e01cf31d9e6ad95ceab7
* fix tab NPEMichael Kolb2011-01-241-1/+1
| | | | | | | http://b/issue?id=3381168 add check if tab is null when attaching a tab Change-Id: I2e53b242be829c6ed2e6eb22539eb71bee0269bf
* Disable SearchSuggestions in incognito modeJohn Reck2011-01-241-0/+3
| | | | | | Bug: 3336558 Change-Id: Ie88eddee0f4931a206ba45cec708cdbb69cce008
* asset drop & namingMichael Kolb2011-01-201-1/+5
| | | | | | | | | drop in new assets get naming in sync with UX Note: not all resources are included yet item_background...xm will be enabled when all required resources come in Change-Id: I321084abd25ef6c533f1f3da636a246e7ee00547
* hide webview when coveredMichael Kolb2011-01-181-2/+6
| | | | | | http://b/issue?id=3360921 Change-Id: I10e0df39fa5b686619bafd3708a249890326a259
* Bookmark UI updateJohn Reck2011-01-141-8/+1
| | | | Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
* Overhaul handling tab data updatesJohn Reck2010-12-171-79/+23
| | | | | | | | | | Bug: 2127502, 3191165 Pushed some state tracking to the tab for URL, title, favicon, and lock status. This allowed me to remove many duplicate methods of updating that data, preventing the UI from getting out of sync with the web view. Change-Id: I995caa98068ad03ca37710207b5ab57bb9d801ab
* Add quick controlsMichael Kolb2010-12-151-16/+0
| | | | | | | | Bug: http://b/issue?id=3277888 Added Quick Controls Lab setting Implemented Quick Controls UI Change-Id: I72011daf9140aa5d15c8b785126867c10bbc5501
* Spec update for Bookmark widgetJohn Reck2010-12-151-0/+3
| | | | | | | | | | Bug: 3286323 This updates both the assets for the bookmark widget and slightly alters its behavior to match the updated spec. There are now two touch targets in the header, one launches the browser and the other launches the bookmarks view. Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e
* Enable voice searchMichael Kolb2010-12-151-0/+4
| | | | | | | | | http://b/issue?id=3039695 send voice search intent implement voice search title bar also fixes another Urlbar focus handling bug Change-Id: Icdcbec9ffff586d445545cc7fe86ca045022f381
* Split UI based on screen sizeMichael Kolb2010-12-141-294/+79
| | | | | | Different UI implementation for normal and xlarge screens Change-Id: I8217ffd16e1f87b248a22426b17fa34b3a4f89df
* Add title bar indicator to tabMichael Kolb2010-12-131-3/+3
| | | | | | | | Bug: http://b/issue?id=3184567 When the url bar is scrolled off the screen, the current tab shows an indicator Change-Id: I5a1f11bac09304c81857496b4bb7662656ef225a
* fix urlbar focus handlingMichael Kolb2010-12-131-4/+12
| | | | | | | | | Bug: http://b/issue?id=3275805 Entering url edit mode is controlled by the UI class Only the overlay title bar is used for editing Url selection action mode does not hide overlay title bar Change-Id: Ib528c641ba6cebb3a62de498ef3974a6117369df
* New tab renderingMichael Kolb2010-12-101-0/+7
| | | | | | Rendering tabs from a fixed background asset Change-Id: Ic02ed0c059486c2bb8157f19012f98099bf7e75a
* Warn user when max number of tabs is reachedMichael Kolb2010-12-101-0/+8
| | | | | | | Bug: http://b/issue?id=3123994 A toast is shown when the max number of tabs is reached Change-Id: I5008e227c91139147920fd214f184061f816a353
* Update each Tab when the bookmarks database changes.Leon Scroggins2010-12-071-1/+0
| | | | | | | | | | | Bug:3222677 When the bookmarks database changes, we may have added or removed a bookmark. For each Tab, make sure that it knows whether or not it is a bookmark, and update the UI accordingly. Change-Id: Ie91008973c2841dc7367e38ad5db40bf25b1dddf
* fix ComboPage dialog/popup/IME bugMichael Kolb2010-12-061-2/+19
| | | | | | | | | | | Bug 3166409 Put the tab in background while ComboPage is up this prevents dialogs from getting displayed Bug 3215897 make sure the IME is closed before ComboPage is displayed Change-Id: If832e040e2fa9acb12f45a3e9f681d1fd333f3b0
* cleaned up resetTitleAndIconMichael Kolb2010-12-061-4/+3
| | | | | | eliminate unnecessary tab lookup Change-Id: I4d7f04fb13e5c5a5c5405b58c0853de8c0da44c8
* Show a highlighted star for bookmarked pages.Leon Scroggins2010-12-061-0/+10
| | | | | | Bug:3222677 Change-Id: Ifeb6e7a922c0defb1e4a88ded0c188b97e0a4a56
* Change homepage setting handlingJohn Reck2010-12-031-11/+5
| | | | | | | | | Bug: 3247095 Tweaks the setting of the homepage setting. Replaces the "set to..." dialog with 2 buttons, and user can now enter a blank url to get a blank page with title "New Tab". Change-Id: I95bcfcd241db4b9efbde645100d2fd44c980e061
* Fix video view is not dismissedMichael Kolb2010-11-301-0/+3
| | | | | | | Bug: 3240426 dismiss video view when browser goes into background Change-Id: I2276fcc5d510c656f665ba048ad9c67d3002c989
* Move Tab layout code to UIMichael Kolb2010-11-301-0/+18
| | | | Change-Id: Ic2d81345883bba22329b4f805c44a68b14e174e3
* move subwindow handling to UIMichael Kolb2010-11-221-0/+44
| | | | | | | | | added sub view creation to WebViewFactory removed WebView from subview layout use WebVIewFactory for creating the SubWebView moved layout/view related code to UI Change-Id: Id5b1905e4c36814fe7cc047cbd97128235d7e65e
* fix current tab has no webview bugMichael Kolb2010-11-221-4/+12
| | | | | | | | http://b/issue?id=3214823 setCurrentTab is called before setting the active tab in the UI this guarantees the active tab has a webview Change-Id: I5d56c42be5a19389d7bc2cc0c41039bb90cc8478
* restore all tabs on demandMichael Kolb2010-11-191-0/+14
| | | | | | | | Bug: 3214151 introduced new flag to determine if all tabs should be restored controlled by the Ui implementation Change-Id: I3e296f87a93fae54693bca186bb06ecd6db11d02
* Controller RefactorMichael Kolb2010-11-171-0/+829
Bug: 3170671 First step towards a model/view/control design in Browser introduced Controller object started separating UI code represent state of the app in one place only Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f