summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/search
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fixed search engine name shown in browser settings"Sagar Dhawan2015-08-283-5/+169
| | | | This reverts commit 31c461582b6c109b9321f283e7b233399dcb9e79.
* Fixed search engine name shown in browser settingsPankaj Garg2015-08-283-169/+5
| | | | | | | - Browser was using Android default search engine app to show the name of search engine in its settings. Change-Id: Ib57115c6064f1ea5156d6c7eb492ab06ed09dbc8
* Add support for managed profile configurationPanos Thomas2015-03-251-6/+34
| | | | | | | | | | - Add framework for reading and enforcing managed profile restrictions. - Implement enforcement of search engine restriction. - Add automated test for search engine restriction. (cherry-picked from 4688934c52fa74e0c4280e4105e644f10221a8ed) Change-Id: Ifb6018df584fedba42e86ab35d9bfa53b4d36ebe
* Clean visual style: move to Light, add Material support, change Drawables ↵Enrico Ros2014-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | (progress, icons). This code alters the visual style moving the APP to a Light theme. Parents of the theme are either Theme.Holo.Light or Theme.Material.Light depending on which API we start the APK from. Needs SDK 21 to build. Other than the visual changes, this commit changes: - name of the APP to 'Browser' - animations and sequencing of the Tab switcher in {nav/anim}_screen - removal of the warning icon from the Exit dialog - change of the favicon appearance (removal of the double border) Vast amount of unused resources are removed from the APK. Just XHDPI drawables have been synthesized for now, and the Primary color was used for the icons and is accessible in R.color.Primary. Change-Id: If75cc051c5d4015383e96066cdb6507484e625d8
* Add fallback mechanism for resources resolved via introspection.Tarun Nainani2014-11-171-1/+4
| | | | | | | | In case of resources not resolve from hard-coded 'com.android.browser.R' package name, fallback on resolving it from dynamically queried package name. Change-Id: Ifb9ca330ba8efd200ce3ccb116fa9aa3e52fb885
* Reset the default search engine to googleAxesh R. Ajmera2014-06-301-9/+0
| | | | - resets the default search engine
* Removed dependency on framework browser provider from browserBijan Amirzada2014-06-262-3/+3
| | | | | | | | Brought in Browser Provider class locally into platformsupport and modified all calls into provider to call into this local class. Change-Id: I3c471dacf920fd30403590ba23384b7abbf7f3fd
* Changes to conform to new overlay formatBijan Amirzada2014-05-141-11/+3
| | | | | | | | | - Added new overlay resources and checks for new resource values - Removed all references to carrier specific lookups and converted them to overlay implementations instead. - Removed old resources from assets directory Change-Id: I5143b499ffb6f1e08d1f9c846eec94300de87561
* Modified last of reflection calls to use ReflectHelper classBijan Amirzada2014-04-161-2/+0
| | | | | | | Also modified ReflectHelper class to consolidate the API and modified browser code to reflect the API changes. Change-Id: I708f43cf3c1432adc7cd78c25264330a673ffeb5
* Fix miscellaneous issues in BrowserVivek Sekhar2014-03-261-5/+2
| | | | | | | | - Fixed missing handlers, provider, filters and activity removed during browser package name change. - Use overlay to read search engines. Change-Id: I673d30cf65affdf5ac2e8c633deba3cde14bfe26
* Change SWE app properties back to stock AndroidBijan Amirzada2014-03-216-0/+831
| | | | | | | | | | | - Changed project package name from com.android.swe.browser back to com.android.browser along with code references to old package name. - Changes to AndroidManifest making it conform closer to stock browser manifest. - Changed app and apk name back to Browser. Change-Id: I778ee1d1197bd50bd4a4850eef6d1d7f4ef0ad0b
* Copy of new files from 1599Bijan Amirzada2014-03-046-816/+0
| | | | | | Modified folder structure - added swe folder Change-Id: I2b48a1635ad0a6406398aa9f1021a1f43baebeef
* Browser: add to support search engine presetluxiaol2013-08-142-3/+18
| | | | | | | | | 1. Set Baidu search engine as the default search engine. 2. Add 139 search engine for carrier. CRs-fixed: 507955 Change-Id: Idccc86f2d9ac439dcfff5f65e853bb4618fed361
* Remove voice search handlingMichael Kolb2012-05-033-13/+0
| | | | | | Bug: 6439925 Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
* Revert "fix hl parameter for incognito search"Victoria Lease2012-03-291-20/+5
| | | This reverts commit 043e72f70ae61f1a62aefef6d137c4916206d3c9
* fix hl parameter for incognito searchVictoria Lease2012-03-141-5/+20
| | | | | | Bug: 5777487 Change-Id: I34ea2e3aac0659cb5fe29732b30a117a289a4b72
* Remove the psychic labs feature.Narayan Kamath2011-11-181-6/+0
| | | | | | | | Reverts the UrlInputView to a standard autocomplete that causes less trouble for IMEs. bug:5598837 Change-Id: If469d76f4feda88e4a122264a39d317737404578
* Fix Resources.getIdentifier usageJohn Reck2011-09-221-1/+4
| | | | | | Bug: 5352337 Change-Id: If639cf6dec892f2952f8eb3fedbb267e4cc7c0ae
* Use EXTRA_WEB_SEARCH_PENDINGINTENTBjorn Bringert2011-08-102-0/+7
| | | | | | | | | | This avoids a chooser dialog when web searches are done in the address bar when there are multiple browsers installed. Bug: 4988580 Change-Id: I3afb5f7dc10acf1aa2a0107e76061de0e534d8fe
* Browser settings refactorJohn Reck2011-04-261-1/+1
| | | | Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
* Implement the psychic search engine.Narayan Kamath2011-03-024-4/+21
| | | | | | | | | | (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 autocomplete to the browser UrlInputView.Narayan Kamath2011-03-021-1/+5
| | | | | | | | | | | | | | | | 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
* Special case searching in incognito modeJohn Reck2011-01-241-1/+1
| | | | | | | | | | | | | 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
* am fd82abf2: am 26b9ad1c: am 785ad9a5: Send WEB_SEARCH intent straight to ↵Bjorn Bringert2010-09-161-0/+1
|\ | | | | | | | | | | | | | | | | default search provider if selected Merge commit 'fd82abf2520a04517f79e08aad0449183b1b031b' * commit 'fd82abf2520a04517f79e08aad0449183b1b031b': Send WEB_SEARCH intent straight to default search provider if selected
| * Send WEB_SEARCH intent straight to default search provider if selectedBjorn Bringert2010-09-161-0/+1
| | | | | | | | | | Bug: 3002103 Change-Id: I51d7bd932e4ee5359da8d1361379b4413963eeb6
* | am c3169def: am 6002de42: am 6248bff9: Merge "Remove an incorrect javadoc ↵Leon Scroggins III2010-09-151-1/+0
|\| | | | | | | | | | | | | | | | | comment." into froyo Merge commit 'c3169defa19a824f69b455b5e672931680a194b9' * commit 'c3169defa19a824f69b455b5e672931680a194b9': Remove an incorrect javadoc comment.
| * Remove an incorrect javadoc comment.Leon Scroggins III2010-09-141-1/+0
| | | | | | | | | | | | | | The comment references a parameter that is not part of the method. Change-Id: Ia2b5c81e4d09bb7e1614a84f2532520730244cae
* | am 6ac51e2b: am 867c0465: am 430057da: Fixes for changing the search engine.Leon Scroggins III2010-09-153-2/+17
|\| | | | | | | | | | | | | Merge commit '6ac51e2b2defbc33834ec92d8a3e7c904f20811e' * commit '6ac51e2b2defbc33834ec92d8a3e7c904f20811e': Fixes for changing the search engine.
| * Fixes for changing the search engine.Leon Scroggins III2010-09-143-2/+17
| | | | | | | | | | | | | | | | | | | | | | Provide a default value for the Select search engine preference. Move the Select search engine preference into advanced settings. When opening the SearchDialog with a SearchEngine other than Google, add a flag to hide the voice search icon. Depends on a change to frameworks/base. Change-Id: I6da2e582789253b3c5ffac9fe1ad3732f99f28ea
| * Add user-selected search providers to browserBjorn Bringert2010-09-136-0/+774
| | | | | | The lists of search providers are taken from Chrome. Change-Id: I7af6dc1258950d1fc5cf86013f8be9f3c5db0f1a
* Add user-selected search providers to browserBjorn Bringert2010-09-157-0/+774
The lists of search providers are taken from Chrome. Change-Id: I320f43f06d3a79a3b7a065c73859853dedf0a6b5