Add a separate target for quick search engine feature (#26478)
* Move java classes into brave/browser for quick_search_engines * Move serach_engines resources to brave/browser/search_engines * Add translations files for search_engines android string * Add dimens Add a function to load favicons * Add close menu id for quick search * Add missing deps * Move quick search engines changes to brave/browser/quick_search_engines * Remove comments for BUILD.gn
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--* Copyright (c) 2024 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M0,12C0,8.272 0,6.409 0.609,4.939C1.421,2.978 2.978,1.421 4.939,0.609C6.409,0 8.272,0 12,0C15.727,0 17.591,0 19.062,0.609C21.022,1.421 22.579,2.978 23.391,4.939C24,6.409 24,8.272 24,12C24,15.727 24,17.591 23.391,19.062C22.579,21.022 21.022,22.579 19.062,23.391C17.591,24 15.727,24 12,24C8.272,24 6.409,24 4.939,23.391C2.978,22.579 1.421,21.022 0.609,19.062C0,17.591 0,15.727 0,12Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:startX="22.753"
|
||||
android:startY="22.341"
|
||||
android:endX="-0.022"
|
||||
android:endY="0.023"
|
||||
android:type="linear">
|
||||
<item android:offset="0.026" android:color="#FFFA7250"/>
|
||||
<item android:offset="0.401" android:color="#FFFF1893"/>
|
||||
<item android:offset="0.995" android:color="#FFA78AFF"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:pathData="M11.514,4.504C10.745,4.504 10.075,5.027 9.888,5.773L9.52,7.246C9.24,8.366 8.366,9.24 7.246,9.52L5.773,9.888C5.027,10.075 4.504,10.745 4.504,11.514C4.504,12.283 5.027,12.953 5.773,13.139L7.246,13.508C8.366,13.788 9.24,14.662 9.52,15.781L9.888,17.254C10.075,18 10.745,18.524 11.514,18.524C12.283,18.524 12.953,18 13.139,17.254L13.508,15.781C13.788,14.662 14.662,13.788 15.781,13.508L17.254,13.139C18,12.953 18.524,12.283 18.524,11.514C18.524,10.745 18,10.075 17.254,9.888L15.781,9.52C14.662,9.24 13.788,8.366 13.508,7.246L13.139,5.773C12.953,5.027 12.283,4.504 11.514,4.504ZM11.069,6.069C11.12,5.865 11.304,5.722 11.514,5.722C11.724,5.722 11.907,5.865 11.958,6.069L12.326,7.541C12.715,9.097 13.93,10.312 15.486,10.701L16.959,11.069C17.163,11.12 17.306,11.304 17.306,11.514C17.306,11.724 17.163,11.907 16.959,11.958L15.486,12.326C13.93,12.715 12.715,13.93 12.326,15.486L11.958,16.959C11.907,17.163 11.724,17.306 11.514,17.306C11.304,17.306 11.12,17.163 11.069,16.959L10.701,15.486C10.312,13.93 9.097,12.715 7.541,12.326L6.069,11.958C5.865,11.907 5.722,11.724 5.722,11.514C5.722,11.304 5.865,11.12 6.069,11.069L7.541,10.701C9.097,10.312 10.312,9.097 10.701,7.541L11.069,6.069ZM17.299,14.581C17.251,14.387 17.076,14.25 16.875,14.25C16.674,14.25 16.499,14.387 16.451,14.581L16.299,15.185C16.162,15.734 15.734,16.162 15.185,16.3L14.581,16.451C14.387,16.499 14.25,16.674 14.25,16.875C14.25,17.076 14.387,17.251 14.581,17.299L15.185,17.45C15.734,17.588 16.162,18.016 16.299,18.565L16.451,19.169C16.499,19.363 16.674,19.5 16.875,19.5C17.076,19.5 17.251,19.363 17.299,19.169L17.45,18.565C17.588,18.016 18.016,17.588 18.565,17.45L19.169,17.299C19.363,17.251 19.5,17.076 19.5,16.875C19.5,16.674 19.363,16.499 19.169,16.451L18.565,16.3C18.016,16.162 17.588,15.734 17.45,15.185L17.299,14.581Z"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--* Copyright (c) 2024 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFF35325"
|
||||
android:pathData="M0 0h11.43v11.43H0V0Z"/>
|
||||
<path
|
||||
android:fillColor="#FF81BC06"
|
||||
android:pathData="M12.57 0H24v11.43H12.57V0Z"/>
|
||||
<path
|
||||
android:fillColor="#FF05A6F0"
|
||||
android:pathData="M0 12.57h11.43V24H0V12.57Z"/>
|
||||
<path
|
||||
android:fillColor="#FFFFBA08"
|
||||
android:pathData="M12.57 12.57H24V24H12.57V12.57Z"/>
|
||||
</vector>
|
||||
@@ -1,19 +0,0 @@
|
||||
<!-- Copyright (c) 2024 The Brave Authors. All rights reserved.
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFF0000"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M21.35 4.01a3.04 3.04 0 0 1 2.13 2.15C23.98 8.06 24 12 24 12s0 3.95-0.5 5.84a3.04 3.04 0 0 1-2.13 2.15C19.5 20.5 12 20.5 12 20.5s-7.5 0-9.37-0.51a3.04 3.04 0 0 1-2.12-2.15C0 15.94 0 12 0 12s0-3.94 0.5-5.82a3.04 3.04 0 0 1 2.12-2.15c1.86-0.51 9.36-0.53 9.36-0.53s7.5 0 9.37 0.51Zm-5.32 8L10 15.52V8.5l6.04 3.51Z"/>
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M10 15.52l6.04-3.5L10 8.5v7.02Z"/>
|
||||
</vector>
|
||||
@@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<group>
|
||||
<path
|
||||
android:pathData="M18.13 13.28a0.2 0.2 0 0 1 0.13-0.02c0.6 0.15 1.76 0.47 3.9 1.15l0.16 0.03a0.27 0.27 0 0 0 0.14-0.04 0.3 0.3 0 0 0 0.1-0.1 0.3 0.3 0 0 0 0.01-0.29l-0.1-0.17c-0.8-1.37-1.7-2.65-2.65-3.9a56 56 0 0 0-3.35-4.03c-0.74-0.8-2.43-2.66-2.85-3.03-0.02-0.03-1.59-1.55-2.54-2.04-1.52-0.78-3.12-1.02-4.79-0.7C4.56 0.47 3.1 1.3 1.92 2.69c-1.47 1.75-2.1 3.8-1.88 6.12a8 8 0 0 0 1.27 3.63c0.33 0.5 0.7 0.95 1.13 1.37 0.53 0.54 6.05 4.78 8.34 6.44 1.02 0.82 2.02 1.66 3.03 2.5l0.64 0.58c0.13 0.12 0.27 0.15 0.39 0.09 0.12-0.07 0.15-0.18 0.12-0.36l-0.05-0.3c-0.26-1.26-0.7-2.45-1.23-3.61l-0.07-0.16a0.22 0.22 0 0 1 0.04-0.24 0.2 0.2 0 0 1 0.23-0.05c1.68 0.8 3.32 1.7 4.93 2.63 1.45 0.84 2.88 1.71 4.31 2.56 0.25 0.15 0.5 0.14 0.69-0.03s0.25-0.4 0.12-0.7c-0.3-0.72-0.6-1.46-0.94-2.16-1.28-2.6-2.89-4.97-4.74-7.16l-0.19-0.22a0.22 0.22 0 0 1-0.02-0.26 0.2 0.2 0 0 1 0.1-0.08">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:startX="8.11"
|
||||
android:startY="7.83"
|
||||
android:endX="12.54"
|
||||
android:endY="21.6">
|
||||
<item
|
||||
android:color="#FF6573FF"
|
||||
android:offset="0"/>
|
||||
<item
|
||||
android:color="#FF29DDCC"
|
||||
android:offset="1"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FF202C46"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M2.5 7.88c0.08-2.82 2.32-5.14 5.16-5.14 2.82-0.01 5.25 2.38 5.16 5.47a5.4 5.4 0 0 1-0.62 2.37l2.34 2.06c0.45 0.4 0.5 1.11 0.11 1.58a1.07 1.07 0 0 1-1.53 0.12l-2.34-2.06a5.07 5.07 0 0 1-3.15 1.07C4.8 13.34 2.4 10.96 2.49 7.87"/>
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M7.61 10.88c1.55 0 2.8-1.29 2.8-2.88s-1.25-2.88-2.8-2.88S4.82 6.41 4.82 8s1.26 2.88 2.8 2.88"/>
|
||||
</group>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user