summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/TitleBar.java
Commit message (Collapse)AuthorAgeFilesLines
* Browser: Fix Progress bar when quick Controls EnabledDan2015-11-071-0/+3
| | | | | | | The quick controls progress bar was broken by my browser autohide patch. This patch fixes it to properly show again. Change-Id: I1062c4eac26bbc87ca6ec9de775e0b1b58d0542b
* Reimplement titlebar autohiding to be compatible with chromium webview.Dan2015-11-071-7/+15
| | | | | | Patch Set 4: Fix code formatting Change-Id: I4de873f7c089d4f7dede944d05f48d03000f3d99
* De-classicify Android Browser part 2Jonathan Dixon2013-08-251-34/+4
| | | | | | | | | | Bug: 10427705 Allows Browser to compile even when WebViewClassic is no longer in frameworks/base. The deleted functionality was already disabled at runtime when using non-classic webview. Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
* De-classicify BrowserJonathan Dixon2012-12-171-0/+1
| | | | | | | | Removes the hard run-time dependency on WebViewClassic. (Still needs visisbility of it to build though) This is needed to enable chromium webview testing. Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
* Use a fixed title bar if accessibility is enabledJohn Reck2012-09-041-0/+8
| | | | | | Bug: 6940152 Change-Id: Id6f694d8334a7c50f2e6f6c481bbb3cff847860f
* Add null checkJohn Reck2012-05-301-1/+1
| | | | | | Bug: 6584413 Change-Id: I63e94129fb0830e87d47ffca1d402a8aa838ac20
* Make sure focusSearch doesn't return a detached webviewJohn Reck2012-05-301-2/+4
| | | | | | Bug: 6535227 Change-Id: I18bf24117d8ffcbbd440b2a47b2db422e41894f4
* Disable fixed title bar in quick controlsJohn Reck2012-05-231-3/+8
| | | | | | Bug: 6546959 Change-Id: I7511497869ddf7b5107d73c378b88a6363d08ce6
* Fix portrait's fixed title barJohn Reck2012-05-181-24/+51
| | | | | | Bug: 6468013 Change-Id: Ia6ee9645df9ebb8aa98734efef45b57db94651f7
* Don't hide URL bar for tablets in portraitMichael Kolb2012-04-301-0/+12
| | | | | | Bug: 6420325 Change-Id: Ic3b0f4b99d831c31f349531d5c2b307543f1ed97
* Fix QuickControls after title bar tweaksMichael Kolb2012-04-251-4/+4
| | | | | | | | Bug: 6398599 Minor cleanup in title bar code. Change-Id: I55357acb86050e549d80d44d99f4a89ed1e49e9d
* Title bar tweaksJohn Reck2012-04-191-1/+2
| | | | | | | | Bug: 5677901 Delay hiding after page load Show for duration on tab switch Change-Id: Ie962cd86fd3bd6f5d10a807db1638e9cbdbfef67
* Don't embed titlebar in WebViewMichael Kolb2012-04-031-22/+21
| | | | | | | | | Bug: 5032345 The titlebar gets attached to an overlay and tracks the scrolling of the WebView at the top of the page. Change-Id: I60b2163bb7a3642813823995278722455f566f36
* Replace TitleBar sub views with a ViewStub.Ben Murdoch2011-08-181-8/+40
| | | | | | | | Optimise startup performance by using a ViewStub for TitleBar views that aren't needed until later. Bug: 5179151 Change-Id: I87cf23cbd1e3b818a566c95dc6bb9cc1ff366587
* Snapshot title barJohn Reck2011-07-131-3/+23
| | | | | | Bug: 4982126 Change-Id: I67931d39e3a3ce535b38197ebeee1651241d1a60
* TitleBar refactorJohn Reck2011-07-111-0/+341
| | | | Change-Id: I0a2df041529143c8e0ff17af341376a3f827be04
* fix title barMichael Kolb2011-03-231-198/+0
| | | | | | | | Merge code from TitleBarXLarge down into base to support omnibox in both tablet and phone browser Change-Id: If54f3b162725411236f0b0676887bbcbdabadd25
* unify voice search codeMichael Kolb2011-03-201-24/+3
| | | | Change-Id: Icf1fc84405d08da8504ac91094e67c7d8d1c901d
* use BrowserWebView for all UIsJohn Reck2011-03-181-0/+8
| | | | | | Rename ScrollWebView->BrowserWebView Change-Id: Icce042be4ad054b1fc3d5c0f9500f8ea112479a4
* Phone UI title bar workJohn Reck2011-02-161-48/+13
| | | | | | | | | 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 title bar button handling on phoneJohn Reck2011-02-151-14/+28
| | | | Change-Id: I1bf298b93a54dd379a06d4752ae4ea7a65ad6950
* Switch the phone to use the omnibox instead of qsbJohn Reck2011-02-151-142/+29
| | | | | | Initial changes, needs more work Change-Id: Ic9bbe4eb8e95212baa7c40813217f01d9efdf286
* Only edit existing bookmark when bookmarking from the title bar.Leon Scroggins2011-02-111-1/+1
| | | | | Bug:3425178 Change-Id: I32341270440231a870dad5b007d218654760548b
* Change homepage setting handlingJohn Reck2010-12-031-2/+2
| | | | | | | | | 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
* Controller RefactorMichael Kolb2010-11-171-47/+59
| | | | | | | | | | 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
* Incorporate save to home screen with add bookmark dialog.Leon Scroggins2010-10-221-1/+2
| | | | | | | | | | | Bug:2953515 Remove the initial popup menu when pressing the star that selects between saving to home screen and saving to bookmarks. Instead, once the add bookmark dialog is open, the user can select between bookmarks and saving to home screen. Change-Id: I35e8590ff6a2a7c2058e45e4f77ec6b5d209b0f9
* checkpoint for moving UI to Holo styleMichael Kolb2010-09-081-1/+1
| | | | | | | mostly final assets dialogs are not styled correctly Change-Id: Ib98312ca9465ded3efc2743f9828fe9a815814cc
* Improve the visibility and discoverability of the "add shortcutBen Murdoch2010-07-091-1/+1
| | | | | | | | | | | | | | | to home" functionality in the Browser. When the user selects the bookmark button adjacent to the URL bar they will be prompted to either add a new bookmark for the current page or add a shortcut to the current page to their homescreen, rather than being taken to the bookmark management activity. The bookmarks button on the options menu will still take the user directly to the bookmark management activity. Bug: b/2794945 Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
* Initial work on new browser barLeon Scroggins2010-06-161-56/+4
| | | | | | Bug 2712871 Change-Id: Id1c76b05a5f126a4a68369a32dda8975fc1d2e6b
* Use the green box's padding, and not the TitleBar's padding.Leon Scroggins2010-04-151-2/+2
| | | | | | Bug 2566133 Change-Id: Ia780bcc74ad7317dfeea3adfc9a8c5eb4609d1f2
* Use new assets for green box in voice title bar.Leon Scroggins III2010-04-091-2/+5
| | | | | | | | | | | The new assets have a better margin to match the other search field textfields. Also update title_voice.xml to use a pressed state that matches the new assets. In TitleBar.java, do not clear out the vertical padding in voice search mode. Bug 2566133 Change-Id: Icb15d0660d2f06363e66adbdd92537e34b90b64e
* Add "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to theMike LeBeau2010-04-011-0/+5
| | | | | | voice search intent, as discussed in http://b/2546173 Change-Id: I60650d096a874cfe089a4ba691c9ae44802f2419
* Lessen the difference in appearance of title bar during load.Leon Scroggins2010-03-311-40/+9
| | | | | | | | | | | | Change to using textfield_search_empty assets, which have margin values that better match the assets used outside of a load. As a result, there is no longer a need to edit the LayoutParams in TitleBar.java. However, do set the padding in TitleBar.java, since it needs to be set for each of the different backgrounds used. Fixes http://b/issue?id=2558919 Change-Id: Idf0d8bea59bcc76c32e1e03bf736a4b64bf31887
* Show stop button in a pressed state when pressed.Leon Scroggins2010-03-221-7/+8
| | | | | | Fix for http://b/issue?id=2533372 Change-Id: I9a614a95f5537d17c9cb89e96afe6c21fc56d59a
* Use a margin to make the title bar stay the same size while loading.Leon Scroggins2010-03-161-2/+43
| | | | | | | | | Allows title_bar to use wrap_content, and therefore be able to show multiple lines of text in voice search mode. Fixes http://b/issue?id=2510376 Change-Id: If196f63577b6606be0129ee224842dc858f5931a
* Attach the stop button to the textbox in the title bar.Leon Scroggins2010-03-041-9/+21
| | | | | | This also required using different assets for the title bar background. Fix for http://b/issue?id=2485473
* When long pressing on title bar, do not use WebView in onCreateContextMenuLeon Scroggins2010-02-231-1/+2
| | | | | | | Fix for http://b/issue?id=2456405 Override TitleBar::createContextMenu to call BrowserActivity's onCreateContextMenu directly, so that WebView is ignored, and we only get the options for TitleBar.
* Clear omnibox when pressing search key.Leon Scroggins2010-02-161-1/+1
| | | | | | | | Fix for http://b/issue?id=2442426 No longer override onSearchRequested, so that pressing the search key behaves normally. For touching the title bar, use the old onSearchRequested (renamed to editUrl).
* send broadcast intents to voice search for logging purposesLeon Scroggins2010-02-091-0/+18
| | | | Fix for http://b/issue?id=2390720
* Do not ellipsize the title bar in voice search mode.Leon Scroggins2010-02-081-0/+3
| | | | | | | | Fix for http://b/issue?id=2427828 Apparently TextView, when set to ellipsize="end", will truncate before going to three lines. Turn off truncation when in voice search mode.
* Trim the extra whitespace before passing to SearchDialog.Leon Scroggins2010-02-081-1/+1
| | | | Fixes http://b/issue?id=2427810
* Update look of title bar when in voice search mode.Leon Scroggins2010-02-051-2/+20
| | | | | | | | Fix for http://b/issue?id=2390713 Add the arcs to the end of the title. Change to multiline. Use the standard long press look.
* Handle the voice search intent.Leon Scroggins2010-01-291-9/+28
| | | | | | | | Once the voice search intent has been handled, the title bar background changes to green, and touching it displays other voice search possibilities. Fixes http://b/issue?id=2390686
* Always show the voice search button in the browser title bar when in voice ↵Leon Scroggins2010-01-251-17/+42
| | | | | | search mode. Fix for http://b/issue?id=2390704
* New assets. This makes the title bar's button match the voice button.Leon Scroggins2009-09-301-1/+1
| | | | Change-Id: I3c58dbaa02b5f81c6db5fb96ec1b8021728a5e66
* Add a context menu for the title bar.Leon Scroggins2009-09-241-0/+35
| | | | | | Fix for http://b/issue?id=2131232 Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c
* Fix for the progress indicator not spinningNicolas Roard2009-09-161-2/+6
|
* Use an "X" on the title bar to allow the user to stop loading.Leon Scroggins2009-09-161-2/+1
| | | | | | See http://b/issue?id=2111209 Change-Id: I751f2f94d342fac67c4a9172704fbb0edda69075
* Remove the tab slider, and go back to simply using a touchable title bar.Leon Scroggins2009-09-151-9/+58
| | | | | | | | | | | Remove the tab slider (TitleBarSet) from eclair. In TitleBar, override onTouchEvent to handle touches as either presses of the right button or the textfield. Fix the press states on the title bar to correctly reflect what will happen if you release your finger. Change-Id: I025b55e5ba546e8be4e9360e6f7db80fb6d9d3f9
* Limit the touch area for opening search to the right edge of the textfield.Leon Scroggins2009-09-141-18/+5
| | | | | | | | | | | | | Now all single taps to the title bar will result in either a search or opening the bookmarks picker, depending on whether they were past the right edge of the textfield. Fixes http://b/issue?id=2113429 Also move the lock icon in between the favicon and the url. See http://b/issue?id=2085847 Change-Id: I30447aa7517b6fc801d3cf34eff233db3a4ce635