Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

android-2.1_r1 snapshot

  • Loading branch information...
commit e8697d95fa5f9ba97a1e2bd15f4960d4e59d2213 1 parent 352eb7a
The Android Open Source Project authored
Showing with 19,354 additions and 0 deletions.
  1. +28 −0 Android.mk
  2. +126 −0 AndroidManifest.xml
  3. 0  MODULE_LICENSE_APACHE2
  4. +190 −0 NOTICE
  5. +23 −0 res/anim/fade_in_fast.xml
  6. +23 −0 res/anim/fade_out_fast.xml
  7. +24 −0 res/color/bright_text_dark_focused.xml
  8. BIN  res/drawable-hdpi/all_apps_button_focused.png
  9. BIN  res/drawable-hdpi/all_apps_button_normal.png
  10. BIN  res/drawable-hdpi/all_apps_button_pressed.png
  11. BIN  res/drawable-hdpi/bg_appwidget_error.9.png
  12. BIN  res/drawable-hdpi/box_launcher_bottom.9.png
  13. BIN  res/drawable-hdpi/box_launcher_top_normal.9.png
  14. BIN  res/drawable-hdpi/box_launcher_top_pressed.9.png
  15. BIN  res/drawable-hdpi/box_launcher_top_selected.9.png
  16. BIN  res/drawable-hdpi/focused_application_background.9.png
  17. BIN  res/drawable-hdpi/home_button_focused.png
  18. BIN  res/drawable-hdpi/home_button_normal.png
  19. BIN  res/drawable-hdpi/home_button_pressed.png
  20. BIN  res/drawable-hdpi/ic_home_arrows_1_focus.png
  21. BIN  res/drawable-hdpi/ic_home_arrows_1_focus_right.png
  22. BIN  res/drawable-hdpi/ic_home_arrows_1_normal.png
  23. BIN  res/drawable-hdpi/ic_home_arrows_1_normal_right.png
  24. BIN  res/drawable-hdpi/ic_home_arrows_1_press.png
  25. BIN  res/drawable-hdpi/ic_home_arrows_1_press_right.png
  26. BIN  res/drawable-hdpi/ic_home_arrows_2_focus.png
  27. BIN  res/drawable-hdpi/ic_home_arrows_2_focus_right.png
  28. BIN  res/drawable-hdpi/ic_home_arrows_2_normal.png
  29. BIN  res/drawable-hdpi/ic_home_arrows_2_normal_right.png
  30. BIN  res/drawable-hdpi/ic_home_arrows_2_press.png
  31. BIN  res/drawable-hdpi/ic_home_arrows_2_press_right.png
  32. BIN  res/drawable-hdpi/ic_home_arrows_3_focus.png
  33. BIN  res/drawable-hdpi/ic_home_arrows_3_focus_right.png
  34. BIN  res/drawable-hdpi/ic_home_arrows_3_normal.png
  35. BIN  res/drawable-hdpi/ic_home_arrows_3_normal_right.png
  36. BIN  res/drawable-hdpi/ic_home_arrows_3_press.png
  37. BIN  res/drawable-hdpi/ic_home_arrows_3_press_right.png
  38. BIN  res/drawable-hdpi/ic_home_arrows_4_focus.png
  39. BIN  res/drawable-hdpi/ic_home_arrows_4_focus_right.png
  40. BIN  res/drawable-hdpi/ic_home_arrows_4_normal.png
  41. BIN  res/drawable-hdpi/ic_home_arrows_4_normal_right.png
  42. BIN  res/drawable-hdpi/ic_home_arrows_4_press.png
  43. BIN  res/drawable-hdpi/ic_home_arrows_4_press_right.png
  44. BIN  res/drawable-hdpi/ic_launcher_application.png
  45. BIN  res/drawable-hdpi/ic_launcher_appwidget.png
  46. BIN  res/drawable-hdpi/ic_launcher_folder.png
  47. BIN  res/drawable-hdpi/ic_launcher_folder_open.png
  48. BIN  res/drawable-hdpi/ic_launcher_home.png
  49. BIN  res/drawable-hdpi/ic_launcher_shortcut.png
  50. BIN  res/drawable-hdpi/ic_launcher_wallpaper.png
  51. BIN  res/drawable-hdpi/ic_search_widget.png
  52. BIN  res/drawable-hdpi/pattern_carbon_fiber_dark.png
  53. BIN  res/drawable-hdpi/placeholder_google.png
  54. BIN  res/drawable-hdpi/preview_bg.9.png
  55. BIN  res/drawable-hdpi/preview_bg_focus.9.png
  56. BIN  res/drawable-hdpi/preview_bg_press.9.png
  57. BIN  res/drawable-hdpi/search_button_bg.9.png
  58. BIN  res/drawable-hdpi/search_button_voice.png
  59. BIN  res/drawable-hdpi/search_floater.9.png
  60. BIN  res/drawable-hdpi/textfield_searchwidget_default.9.png
  61. BIN  res/drawable-hdpi/textfield_searchwidget_pressed.9.png
  62. BIN  res/drawable-hdpi/textfield_searchwidget_selected.9.png
  63. BIN  res/drawable-hdpi/trashcan.png
  64. BIN  res/drawable-hdpi/trashcan_hover.png
  65. BIN  res/drawable-hdpi/wallpaper_bluedotgrid.jpg
  66. BIN  res/drawable-hdpi/wallpaper_bluedotgrid_small.jpg
  67. BIN  res/drawable-hdpi/wallpaper_brown.jpg
  68. BIN  res/drawable-hdpi/wallpaper_brown_small.jpg
  69. BIN  res/drawable-hdpi/wallpaper_canyon.jpg
  70. BIN  res/drawable-hdpi/wallpaper_canyon_small.jpg
  71. BIN  res/drawable-hdpi/wallpaper_cloud.jpg
  72. BIN  res/drawable-hdpi/wallpaper_cloud_small.jpg
  73. BIN  res/drawable-hdpi/wallpaper_desert.jpg
  74. BIN  res/drawable-hdpi/wallpaper_desert_small.jpg
  75. BIN  res/drawable-hdpi/wallpaper_despair.jpg
  76. BIN  res/drawable-hdpi/wallpaper_despair_small.jpg
  77. BIN  res/drawable-hdpi/wallpaper_electric.jpg
  78. BIN  res/drawable-hdpi/wallpaper_electric_small.jpg
  79. BIN  res/drawable-hdpi/wallpaper_field.jpg
  80. BIN  res/drawable-hdpi/wallpaper_field_small.jpg
  81. BIN  res/drawable-hdpi/wallpaper_galaxy.jpg
  82. BIN  res/drawable-hdpi/wallpaper_galaxy_small.jpg
  83. BIN  res/drawable-hdpi/wallpaper_goldengate.jpg
  84. BIN  res/drawable-hdpi/wallpaper_goldengate_small.jpg
  85. BIN  res/drawable-hdpi/wallpaper_grass.jpg
  86. BIN  res/drawable-hdpi/wallpaper_grass_night.jpg
  87. BIN  res/drawable-hdpi/wallpaper_grass_night_small.jpg
  88. BIN  res/drawable-hdpi/wallpaper_grass_small.jpg
  89. BIN  res/drawable-hdpi/wallpaper_gray.jpg
  90. BIN  res/drawable-hdpi/wallpaper_gray_small.jpg
  91. BIN  res/drawable-hdpi/wallpaper_greengray.jpg
  92. BIN  res/drawable-hdpi/wallpaper_greengray_small.jpg
  93. BIN  res/drawable-hdpi/wallpaper_hazybluedots.jpg
  94. BIN  res/drawable-hdpi/wallpaper_hazybluedots_small.jpg
  95. BIN  res/drawable-hdpi/wallpaper_lightgrad.jpg
  96. BIN  res/drawable-hdpi/wallpaper_lightgrad_small.jpg
  97. BIN  res/drawable-hdpi/wallpaper_monumentvalley.jpg
  98. BIN  res/drawable-hdpi/wallpaper_monumentvalley_small.jpg
  99. BIN  res/drawable-hdpi/wallpaper_nexuspattern.jpg
  100. BIN  res/drawable-hdpi/wallpaper_nexuspattern_small.jpg
  101. BIN  res/drawable-hdpi/wallpaper_nexusrain.jpg
  102. BIN  res/drawable-hdpi/wallpaper_nexusrain_small.jpg
  103. BIN  res/drawable-hdpi/wallpaper_nexuswallpaper1.png
  104. BIN  res/drawable-hdpi/wallpaper_nexuswallpaper1_small.jpg
  105. BIN  res/drawable-hdpi/wallpaper_pcut.jpg
  106. BIN  res/drawable-hdpi/wallpaper_pcut_small.jpg
  107. BIN  res/drawable-hdpi/wallpaper_ropelights.jpg
  108. BIN  res/drawable-hdpi/wallpaper_ropelights_small.jpg
  109. BIN  res/drawable-hdpi/wallpaper_tree.jpg
  110. BIN  res/drawable-hdpi/wallpaper_tree_small.jpg
  111. BIN  res/drawable-hdpi/wallpaper_x67.jpg
  112. BIN  res/drawable-hdpi/wallpaper_x67_small.jpg
  113. BIN  res/drawable-hdpi/wallpaper_zanzibar.jpg
  114. BIN  res/drawable-hdpi/wallpaper_zanzibar_small.jpg
  115. +23 −0 res/drawable/all_apps_button.xml
  116. +23 −0 res/drawable/box_launcher_top.xml
  117. +24 −0 res/drawable/delete_zone_selector.xml
  118. +26 −0 res/drawable/grid_selector.xml
  119. +23 −0 res/drawable/home_arrows_left.xml
  120. +22 −0 res/drawable/home_arrows_left_1.xml
  121. +22 −0 res/drawable/home_arrows_left_2.xml
  122. +22 −0 res/drawable/home_arrows_left_3.xml
  123. +22 −0 res/drawable/home_arrows_left_4.xml
  124. +23 −0 res/drawable/home_arrows_right.xml
  125. +22 −0 res/drawable/home_arrows_right_1.xml
  126. +22 −0 res/drawable/home_arrows_right_2.xml
  127. +22 −0 res/drawable/home_arrows_right_3.xml
  128. +22 −0 res/drawable/home_arrows_right_4.xml
  129. BIN  res/drawable/pressed_application_background.9.png
  130. +22 −0 res/drawable/preview_background.xml
  131. +25 −0 res/drawable/shortcut_selector.xml
  132. +31 −0 res/drawable/textfield_searchwidget.xml
  133. +18 −0 res/layout-land/application.xml
  134. +33 −0 res/layout-land/application_boxed.xml
  135. +18 −0 res/layout-land/folder_icon.xml
  136. +107 −0 res/layout-land/launcher.xml
  137. +50 −0 res/layout-land/live_folder_grid.xml
  138. +21 −0 res/layout-land/live_folder_icon.xml
  139. +47 −0 res/layout-land/user_folder.xml
  140. +31 −0 res/layout-land/workspace_screen.xml
  141. +18 −0 res/layout-port/application.xml
  142. +33 −0 res/layout-port/application_boxed.xml
  143. +18 −0 res/layout-port/folder_icon.xml
  144. +107 −0 res/layout-port/launcher.xml
  145. +50 −0 res/layout-port/live_folder_grid.xml
  146. +21 −0 res/layout-port/live_folder_icon.xml
  147. +47 −0 res/layout-port/user_folder.xml
  148. +31 −0 res/layout-port/workspace_screen.xml
  149. +25 −0 res/layout/add_list_item.xml
  150. +69 −0 res/layout/application_list.xml
  151. +29 −0 res/layout/appwidget_error.xml
  152. +18 −0 res/layout/list_category.xml
  153. +60 −0 res/layout/list_checkbox_2lines.xml
  154. +42 −0 res/layout/live_folder_list.xml
  155. +25 −0 res/layout/pick_item.xml
  156. +42 −0 res/layout/rename_folder.xml
  157. +43 −0 res/layout/wallpaper_chooser.xml
  158. +22 −0 res/layout/wallpaper_item.xml
  159. +61 −0 res/layout/widget_search.xml
  160. +432 −0 res/raw/rollo.c
  161. +404 −0 res/raw/rollo2.c
  162. +522 −0 res/raw/rollo3.c
  163. +66 −0 res/values-cs/strings.xml
  164. +66 −0 res/values-da/strings.xml
  165. +66 −0 res/values-de/strings.xml
  166. +66 −0 res/values-el/strings.xml
  167. +66 −0 res/values-es-rUS/strings.xml
  168. +66 −0 res/values-es/strings.xml
  169. +66 −0 res/values-fr/strings.xml
  170. +46 −0 res/values-hdpi/wallpapers.xml
  171. +66 −0 res/values-it/strings.xml
  172. +66 −0 res/values-ja/strings.xml
  173. +66 −0 res/values-ko/strings.xml
  174. +23 −0 res/values-land/dimens.xml
  175. +66 −0 res/values-nb/strings.xml
  176. +66 −0 res/values-nl/strings.xml
  177. +66 −0 res/values-pl/strings.xml
  178. +20 −0 res/values-port/dimens.xml
  179. +67 −0 res/values-pt-rPT/strings.xml
  180. +67 −0 res/values-pt/strings.xml
  181. +66 −0 res/values-ru/strings.xml
  182. +66 −0 res/values-sv/strings.xml
  183. +66 −0 res/values-tr/strings.xml
  184. +66 −0 res/values-zh-rCN/strings.xml
  185. +66 −0 res/values-zh-rTW/strings.xml
  186. +85 −0 res/values/attrs.xml
  187. +31 −0 res/values/colors.xml
  188. +22 −0 res/values/dimens.xml
  189. +21 −0 res/values/extra_wallpapers.xml
  190. +138 −0 res/values/strings.xml
  191. +68 −0 res/values/styles.xml
  192. +106 −0 res/xml/default_workspace.xml
  193. +405 −0 src/com/android/launcher2/ActivityPicker.java
  194. +112 −0 src/com/android/launcher2/AddAdapter.java
  195. +216 −0 src/com/android/launcher2/AllAppsList.java
  196. +1,458 −0 src/com/android/launcher2/AllAppsView.java
  197. +177 −0 src/com/android/launcher2/AppInfoCache.java
  198. +157 −0 src/com/android/launcher2/ApplicationInfo.java
  199. +64 −0 src/com/android/launcher2/ApplicationsAdapter.java
  200. +145 −0 src/com/android/launcher2/BubbleTextView.java
  201. +1,095 −0 src/com/android/launcher2/CellLayout.java
  202. +107 −0 src/com/android/launcher2/DeferredHandler.java
  203. +271 −0 src/com/android/launcher2/DeleteZone.java
  204. +577 −0 src/com/android/launcher2/DragController.java
  205. +60 −0 src/com/android/launcher2/DragLayer.java
  206. +26 −0 src/com/android/launcher2/DragScroller.java
  207. +28 −0 src/com/android/launcher2/DragSource.java
  208. +182 −0 src/com/android/launcher2/DragView.java
  209. +98 −0 src/com/android/launcher2/DropTarget.java
  210. +73 −0 src/com/android/launcher2/FastBitmapDrawable.java
  211. +159 −0 src/com/android/launcher2/Folder.java
  212. +99 −0 src/com/android/launcher2/FolderIcon.java
  213. +34 −0 src/com/android/launcher2/FolderInfo.java
  214. +80 −0 src/com/android/launcher2/HandleView.java
  215. +122 −0 src/com/android/launcher2/InstallShortcutReceiver.java
  216. +135 −0 src/com/android/launcher2/ItemInfo.java
  217. +2,272 −0 src/com/android/launcher2/Launcher.java
  218. +39 −0 src/com/android/launcher2/LauncherAppWidgetHost.java
  219. +111 −0 src/com/android/launcher2/LauncherAppWidgetHostView.java
  220. +60 −0 src/com/android/launcher2/LauncherAppWidgetInfo.java
  221. +83 −0 src/com/android/launcher2/LauncherApplication.java
  222. +1,239 −0 src/com/android/launcher2/LauncherModel.java
  223. +808 −0 src/com/android/launcher2/LauncherProvider.java
  224. +232 −0 src/com/android/launcher2/LauncherSettings.java
  225. +134 −0 src/com/android/launcher2/LiveFolder.java
  226. +209 −0 src/com/android/launcher2/LiveFolderAdapter.java
  227. +81 −0 src/com/android/launcher2/LiveFolderIcon.java
  228. +75 −0 src/com/android/launcher2/LiveFolderInfo.java
  229. +380 −0 src/com/android/launcher2/Search.java
  230. +120 −0 src/com/android/launcher2/SymmetricalLinearTween.java
  231. +24 −0 src/com/android/launcher2/TweenCallback.java
  232. +80 −0 src/com/android/launcher2/UninstallShortcutReceiver.java
  233. +93 −0 src/com/android/launcher2/UserFolder.java
  234. +59 −0 src/com/android/launcher2/UserFolderInfo.java
  235. +484 −0 src/com/android/launcher2/Utilities.java
  236. +244 −0 src/com/android/launcher2/WallpaperChooser.java
  237. +36 −0 src/com/android/launcher2/Widget.java
  238. +1,475 −0 src/com/android/launcher2/Workspace.java
