Permalink
Browse files

eclair snapshot

  • Loading branch information...
1 parent b8a9cb0 commit afc7480077e2e96815ed06652e7ef7030c306369 Jean-Baptiste Queru committed Nov 13, 2009
Showing with 7,731 additions and 6,947 deletions.
  1. +32 −38 AndroidManifest.xml
  2. +0 −1 assets/plugins/gears-0.5.17.0/dummy
  3. BIN assets/plugins/gears.so
  4. +13 −17 res/anim/find_dialog_enter.xml
  5. +13 −17 res/anim/find_dialog_exit.xml
  6. +23 −0 res/anim/title_bar_enter.xml
  7. +22 −0 res/anim/title_bar_exit.xml
  8. BIN res/drawable-hdpi/app_web_browser_sm.png
  9. BIN res/drawable-hdpi/bookmark_shadow.9.png
  10. BIN res/drawable-hdpi/browser_thumbnail.png
  11. BIN res/drawable-hdpi/btn_close_window.png
  12. BIN res/drawable-hdpi/dialog_divider_horizontal_light.9.png
  13. BIN res/drawable-hdpi/fav_icn_background.png
  14. BIN res/drawable-hdpi/ic_btn_bookmark_browsertab.png
  15. BIN res/drawable-hdpi/ic_btn_bookmarks.png
  16. BIN res/drawable-hdpi/ic_btn_close_panel.png
  17. BIN res/drawable-hdpi/ic_btn_find_next.png
  18. BIN res/drawable-hdpi/ic_btn_find_prev.png
  19. BIN res/drawable-hdpi/ic_btn_stop_v2.png
  20. BIN res/drawable-hdpi/ic_close_tab.png
  21. BIN res/drawable-hdpi/ic_dialog_bookmark.png
  22. BIN res/drawable-hdpi/ic_dialog_browser_certificate_partially_secure.png
  23. BIN res/drawable-hdpi/ic_dialog_browser_certificate_secure.png
  24. BIN res/drawable-hdpi/ic_dialog_browser_security_bad.png
  25. BIN res/drawable-hdpi/ic_dialog_browser_security_good.png
  26. BIN res/drawable-hdpi/ic_dialog_menu_generic.png
  27. BIN res/drawable-hdpi/ic_launcher_browser.png
  28. BIN res/drawable-hdpi/ic_launcher_drm_file.png
  29. BIN res/drawable-hdpi/ic_launcher_shortcut_browser_bookmark.png
  30. BIN res/drawable-hdpi/ic_list_bookmark.png
  31. BIN res/drawable-hdpi/ic_list_data_large.png
  32. BIN res/drawable-hdpi/ic_list_data_off.png
  33. BIN res/drawable-hdpi/ic_list_data_small.png
  34. BIN res/drawable-hdpi/ic_list_gps_denied.png
  35. BIN res/drawable-hdpi/ic_list_gps_on.png
  36. BIN res/drawable-hdpi/ic_list_new_window.png
  37. BIN res/drawable-hdpi/ic_menu_add_bookmark.png
  38. BIN res/drawable-hdpi/ic_menu_bookmark.png
  39. BIN res/drawable-hdpi/ic_menu_bookmarks.png
  40. BIN res/drawable-hdpi/ic_menu_list.png
  41. BIN res/drawable-hdpi/ic_menu_new_window.png
  42. BIN res/drawable-hdpi/ic_menu_thumbnail.png
  43. BIN res/drawable-hdpi/ic_menu_windows.png
  44. BIN res/drawable-hdpi/ic_search_category_bookmark.png
  45. BIN res/drawable-hdpi/ic_search_category_browser.png
  46. BIN res/drawable-hdpi/ic_search_category_history.png
  47. BIN res/drawable-hdpi/ic_search_category_suggest.png
  48. BIN res/drawable-hdpi/ic_tab_bookmarks_selected.png
  49. BIN res/drawable-hdpi/ic_tab_bookmarks_unselected.png
  50. BIN res/drawable-hdpi/ic_tab_history_selected.png
  51. BIN res/drawable-hdpi/ic_tab_history_unselected.png
  52. BIN res/drawable-hdpi/ic_tab_most_visited_selected.png
  53. BIN res/drawable-hdpi/ic_tab_most_visited_unselected.png
  54. BIN res/drawable-hdpi/page_indicator.png
  55. BIN res/drawable-hdpi/page_indicator_unselected2.png
  56. BIN res/drawable-hdpi/search_plate_browser.9.png
  57. BIN res/drawable-hdpi/ssl_icon.png
  58. 0 res/{drawable → drawable-mdpi}/app_web_browser_sm.png
  59. BIN res/drawable-mdpi/bookmark_shadow.9.png
  60. BIN res/drawable-mdpi/browser_thumbnail.png
  61. BIN res/drawable-mdpi/btn_close_window.png
  62. 0 res/{drawable → drawable-mdpi}/dialog_divider_horizontal_light.9.png
  63. 0 res/{drawable → drawable-mdpi}/fav_icn_background.png
  64. BIN res/drawable-mdpi/ic_btn_bookmark_browsertab.png
  65. BIN res/drawable-mdpi/ic_btn_bookmarks.png
  66. 0 res/{drawable → drawable-mdpi}/ic_btn_close_panel.png
  67. 0 res/{drawable → drawable-mdpi}/ic_btn_find_next.png
  68. 0 res/{drawable → drawable-mdpi}/ic_btn_find_prev.png
  69. BIN res/drawable-mdpi/ic_btn_stop_v2.png
  70. BIN res/drawable-mdpi/ic_close_tab.png
  71. 0 res/{drawable → drawable-mdpi}/ic_dialog_bookmark.png
  72. 0 res/{drawable → drawable-mdpi}/ic_dialog_browser_certificate_partially_secure.png
  73. 0 res/{drawable → drawable-mdpi}/ic_dialog_browser_certificate_secure.png
  74. 0 res/{drawable → drawable-mdpi}/ic_dialog_browser_security_bad.png
  75. 0 res/{drawable → drawable-mdpi}/ic_dialog_browser_security_good.png
  76. 0 res/{drawable → drawable-mdpi}/ic_dialog_menu_generic.png
  77. 0 res/{drawable → drawable-mdpi}/ic_launcher_browser.png
  78. 0 res/{drawable → drawable-mdpi}/ic_launcher_drm_file.png
  79. 0 res/{drawable → drawable-mdpi}/ic_launcher_shortcut_browser_bookmark.png
  80. BIN res/drawable-mdpi/ic_list_bookmark.png
  81. BIN res/drawable-mdpi/ic_list_data_large.png
  82. BIN res/drawable-mdpi/ic_list_data_off.png
  83. BIN res/drawable-mdpi/ic_list_data_small.png
  84. BIN res/drawable-mdpi/ic_list_gps_denied.png
  85. BIN res/drawable-mdpi/ic_list_gps_on.png
  86. BIN res/drawable-mdpi/ic_list_new_window.png
  87. BIN res/drawable-mdpi/ic_menu_add_bookmark.png
  88. 0 res/{drawable → drawable-mdpi}/ic_menu_bookmark.png
  89. BIN res/drawable-mdpi/ic_menu_bookmarks.png
  90. BIN res/drawable-mdpi/ic_menu_list.png
  91. BIN res/drawable-mdpi/ic_menu_new_window.png
  92. BIN res/drawable-mdpi/ic_menu_thumbnail.png
  93. 0 res/{drawable → drawable-mdpi}/ic_menu_windows.png
  94. 0 res/{drawable → drawable-mdpi}/ic_search_category_bookmark.png
  95. 0 res/{drawable → drawable-mdpi}/ic_search_category_browser.png
  96. 0 res/{drawable → drawable-mdpi}/ic_search_category_history.png
  97. 0 res/{drawable → drawable-mdpi}/ic_search_category_suggest.png
  98. BIN res/drawable-mdpi/ic_tab_bookmarks_selected.png
  99. BIN res/drawable-mdpi/ic_tab_bookmarks_unselected.png
  100. BIN res/drawable-mdpi/ic_tab_history_selected.png
  101. BIN res/drawable-mdpi/ic_tab_history_unselected.png
  102. BIN res/drawable-mdpi/ic_tab_most_visited_selected.png
  103. BIN res/drawable-mdpi/ic_tab_most_visited_unselected.png
  104. 0 res/{drawable → drawable-mdpi}/page_indicator.png
  105. 0 res/{drawable → drawable-mdpi}/page_indicator_unselected2.png
  106. BIN res/drawable-mdpi/search_plate_browser.9.png
  107. 0 res/{drawable → drawable-mdpi}/ssl_icon.png
  108. +23 −0 res/drawable/blank.xml
  109. +2 −2 res/drawable/browser_bookmark_tab.xml
  110. +2 −2 res/drawable/browser_history_tab.xml
  111. +2 −2 res/drawable/browser_visited_tab.xml
  112. +24 −0 res/drawable/btn_bookmark.xml
  113. +27 −0 res/drawable/button_line.xml
  114. +25 −0 res/drawable/close_background.xml
  115. BIN res/drawable/default_video_poster.png
  116. BIN res/drawable/gears.png
  117. +0 −29 res/drawable/gears_button.xml
  118. BIN res/drawable/gears_button_default.9.png
  119. BIN res/drawable/gears_button_pressed.9.png
  120. BIN res/drawable/gears_button_selected.9.png
  121. BIN res/drawable/gears_icon_32x32.png
  122. BIN res/drawable/gears_icon_48x48.png
  123. BIN res/drawable/gears_local_data.png
  124. BIN res/drawable/gears_location_data.png
  125. BIN res/drawable/ic_new_window.png
  126. BIN res/drawable/ic_tab_browser_bookmark_selected.png
  127. BIN res/drawable/ic_tab_browser_bookmark_unselected.png
  128. BIN res/drawable/ic_tab_browser_history_selected.png
  129. BIN res/drawable/ic_tab_browser_history_unselected.png
  130. BIN res/drawable/ic_tab_browser_visited_selected.png
  131. BIN res/drawable/ic_tab_browser_visited_unselected.png
  132. +24 −0 res/drawable/title_text.xml
  133. +44 −0 res/layout/active_tabs.xml
  134. +1 −1 res/layout/add_new_bookmark.xml
  135. +79 −0 res/layout/bookmark_thumbnail.xml
  136. +9 −0 res/layout/browser_add_bookmark.xml
  137. +11 −5 res/layout/browser_downloads_page.xml
  138. +2 −0 res/layout/browser_subwindow.xml
  139. +38 −0 res/layout/custom_screen.xml
  140. +2 −1 res/layout/empty_history.xml
  141. +67 −0 res/layout/error_console.xml
  142. +0 −111 res/layout/gears_dialog_permission.xml
  143. +0 −58 res/layout/gears_dialog_settings.xml
  144. +0 −127 res/layout/gears_dialog_settings_row.xml
  145. +0 −48 res/layout/gears_settings.xml
  146. +0 −99 res/layout/gears_settings_row.xml
  147. +90 −0 res/layout/geolocation_permissions_prompt.xml
  148. +44 −61 res/layout/{gears_dialog.xml → permission_dialog.xml}
  149. +40 −0 res/layout/tab.xml
  150. +73 −0 res/layout/tab_view.xml
  151. +39 −0 res/layout/tab_view_add_tab.xml
  152. +2 −6 res/layout/tabs.xml
  153. +85 −0 res/layout/title_bar.xml
  154. +29 −0 res/layout/title_bar_bg.xml
  155. +36 −0 res/layout/video_loading_progress.xml
  156. +75 −0 res/layout/website_settings_row.xml
  157. +3 −1 res/menu/bookmarks.xml
  158. +4 −2 res/menu/bookmarkscontext.xml
  159. +37 −37 res/menu/browser.xml
  160. +4 −2 res/menu/historycontext.xml
  161. +26 −0 res/menu/title_context.xml
  162. +21 −0 res/menu/websitesettings.xml
  163. +32 −0 res/values-cs/arrays.xml
  164. +70 −73 res/values-cs/strings.xml
  165. +32 −0 res/values-da/arrays.xml
  166. +81 −89 res/values-da/strings.xml
  167. +32 −0 res/values-de/arrays.xml
  168. +70 −73 res/values-de/strings.xml
  169. +32 −0 res/values-el/arrays.xml
  170. +84 −93 res/values-el/strings.xml
  171. +32 −0 res/values-es-rUS/arrays.xml
  172. +81 −89 res/values-es-rUS/strings.xml
  173. +32 −0 res/values-es/arrays.xml
  174. +70 −73 res/values-es/strings.xml
  175. +32 −0 res/values-fr/arrays.xml
  176. +70 −73 res/values-fr/strings.xml
  177. +32 −0 res/values-it/arrays.xml
  178. +70 −73 res/values-it/strings.xml
  179. +32 −0 res/values-ja/arrays.xml
  180. +70 −73 res/values-ja/strings.xml
  181. +32 −0 res/values-ko/arrays.xml
  182. +81 −89 res/values-ko/strings.xml
  183. +32 −0 res/values-nb/arrays.xml
  184. +87 −96 res/values-nb/strings.xml
  185. +32 −0 res/values-nl/arrays.xml
  186. +71 −73 res/values-nl/strings.xml
  187. +32 −0 res/values-pl/arrays.xml
  188. +70 −73 res/values-pl/strings.xml
  189. +32 −0 res/values-pt-rPT/arrays.xml
  190. +87 −96 res/values-pt-rPT/strings.xml
  191. +32 −0 res/values-pt/arrays.xml
  192. +86 −94 res/values-pt/strings.xml
  193. +32 −0 res/values-ru/arrays.xml
  194. +82 −90 res/values-ru/strings.xml
  195. +32 −0 res/values-sv/arrays.xml
  196. +83 −92 res/values-sv/strings.xml
  197. +32 −0 res/values-tr/arrays.xml
  198. +81 −89 res/values-tr/strings.xml
  199. +32 −0 res/values-zh-rCN/arrays.xml
  200. +88 −96 res/values-zh-rCN/strings.xml
  201. +32 −0 res/values-zh-rTW/arrays.xml
  202. +70 −73 res/values-zh-rTW/strings.xml
  203. +2 −5 res/values/colors.xml
  204. +129 −93 res/values/strings.xml
  205. +12 −6 res/values/styles.xml
  206. +38 −16 res/xml/browser_preferences.xml
  207. +12 −0 res/xml/debug_preferences.xml
  208. +161 −0 src/com/android/browser/ActiveTabsPage.java
  209. +103 −104 src/com/android/browser/AddBookmarkPage.java
  210. +1 −11 src/com/android/browser/AddNewBookmark.java
  211. +217 −0 src/com/android/browser/Bookmarks.java
  212. +1,248 −1,454 src/com/android/browser/BrowserActivity.java
  213. +298 −0 src/com/android/browser/BrowserBackupAgent.java
  214. +196 −155 src/com/android/browser/BrowserBookmarksAdapter.java
  215. +314 −85 src/com/android/browser/BrowserBookmarksPage.java
  216. +8 −8 src/com/android/browser/BrowserDownloadAdapter.java
  217. +12 −16 src/com/android/browser/BrowserDownloadPage.java
  218. +70 −24 src/com/android/browser/BrowserHistoryPage.java
  219. +23 −24 src/com/android/browser/BrowserHomepagePreference.java
  220. +0 −66 src/com/android/browser/BrowserPluginList.java
  221. +46 −21 src/com/android/browser/BrowserPreferencesPage.java
  222. +178 −17 src/com/android/browser/BrowserProvider.java
  223. +146 −23 src/com/android/browser/BrowserSettings.java
  224. +4 −0 src/com/android/browser/BrowserYesNoPreference.java
  225. +33 −24 src/com/android/browser/CombinedBookmarkHistoryActivity.java
  226. +136 −0 src/com/android/browser/DownloadTouchIcon.java
  227. +339 −0 src/com/android/browser/ErrorConsoleView.java
  228. +0 −106 src/com/android/browser/FakeWebView.java
  229. +7 −8 src/com/android/browser/FetchUrlMimeType.java
  230. +8 −17 src/com/android/browser/FindDialog.java
  231. +0 −474 src/com/android/browser/GearsBaseDialog.java
  232. +0 −279 src/com/android/browser/GearsNativeDialog.java
  233. +0 −196 src/com/android/browser/GearsPermissions.java
  234. +0 −133 src/com/android/browser/GearsPermissionsDialog.java
  235. +0 −460 src/com/android/browser/GearsSettingsDialog.java
  236. +120 −0 src/com/android/browser/GeolocationPermissionsPrompt.java
  237. +13 −59 src/com/android/browser/HistoryItem.java
  238. +0 −265 src/com/android/browser/ImageAdapter.java
  239. +0 −232 src/com/android/browser/ImageGrid.java
  240. +0 −107 src/com/android/browser/KeyTracker.java
  241. +19 −10 src/com/android/browser/MostVisitedActivity.java
  242. +284 −112 src/com/android/browser/TabControl.java
  243. +269 −0 src/com/android/browser/TitleBar.java
