summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/TitleBar.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Show the title bar when pressing bringing up the menu.Leon Scroggins2009-09-111-9/+33
| | | | | | | | | | | | | | | | | | Show an actionable title bar at the top of the screen when the menu shows. Change TitleBar* to take a Bitmap for setFavicon, and move the logic for creating the drawable into TitleBar, so that we can update directly from the WebView (whose getFavicon method returns a bitmap). Remove CUSTOM_BROWSER_BAR, since we are set on using our custom title bar, and it enabled me to put mGenericFavicon in TitleBar. Also take screen density into account when sizing the icons for the title bar. Change-Id: I3ee6b1d02e8845299f9cd1f648b271543683954a
* Go to the home page when opening a new tab/the browser.Leon Scroggins2009-09-041-1/+1
| | | | | | | | As requested in http://b/issue?id=2101999, we are going back to opening the home page when opening the browser or a new tab. Change-Id: I2608bab74494a0af2919bf351340579bcd58201f
* New title bar look.Leon Scroggins2009-09-041-25/+35
| | | | | | | | | Use the same method as the search bar for showing the circular progress, which is much more visible than the current model. Use latest assets. Move the lock icon outside the textbox. Change-Id: I7fd5911cb4492d3cd52132e817da75f720b42b55
* Show the full url in the title bar.Leon Scroggins2009-09-031-1/+1
| | | | | | Fix for http://b/issue?id=2096235 Change-Id: I79d34c6e847587c63dc79b8c68813508eacaf9d5
* Update the appearance of the title bar in the browser.Leon Scroggins2009-09-011-61/+43
| | | | | | | | | Change the title bar to use the look of the search bar. Remove the new tab button, which is now a part of the updated menu. Make the title bar for each WebView span the width of the screen. Make the title bar appear when pressing the menu button. Change-Id: I7ad1c955412d422be0fc6f26ec8d286172a0a99a
* Initial attempt to get the sliding title bar working, using a Gallery.Leon Scroggins2009-08-131-47/+56
| | | | | | | In addition the sliding title bar, I have now removed the TabPicker. Now, when changing to a new tab, we just go straight there. Also put back in Add bookmark in the top level menu. And fix the bug where switching tabs was always bringing up the bookmarks.
* Set a title for pages with no title.Leon Scroggins2009-07-201-4/+21
| | | | | | | In the title bar, we were showing "Loading..." as the title for a page that finished loading but still has no title. Now, display the url where the title is displayed and display nothing for the url.
* Fix a null pointer exception.Leon Scroggins2009-06-151-1/+4
| | | | | In setTitleAndUrl, check to make sure url is non null before calling url.toString().
* Only show the host portion of the url in the title bar.Leon Scroggins2009-06-111-1/+1
| | | | | | | For security reasons, we want to ensure that the domain name of the current page is being shown in the title bar. Use BrowserActivity's method of building the url for the title bar, which also shows https if it is a secure site.
* Updates to the browser's custom title bar.Leon Scroggins2009-06-091-34/+48
| | | | | | | | Use an asset copied from the Market for the background. Since this background is dark, change the title's text to white, as well as the dividing line. Changed the functionality of the buttons on the title bar. Also flipped the title and the url, and fixed a bug where "Loading..." remained for too long. Also added the drop shadow below the title bar.
* Use a custom title bar that is touchable.Leon Scroggins2009-06-041-0/+136
The new title bar is thicker and has areas that can be touched to open the search bar, zoom in, zoom out, and stop a load. Also inserted a flag to use the old title bar.