History log of /packages/apps/Browser/src/com/android/browser/TitleBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1cc1d1d08c50211e4f9f8407978d0435a0110375 05-Sep-2012 John Reck <jreck@google.com> Use a fixed title bar if accessibility is enabled

Bug: 6940152

Change-Id: Id6f694d8334a7c50f2e6f6c481bbb3cff847860f
/packages/apps/Browser/src/com/android/browser/TitleBar.java
d70419abc78bbf76f21ea7e85c551d20e9fd1685 31-May-2012 John Reck <jreck@google.com> Add null check

Bug: 6584413

Change-Id: I63e94129fb0830e87d47ffca1d402a8aa838ac20
/packages/apps/Browser/src/com/android/browser/TitleBar.java
fcb6095b9140296cf3b5a4af3107500ee943bacc 30-May-2012 John Reck <jreck@google.com> Make sure focusSearch doesn't return a detached webview

Bug: 6535227

Change-Id: I18bf24117d8ffcbbd440b2a47b2db422e41894f4
/packages/apps/Browser/src/com/android/browser/TitleBar.java
0f9aaebdf2b1fbf230cf497598c684d7cff66653 23-May-2012 John Reck <jreck@google.com> Disable fixed title bar in quick controls

Bug: 6546959

Change-Id: I7511497869ddf7b5107d73c378b88a6363d08ce6
/packages/apps/Browser/src/com/android/browser/TitleBar.java
2711fab2fa2eb798e3aea90368f7ac5af1fbe523 19-May-2012 John Reck <jreck@google.com> Fix portrait's fixed title bar

Bug: 6468013

Change-Id: Ia6ee9645df9ebb8aa98734efef45b57db94651f7
/packages/apps/Browser/src/com/android/browser/TitleBar.java
57059a8360e3b9872f4f6cbdaa8b5af4ac1c901d 30-Apr-2012 Michael Kolb <kolby@google.com> Don't hide URL bar for tablets in portrait

Bug: 6420325

Change-Id: Ic3b0f4b99d831c31f349531d5c2b307543f1ed97
/packages/apps/Browser/src/com/android/browser/TitleBar.java
e8a823329e004c4261ee5f810e1ca3ebd90914dd 25-Apr-2012 Michael Kolb <kolby@google.com> Fix QuickControls after title bar tweaks

Bug: 6398599

Minor cleanup in title bar code.

Change-Id: I55357acb86050e549d80d44d99f4a89ed1e49e9d
/packages/apps/Browser/src/com/android/browser/TitleBar.java
bc82ec97530f9ee4fc1f33e7d1d6050575c22a21 19-Apr-2012 John Reck <jreck@google.com> Title bar tweaks

Bug: 5677901
Delay hiding after page load
Show for duration on tab switch

Change-Id: Ie962cd86fd3bd6f5d10a807db1638e9cbdbfef67
/packages/apps/Browser/src/com/android/browser/TitleBar.java
4923c22cb79296a9624a599cf8874323cdbc6cbc 03-Apr-2012 Michael Kolb <kolby@google.com> Don't embed titlebar in WebView

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
d51bb570d4806d9e6b3c997bb0868d094f481bf2 17-Aug-2011 Ben Murdoch <benm@google.com> Replace TitleBar sub views with a ViewStub.

Optimise startup performance by using a ViewStub for TitleBar views
that aren't needed until later.

Bug: 5179151
Change-Id: I87cf23cbd1e3b818a566c95dc6bb9cc1ff366587
/packages/apps/Browser/src/com/android/browser/TitleBar.java
ef654f1dd80f55609060005342fc4f2cde62990c 13-Jul-2011 John Reck <jreck@google.com> Snapshot title bar

Bug: 4982126

Change-Id: I67931d39e3a3ce535b38197ebeee1651241d1a60
/packages/apps/Browser/src/com/android/browser/TitleBar.java
0f602f3933dcd88702fdb514b6611e3066ca7a2b 08-Jul-2011 John Reck <jreck@google.com> TitleBar refactor

Change-Id: I0a2df041529143c8e0ff17af341376a3f827be04
/packages/apps/Browser/src/com/android/browser/TitleBar.java
11d1978d8d16004598347abc93918b54a5ef760b 20-Mar-2011 Michael Kolb <kolby@google.com> fix title bar

Merge code from TitleBarXLarge down into base
to support omnibox in both tablet and phone
browser

Change-Id: If54f3b162725411236f0b0676887bbcbdabadd25
/packages/apps/Browser/src/com/android/browser/TitleBar.java
736990cb9c57a346666d4424304947c21fb78ab7 20-Mar-2011 Michael Kolb <kolby@google.com> unify voice search code

Change-Id: Icf1fc84405d08da8504ac91094e67c7d8d1c901d
/packages/apps/Browser/src/com/android/browser/TitleBar.java
b9a051bd9ed974c4d3d29a549bb7e00d8a95c33c 18-Mar-2011 John Reck <jreck@google.com> use BrowserWebView for all UIs

Rename ScrollWebView->BrowserWebView