Sorry, we could not display the entire diff because it was too big.
View
70 AndroidManifest.xml
@@ -1,25 +1,25 @@
<!--
-/* //device/apps/Browser/AndroidManifest.xml
-**
-** Copyright 2006, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
+/*
+ * Copyright 2006, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser">
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
+ <uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
@@ -28,12 +28,15 @@
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
<uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
+ <uses-permission android:name="android.permission.BACKUP_DATA" />
<application android:name="Browser"
android:label="@string/application_name"
android:icon="@drawable/ic_launcher_browser"
+ android:backupAgent=".BrowserBackupAgent"
android:taskAffinity="android.task.browser" >
<provider android:name="BrowserProvider"
@@ -59,6 +62,7 @@
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="about" />
+ <data android:scheme="javascript" />
</intent-filter>
<!-- For these schemes where any of these particular MIME types
have been supplied, we are a good candidate. -->
@@ -107,20 +111,18 @@
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable" />
- <intent-filter>
- <action android:name="android.net.http.NETWORK_STATE" />
- <action android:name="android.intent.action.PROXY_CHANGE" />
- </intent-filter>
</activity>
<activity android:name="CombinedBookmarkHistoryActivity" android:label=""
- android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
+ android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"
+ android:theme="@style/BookmarkTheme" >
+ <meta-data android:name="android.app.default_searchable"
+ android:value=".BrowserActivity" />
</activity>
<activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks"
android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
</activity>
-
<activity android:name="MostVisitedActivity" android:label=""
android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"/>
@@ -152,14 +154,8 @@
android:configChanges="orientation|keyboardHidden">
</activity>
- <activity android:name="GearsDialog" android:process=":dialog"
- android:configChanges="orientation|keyboardHidden"
- android:theme="@android:style/Theme.Dialog">
- </activity>
-
- <activity android:name="GearsNativeDialog"
- android:configChanges="orientation|keyboardHidden"
- android:theme="@android:style/Theme.Dialog">
+ <activity android:name="WebsiteSettingsActivity" android:label=""
+ android:configChanges="orientation|keyboardHidden">
</activity>
<activity android:name="BookmarkSearch"
@@ -175,14 +171,6 @@
android:resource="@xml/bookmarks_searchable" />
</activity>
- <service android:name="GearsDialogService"
- android:process=":dialog"
- android:exported="false">
- <intent-filter>
- <action android:name="com.android.browser.IGearsDialogService" />
- </intent-filter>
- </service>
-
<activity android:name="AddBookmarkPage" android:label="Save bookmark" android:theme="@android:style/Theme.Dialog"
android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden">
<intent-filter>
@@ -195,6 +183,12 @@
<!-- Makes .BrowserActivity the search target for any activity in Browser -->
<meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />
+ <activity android:name="android.webkit.PluginActivity">
+ <intent-filter>
+ <action android:name="android.intent.webkit.PLUGIN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
</application>
View
1 assets/plugins/gears-0.5.17.0/dummy
@@ -1 +0,0 @@
-This file is used to ensure this subdirectory is created.
View
BIN assets/plugins/gears.so
Binary file not shown.
View
30 res/anim/find_dialog_enter.xml
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
-/* //device/apps/common/res/anim/options_panel_enter.xml
-**
-** Copyright 2007, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
View
30 res/anim/find_dialog_exit.xml
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
-/* //device/apps/common/res/anim/options_panel_exit.xml
-**
-** Copyright 2007, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
View
23 res/anim/title_bar_enter.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator">
+ <translate android:fromYDelta="-25%" android:toYDelta="0"
+ android:duration="@android:integer/config_shortAnimTime"/>
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:duration="@android:integer/config_shortAnimTime" />
+</set>
View
22 res/anim/title_bar_exit.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator">
+ <translate android:fromYDelta="0" android:toYDelta="-50%"
+ android:duration="@android:integer/config_shortAnimTime"/>
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:duration="@android:integer/config_shortAnimTime" />
+</set>
View
BIN res/drawable-hdpi/app_web_browser_sm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/bookmark_shadow.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/browser_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/btn_close_window.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/dialog_divider_horizontal_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/fav_icn_background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_bookmark_browsertab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_bookmarks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_close_panel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_find_next.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_find_prev.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_btn_stop_v2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_close_tab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_bookmark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_browser_certificate_partially_secure.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_browser_certificate_secure.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_browser_security_bad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_browser_security_good.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_dialog_menu_generic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_launcher_browser.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_launcher_drm_file.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_launcher_shortcut_browser_bookmark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_list_bookmark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_list_data_large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_list_data_off.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN res/drawable-hdpi/ic_list_data_small.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_list_gps_denied.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_list_gps_on.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_list_new_window.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_add_bookmark.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_bookmark.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_bookmarks.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_list.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_new_window.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_thumbnail.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_menu_windows.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_search_category_bookmark.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_search_category_browser.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_search_category_history.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_search_category_suggest.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_bookmarks_selected.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_bookmarks_unselected.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_history_selected.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_history_unselected.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_most_visited_selected.png
Diff not rendered.
View
BIN res/drawable-hdpi/ic_tab_most_visited_unselected.png
Diff not rendered.
View
BIN res/drawable-hdpi/page_indicator.png
Diff not rendered.
View
BIN res/drawable-hdpi/page_indicator_unselected2.png
Diff not rendered.
View
BIN res/drawable-hdpi/search_plate_browser.9.png
Diff not rendered.
View
BIN res/drawable-hdpi/ssl_icon.png
Diff not rendered.
View
0 res/drawable/app_web_browser_sm.png → res/drawable-mdpi/app_web_browser_sm.png
Diff not rendered.
View
BIN res/drawable-mdpi/bookmark_shadow.9.png
Diff not rendered.
View
BIN res/drawable-mdpi/browser_thumbnail.png
Diff not rendered.
View
BIN res/drawable-mdpi/btn_close_window.png
Diff not rendered.
View
0 ...ble/dialog_divider_horizontal_light.9.png → ...dpi/dialog_divider_horizontal_light.9.png
Diff not rendered.
View
0 res/drawable/fav_icn_background.png → res/drawable-mdpi/fav_icn_background.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_btn_bookmark_browsertab.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_btn_bookmarks.png
Diff not rendered.
View
0 res/drawable/ic_btn_close_panel.png → res/drawable-mdpi/ic_btn_close_panel.png
Diff not rendered.
View
0 res/drawable/ic_btn_find_next.png → res/drawable-mdpi/ic_btn_find_next.png
Diff not rendered.
View
0 res/drawable/ic_btn_find_prev.png → res/drawable-mdpi/ic_btn_find_prev.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_btn_stop_v2.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_close_tab.png
Diff not rendered.
View
0 res/drawable/ic_dialog_bookmark.png → res/drawable-mdpi/ic_dialog_bookmark.png
Diff not rendered.
View
0 ..._browser_certificate_partially_secure.png → ..._browser_certificate_partially_secure.png
Diff not rendered.
View
0 .../ic_dialog_browser_certificate_secure.png → .../ic_dialog_browser_certificate_secure.png
Diff not rendered.
View
0 ...awable/ic_dialog_browser_security_bad.png → ...e-mdpi/ic_dialog_browser_security_bad.png
Diff not rendered.
View
0 ...wable/ic_dialog_browser_security_good.png → ...-mdpi/ic_dialog_browser_security_good.png
Diff not rendered.
View
0 res/drawable/ic_dialog_menu_generic.png → res/drawable-mdpi/ic_dialog_menu_generic.png
Diff not rendered.
View
0 res/drawable/ic_launcher_browser.png → res/drawable-mdpi/ic_launcher_browser.png
Diff not rendered.
View
0 res/drawable/ic_launcher_drm_file.png → res/drawable-mdpi/ic_launcher_drm_file.png
Diff not rendered.
View
0 ...ic_launcher_shortcut_browser_bookmark.png → ...ic_launcher_shortcut_browser_bookmark.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_bookmark.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_data_large.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_data_off.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_data_small.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_gps_denied.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_gps_on.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_list_new_window.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_menu_add_bookmark.png
Diff not rendered.
View
0 res/drawable/ic_menu_bookmark.png → res/drawable-mdpi/ic_menu_bookmark.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_menu_bookmarks.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_menu_list.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_menu_new_window.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_menu_thumbnail.png
Diff not rendered.
View
0 res/drawable/ic_menu_windows.png → res/drawable-mdpi/ic_menu_windows.png
Diff not rendered.
View
0 res/drawable/ic_search_category_bookmark.png → ...able-mdpi/ic_search_category_bookmark.png
Diff not rendered.
View
0 res/drawable/ic_search_category_browser.png → ...wable-mdpi/ic_search_category_browser.png
Diff not rendered.
View
0 res/drawable/ic_search_category_history.png → ...wable-mdpi/ic_search_category_history.png
Diff not rendered.
View
0 res/drawable/ic_search_category_suggest.png → ...wable-mdpi/ic_search_category_suggest.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_bookmarks_selected.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_bookmarks_unselected.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_history_selected.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_history_unselected.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_most_visited_selected.png
Diff not rendered.
View
BIN res/drawable-mdpi/ic_tab_most_visited_unselected.png
Diff not rendered.
View
0 res/drawable/page_indicator.png → res/drawable-mdpi/page_indicator.png
Diff not rendered.
View
0 res/drawable/page_indicator_unselected2.png → ...wable-mdpi/page_indicator_unselected2.png
Diff not rendered.
View
BIN res/drawable-mdpi/search_plate_browser.9.png
Diff not rendered.
View
0 res/drawable/ssl_icon.png → res/drawable-mdpi/ssl_icon.png
Diff not rendered.
View
23 res/drawable/blank.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape>
+ <corners android:radius="5dip"/>
+ <solid android:color="@color/white"/>
+ </shape>
+ </item>
+</layer-list>
View
4 res/drawable/browser_bookmark_tab.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_selected="true" android:drawable="@drawable/ic_tab_browser_bookmark_selected"/>
- <item android:state_selected="false" android:drawable="@drawable/ic_tab_browser_bookmark_unselected"/>
+ <item android:state_selected="true" android:drawable="@drawable/ic_tab_bookmarks_selected"/>
+ <item android:state_selected="false" android:drawable="@drawable/ic_tab_bookmarks_unselected"/>
</selector>
View
4 res/drawable/browser_history_tab.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_selected="true" android:drawable="@drawable/ic_tab_browser_history_selected"/>
- <item android:state_selected="false" android:drawable="@drawable/ic_tab_browser_history_unselected"/>
+ <item android:state_selected="true" android:drawable="@drawable/ic_tab_history_selected"/>
+ <item android:state_selected="false" android:drawable="@drawable/ic_tab_history_unselected"/>
</selector>
View
4 res/drawable/browser_visited_tab.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_selected="true" android:drawable="@drawable/ic_tab_browser_visited_selected"/>
- <item android:state_selected="false" android:drawable="@drawable/ic_tab_browser_visited_unselected"/>
+ <item android:state_selected="true" android:drawable="@drawable/ic_tab_most_visited_selected"/>
+ <item android:state_selected="false" android:drawable="@drawable/ic_tab_most_visited_unselected"/>
</selector>
View
24 res/drawable/btn_bookmark.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Custom layout file which mimics the btn_search_dialog_voice look, but draws
+ the pressed state even without window focus -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"
+ android:drawable="@*android:drawable/btn_search_dialog_voice_pressed" />
+ <item android:state_pressed="false"
+ android:drawable="@*android:drawable/btn_search_dialog_voice_default" />
+</selector>
View
27 res/drawable/button_line.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:width="2dip">
+ <solid android:color="#ff000000"/>
+ </shape>
+ </item>
+ <item android:left="1dip" android:width="1dip">
+ <shape>
+ <solid android:color="#ffffffff"/>
+ </shape>
+ </item>
+</layer-list>
View
25 res/drawable/close_background.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:state_window_focused="false"
+ android:drawable="@android:color/transparent" />
+ <item android:state_focused="false" android:state_pressed="true"
+ android:drawable="@*android:drawable/list_selector_background_transition" />
+ <item android:state_focused="false" android:state_pressed="false"
+ android:drawable="@color/black"/>
+</selector>
View
BIN res/drawable/default_video_poster.png
Diff not rendered.
View
BIN res/drawable/gears.png
Diff not rendered.
View
29 res/drawable/gears_button.xml
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_focused="true" android:state_pressed="false"
- android:state_enabled="true"
- android:drawable="@drawable/gears_button_selected" />
- <item android:state_enabled="true" android:state_pressed="true"
- android:drawable="@drawable/gears_button_pressed" />
- <item android:state_enabled="true" android:state_focused="false"
- android:state_pressed="false"
- android:drawable="@drawable/gears_button_default" />
- <item android:drawable="@drawable/gears_button_default" />
-</selector>
View
BIN res/drawable/gears_button_default.9.png
Diff not rendered.
View
BIN res/drawable/gears_button_pressed.9.png
Diff not rendered.
View
BIN res/drawable/gears_button_selected.9.png
Diff not rendered.
View
BIN res/drawable/gears_icon_32x32.png
Diff not rendered.
View
BIN res/drawable/gears_icon_48x48.png
Diff not rendered.
View
BIN res/drawable/gears_local_data.png
Diff not rendered.
View
BIN res/drawable/gears_location_data.png
Diff not rendered.
View
BIN res/drawable/ic_new_window.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_bookmark_selected.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_bookmark_unselected.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_history_selected.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_history_unselected.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_visited_selected.png
Diff not rendered.
View
BIN res/drawable/ic_tab_browser_visited_unselected.png
Diff not rendered.
View
24 res/drawable/title_text.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Custom layout file which mimics the standard edit_text look, but draws the
+ pressed state even without window focus -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"
+ android:drawable="@*android:drawable/textfield_pressed" />
+ <item android:state_pressed="false"
+ android:drawable="@*android:drawable/textfield_default" />
+</selector>
View
44 res/layout/active_tabs.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical"
+ android:background="@color/black"
+ >
+ <RelativeLayout
+ style="?android:attr/windowTitleBackgroundStyle"
+ android:layout_width="fill_parent"
+ android:layout_height="?android:attr/windowTitleSize"
+ >
+ <TextView android:id="@android:id/title"
+ style="?android:attr/windowTitleStyle"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@null"
+ android:fadingEdge="horizontal"
+ android:gravity="center_vertical"
+ android:text="@string/active_tabs"
+ />
+ </RelativeLayout>
+ <ListView android:id="@+id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:cacheColorHint="@color/black"
+ />
+</LinearLayout>
View
2 res/layout/add_new_bookmark.xml
@@ -31,7 +31,7 @@
android:layout_marginLeft="5dip"
android:layout_marginRight="11dip"
android:focusable="false"
- android:src="@*android:drawable/sym_action_add"
+ android:src="@drawable/ic_list_bookmark"
android:scaleType="fitCenter"
/>
<LinearLayout
View
79 res/layout/bookmark_thumbnail.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="0dip"
+ >
+
+ <ImageView android:id="@+id/thumb"
+ android:src="@drawable/browser_thumbnail"
+ android:scaleType="center"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center"
+ />
+
+ <!-- FIXME: Want to have a gradient over the thumb -->
+
+ <!-- This holds the star for addbookmark -->
+ <LinearLayout android:id="@+id/holder"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="horizontal"
+ android:background="#99000000"
+ android:gravity="center"
+ android:layout_alignBottom="@+id/thumb"
+ android:layout_alignTop="@+id/thumb"
+ >
+ <ImageView
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:src="@drawable/ic_list_bookmark"
+ />
+ <TextView
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textStyle="bold"
+ android:textColor="@color/white"
+ android:text="@string/add_bookmark_short"
+ />
+ </LinearLayout>
+
+ <TextView android:id="@+id/label"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textStyle="bold"
+ android:textColor="@color/white"
+ android:maxLines="1"
+ android:paddingLeft="2dip"
+ android:paddingRight="2dip"
+ android:paddingTop="0dip"
+ android:paddingBottom="0dip"
+ android:layout_marginTop="0dip"
+ android:scrollHorizontally="true"
+ android:ellipsize="marquee"
+ android:layout_below="@+id/thumb"
+ android:layout_alignLeft="@+id/thumb"
+ android:layout_alignRight="@+id/thumb"
+ />
+
+</RelativeLayout>
View
9 res/layout/browser_add_bookmark.xml
@@ -20,6 +20,15 @@
android:orientation="vertical"
>
+ <ImageView android:id="@+id/titleDivider"
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:scaleType="fitXY"
+ android:gravity="fill_horizontal"
+ android:src="@drawable/dialog_divider_horizontal_light"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"/>
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
View
16 res/layout/browser_downloads_page.xml
@@ -18,8 +18,14 @@
** limitations under the License.
*/
-->
-
-<ListView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/list"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"/>
+ <ViewStub
+ android:id="@+id/empty"
+ android:layout="@layout/no_downloads"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"/>
+</merge>
View
2 res/layout/browser_subwindow.xml
@@ -30,6 +30,8 @@
<WebView android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
+ android:fadeScrollbars="true"
+ android:scrollbarStyle="outsideOverlay"
android:layout_weight="1" />
</LinearLayout>
</FrameLayout>
View
38 res/layout/custom_screen.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android">
+ <FrameLayout android:id="@+id/fullscreen_custom_content"
+ android:visibility="gone"
+ android:background="@color/black"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ />
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <LinearLayout android:id="@+id/error_console"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <FrameLayout android:id="@+id/main_content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ />
+ </LinearLayout>
+</FrameLayout>
View
3 res/layout/empty_history.xml
@@ -14,7 +14,8 @@
limitations under the License.
-->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/empty_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/empty_history"
View
67 res/layout/error_console.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/error_console_view_group_id"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:background="#000000">
+
+ <TextView android:id="@+id/error_console_header_id"
+ android:text="@string/error_console_header_text_minimized"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="2dip"
+ android:paddingBottom="2dip"
+ android:paddingLeft="5dip"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:visibility="gone"
+ />
+
+ <view class="com.android.browser.ErrorConsoleView$ErrorConsoleListView"
+ android:id="@+id/error_console_list_id"
+ android:layout_width="fill_parent"
+ android:layout_height="200dip"
+ android:visibility="gone"
+ android:layout_weight="1"
+ android:cacheColorHint="#000000"
+ />
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/error_console_eval_view_group_id"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone">
+
+ <EditText android:id="@+id/error_console_eval_text_id"
+ android:hint="@string/error_console_eval_text_hint"
+ android:layout_height="wrap_content"
+ android:scrollHorizontally="true"
+ android:inputType="text"
+ android:layout_width="0dip"
+ android:layout_gravity="left"
+ android:layout_weight="1.0"
+ />
+
+ <Button android:id="@+id/error_console_eval_button_id"
+ android:text="@string/error_console_eval_button_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />
+ </LinearLayout>
+</LinearLayout>
View
111 res/layout/gears_dialog_permission.xml
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="10dip">
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:paddingTop="10dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
- android:layout_height="wrap_content">
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
-
- <ImageView
- android:id="@+id/origin_icon"
- android:padding="10dip"
- android:layout_centerHorizontal="true"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:adjustViewBounds="true"
- android:src="@drawable/gears"/>
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="4dip"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/origin_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:textStyle="bold"
- android:gravity="left"
- android:textSize="16dip"
- android:textColor="@color/white"/>
-
- <TextView
- android:id="@+id/origin_subtitle"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:gravity="left"
- android:textSize="13dip"
- android:textColor="@color/white"/>
-
- <TextView
- android:id="@+id/origin_message"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:paddingTop="10dip"
- android:gravity="left"
- android:textSize="13dip"
- android:textColor="@color/white"/>
-
- </LinearLayout>
-
- </LinearLayout>
-
- <TextView
- android:id="@+id/privacy_policy_label"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="10dip"
- android:gravity="center_horizontal"
- android:textSize="13dip"
- android:textStyle="italic"
- android:textColor="@color/white"
- android:visibility="gone"
- android:text="@string/privacy_policy" />
-
- <TextView
- android:id="@+id/permission_dialog_message"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="4dip"
- android:paddingTop="10dip"
- android:gravity="left"
- android:textSize="16dip"
- android:textColor="@color/white"/>
-
- </LinearLayout>
-
-</ScrollView>
View
58 res/layout/gears_dialog_settings.xml
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/gray"
- android:padding="1px">
-
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/white">
-
- <ListView android:id="@+id/sites_list"
- android:padding="4dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- style="@android:style/Widget.ListView.White" />
-
- </LinearLayout>
-
- </LinearLayout>
-
- <TextView
- android:id="@+id/gears_version"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="10dip"
- android:gravity="center_horizontal"
- android:textSize="13dip"
- android:textStyle="italic"
- android:textColor="@color/black" />
-
-</LinearLayout>
View
127 res/layout/gears_dialog_settings_row.xml
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textSize="13dip"
- android:background="@color/white"
- android:textColor="@color/black">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:padding="4dip">
-
- <TextView
- android:id="@+id/origin_name"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textColor="@color/black"
- android:textStyle="bold"/>
-
- <Button
- android:id="@+id/origin_remove"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- style="@style/gears_button"
- android:text="@string/remove"/>
-
- </LinearLayout>
-
- <TableLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:stretchColumns="0"
- android:shrinkColumns="0">
-
- <TableRow
- android:id="@+id/local_storage_choice"
- android:visibility="gone">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:textColor="@color/black"
- android:gravity="center_vertical"
- android:text="@string/local_storage"/>
-
- <RadioGroup
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent">
- <RadioButton
- android:id="@+id/local_storage_allowed"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/black"
- android:textSize="13dip"
- android:text="@string/allowed"/>
-
- <RadioButton
- android:id="@+id/local_storage_denied"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/black"
- android:textSize="13dip"
- android:text="@string/denied"/>
- </RadioGroup>
-
- </TableRow>
-
- <TableRow
- android:id="@+id/location_data_choice"
- android:visibility="gone">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:textColor="@color/black"
- android:layout_gravity="center_vertical"
- android:text="@string/location"/>
-
- <RadioGroup
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent">
- <RadioButton
- android:id="@+id/location_data_allowed"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/black"
- android:textSize="13dip"
- android:text="@string/allowed"/>
-
- <RadioButton
- android:id="@+id/location_data_denied"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/black"
- android:textSize="13dip"
- android:text="@string/denied"/>
- </RadioGroup>
-
- </TableRow>
-
- </TableLayout>
-
-</LinearLayout>
View
48 res/layout/gears_settings.xml
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:drawingCacheQuality="auto"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="0dip">
-
- <ListView android:id="@+id/sites_list"
- android:padding="4dip"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
-
- <ImageView android:id="@+id/titleDivider"
- android:layout_width="fill_parent"
- android:layout_height="1dip"
- android:scaleType="fitXY"
- android:gravity="fill_horizontal"
- android:src="@drawable/dialog_divider_horizontal_light"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"/>
-
- </LinearLayout>
-
-</LinearLayout>
View
99 res/layout/gears_settings_row.xml
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<com.android.internal.view.menu.ListMenuItemView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="?android:attr/listPreferredItemHeight">
-
- <RelativeLayout
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="6dip"
- android:layout_marginRight="6dip"
- android:duplicateParentState="true">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true"
- android:duplicateParentState="true"
- android:ellipsize="start"
- android:fadingEdge="none"/>
-
- <TextView