View
28 Android.mk
@@ -0,0 +1,28 @@
+#
+# 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.
+#
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+#LOCAL_MODULE_TAGS := user
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_PACKAGE_NAME := Launcher2
+
+LOCAL_OVERRIDES_PACKAGES := Launcher
+
+include $(BUILD_PACKAGE)
View
126 AndroidManifest.xml
@@ -0,0 +1,126 @@
+<?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.
+*/
+-->
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.launcher2"
+ >
+
+ <permission
+ android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
+ android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_install_shortcut"
+ android:description="@string/permdesc_install_shortcut" />
+ <permission
+ android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
+ android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_uninstall_shortcut"
+ android:description="@string/permdesc_uninstall_shortcut"/>
+ <permission
+ android:name="com.android.launcher.permission.READ_SETTINGS"
+ android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_read_settings"
+ android:description="@string/permdesc_read_settings"/>
+ <permission
+ android:name="com.android.launcher.permission.WRITE_SETTINGS"
+ android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
+ android:protectionLevel="normal"
+ android:label="@string/permlab_write_settings"
+ android:description="@string/permdesc_write_settings"/>
+
+ <uses-permission android:name="android.permission.CALL_PHONE" />
+ <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
+ <uses-permission android:name="android.permission.GET_TASKS" />
+ <uses-permission android:name="android.permission.READ_CONTACTS"/>
+ <uses-permission android:name="android.permission.SET_WALLPAPER" />
+ <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.BIND_APPWIDGET" />
+ <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
+ <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
+
+ <application
+ android:name="LauncherApplication"
+ android:label="@string/application_name"
+ android:icon="@drawable/ic_launcher_home">
+
+ <activity
+ android:name="Launcher"
+ android:launchMode="singleTask"
+ android:clearTaskOnLaunch="true"
+ android:stateNotNeeded="true"
+ android:theme="@style/Theme"
+ android:screenOrientation="nosensor"
+ android:windowSoftInputMode="stateUnspecified|adjustPan">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.HOME" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.MONKEY"/>
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:name="WallpaperChooser"
+ android:label="@string/pick_wallpaper"
+ android:icon="@drawable/ic_launcher_wallpaper"
+ android:screenOrientation="nosensor"
+ android:finishOnCloseSystemDialogs="true">
+ <intent-filter>
+ <action android:name="android.intent.action.SET_WALLPAPER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <!-- Enable system-default search mode for any activity in Home -->
+ <meta-data
+ android:name="android.app.default_searchable"
+ android:value="*" />
+
+ <!-- Intent received used to install shortcuts from other applications -->
+ <receiver
+ android:name=".InstallShortcutReceiver"
+ android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
+ <intent-filter>
+ <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
+ </intent-filter>
+ </receiver>
+
+ <!-- Intent received used to uninstall shortcuts from other applications -->
+ <receiver
+ android:name=".UninstallShortcutReceiver"
+ android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
+ <intent-filter>
+ <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
+ </intent-filter>
+ </receiver>
+
+ <!-- The settings provider contains Home's data, like the workspace favorites -->
+ <provider
+ android:name="LauncherProvider"
+ android:authorities="com.android.launcher2.settings"
+ android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
+ android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
+
+ </application>
+</manifest>
View
0  MODULE_LICENSE_APACHE2
No changes.
View
190 NOTICE
@@ -0,0 +1,190 @@
+
+ Copyright (c) 2005-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.
+
+ 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.
+
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
View
23 res/anim/fade_in_fast.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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator"
+
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0"
+
+ android:duration="@android:integer/config_shortAnimTime" />
View
23 res/anim/fade_out_fast.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.
+-->
+
+<alpha xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator"
+
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0"
+
+ android:duration="@android:integer/config_shortAnimTime" />
View
24 res/color/bright_text_dark_focused.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_window_focused="true" android:state_focused="true" android:color="#000" />
+ <item android:state_window_focused="false" android:state_focused="true" android:color="#FFF" />
+ <item android:state_window_focused="false" android:color="#FFF" />
+ <item android:state_selected="true" android:color="#000" />
+ <item android:state_pressed="true" android:color="#000" />
+ <item android:color="#FFF" />
+</selector>
View
BIN  res/drawable-hdpi/all_apps_button_focused.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/all_apps_button_normal.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/all_apps_button_pressed.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/bg_appwidget_error.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/box_launcher_bottom.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/box_launcher_top_normal.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/box_launcher_top_pressed.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/box_launcher_top_selected.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/focused_application_background.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/home_button_focused.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/home_button_normal.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/home_button_pressed.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_home_arrows_1_focus.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_home_arrows_1_focus_right.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_home_arrows_1_normal.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_home_arrows_1_normal_right.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_home_arrows_1_press.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_home_arrows_1_press_right.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_home_arrows_2_focus.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_home_arrows_2_focus_right.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_home_arrows_2_normal.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_home_arrows_2_normal_right.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_home_arrows_2_press.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_home_arrows_2_press_right.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_home_arrows_3_focus.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_home_arrows_3_focus_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_3_normal.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_3_normal_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_3_press.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_3_press_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_focus.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_focus_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_normal.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_normal_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_press.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_home_arrows_4_press_right.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_application.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_appwidget.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_folder.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_folder_open.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_home.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_shortcut.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_launcher_wallpaper.png
Diff not rendered
View
BIN  res/drawable-hdpi/ic_search_widget.png
Diff not rendered
View
BIN  res/drawable-hdpi/pattern_carbon_fiber_dark.png
Diff not rendered
View
BIN  res/drawable-hdpi/placeholder_google.png
Diff not rendered
View
BIN  res/drawable-hdpi/preview_bg.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/preview_bg_focus.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/preview_bg_press.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/search_button_bg.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/search_button_voice.png
Diff not rendered
View
BIN  res/drawable-hdpi/search_floater.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/textfield_searchwidget_default.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/textfield_searchwidget_pressed.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/textfield_searchwidget_selected.9.png
Diff not rendered
View
BIN  res/drawable-hdpi/trashcan.png
Diff not rendered
View
BIN  res/drawable-hdpi/trashcan_hover.png
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_bluedotgrid.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_bluedotgrid_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_brown.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_brown_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_canyon.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_canyon_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_cloud.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_cloud_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_desert.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_desert_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_despair.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_despair_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_electric.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_electric_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_field.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_field_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_galaxy.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_galaxy_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_goldengate.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_goldengate_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_grass.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_grass_night.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_grass_night_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_grass_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_gray.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_gray_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_greengray.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_greengray_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_hazybluedots.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_hazybluedots_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_lightgrad.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_lightgrad_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_monumentvalley.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_monumentvalley_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexuspattern.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexuspattern_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexusrain.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexusrain_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexuswallpaper1.png
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_nexuswallpaper1_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_pcut.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_pcut_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_ropelights.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_ropelights_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_tree.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_tree_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_x67.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_x67_small.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_zanzibar.jpg
Diff not rendered
View
BIN  res/drawable-hdpi/wallpaper_zanzibar_small.jpg
Diff not rendered
View
23 res/drawable/all_apps_button.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/all_apps_button_pressed" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/all_apps_button_focused" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/all_apps_button_normal" />
+ <item android:drawable="@drawable/all_apps_button_normal" />
+</selector>
+
View
23 res/drawable/box_launcher_top.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/box_launcher_top_pressed" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/box_launcher_top_selected" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/box_launcher_top_normal" />
+ <item android:drawable="@drawable/box_launcher_top_normal" />
+</selector>
+
View
24 res/drawable/delete_zone_selector.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** 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.
+*/
+-->
+
+<transition xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/trashcan" />
+ <item android:drawable="@drawable/trashcan_hover" />
+</transition>
View
26 res/drawable/grid_selector.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** 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.
+*/
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/pressed_application_background" />
+ <item android:state_focused="false" android:drawable="@drawable/focused_application_background" />
+ <item android:state_window_focused="true" android:drawable="@drawable/focused_application_background" />
+ <item android:state_window_focused="false" android:drawable="@android:color/transparent" />
+</selector>
View
23 res/drawable/home_arrows_left.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.
+-->
+
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:maxLevel="0" android:drawable="@android:color/transparent" />
+ <item android:maxLevel="1" android:drawable="@drawable/home_arrows_left_1" />
+ <item android:maxLevel="2" android:drawable="@drawable/home_arrows_left_2" />
+ <item android:maxLevel="3" android:drawable="@drawable/home_arrows_left_3" />
+ <item android:maxLevel="4" android:drawable="@drawable/home_arrows_left_4" />
+</level-list>
View
22 res/drawable/home_arrows_left_1.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_1_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_1_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_1_normal" />
+ <item android:drawable="@drawable/ic_home_arrows_1_normal" />
+</selector>
View
22 res/drawable/home_arrows_left_2.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_2_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_2_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_2_normal" />
+ <item android:drawable="@drawable/ic_home_arrows_2_normal" />
+</selector>
View
22 res/drawable/home_arrows_left_3.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_3_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_3_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_3_normal" />
+ <item android:drawable="@drawable/ic_home_arrows_3_normal" />
+</selector>
View
22 res/drawable/home_arrows_left_4.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_4_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_4_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_4_normal" />
+ <item android:drawable="@drawable/ic_home_arrows_4_normal" />
+</selector>
View
23 res/drawable/home_arrows_right.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.
+-->
+
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:maxLevel="0" android:drawable="@drawable/home_arrows_right_4" />
+ <item android:maxLevel="1" android:drawable="@drawable/home_arrows_right_3" />
+ <item android:maxLevel="2" android:drawable="@drawable/home_arrows_right_2" />
+ <item android:maxLevel="3" android:drawable="@drawable/home_arrows_right_1" />
+ <item android:maxLevel="4" android:drawable="@android:color/transparent" />
+</level-list>
View
22 res/drawable/home_arrows_right_1.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_1_press_right" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_1_focus_right" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_1_normal_right" />
+ <item android:drawable="@drawable/ic_home_arrows_1_normal_right" />
+</selector>
View
22 res/drawable/home_arrows_right_2.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_2_press_right" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_2_focus_right" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_2_normal_right" />
+ <item android:drawable="@drawable/ic_home_arrows_2_normal_right" />
+</selector>
View
22 res/drawable/home_arrows_right_3.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_3_press_right" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_3_focus_right" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_3_normal_right" />
+ <item android:drawable="@drawable/ic_home_arrows_3_normal_right" />
+</selector>
View
22 res/drawable/home_arrows_right_4.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_home_arrows_4_press_right" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/ic_home_arrows_4_focus_right" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/ic_home_arrows_4_normal_right" />
+ <item android:drawable="@drawable/ic_home_arrows_4_normal_right" />
+</selector>
View
BIN  res/drawable/pressed_application_background.9.png
Diff not rendered
View
22 res/drawable/preview_background.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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/preview_bg_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/preview_bg_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/preview_bg" />
+ <item android:drawable="@drawable/preview_bg" />
+</selector>
View
25 res/drawable/shortcut_selector.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** 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.
+*/
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/pressed_application_background" />
+ <item android:state_window_focused="true" android:state_focused="true" android:drawable="@drawable/focused_application_background" />
+ <item android:state_window_focused="false" android:state_focused="true" android:drawable="@android:color/transparent" />
+</selector>
View
31 res/drawable/textfield_searchwidget.xml
@@ -0,0 +1,31 @@
+<?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:state_enabled="true"
+ android:drawable="@drawable/textfield_searchwidget_default" />
+
+ <item android:state_pressed="true"
+ android:drawable="@drawable/textfield_searchwidget_pressed" />
+
+ <item android:state_enabled="true" android:state_focused="true"
+ android:drawable="@drawable/textfield_searchwidget_selected" />
+
+ <item android:state_enabled="true"
+ android:drawable="@drawable/textfield_searchwidget_default" />
+
+</selector>
View
18 res/layout-land/application.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+
+<com.android.launcher2.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Landscape" />
View
33 res/layout-land/application_boxed.xml
@@ -0,0 +1,33 @@
+<?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.
+-->
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/name"
+ android:layout_width="fill_parent"
+ android:layout_height="88dip"
+
+ android:paddingLeft="2dip"
+ android:paddingRight="2dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="2dip"
+ android:drawablePadding="0dip"
+
+ android:textSize="13dip"
+ android:maxLines="2"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ android:textColor="@color/bright_text_dark_focused"
+ android:gravity="top|center_horizontal" />
View
18 res/layout-land/folder_icon.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+
+<com.android.launcher2.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Landscape" />
View
107 res/layout-land/launcher.xml
@@ -0,0 +1,107 @@
+<?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.
+-->
+
+<com.android.launcher2.DragLayer
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2"
+
+ android:id="@+id/drag_layer"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <com.android.launcher2.AllAppsView
+ android:id="@+id/all_apps_view"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+
+ android:scrollbarStyle="outsideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
+
+ android:verticalSpacing="10dip"
+ android:numColumns="4" />
+
+ <!-- The workspace contains 3 screens of cells -->
+ <com.android.launcher2.Workspace
+ android:id="@+id/workspace"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:scrollbars="horizontal"
+ android:fadeScrollbars="true"
+ launcher:defaultScreen="2">
+
+ <include android:id="@+id/cell1" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell2" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell3" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell4" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell5" layout="@layout/workspace_screen" />
+
+ </com.android.launcher2.Workspace>
+
+ <ImageView
+ android:id="@+id/previous_screen"
+ android:layout_width="93dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|left"
+ android:layout_marginLeft="6dip"
+
+ android:src="@drawable/home_arrows_left"
+
+ android:onClick="previousScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
+ <ImageView
+ android:id="@+id/next_screen"
+ android:layout_width="93dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|right"
+ android:layout_marginRight="6dip"
+
+ android:src="@drawable/home_arrows_right"
+
+ android:onClick="nextScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
+ <com.android.launcher2.HandleView
+ android:id="@+id/all_apps_button"
+ android:layout_width="@dimen/button_bar_height"
+ android:layout_height="fill_parent"
+ android:layout_gravity="right|center_vertical"
+
+ android:focusable="true"
+ android:clickable="true"
+
+ android:scaleType="center"
+ android:src="@drawable/all_apps_button"
+ launcher:direction="vertical"
+ />
+
+ <com.android.launcher2.DeleteZone
+ android:id="@+id/delete_zone"
+ android:layout_width="49dip"
+ android:layout_height="fill_parent"
+
+ android:scaleType="center"
+ android:src="@drawable/delete_zone_selector"
+ android:visibility="invisible"
+ launcher:direction="vertical"
+ />
+
+</com.android.launcher2.DragLayer>
View
50 res/layout-land/live_folder_grid.xml
@@ -0,0 +1,50 @@
+<?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.
+ */
+-->
+
+<com.android.launcher2.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical">
+
+ <Button
+ android:id="@+id/folder_close"
+ android:background="@drawable/box_launcher_top"
+ android:gravity="left|center_vertical"
+ android:textSize="14sp"
+ android:textColor="#404040"
+ android:textStyle="bold"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <GridView
+ android:id="@+id/folder_content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+
+ android:cacheColorHint="#ff333333"
+ android:background="@drawable/box_launcher_bottom"
+
+ android:scrollbarAlwaysDrawVerticalTrack="true"
+ android:scrollbarStyle="insideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
+
+ android:verticalSpacing="10dip"
+ android:numColumns="5" />
+
+</com.android.launcher2.LiveFolder>
View
21 res/layout-land/live_folder_icon.xml
@@ -0,0 +1,21 @@
+<?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.
+ */
+-->
+
+<com.android.launcher2.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Landscape" />
View
47 res/layout-land/user_folder.xml
@@ -0,0 +1,47 @@
+<?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.
+-->
+
+<com.android.launcher2.UserFolder xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical">
+
+ <Button
+ android:id="@+id/folder_close"
+ android:background="@drawable/box_launcher_top"
+ android:gravity="left|center_vertical"
+ android:textSize="14sp"
+ android:textColor="#404040"
+ android:textStyle="bold"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <GridView
+ android:id="@id/folder_content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+
+ android:cacheColorHint="#ff333333"
+ android:background="@drawable/box_launcher_bottom"
+
+ android:scrollbarAlwaysDrawVerticalTrack="true"
+ android:scrollbarStyle="insideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
+
+ android:verticalSpacing="10dip"
+ android:numColumns="5" />
+
+</com.android.launcher2.UserFolder>
View
31 res/layout-land/workspace_screen.xml
@@ -0,0 +1,31 @@
+<?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.
+-->
+
+<com.android.launcher2.CellLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2"
+
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+
+ launcher:cellWidth="@dimen/workspace_cell_width"
+ launcher:cellHeight="@dimen/workspace_cell_height"
+ launcher:longAxisStartPadding="0dip"
+ launcher:longAxisEndPadding="55dip"
+ launcher:shortAxisStartPadding="0dip"
+ launcher:shortAxisEndPadding="0dip"
+ launcher:shortAxisCells="4"
+ launcher:longAxisCells="4" />
View
18 res/layout-port/application.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+
+<com.android.launcher2.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Portrait" />
View
33 res/layout-port/application_boxed.xml
@@ -0,0 +1,33 @@
+<?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.
+-->
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/name"
+ android:layout_width="fill_parent"
+ android:layout_height="88dip"
+
+ android:paddingLeft="2dip"
+ android:paddingRight="2dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="2dip"
+ android:drawablePadding="0dip"
+
+ android:textSize="13dip"
+ android:maxLines="2"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ android:textColor="@color/bright_text_dark_focused"
+ android:gravity="top|center_horizontal" />
View
18 res/layout-port/folder_icon.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+
+<com.android.launcher2.FolderIcon xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Portrait" />
View
107 res/layout-port/launcher.xml
@@ -0,0 +1,107 @@
+<?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.
+-->
+
+<com.android.launcher2.DragLayer
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher2"
+
+ android:id="@+id/drag_layer"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <com.android.launcher2.AllAppsView
+ android:id="@+id/all_apps_view"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+
+ android:scrollbarStyle="outsideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
+
+ android:verticalSpacing="10dip"
+ android:numColumns="4"
+ />
+
+ <!-- The workspace contains 3 screens of cells -->
+ <com.android.launcher2.Workspace
+ android:id="@+id/workspace"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ launcher:defaultScreen="2">
+
+ <include android:id="@+id/cell1" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell2" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell3" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell4" layout="@layout/workspace_screen" />
+ <include android:id="@+id/cell5" layout="@layout/workspace_screen" />
+
+ </com.android.launcher2.Workspace>
+
+ <ImageView
+ android:id="@+id/previous_screen"
+ android:layout_width="93dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|left"
+ android:layout_marginLeft="6dip"
+
+ android:src="@drawable/home_arrows_left"
+
+ android:onClick="previousScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
+ <ImageView
+ android:id="@+id/next_screen"
+ android:layout_width="93dip"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|right"
+ android:layout_marginRight="6dip"
+
+ android:src="@drawable/home_arrows_right"
+
+ android:onClick="nextScreen"
+
+ android:focusable="true"
+ android:clickable="true" />
+
+ <com.android.launcher2.HandleView
+ android:id="@+id/all_apps_button"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|center_horizontal"
+
+ android:focusable="true"
+ android:clickable="true"
+
+ android:scaleType="center"
+ android:src="@drawable/all_apps_button"
+ launcher:direction="horizontal"
+ />
+
+ <com.android.launcher2.DeleteZone
+ android:id="@+id/delete_zone"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/button_bar_height"
+ android:layout_gravity="bottom|center_horizontal"
+
+ android:scaleType="center"
+ android:src="@drawable/delete_zone_selector"
+ android:visibility="invisible"
+ launcher:direction="horizontal"
+ />
+
+</com.android.launcher2.DragLayer>
View
50 res/layout-port/live_folder_grid.xml
@@ -0,0 +1,50 @@
+<?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.
+ */
+-->
+
+<com.android.launcher2.LiveFolder xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical">
+
+ <Button
+ android:id="@+id/folder_close"
+ android:background="@drawable/box_launcher_top"
+ android:gravity="left|center_vertical"
+ android:textSize="14sp"
+ android:textColor="#404040"
+ android:textStyle="bold"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <GridView
+ android:id="@id/folder_content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+
+ android:cacheColorHint="#ff333333"
+ android:background="@drawable/box_launcher_bottom"
+
+ android:scrollbarAlwaysDrawVerticalTrack="true"
+ android:scrollbarStyle="insideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
+
+ android:verticalSpacing="10dip"
+ android:numColumns="4" />
+
+</com.android.launcher2.LiveFolder>
View
21 res/layout-port/live_folder_icon.xml
@@ -0,0 +1,21 @@
+<?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.
+ */
+-->
+
+<com.android.launcher2.LiveFolderIcon xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/WorkspaceIcon.Portrait" />
View
47 res/layout-port/user_folder.xml
@@ -0,0 +1,47 @@
+<?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.
+-->
+
+<com.android.launcher2.UserFolder