Change-Id: Icce042be4ad054b1fc3d5c0f9500f8ea112479a4
/packages/apps/Browser/src/com/android/browser/TitleBar.java
94b7e04932d77d73f348efecf7f2dd6b4ee5e5a1 16-Feb-2011 John Reck <jreck@google.com> Phone UI title bar work

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
bb2a345e610ef6600a3708f0d27c9cddb2d7c182 15-Feb-2011 John Reck <jreck@google.com> Fix title bar button handling on phone

Change-Id: I1bf298b93a54dd379a06d4752ae4ea7a65ad6950
/packages/apps/Browser/src/com/android/browser/TitleBar.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/TitleBar.java
bdff8a72bd9894fc59ca658442e6ead37a56fa5d 11-Feb-2011 Leon Scroggins <scroggo@google.com> Only edit existing bookmark when bookmarking from the title bar.

Bug:3425178
Change-Id: I32341270440231a870dad5b007d218654760548b
/packages/apps/Browser/src/com/android/browser/TitleBar.java
ef0742696d31a3661414089446ff9a3ddd786639 03-Dec-2010 John Reck <jreck@google.com> Change homepage setting handling

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
8233facddcc51865d612a919d450db6954aa48e3 27-Oct-2010 Michael Kolb <kolby@google.com> Controller Refactor

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
88d080394ca18120e05c6926b178fd6843ff9cec 21-Oct-2010 Leon Scroggins <scroggo@google.com> Incorporate save to home screen with add bookmark dialog.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.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/TitleBar.java
eecb4e6cb64af03aad3f9facdbf6fd7190091b41 06-Jul-2010 Ben Murdoch <benm@google.com> Improve the visibility and discoverability of the "add shortcut
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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
571b3762a5eb9e492283e0a1e437edd209fdc0de 26-May-2010 Leon Scroggins <scroggo@google.com> Initial work on new browser bar

Bug 2712871

Change-Id: Id1c76b05a5f126a4a68369a32dda8975fc1d2e6b
/packages/apps/Browser/src/com/android/browser/TitleBar.java
7fb1a353c94736dfcde690d8379e3bfd853362dd 15-Apr-2010 Leon Scroggins <scroggo@google.com> Use the green box's padding, and not the TitleBar's padding.

Bug 2566133

Change-Id: Ia780bcc74ad7317dfeea3adfc9a8c5eb4609d1f2
/packages/apps/Browser/src/com/android/browser/TitleBar.java
1644ff66d8ede7f4a3a8126d5659be5a4a7d3c32 08-Apr-2010 Leon Scroggins III <scroggo@google.com> Use new assets for green box in voice title bar.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
9f677bc4f0c396ba2cb867e9a1b03fc654c14533 01-Apr-2010 Mike LeBeau <mlebeau@android.com> Add "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to the
voice search intent, as discussed in http://b/2546173

Change-Id: I60650d096a874cfe089a4ba691c9ae44802f2419
/packages/apps/Browser/src/com/android/browser/TitleBar.java
cd663ea13aa707547f74d5ab028e9e460a6ee03c 31-Mar-2010 Leon Scroggins <scroggo@google.com> Lessen the difference in appearance of title bar during load.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
bf083d25e023ebebf9593dcb62ac413f28816584 22-Mar-2010 Leon Scroggins <scroggo@google.com> Show stop button in a pressed state when pressed.

Fix for http://b/issue?id=2533372

Change-Id: I9a614a95f5537d17c9cb89e96afe6c21fc56d59a
/packages/apps/Browser/src/com/android/browser/TitleBar.java
9535ceedad698858936e4c835caf683f75ec348a 16-Mar-2010 Leon Scroggins <scroggo@google.com> Use a margin to make the title bar stay the same size while loading.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
b3b04f75a05889ac615f7c7b9cc84e65a9c65d40 03-Mar-2010 Leon Scroggins <scroggo@google.com> Attach the stop button to the textbox in the title bar.

This also required using different assets for the title bar background.

Fix for http://b/issue?id=2485473
/packages/apps/Browser/src/com/android/browser/TitleBar.java
4e9f89b0a64395133b9160dcb4533d2dc62a424f 22-Feb-2010 Leon Scroggins <scroggo@google.com> When long pressing on title bar, do not use WebView in onCreateContextMenu

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
8ad299270a97dfa3f9bcb956096bc152498fb727 16-Feb-2010 Leon Scroggins <scroggo@google.com> Clear omnibox when pressing search key.

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).
/packages/apps/Browser/src/com/android/browser/TitleBar.java
1fe13a5230e319df42b21939a14d127bd9bf3856 09-Feb-2010 Leon Scroggins <scroggo@google.com> send broadcast intents to voice search for logging purposes

Fix for http://b/issue?id=2390720
/packages/apps/Browser/src/com/android/browser/TitleBar.java
76e16866bbc9bd6c8d269b4764365728d4745d2f 08-Feb-2010 Leon Scroggins <scroggo@google.com> Do not ellipsize the title bar in voice search mode.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
ea75407daa47d54d51858c04b8ac07e5bd4d3d07 08-Feb-2010 Leon Scroggins <scroggo@google.com> Trim the extra whitespace before passing to SearchDialog.

Fixes http://b/issue?id=2427810
/packages/apps/Browser/src/com/android/browser/TitleBar.java
f48d44ea4292563616e7f29b50ea94aeaff4fa3c 05-Feb-2010 Leon Scroggins <scroggo@google.com> Update look of title bar when in voice search mode.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
58d56c6b5052faa86083965132cd51b1a9594d0e 28-Jan-2010 Leon Scroggins <scroggo@google.com> Handle the voice search intent.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
11e71b1d376c5c41baf24f737b56b82d0e814988 25-Jan-2010 Leon Scroggins <scroggo@google.com> Always show the voice search button in the browser title bar when in voice search mode.

Fix for http://b/issue?id=2390704
/packages/apps/Browser/src/com/android/browser/TitleBar.java
cfe35d91a484940b903db41d737d7d07554e0a34 30-Sep-2009 Leon Scroggins <scroggo@google.com> New assets. This makes the title bar's button match the voice button.

Change-Id: I3c58dbaa02b5f81c6db5fb96ec1b8021728a5e66
/packages/apps/Browser/src/com/android/browser/TitleBar.java
c6fa1104e549b8f5b89195d22c41059e77672dfa 21-Sep-2009 Leon Scroggins <scroggo@google.com> Add a context menu for the title bar.

Fix for http://b/issue?id=2131232

Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c
/packages/apps/Browser/src/com/android/browser/TitleBar.java
1382b490adc3971916ca14978f8bd2d9f5f2a344 16-Sep-2009 Nicolas Roard <nicolas@android.com> Fix for the progress indicator not spinning
/packages/apps/Browser/src/com/android/browser/TitleBar.java
8f308a5bf87b30dc55fe53f7864bd44087d32b86 16-Sep-2009 Leon Scroggins <scroggo@google.com> Use an "X" on the title bar to allow the user to stop loading.

See http://b/issue?id=2111209

Change-Id: I751f2f94d342fac67c4a9172704fbb0edda69075
/packages/apps/Browser/src/com/android/browser/TitleBar.java
68579393973f745fc65a2781061af9bb8f2d7020 15-Sep-2009 Leon Scroggins <scroggo@google.com> Remove the tab slider, and go back to simply using a touchable title bar.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
f4bb18a41259ce62209c768484547d33583f9c77 12-Sep-2009 Leon Scroggins <scroggo@google.com> Limit the touch area for opening search to the right edge of the textfield.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
3bbb6caa3ceaec1106fe1de76066f5e1a186795e 09-Sep-2009 Leon Scroggins <scroggo@google.com> Show the title bar when pressing bringing up the menu.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
304442375719effd41dbd53ae62de7a8d0cec7d9 05-Sep-2009 Leon Scroggins <scroggo@google.com> Go to the home page when opening a new tab/the browser.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
62e8f9415c0d7f9d4034cde28e009cf03871fe1b 03-Sep-2009 Leon Scroggins <scroggo@google.com> New title bar look.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
c62e9082481850fd4c38866b9e6e955784668170 03-Sep-2009 Leon Scroggins <scroggo@google.com> Show the full url in the title bar.

Fix for http://b/issue?id=2096235

Change-Id: I79d34c6e847587c63dc79b8c68813508eacaf9d5
/packages/apps/Browser/src/com/android/browser/TitleBar.java
a81a764063d2f849fba0cbc3039f86e67c2960dd 31-Aug-2009 Leon Scroggins <scroggo@google.com> Update the appearance of the title bar in the browser.

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
/packages/apps/Browser/src/com/android/browser/TitleBar.java
1f005d370557b6e69d2de6537e5ea21f73a7ec3f 10-Aug-2009 Leon Scroggins <scroggo@google.com> Initial attempt to get the sliding title bar working, using a Gallery.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
d7c3dd53ddd4e480ca11517af461ae0764adc2a8 20-Jul-2009 Leon Scroggins <scroggo@google.com> Set a title for pages with no title.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
176215d473e4c098223a99406047750f7e340865 15-Jun-2009 Leon Scroggins <scroggo@google.com> Fix a null pointer exception.

In setTitleAndUrl, check to make sure url is non null before
calling url.toString().
/packages/apps/Browser/src/com/android/browser/TitleBar.java
32e14a6deccfa75490b3032bb4ddd5ae90f89de8 11-Jun-2009 Leon Scroggins <scroggo@google.com> Only show the host portion of the url in the title bar.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
e4b3bda762ab616b2899c8de084e515f01b99c8a 09-Jun-2009 Leon Scroggins <scroggo@google.com> Updates to the browser's custom title bar.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java
81db366d79bb317de62fed05eb58906abd88a75e 04-Jun-2009 Leon Scroggins <scroggo@google.com> Use a custom title bar that is touchable.

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.
/packages/apps/Browser/src/com/android/browser/TitleBar.java