Browse Source

auto import from //depot/cupcake/@135843

The Android Open Source Project 10 years ago
parent
commit
afc4ab2ffb
100 changed files with 5286 additions and 0 deletions
  1. 14
    0
      Android.mk
  2. 508
    0
      AndroidManifest.xml
  3. 0
    0
      MODULE_LICENSE_APACHE2
  4. 190
    0
      NOTICE
  5. BIN
      res/drawable/app_settings.png
  6. BIN
      res/drawable/border_item_thumbnail.png
  7. BIN
      res/drawable/dotted_line_480px.png
  8. BIN
      res/drawable/ic_bt_cellphone.png
  9. BIN
      res/drawable/ic_bt_headphones_a2dp.png
  10. BIN
      res/drawable/ic_bt_headset_hfp.png
  11. BIN
      res/drawable/ic_bt_laptop.png
  12. BIN
      res/drawable/ic_btn_next.png
  13. BIN
      res/drawable/ic_launcher_settings.png
  14. BIN
      res/drawable/ic_menu_3d_globe.png
  15. BIN
      res/drawable/ic_menu_add.png
  16. BIN
      res/drawable/ic_menu_filter_settings.png
  17. BIN
      res/drawable/ic_menu_scan_network.png
  18. BIN
      res/drawable/ic_network_signal_0.png
  19. BIN
      res/drawable/ic_network_signal_1.png
  20. BIN
      res/drawable/ic_network_signal_2.png
  21. BIN
      res/drawable/ic_network_signal_3.png
  22. BIN
      res/drawable/ic_network_signal_4.png
  23. BIN
      res/drawable/ic_popup_brightness.png
  24. BIN
      res/drawable/ic_wifi_lock_signal_1.png
  25. BIN
      res/drawable/ic_wifi_lock_signal_2.png
  26. BIN
      res/drawable/ic_wifi_lock_signal_3.png
  27. BIN
      res/drawable/ic_wifi_lock_signal_4.png
  28. BIN
      res/drawable/ic_wifi_signal_1.png
  29. BIN
      res/drawable/ic_wifi_signal_2.png
  30. BIN
      res/drawable/ic_wifi_signal_3.png
  31. BIN
      res/drawable/ic_wifi_signal_4.png
  32. 37
    0
      res/drawable/lock_anim.xml
  33. BIN
      res/drawable/lock_anim_0.png
  34. BIN
      res/drawable/lock_anim_1.png
  35. BIN
      res/drawable/lock_anim_10.png
  36. BIN
      res/drawable/lock_anim_11.png
  37. BIN
      res/drawable/lock_anim_12.png
  38. BIN
      res/drawable/lock_anim_13.png
  39. BIN
      res/drawable/lock_anim_14.png
  40. BIN
      res/drawable/lock_anim_2.png
  41. BIN
      res/drawable/lock_anim_3.png
  42. BIN
      res/drawable/lock_anim_4.png
  43. BIN
      res/drawable/lock_anim_5.png
  44. BIN
      res/drawable/lock_anim_6.png
  45. BIN
      res/drawable/lock_anim_7.png
  46. BIN
      res/drawable/lock_anim_8.png
  47. BIN
      res/drawable/lock_anim_9.png
  48. 24
    0
      res/drawable/signal.xml
  49. 22
    0
      res/drawable/wifi_signal.xml
  50. 23
    0
      res/drawable/wifi_signal_lock.xml
  51. 23
    0
      res/drawable/wifi_signal_open.xml
  52. 86
    0
      res/layout-land/choose_lock_pattern.xml
  53. 66
    0
      res/layout-land/confirm_lock_pattern.xml
  54. 30
    0
      res/layout/band_mode.xml
  55. 144
    0
      res/layout/battery_history.xml
  56. 89
    0
      res/layout/battery_info.xml
  57. 51
    0
      res/layout/bluetooth.xml
  58. 62
    0
      res/layout/bluetooth_device_info.xml
  59. 51
    0
      res/layout/bluetooth_pin_entry.xml
  60. 38
    0
      res/layout/bookmark_picker_item.xml
  61. 81
    0
      res/layout/choose_lock_pattern.xml
  62. 93
    0
      res/layout/choose_lock_pattern_example.xml
  63. 85
    0
      res/layout/choose_lock_pattern_tutorial.xml
  64. 36
    0
      res/layout/compute_sizes.xml
  65. 51
    0
      res/layout/confirm_lock_pattern.xml
  66. 55
    0
      res/layout/date_time_settings_setupwizard.xml
  67. 29
    0
      res/layout/dialog_edittext.xml
  68. 49
    0
      res/layout/display.xml
  69. 311
    0
      res/layout/installed_app_details.xml
  70. 111
    0
      res/layout/intent_sender.xml
  71. 35
    0
      res/layout/list_content_with_empty_view.xml
  72. 28
    0
      res/layout/locale_picker.xml
  73. 44
    0
      res/layout/locale_picker_in_setupwizard.xml
  74. 38
    0
      res/layout/locale_picker_item.xml
  75. 59
    0
      res/layout/manage_applications_item.xml
  76. 38
    0
      res/layout/master_clear_final.xml
  77. 39
    0
      res/layout/master_clear_primary.xml
  78. 38
    0
      res/layout/media_format_final.xml
  79. 39
    0
      res/layout/media_format_primary.xml
  80. 56
    0
      res/layout/preference_bluetooth.xml
  81. 71
    0
      res/layout/preference_dialog_ringervolume.xml
  82. 57
    0
      res/layout/preference_progress_category.xml
  83. 25
    0
      res/layout/preference_widget_shortcut.xml
  84. 23
    0
      res/layout/preference_widget_wifi_signal.xml
  85. 78
    0
      res/layout/proxy.xml
  86. 265
    0
      res/layout/radio_info.xml
  87. 132
    0
      res/layout/sdcard_settings_screen.xml
  88. 45
    0
      res/layout/usage_stats.xml
  89. 50
    0
      res/layout/usage_stats_item.xml
  90. 91
    0
      res/layout/wifi_ap_configure.xml
  91. 61
    0
      res/layout/wifi_ap_info.xml
  92. 32
    0
      res/layout/wifi_ap_info_row.xml
  93. 57
    0
      res/layout/wifi_ap_retry_password.xml
  94. 19
    0
      res/values-cs-nokeys/strings.xml
  95. 72
    0
      res/values-cs/arrays.xml
  96. 672
    0
      res/values-cs/strings.xml
  97. 19
    0
      res/values-de-nokeys/strings.xml
  98. 72
    0
      res/values-de/arrays.xml
  99. 672
    0
      res/values-de/strings.xml
  100. 0
    0
      res/values-es-nokeys/strings.xml

+ 14
- 0
Android.mk View File

@@ -0,0 +1,14 @@
1
+LOCAL_PATH:= $(call my-dir)
2
+include $(CLEAR_VARS)
3
+
4
+LOCAL_MODULE_TAGS := user development
5
+
6
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
7
+
8
+LOCAL_PACKAGE_NAME := Settings
9
+LOCAL_CERTIFICATE := platform
10
+
11
+include $(BUILD_PACKAGE)
12
+
13
+# Use the folloing include to make our test apk.
14
+include $(call all-makefiles-under,$(LOCAL_PATH))

+ 508
- 0
AndroidManifest.xml View File

@@ -0,0 +1,508 @@
1
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+        package="com.android.settings"
3
+        android:sharedUserId="android.uid.system">
4
+
5
+    <uses-permission android:name="com.google.android.providers.gmail.permission.WRITE_GMAIL" />
6
+    <uses-permission android:name="com.google.android.providers.gmail.permission.READ_GMAIL" />
7
+    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
8
+    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
9
+    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
10
+    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
11
+    <uses-permission android:name="android.permission.VIBRATE" />
12
+    <uses-permission android:name="android.permission.BLUETOOTH" />
13
+    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
14
+    <uses-permission android:name="android.permission.HARDWARE_TEST" />
15
+    <uses-permission android:name="android.permission.CALL_PHONE" />
16
+    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
17
+    <uses-permission android:name="android.permission.MASTER_CLEAR" />
18
+    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
19
+    <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
20
+    <uses-permission android:name="android.permission.READ_CONTACTS" />
21
+    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
22
+    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
23
+    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
24
+    <uses-permission android:name="android.permission.INTERNET" />
25
+    <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
26
+    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
27
+    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
28
+    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
29
+    <uses-permission android:name="android.permission.WRITE_APN_SETTINGS"/>
30
+    <uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
31
+    <uses-permission android:name="android.permission.READ_USER_DICTIONARY"/>
32
+    <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY"/>
33
+    <uses-permission android:name="android.permission.RESTART_PACKAGES"/>
34
+    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
35
+    <uses-permission android:name="android.permission.BATTERY_STATS"/>
36
+    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
37
+    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
38
+
39
+    <application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings">
40
+
41
+        <!-- Settings -->
42
+
43
+        <activity android:name="Settings" android:label="@string/settings_label"
44
+                android:clearTaskOnLaunch="true"
45
+                android:launchMode="singleTop">
46
+            <intent-filter>
47
+                <action android:name="android.intent.action.MAIN" />
48
+                <action android:name="android.settings.SETTINGS" />
49
+                <category android:name="android.intent.category.DEFAULT" />
50
+                <category android:name="android.intent.category.LAUNCHER" />
51
+            </intent-filter>
52
+        </activity>
53
+
54
+        <!-- Wireless Controls -->
55
+
56
+        <activity android:name="WirelessSettings" 
57
+                android:label="@string/radio_controls_title"
58
+                >
59
+            <intent-filter>
60
+                <action android:name="android.intent.action.MAIN" />
61
+                <action android:name="android.settings.WIRELESS_SETTINGS" />
62
+                <action android:name="android.settings.AIRPLANE_MODE_SETTINGS" />
63
+                <category android:name="android.intent.category.DEFAULT" />
64
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
65
+            </intent-filter>
66
+        </activity>
67
+
68
+
69
+        <!-- Top-level settings -->
70
+
71
+        <activity android:name=".wifi.WifiSettings" android:label="@string/wifi_settings"
72
+                >
73
+            <intent-filter>
74
+                <action android:name="android.intent.action.MAIN" />
75
+                <action android:name="android.settings.WIFI_SETTINGS" />
76
+                <action android:name="android.net.wifi.PICK_WIFI_NETWORK" />
77
+                <category android:name="android.intent.category.DEFAULT" />
78
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
79
+            </intent-filter>
80
+        </activity>
81
+
82
+        <activity android:name=".wifi.AdvancedSettings" android:label="@string/wifi_ip_settings_titlebar"
83
+                >
84
+            <intent-filter>
85
+                <action android:name="android.intent.action.MAIN" />
86
+                <action android:name="android.settings.WIFI_IP_SETTINGS" />
87
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
88
+            </intent-filter>
89
+        </activity>
90
+
91
+        <activity android:name="ApnSettings" android:label="@string/apn_settings"
92
+                  android:configChanges="orientation|keyboardHidden"
93
+                  android:launchMode="singleInstance" 
94
+                >
95
+            <intent-filter>
96
+                <action android:name="android.intent.action.MAIN" />
97
+                <action android:name="android.settings.APN_SETTINGS" />
98
+                <category android:name="android.intent.category.DEFAULT" />
99
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
100
+            </intent-filter>
101
+        </activity>
102
+
103
+        <activity android:name=".bluetooth.BluetoothSettings"
104
+                  android:label="@string/bluetooth_settings_title"
105
+                  >
106
+            <intent-filter>
107
+                <action android:name="android.intent.action.MAIN" />
108
+                <action android:name="android.settings.BLUETOOTH_SETTINGS" />
109
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
110
+            </intent-filter>
111
+        </activity>
112
+
113
+        <activity android:name="DateTimeSettings" android:label="@string/date_and_time"
114
+                >
115
+            <intent-filter>
116
+                <action android:name="android.intent.action.MAIN" />
117
+                <action android:name="android.settings.DATE_SETTINGS" />
118
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
119
+            </intent-filter>
120
+        </activity>
121
+
122
+        <activity android:name="DateTimeSettingsSetupWizard" android:label="@string/date_and_time">
123
+            android:screenOrientation="portrait"
124
+            <intent-filter>
125
+                <action android:name="android.intent.action.MAIN" />
126
+            </intent-filter>
127
+        </activity>
128
+
129
+        <activity android:name="LocalePicker" android:label="@string/language_picker_title">
130
+            <intent-filter>
131
+                <action android:name="android.intent.action.MAIN" />
132
+                <action android:name="android.settings.LOCALE_SETTINGS" />
133
+                <category android:name="android.intent.category.DEFAULT" />
134
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
135
+            </intent-filter>
136
+        </activity>
137
+        
138
+        <activity android:name="LocalePickerInSetupWizard" android:label="@string/language_picker_title">
139
+            <intent-filter>
140
+                <action android:name="android.intent.action.MAIN" />
141
+            </intent-filter>
142
+        </activity>
143
+
144
+        <activity android:name="LanguageSettings" android:label="@string/language_picker_title"
145
+                >
146
+            <intent-filter>
147
+                <action android:name="android.intent.action.MAIN" />
148
+                <category android:name="android.intent.category.DEFAULT" />
149
+            </intent-filter>
150
+        </activity>
151
+
152
+        <activity android:name="InputMethodsSettings" android:icon="@drawable/app_settings"
153
+                android:label="@string/input_methods_settings_title"
154
+                >
155
+            <intent-filter>
156
+                <action android:name="android.intent.action.MAIN" />
157
+                <action android:name="android.settings.INPUT_METHOD_SETTINGS" />
158
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
159
+            </intent-filter>
160
+        </activity>
161
+
162
+        <activity android:name="UserDictionarySettings" android:icon="@drawable/app_settings"
163
+                android:label="@string/user_dict_settings_titlebar">
164
+            <intent-filter>
165
+                <action android:name="android.intent.action.MAIN" />
166
+                <action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
167
+                <action android:name="com.android.settings.USER_DICTIONARY_INSERT" />
168
+                <category android:name="android.intent.category.DEFAULT" />
169
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
170
+            </intent-filter>
171
+        </activity>
172
+
173
+        <activity android:name="SoundAndDisplaySettings" android:label="@string/sound_and_display_settings"
174
+                >
175
+            <intent-filter>
176
+                <action android:name="android.intent.action.MAIN" />
177
+                <action android:name="com.android.settings.SOUND_SETTINGS" />
178
+                <action android:name="com.android.settings.DISPLAY_SETTINGS" />
179
+                <category android:name="android.intent.category.DEFAULT" />
180
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
181
+            </intent-filter>
182
+        </activity>
183
+
184
+        <activity android:name="DeviceInfoSettings" android:label="@string/device_info_settings"
185
+                >
186
+            <intent-filter>
187
+                <action android:name="android.intent.action.MAIN" />
188
+                <category android:name="android.intent.category.DEFAULT" />
189
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
190
+            </intent-filter>
191
+        </activity>
192
+
193
+        <activity android:name="SettingsLicenseActivity"
194
+                android:label="@string/settings_license_activity_title"
195
+                android:theme="@*android:style/Theme.Dialog.Alert">
196
+            <intent-filter>
197
+                <action android:name="android.settings.LICENSE" />
198
+                <category android:name="android.intent.category.DEFAULT" />
199
+            </intent-filter>
200
+        </activity>
201
+
202
+        <activity android:name="ApplicationSettings" android:label="@string/applications_settings_header"
203
+                >
204
+            <intent-filter>
205
+                <action android:name="android.intent.action.MAIN" />
206
+                <action android:name="android.settings.APPLICATION_SETTINGS" />
207
+                <category android:name="android.intent.category.DEFAULT" />
208
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
209
+            </intent-filter>
210
+        </activity>
211
+
212
+        <activity android:name="ManageApplications"
213
+                  android:label="@string/manageapplications_settings_title"
214
+                  android:configChanges="orientation|keyboardHidden">
215
+            <intent-filter>
216
+                <action android:name="android.intent.action.MAIN" />
217
+                <action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
218
+                <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
219
+                <category android:name="android.intent.category.DEFAULT" />
220
+                <category android:name="android.intent.category.MONKEY" />
221
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
222
+            </intent-filter>
223
+        </activity>
224
+        
225
+        <activity android:name="InstalledAppDetails" android:label="@string/application_info_label">
226
+            <intent-filter>
227
+                <action android:name="android.intent.action.VIEW" />
228
+                <category android:name="android.intent.category.DEFAULT" />
229
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
230
+            </intent-filter>
231
+        </activity>
232
+
233
+        <activity android:name="SecuritySettings" android:label="@string/security_settings_title">
234
+            <intent-filter>
235
+                <action android:name="android.intent.action.MAIN" />
236
+                <action android:name="android.settings.SECURITY_SETTINGS" />
237
+                <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" />
238
+                <category android:name="android.intent.category.DEFAULT" />
239
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
240
+            </intent-filter>
241
+        </activity>
242
+
243
+        <activity android:name="SimLockSettings" android:label="@string/sim_lock_settings"
244
+                android:process="com.android.phone">
245
+            <intent-filter>
246
+                <action android:name="android.intent.action.MAIN" />
247
+                <category android:name="android.intent.category.DEFAULT" />
248
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
249
+            </intent-filter>
250
+        </activity>
251
+
252
+
253
+
254
+
255
+        <!-- Second and third-level settings -->
256
+
257
+        <activity android:name="ConfirmLockPattern"/>
258
+        
259
+        <activity android:name="ChooseLockPattern" android:label="@string/lockpattern_change_lock_pattern_label">
260
+            <intent-filter>
261
+                <action android:name="android.intent.action.DEFAULT" />
262
+            </intent-filter>
263
+        </activity>
264
+
265
+        <activity android:name="ChooseLockPatternTutorial" 
266
+            android:label="@string/lockpattern_change_lock_pattern_label"
267
+            >
268
+            <intent-filter>
269
+                <action android:name="android.intent.action.DEFAULT" />
270
+            </intent-filter>
271
+        </activity>
272
+        
273
+        <activity android:name="ChooseLockPatternExample" 
274
+            android:label="@string/lockpattern_change_lock_pattern_label">
275
+            <intent-filter>
276
+                <action android:name="android.intent.action.DEFAULT" />
277
+            </intent-filter>
278
+        </activity>
279
+
280
+        <activity android:name="ZoneList" android:label="@string/choose_timezone" />
281
+
282
+        <activity android:name=".deviceinfo.Status" android:label="@string/device_status_activity_title"
283
+                android:process="com.android.phone">
284
+            <intent-filter>
285
+                <action android:name="android.intent.action.MAIN" />
286
+                <category android:name="android.intent.category.DEFAULT" />
287
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
288
+            </intent-filter>
289
+        </activity>
290
+
291
+        <activity android:name=".deviceinfo.Memory" android:label="@string/storage_settings_title">
292
+            <intent-filter>
293
+                <action android:name="android.intent.action.MAIN" />
294
+                <action android:name="android.settings.INTERNAL_STORAGE_SETTINGS" />
295
+                <action android:name="android.settings.MEMORY_CARD_SETTINGS" />
296
+                <category android:name="android.intent.category.DEFAULT" />
297
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
298
+            </intent-filter>
299
+        </activity>
300
+
301
+        <activity android:name="ApnEditor" android:label="@string/apn_edit">
302
+            <intent-filter>
303
+                <action android:name="android.intent.action.VIEW" />
304
+                <action android:name="android.intent.action.EDIT" />
305
+                <category android:name="android.intent.category.DEFAULT" />
306
+                <data android:mimeType="vnd.android.cursor.item/telephony-carrier" />
307
+            </intent-filter>
308
+
309
+            <intent-filter>
310
+                <action android:name="android.intent.action.INSERT" />
311
+                <category android:name="android.intent.category.DEFAULT" />
312
+                <data android:mimeType="vnd.android.cursor.dir/telephony-carrier" />
313
+            </intent-filter>
314
+        </activity>
315
+
316
+        <activity android:name="MasterClear" android:label="@string/master_clear_title">
317
+            <intent-filter>
318
+                <action android:name="android.intent.action.MAIN" />
319
+            </intent-filter>
320
+        </activity>
321
+
322
+        <activity android:name="MediaFormat" android:label="@string/media_format_title">
323
+            <intent-filter>
324
+                <action android:name="android.intent.action.MAIN" />
325
+            </intent-filter>
326
+        </activity>
327
+
328
+        <activity android:name=".quicklaunch.QuickLaunchSettings" 
329
+                android:label="@string/quick_launch_title">
330
+            <intent-filter>
331
+                <action android:name="android.intent.action.MAIN" />
332
+                <action android:name="com.android.settings.QUICK_LAUNCH_SETTINGS" />
333
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
334
+            </intent-filter>
335
+        </activity>
336
+        
337
+        <activity android:name=".quicklaunch.BookmarkPicker" android:label="@string/quick_launch_title">
338
+            <intent-filter>
339
+                <action android:name="android.intent.action.MAIN" />
340
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
341
+            </intent-filter>
342
+        </activity>
343
+
344
+        <activity android:name="DevelopmentSettings" android:icon="@drawable/app_settings"
345
+                android:label="@string/development_settings_title">
346
+            <intent-filter>
347
+                <action android:name="android.intent.action.MAIN" />
348
+                <action android:name="com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS" />
349
+            </intent-filter>
350
+        </activity>
351
+
352
+
353
+
354
+
355
+        <!-- Bluetooth stuff -->
356
+
357
+        <activity android:name=".bluetooth.ConnectSpecificProfilesActivity"
358
+                  android:label="@string/bluetooth_connect_specific_profiles_title" />
359
+
360
+        <activity android:name=".bluetooth.BluetoothPinDialog"
361
+                  android:label="@string/bluetooth_pin_entry"
362
+                  android:theme="@*android:style/Theme.Dialog.Alert">
363
+            <intent-filter>
364
+                <action android:name="android.bluetooth.intent.action.PAIRING_REQUEST" />
365
+                <category android:name="android.intent.category.DEFAULT" />
366
+            </intent-filter>
367
+        </activity>
368
+
369
+        <receiver android:name=".bluetooth.BluetoothPinRequest">
370
+            <intent-filter>
371
+                <action android:name="android.bluetooth.intent.action.PAIRING_REQUEST" />
372
+                <action android:name="android.bluetooth.intent.action.PAIRING_CANCEL" />
373
+            </intent-filter>
374
+        </receiver>
375
+
376
+        <activity android:name="ActivityPicker" android:label="@string/activity_picker_label">
377
+            <intent-filter>
378
+                <action android:name="android.intent.action.PICK_ACTIVITY" />
379
+                <category android:name="android.intent.category.DEFAULT" />
380
+            </intent-filter>
381
+        </activity>
382
+
383
+
384
+
385
+
386
+
387
+        <!-- Development settings -->
388
+
389
+        <activity android:name="DebugIntentSender" android:label="@string/debug_intent_sender_label">
390
+            <intent-filter>
391
+                <action android:name="android.intent.action.MAIN" />
392
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
393
+            </intent-filter>
394
+        </activity>
395
+
396
+        <activity android:name="DeviceInfo" android:label="@string/device_info_label">
397
+            <intent-filter>
398
+                <action android:name="android.intent.action.MAIN" />
399
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
400
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
401
+            </intent-filter>
402
+        </activity>
403
+
404
+        <!-- DeviceInfo adds the user's requested build to stats upload.  -->
405
+        <receiver android:name=".DeviceInfo$StatsReportReceiver">
406
+            <intent-filter>
407
+                <action android:name="android.intent.action.STATISTICS_REPORT" />
408
+            </intent-filter>
409
+        </receiver>
410
+
411
+        <activity android:name="BatteryInfo" android:label="@string/battery_info_label">
412
+            <intent-filter>
413
+                <action android:name="android.intent.action.MAIN" />
414
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
415
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
416
+            </intent-filter>
417
+        </activity>
418
+
419
+        <activity android:name=".battery_history.BatteryHistory" android:label="@string/battery_history_label">
420
+            <intent-filter>
421
+                <action android:name="android.intent.action.MAIN" />
422
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
423
+            </intent-filter>
424
+        </activity>
425
+
426
+        <activity android:name="Display" android:label="@string/display_label"
427
+                android:configChanges="fontScale">
428
+            <intent-filter>
429
+                <action android:name="android.intent.action.MAIN" />
430
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
431
+            </intent-filter>
432
+        </activity>
433
+
434
+        <activity android:name="RadioInfo" android:label="@string/phone_info_label"
435
+            android:process="com.android.phone">
436
+            <intent-filter>
437
+                <action android:name="android.intent.action.MAIN" />
438
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
439
+            </intent-filter>
440
+        </activity>
441
+
442
+        <activity android:name="SdCardSettings" android:label="@string/sd_card_settings_label">
443
+            <intent-filter>
444
+                <action android:name="android.intent.action.MAIN" />
445
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
446
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
447
+            </intent-filter>
448
+        </activity>
449
+
450
+        <activity android:name="ProxySelector" android:label="@string/proxy_settings_label"
451
+		  android:theme="@android:style/Theme.Dialog">
452
+            <intent-filter>
453
+                <action android:name="android.intent.action.MAIN" />
454
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
455
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
456
+            </intent-filter>
457
+        </activity>
458
+
459
+        <!-- TODO: Is this needed? -->
460
+        <activity android:name="BandMode"
461
+                  android:theme="@android:style/Theme.Dialog"
462
+                  android:process="com.android.phone">
463
+            <intent-filter>
464
+                <action android:name="android.intent.action.MAIN" />
465
+                <category android:name="android.intent.category.DEFAULT" />
466
+                <category android:name="android.intent.category.VOICE_LAUNCH" />
467
+            </intent-filter>
468
+        </activity>
469
+
470
+        <activity android:name="TestingSettings" android:label="@string/testing">
471
+            <intent-filter>
472
+                <action android:name="android.intent.action.MAIN" />
473
+                <category android:name="android.intent.category.DEFAULT" />
474
+            </intent-filter>
475
+        </activity>
476
+
477
+        <receiver android:name="TestingSettingsBroadcastReceiver">
478
+            <intent-filter>
479
+                 <action android:name="android.provider.Telephony.SECRET_CODE" />
480
+                 <data android:scheme="android_secret_code" android:host="4636" />
481
+            </intent-filter>
482
+       </receiver>
483
+
484
+        <!-- Standard picker for gadgets -->
485
+        <activity android:name="GadgetPickActivity" android:label="@string/widget_picker_title">
486
+            <intent-filter>
487
+                <action android:name="android.gadget.action.GADGET_PICK" />
488
+                <category android:name="android.intent.category.DEFAULT" />
489
+            </intent-filter>
490
+        </activity>
491
+
492
+        <!-- Helper to bind any unbound gadgets in Launcher, used as
493
+             part of initialization and upgrade process -->
494
+        <activity android:name="LauncherGadgetBinder"
495
+                android:permission="com.android.launcher.permission.WRITE_SETTINGS"
496
+                android:theme="@android:style/Theme.NoDisplay" android:exported="true" />
497
+
498
+        <activity android:name="UsageStats" android:label="@string/usage_stats_label">
499
+            <intent-filter>
500
+                <action android:name="android.intent.action.MAIN" />
501
+                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
502
+            </intent-filter>
503
+        </activity>
504
+
505
+    </application>
506
+
507
+</manifest>
508
+

+ 0
- 0
MODULE_LICENSE_APACHE2 View File


+ 190
- 0
NOTICE View File

@@ -0,0 +1,190 @@
1
+
2
+   Copyright (c) 2005-2008, The Android Open Source Project
3
+
4
+   Licensed under the Apache License, Version 2.0 (the "License");
5
+   you may not use this file except in compliance with the License.
6
+
7
+   Unless required by applicable law or agreed to in writing, software
8
+   distributed under the License is distributed on an "AS IS" BASIS,
9
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+   See the License for the specific language governing permissions and
11
+   limitations under the License.
12
+
13
+
14
+                                 Apache License
15
+                           Version 2.0, January 2004
16
+                        http://www.apache.org/licenses/
17
+
18
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
19
+
20
+   1. Definitions.
21
+
22
+      "License" shall mean the terms and conditions for use, reproduction,
23
+      and distribution as defined by Sections 1 through 9 of this document.
24
+
25
+      "Licensor" shall mean the copyright owner or entity authorized by
26
+      the copyright owner that is granting the License.
27
+
28
+      "Legal Entity" shall mean the union of the acting entity and all
29
+      other entities that control, are controlled by, or are under common
30
+      control with that entity. For the purposes of this definition,
31
+      "control" means (i) the power, direct or indirect, to cause the
32
+      direction or management of such entity, whether by contract or
33
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
34
+      outstanding shares, or (iii) beneficial ownership of such entity.
35
+
36
+      "You" (or "Your") shall mean an individual or Legal Entity
37
+      exercising permissions granted by this License.
38
+
39
+      "Source" form shall mean the preferred form for making modifications,
40
+      including but not limited to software source code, documentation
41
+      source, and configuration files.
42
+
43
+      "Object" form shall mean any form resulting from mechanical
44
+      transformation or translation of a Source form, including but
45
+      not limited to compiled object code, generated documentation,
46
+      and conversions to other media types.
47
+
48
+      "Work" shall mean the work of authorship, whether in Source or
49
+      Object form, made available under the License, as indicated by a
50
+      copyright notice that is included in or attached to the work
51
+      (an example is provided in the Appendix below).
52
+
53
+      "Derivative Works" shall mean any work, whether in Source or Object
54
+      form, that is based on (or derived from) the Work and for which the
55
+      editorial revisions, annotations, elaborations, or other modifications
56
+      represent, as a whole, an original work of authorship. For the purposes
57
+      of this License, Derivative Works shall not include works that remain
58
+      separable from, or merely link (or bind by name) to the interfaces of,
59
+      the Work and Derivative Works thereof.
60
+
61
+      "Contribution" shall mean any work of authorship, including
62
+      the original version of the Work and any modifications or additions
63
+      to that Work or Derivative Works thereof, that is intentionally
64
+      submitted to Licensor for inclusion in the Work by the copyright owner
65
+      or by an individual or Legal Entity authorized to submit on behalf of
66
+      the copyright owner. For the purposes of this definition, "submitted"
67
+      means any form of electronic, verbal, or written communication sent
68
+      to the Licensor or its representatives, including but not limited to
69
+      communication on electronic mailing lists, source code control systems,
70
+      and issue tracking systems that are managed by, or on behalf of, the
71
+      Licensor for the purpose of discussing and improving the Work, but
72
+      excluding communication that is conspicuously marked or otherwise
73
+      designated in writing by the copyright owner as "Not a Contribution."
74
+
75
+      "Contributor" shall mean Licensor and any individual or Legal Entity
76
+      on behalf of whom a Contribution has been received by Licensor and
77
+      subsequently incorporated within the Work.
78
+
79
+   2. Grant of Copyright License. Subject to the terms and conditions of
80
+      this License, each Contributor hereby grants to You a perpetual,
81
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+      copyright license to reproduce, prepare Derivative Works of,
83
+      publicly display, publicly perform, sublicense, and distribute the
84
+      Work and such Derivative Works in Source or Object form.
85
+
86
+   3. Grant of Patent License. Subject to the terms and conditions of
87
+      this License, each Contributor hereby grants to You a perpetual,
88
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
89
+      (except as stated in this section) patent license to make, have made,
90
+      use, offer to sell, sell, import, and otherwise transfer the Work,
91
+      where such license applies only to those patent claims licensable
92
+      by such Contributor that are necessarily infringed by their
93
+      Contribution(s) alone or by combination of their Contribution(s)
94
+      with the Work to which such Contribution(s) was submitted. If You
95
+      institute patent litigation against any entity (including a
96
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
97
+      or a Contribution incorporated within the Work constitutes direct
98
+      or contributory patent infringement, then any patent licenses
99
+      granted to You under this License for that Work shall terminate
100
+      as of the date such litigation is filed.
101
+
102
+   4. Redistribution. You may reproduce and distribute copies of the
103
+      Work or Derivative Works thereof in any medium, with or without
104
+      modifications, and in Source or Object form, provided that You
105
+      meet the following conditions:
106
+
107
+      (a) You must give any other recipients of the Work or
108
+          Derivative Works a copy of this License; and
109
+
110
+      (b) You must cause any modified files to carry prominent notices
111
+          stating that You changed the files; and
112
+
113
+      (c) You must retain, in the Source form of any Derivative Works
114
+          that You distribute, all copyright, patent, trademark, and
115
+          attribution notices from the Source form of the Work,
116
+          excluding those notices that do not pertain to any part of
117
+          the Derivative Works; and
118
+
119
+      (d) If the Work includes a "NOTICE" text file as part of its
120
+          distribution, then any Derivative Works that You distribute must
121
+          include a readable copy of the attribution notices contained
122
+          within such NOTICE file, excluding those notices that do not
123
+          pertain to any part of the Derivative Works, in at least one
124
+          of the following places: within a NOTICE text file distributed
125
+          as part of the Derivative Works; within the Source form or
126
+          documentation, if provided along with the Derivative Works; or,
127
+          within a display generated by the Derivative Works, if and
128
+          wherever such third-party notices normally appear. The contents
129
+          of the NOTICE file are for informational purposes only and
130
+          do not modify the License. You may add Your own attribution
131
+          notices within Derivative Works that You distribute, alongside
132
+          or as an addendum to the NOTICE text from the Work, provided
133
+          that such additional attribution notices cannot be construed
134
+          as modifying the License.
135
+
136
+      You may add Your own copyright statement to Your modifications and
137
+      may provide additional or different license terms and conditions
138
+      for use, reproduction, or distribution of Your modifications, or
139
+      for any such Derivative Works as a whole, provided Your use,
140
+      reproduction, and distribution of the Work otherwise complies with
141
+      the conditions stated in this License.
142
+
143
+   5. Submission of Contributions. Unless You explicitly state otherwise,
144
+      any Contribution intentionally submitted for inclusion in the Work
145
+      by You to the Licensor shall be under the terms and conditions of
146
+      this License, without any additional terms or conditions.
147
+      Notwithstanding the above, nothing herein shall supersede or modify
148
+      the terms of any separate license agreement you may have executed
149
+      with Licensor regarding such Contributions.
150
+
151
+   6. Trademarks. This License does not grant permission to use the trade
152
+      names, trademarks, service marks, or product names of the Licensor,
153
+      except as required for reasonable and customary use in describing the
154
+      origin of the Work and reproducing the content of the NOTICE file.
155
+
156
+   7. Disclaimer of Warranty. Unless required by applicable law or
157
+      agreed to in writing, Licensor provides the Work (and each
158
+      Contributor provides its Contributions) on an "AS IS" BASIS,
159
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
160
+      implied, including, without limitation, any warranties or conditions
161
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
162
+      PARTICULAR PURPOSE. You are solely responsible for determining the
163
+      appropriateness of using or redistributing the Work and assume any
164
+      risks associated with Your exercise of permissions under this License.
165
+
166
+   8. Limitation of Liability. In no event and under no legal theory,
167
+      whether in tort (including negligence), contract, or otherwise,
168
+      unless required by applicable law (such as deliberate and grossly
169
+      negligent acts) or agreed to in writing, shall any Contributor be
170
+      liable to You for damages, including any direct, indirect, special,
171
+      incidental, or consequential damages of any character arising as a
172
+      result of this License or out of the use or inability to use the
173
+      Work (including but not limited to damages for loss of goodwill,
174
+      work stoppage, computer failure or malfunction, or any and all
175
+      other commercial damages or losses), even if such Contributor
176
+      has been advised of the possibility of such damages.
177
+
178
+   9. Accepting Warranty or Additional Liability. While redistributing
179
+      the Work or Derivative Works thereof, You may choose to offer,
180
+      and charge a fee for, acceptance of support, warranty, indemnity,
181
+      or other liability obligations and/or rights consistent with this
182
+      License. However, in accepting such obligations, You may act only
183
+      on Your own behalf and on Your sole responsibility, not on behalf
184
+      of any other Contributor, and only if You agree to indemnify,
185
+      defend, and hold each Contributor harmless for any liability
186
+      incurred by, or claims asserted against, such Contributor by reason
187
+      of your accepting any such warranty or additional liability.
188
+
189
+   END OF TERMS AND CONDITIONS
190
+

BIN
res/drawable/app_settings.png View File


BIN
res/drawable/border_item_thumbnail.png View File


BIN
res/drawable/dotted_line_480px.png View File


BIN
res/drawable/ic_bt_cellphone.png View File


BIN
res/drawable/ic_bt_headphones_a2dp.png View File


BIN
res/drawable/ic_bt_headset_hfp.png View File


BIN
res/drawable/ic_bt_laptop.png View File


BIN
res/drawable/ic_btn_next.png View File


BIN
res/drawable/ic_launcher_settings.png View File


BIN
res/drawable/ic_menu_3d_globe.png View File


BIN
res/drawable/ic_menu_add.png View File


BIN
res/drawable/ic_menu_filter_settings.png View File


BIN
res/drawable/ic_menu_scan_network.png View File


BIN
res/drawable/ic_network_signal_0.png View File


BIN
res/drawable/ic_network_signal_1.png View File


BIN
res/drawable/ic_network_signal_2.png View File


BIN
res/drawable/ic_network_signal_3.png View File


BIN
res/drawable/ic_network_signal_4.png View File


BIN
res/drawable/ic_popup_brightness.png View File


BIN
res/drawable/ic_wifi_lock_signal_1.png View File


BIN
res/drawable/ic_wifi_lock_signal_2.png View File


BIN
res/drawable/ic_wifi_lock_signal_3.png View File


BIN
res/drawable/ic_wifi_lock_signal_4.png View File


BIN
res/drawable/ic_wifi_signal_1.png View File


BIN
res/drawable/ic_wifi_signal_2.png View File


BIN
res/drawable/ic_wifi_signal_3.png View File


BIN
res/drawable/ic_wifi_signal_4.png View File


+ 37
- 0
res/drawable/lock_anim.xml View File

@@ -0,0 +1,37 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* 
4
+** Copyright 2008, The Android Open Source Project
5
+**
6
+** Licensed under the Apache License, Version 2.0 (the "License"); 
7
+** you may not use this file except in compliance with the License. 
8
+** You may obtain a copy of the License at 
9
+**
10
+**     http://www.apache.org/licenses/LICENSE-2.0 
11
+**
12
+** Unless required by applicable law or agreed to in writing, software 
13
+** distributed under the License is distributed on an "AS IS" BASIS, 
14
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15
+** See the License for the specific language governing permissions and 
16
+** limitations under the License.
17
+*/
18
+-->
19
+<animation-list
20
+        xmlns:android="http://schemas.android.com/apk/res/android"
21
+        android:oneshot="false">
22
+    <item android:drawable="@drawable/lock_anim_0" android:duration="200" />
23
+    <item android:drawable="@drawable/lock_anim_1" android:duration="200" />
24
+    <item android:drawable="@drawable/lock_anim_2" android:duration="200" />
25
+    <item android:drawable="@drawable/lock_anim_3" android:duration="200" />
26
+    <item android:drawable="@drawable/lock_anim_4" android:duration="200" />
27
+    <item android:drawable="@drawable/lock_anim_5" android:duration="200" />
28
+    <item android:drawable="@drawable/lock_anim_6" android:duration="200" />
29
+    <item android:drawable="@drawable/lock_anim_7" android:duration="200" />
30
+    <item android:drawable="@drawable/lock_anim_8" android:duration="200" />
31
+    <item android:drawable="@drawable/lock_anim_9" android:duration="200" />
32
+    <item android:drawable="@drawable/lock_anim_10" android:duration="200" />
33
+    <item android:drawable="@drawable/lock_anim_11" android:duration="200" />
34
+    <item android:drawable="@drawable/lock_anim_12" android:duration="200" />
35
+    <item android:drawable="@drawable/lock_anim_13" android:duration="200" />
36
+    <item android:drawable="@drawable/lock_anim_14" android:duration="200" />
37
+</animation-list>

BIN
res/drawable/lock_anim_0.png View File


BIN
res/drawable/lock_anim_1.png View File


BIN
res/drawable/lock_anim_10.png View File


BIN
res/drawable/lock_anim_11.png View File


BIN
res/drawable/lock_anim_12.png View File


BIN
res/drawable/lock_anim_13.png View File


BIN
res/drawable/lock_anim_14.png View File


BIN
res/drawable/lock_anim_2.png View File


BIN
res/drawable/lock_anim_3.png View File


BIN
res/drawable/lock_anim_4.png View File


BIN
res/drawable/lock_anim_5.png View File


BIN
res/drawable/lock_anim_6.png View File


BIN
res/drawable/lock_anim_7.png View File


BIN
res/drawable/lock_anim_8.png View File


BIN
res/drawable/lock_anim_9.png View File


+ 24
- 0
res/drawable/signal.xml View File

@@ -0,0 +1,24 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
18
+    <item android:maxLevel="0" android:drawable="@drawable/ic_network_signal_0" />
19
+    <item android:maxLevel="1" android:drawable="@drawable/ic_network_signal_1" />
20
+    <item android:maxLevel="2" android:drawable="@drawable/ic_network_signal_2" />
21
+    <item android:maxLevel="3" android:drawable="@drawable/ic_network_signal_3" />
22
+    <item android:maxLevel="4" android:drawable="@drawable/ic_network_signal_4" />
23
+</level-list>
24
+

+ 22
- 0
res/drawable/wifi_signal.xml View File

@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
18
+        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
19
+    <item settings:state_encrypted="true" android:drawable="@drawable/wifi_signal_lock" />
20
+    <item settings:state_encrypted="false" android:drawable="@drawable/wifi_signal_open" />
21
+</selector>
22
+

+ 23
- 0
res/drawable/wifi_signal_lock.xml View File

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
18
+    <item android:maxLevel="0" android:drawable="@drawable/ic_wifi_lock_signal_1" />
19
+    <item android:maxLevel="1" android:drawable="@drawable/ic_wifi_lock_signal_2" />
20
+    <item android:maxLevel="2" android:drawable="@drawable/ic_wifi_lock_signal_3" />
21
+    <item android:maxLevel="3" android:drawable="@drawable/ic_wifi_lock_signal_4" />
22
+</level-list>
23
+

+ 23
- 0
res/drawable/wifi_signal_open.xml View File

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
18
+    <item android:maxLevel="0" android:drawable="@drawable/ic_wifi_signal_1" />
19
+    <item android:maxLevel="1" android:drawable="@drawable/ic_wifi_signal_2" />
20
+    <item android:maxLevel="2" android:drawable="@drawable/ic_wifi_signal_3" />
21
+    <item android:maxLevel="3" android:drawable="@drawable/ic_wifi_signal_4" />
22
+</level-list>
23
+

+ 86
- 0
res/layout-land/choose_lock_pattern.xml View File

@@ -0,0 +1,86 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
18
+        xmlns:android="http://schemas.android.com/apk/res/android"
19
+    android:id="@+id/topLayout"
20
+    android:orientation="horizontal"
21
+    android:layout_width="fill_parent"
22
+    android:layout_height="fill_parent"
23
+    android:background="@color/black">
24
+
25
+    <!-- left side: instructions and messages -->
26
+    <LinearLayout
27
+            android:orientation="vertical"
28
+            android:layout_width="0dip"
29
+            android:layout_height="fill_parent"
30
+            android:layout_weight="1.0"
31
+            >
32
+
33
+        <!-- header message -->
34
+        <TextView android:id="@+id/headerText"
35
+                  android:layout_width="fill_parent"
36
+                  android:layout_height="wrap_content"
37
+                  android:gravity="center"
38
+                  android:textSize="18sp"/>
39
+
40
+        <!-- footer can show a message, or confirm / restart buttons -->
41
+        <RelativeLayout
42
+                android:layout_width="fill_parent"
43
+                android:layout_height="0dip"
44
+                android:layout_weight="1.0">
45
+
46
+            <!-- left button: skip, or re-try -->
47
+            <Button android:id="@+id/footerLeftButton"
48
+                android:layout_width="wrap_content"
49
+                android:layout_height="wrap_content"
50
+                android:layout_alignParentLeft="true"
51
+                android:layout_alignParentBottom="true"
52
+                android:text="@string/lockpattern_restart_button_text"/>
53
+
54
+            <!-- right button: confirm or ok -->
55
+            <Button android:id="@+id/footerRightButton"
56
+                android:layout_width="wrap_content"
57
+                android:layout_height="wrap_content"
58
+                android:layout_alignParentRight="true"
59
+                android:layout_alignParentBottom="true"
60
+                android:drawableRight="@drawable/ic_btn_next"
61
+                android:drawablePadding="3dip"
62
+                android:text="@string/lockpattern_confirm_button_text"/>
63
+
64
+            <!-- message above buttons -->
65
+            <TextView android:id="@+id/footerText"
66
+                android:layout_width="wrap_content"
67
+                android:layout_height="wrap_content"
68
+                android:layout_above="@+id/footerRightButton"
69
+                android:layout_centerHorizontal="true"
70
+                android:layout_marginBottom="4dip"
71
+                android:textSize="14sp"/>
72
+        </RelativeLayout>
73
+    </LinearLayout>
74
+
75
+    <View
76
+         android:background="@*android:drawable/code_lock_left"
77
+         android:layout_width="2dip"
78
+         android:layout_height="fill_parent" />
79
+    <!-- right side: lock pattern -->
80
+    <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
81
+         android:layout_width="wrap_content"
82
+         android:layout_height="wrap_content" />
83
+
84
+
85
+</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
86
+

+ 66
- 0
res/layout-land/confirm_lock_pattern.xml View File

@@ -0,0 +1,66 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
18
+        xmlns:android="http://schemas.android.com/apk/res/android"
19
+    android:id="@+id/topLayout"
20
+    android:orientation="horizontal"
21
+    android:layout_width="fill_parent"
22
+    android:layout_height="fill_parent"
23
+    android:background="@color/black">
24
+
25
+    <!-- left side: instructions and messages -->
26
+    <LinearLayout
27
+            android:orientation="vertical"
28
+            android:layout_width="0dip"
29
+            android:layout_height="fill_parent"
30
+            android:layout_weight="1.0"
31
+            >
32
+
33
+        <!-- header message -->
34
+        <TextView android:id="@+id/headerText"
35
+                  android:layout_width="fill_parent"
36
+                  android:layout_height="wrap_content"
37
+                  android:gravity="center"
38
+                  android:textSize="18sp"/>
39
+
40
+        <!-- fill space between header and button below -->
41
+        <View
42
+            android:layout_weight="1.0"
43
+            android:layout_width="fill_parent"
44
+            android:layout_height="0dip"
45
+            />
46
+
47
+        <!-- footer message -->
48
+        <TextView android:id="@+id/footerText"
49
+                  android:layout_width="fill_parent"
50
+                  android:layout_height="wrap_content"
51
+                  android:gravity="center"
52
+                  android:textSize="14sp"/>
53
+    </LinearLayout>
54
+
55
+    <View
56
+         android:background="@*android:drawable/code_lock_left"
57
+         android:layout_width="2dip"
58
+         android:layout_height="fill_parent" />
59
+    <!-- right side: lock pattern -->
60
+    <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
61
+         android:layout_width="wrap_content"
62
+         android:layout_height="wrap_content" />
63
+
64
+
65
+</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
66
+

+ 30
- 0
res/layout/band_mode.xml View File

@@ -0,0 +1,30 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2007 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18
+              android:orientation="vertical"
19
+              android:padding="4dip"
20
+              android:gravity="center_horizontal"
21
+              android:layout_width="fill_parent"
22
+              android:layout_height="fill_parent">
23
+
24
+    <ListView android:id="@+id/band"
25
+              android:layout_width="fill_parent"
26
+              android:layout_height="fill_parent"
27
+              android:textSize="7sp">
28
+    </ListView>
29
+
30
+</LinearLayout>

+ 144
- 0
res/layout/battery_history.xml View File

@@ -0,0 +1,144 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+    android:id="@+id/topLayout"
4
+    android:orientation="vertical"
5
+    android:layout_width="fill_parent"
6
+    android:layout_height="fill_parent">
7
+
8
+    <TextView
9
+        android:id="@+id/title"
10
+        android:layout_width="fill_parent"
11
+        android:layout_height="wrap_content" />
12
+
13
+    <LinearLayout
14
+        android:id="@+id/graphLayout"
15
+        android:orientation="vertical"
16
+        android:layout_width="fill_parent"
17
+        android:layout_height="fill_parent" >
18
+
19
+        <Spinner
20
+            android:id="@+id/typeSpinner"
21
+            android:layout_width="fill_parent"
22
+            android:layout_height="wrap_content"
23
+            android:entries="@array/battery_history_type_spinner" />
24
+
25
+        <Spinner
26
+            android:id="@+id/whichSpinner"
27
+            android:layout_width="fill_parent"
28
+            android:layout_height="wrap_content"
29
+            android:entries="@array/battery_history_which_spinner" />
30
+
31
+        <ScrollView
32
+            android:layout_width="fill_parent"
33
+            android:layout_height="wrap_content" >
34
+
35
+        <LinearLayout
36
+            android:orientation="vertical"
37
+            android:layout_width="fill_parent"
38
+            android:layout_height="wrap_content" >
39
+            
40
+        <TextView
41
+            android:id="@+id/messageText"
42
+            android:layout_width="fill_parent"
43
+            android:layout_height="wrap_content"
44
+            android:gravity="center_horizontal"
45
+            android:textSize="17dp"
46
+            android:visibility="gone" />
47
+
48
+        <com.android.settings.battery_history.GraphableButton
49
+            android:id="@+id/button0"
50
+            android:layout_width="fill_parent"
51
+            android:layout_height="0dp"
52
+            android:layout_marginLeft="4dp"
53
+            android:layout_marginRight="4dp"
54
+            android:layout_marginBottom="4dp"
55
+            android:layout_weight="1" />
56
+    
57
+        <com.android.settings.battery_history.GraphableButton
58
+            android:id="@+id/button1"
59
+            android:layout_width="fill_parent"
60
+            android:layout_height="0dp"
61
+            android:layout_marginLeft="4dp"
62
+            android:layout_marginRight="4dp"
63
+            android:layout_marginBottom="4dp"
64
+            android:layout_weight="1" />
65
+    
66
+        <com.android.settings.battery_history.GraphableButton
67
+            android:id="@+id/button2"
68
+            android:layout_width="fill_parent"
69
+            android:layout_height="0dp"
70
+            android:layout_marginLeft="4dp"
71
+            android:layout_marginRight="4dp"
72
+            android:layout_marginBottom="4dp"
73
+            android:layout_weight="1" />
74
+    
75
+        <com.android.settings.battery_history.GraphableButton
76
+            android:id="@+id/button3"
77
+            android:layout_width="fill_parent"
78
+            android:layout_height="0dp"
79
+            android:layout_marginLeft="4dp"
80
+            android:layout_marginRight="4dp"
81
+            android:layout_marginBottom="4dp"
82
+            android:layout_weight="1" />
83
+    
84
+        <com.android.settings.battery_history.GraphableButton
85
+            android:id="@+id/button4"
86
+            android:layout_width="fill_parent"
87
+            android:layout_height="0dp"
88
+            android:layout_marginLeft="4dp"
89
+            android:layout_marginRight="4dp"
90
+            android:layout_marginBottom="4dp"
91
+            android:layout_weight="1" />
92
+    
93
+        <com.android.settings.battery_history.GraphableButton
94
+            android:id="@+id/button5"
95
+            android:layout_width="fill_parent"
96
+            android:layout_height="0dp"
97
+            android:layout_marginLeft="4dp"
98
+            android:layout_marginRight="4dp"
99
+            android:layout_marginBottom="4dp"
100
+            android:layout_weight="1" />
101
+    
102
+        <com.android.settings.battery_history.GraphableButton
103
+            android:id="@+id/button6"
104
+            android:layout_width="fill_parent"
105
+            android:layout_height="0dp"
106
+            android:layout_marginLeft="4dp"
107
+            android:layout_marginRight="4dp"
108
+            android:layout_marginBottom="4dp"
109
+            android:layout_weight="1" />
110
+    
111
+        <com.android.settings.battery_history.GraphableButton
112
+            android:id="@+id/button7"
113
+            android:layout_width="fill_parent"
114
+            android:layout_height="0dp"
115
+            android:layout_marginLeft="4dp"
116
+            android:layout_marginRight="4dp"
117
+            android:layout_marginBottom="4dp"
118
+            android:layout_weight="1" />
119
+
120
+        </LinearLayout>
121
+        </ScrollView>
122
+
123
+    </LinearLayout>
124
+
125
+    <LinearLayout
126
+        android:id="@+id/textLayout"
127
+        android:visibility="gone"
128
+        android:orientation="vertical"
129
+        android:layout_width="fill_parent"
130
+        android:layout_height="fill_parent" >
131
+
132
+        <ScrollView
133
+            android:layout_width="fill_parent"
134
+            android:layout_height="fill_parent" >
135
+            <TextView
136
+                android:id="@+id/detailsText"
137
+                android:layout_width="fill_parent"
138
+                android:textSize="17dp"
139
+                android:layout_height="1000dp"/>
140
+        </ScrollView>
141
+
142
+    </LinearLayout>
143
+
144
+</LinearLayout>

+ 89
- 0
res/layout/battery_info.xml View File

@@ -0,0 +1,89 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* //device/apps/Settings/assets/res/any/layout/battery_info.xml
4
+**
5
+** Copyright 2006, The Android Open Source Project
6
+**
7
+** Licensed under the Apache License, Version 2.0 (the "License"); 
8
+** you may not use this file except in compliance with the License. 
9
+** You may obtain a copy of the License at 
10
+**
11
+**     http://www.apache.org/licenses/LICENSE-2.0 
12
+**
13
+** Unless required by applicable law or agreed to in writing, software 
14
+** distributed under the License is distributed on an "AS IS" BASIS, 
15
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16
+** See the License for the specific language governing permissions and 
17
+** limitations under the License.
18
+*/
19
+-->
20
+
21
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/info_layout">        
22
+
23
+    <!-- Battery Status -->
24
+    <LinearLayout style="@style/entry_layout">
25
+        <TextView android:text="@string/battery_info_status_label" style="@style/info_label" />
26
+        <TextView android:id="@+id/status" style="@style/info_value" />
27
+    </LinearLayout>
28
+
29
+    <!-- Battery Level -->
30
+    <LinearLayout style="@style/entry_layout">
31
+        <TextView android:text="@string/battery_info_level_label" style="@style/info_label" />
32
+        <TextView android:id="@+id/level" style="@style/info_value" />
33
+    </LinearLayout>
34
+
35
+    <!-- Battery Scale -->
36
+    <LinearLayout style="@style/entry_layout">
37
+        <TextView android:text="@string/battery_info_scale_label" style="@style/info_label" />
38
+        <TextView android:id="@+id/scale" style="@style/info_value" />
39
+    </LinearLayout>
40
+    
41
+    <!-- Battery Health -->
42
+    <LinearLayout style="@style/entry_layout">
43
+        <TextView android:text="@string/battery_info_health_label" style="@style/info_label" />
44
+        <TextView android:id="@+id/health" style="@style/info_value" />
45
+    </LinearLayout>
46
+
47
+    <!-- Battery Voltage -->
48
+    <LinearLayout style="@style/entry_layout">
49
+        <TextView android:text="@string/battery_info_voltage_label" style="@style/info_label" />
50
+        <TextView android:id="@+id/voltage" style="@style/info_value" />
51
+    </LinearLayout>
52
+
53
+    <!-- Battery Temperature -->
54
+    <LinearLayout style="@style/entry_layout">
55
+        <TextView android:text="@string/battery_info_temperature_label" style="@style/info_label" />
56
+        <TextView android:id="@+id/temperature" style="@style/info_value" />
57
+    </LinearLayout>
58
+
59
+    <!-- Battery Technology -->
60
+    <LinearLayout style="@style/entry_layout">
61
+        <TextView android:text="@string/battery_info_technology_label" style="@style/info_label" />
62
+        <TextView android:id="@+id/technology" style="@style/info_value" />
63
+    </LinearLayout>
64
+
65
+    <!-- Uptime -->
66
+    <LinearLayout style="@style/entry_layout">
67
+        <TextView android:text="@string/battery_info_uptime" style="@style/info_label" />
68
+        <TextView android:id="@+id/uptime" style="@style/info_value" />
69
+    </LinearLayout>
70
+
71
+    <!-- Awaketime Battery -->
72
+    <LinearLayout style="@style/entry_layout">
73
+        <TextView android:text="@string/battery_info_awake_battery" style="@style/info_label" />
74
+        <TextView android:id="@+id/awakeBattery" style="@style/info_value" />
75
+    </LinearLayout>
76
+
77
+    <!-- Awaketime Plugged In -->
78
+    <LinearLayout style="@style/entry_layout">
79
+        <TextView android:text="@string/battery_info_awake_plugged" style="@style/info_label" />
80
+        <TextView android:id="@+id/awakePlugged" style="@style/info_value" />
81
+    </LinearLayout>
82
+
83
+    <!-- Screen On Time -->
84
+    <LinearLayout style="@style/entry_layout">
85
+        <TextView android:text="@string/battery_info_screen_on" style="@style/info_label" />
86
+        <TextView android:id="@+id/screenOn" style="@style/info_value" />
87
+    </LinearLayout>
88
+</LinearLayout>
89
+

+ 51
- 0
res/layout/bluetooth.xml View File

@@ -0,0 +1,51 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* //device/apps/Settings/assets/res/layout/bluetooth.xml
4
+**
5
+** Copyright 2006, The Android Open Source Project
6
+**
7
+** Licensed under the Apache License, Version 2.0 (the "License");
8
+** you may not use this file except in compliance with the License.
9
+** You may obtain a copy of the License at
10
+**
11
+**     http://www.apache.org/licenses/LICENSE-2.0
12
+**
13
+** Unless required by applicable law or agreed to in writing, software
14
+** distributed under the License is distributed on an "AS IS" BASIS,
15
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+** See the License for the specific language governing permissions and
17
+** limitations under the License.
18
+*/
19
+-->
20
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21
+    android:orientation="vertical"
22
+    android:layout_width="fill_parent"
23
+    android:layout_height="fill_parent"
24
+    android:paddingLeft="2dip"
25
+    android:paddingRight="2dip">
26
+
27
+    <Button android:id="@+id/enable"
28
+        android:textStyle="bold"
29
+        android:text="@string/bluetooth_enable_text"
30
+        android:layout_width="fill_parent"
31
+        android:layout_height="wrap_content"/>
32
+
33
+    <Button android:id="@+id/scan"
34
+        android:textStyle="bold"
35
+        android:text="@string/bluetooth_scan_text"
36
+        android:layout_width="fill_parent"
37
+        android:layout_height="wrap_content"/>
38
+
39
+    <Button android:id="@+id/settings"
40
+        android:textStyle="bold"
41
+        android:text="@string/bluetooth_settings_text"
42
+        android:layout_width="fill_parent"
43
+        android:layout_height="wrap_content"/>
44
+
45
+    <ListView android:id="@android:id/list"
46
+    	android:layout_width="fill_parent"
47
+    	android:layout_height="fill_parent"
48
+    	android:drawSelectorOnTop="false">
49
+    </ListView>
50
+    
51
+</LinearLayout>

+ 62
- 0
res/layout/bluetooth_device_info.xml View File

@@ -0,0 +1,62 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2007 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 
18
+ android:id="@+id/scroll_content" 
19
+	android:layout_width="fill_parent" 
20
+	android:layout_height="fill_parent">
21
+    <LinearLayout
22
+        android:orientation="vertical"
23
+        android:layout_width="fill_parent"
24
+        android:layout_height="fill_parent">
25
+
26
+        <TextView
27
+            android:layout_width="fill_parent"
28
+            android:layout_height="wrap_content"
29
+            android:text="@string/bluetooth_device_info_alias" />
30
+
31
+        <TextView android:id="@+id/deviceAlias"
32
+            android:layout_width="fill_parent"
33
+            android:layout_height="wrap_content"
34
+            android:text="@string/bluetooth_device_info_no_alias" />
35
+
36
+        <Button android:id="@+id/connectButton"
37
+            android:layout_width="wrap_content"
38
+            android:layout_height="wrap_content"
39
+            android:text="@string/bluetooth_device_info_connectButton_text" />
40
+
41
+        <Button android:id="@+id/deleteButton"
42
+            android:layout_width="wrap_content"
43
+            android:layout_height="wrap_content"
44
+            android:text="@string/bluetooth_device_info_delete" />
45
+
46
+        <Button android:id="@+id/querySDP"
47
+            android:layout_width="wrap_content"
48
+            android:layout_height="wrap_content"
49
+            android:text="@string/bluetooth_device_info_sdp" />
50
+
51
+        <TextView
52
+            android:layout_width="fill_parent"
53
+            android:layout_height="wrap_content"
54
+            android:text="@string/bluetooth_device_info" />
55
+
56
+        <TextView android:id="@+id/deviceInfo"
57
+            android:layout_width="fill_parent"
58
+            android:layout_height="wrap_content"
59
+            android:text="@string/bluetooth_device_info_deviceInfo_text" />
60
+     </LinearLayout>        
61
+</ScrollView>
62
+

+ 51
- 0
res/layout/bluetooth_pin_entry.xml View File

@@ -0,0 +1,51 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* 
4
+** Copyright 2008, The Android Open Source Project
5
+**
6
+** Licensed under the Apache License, Version 2.0 (the "License");
7
+** you may not use this file except in compliance with the License.
8
+** You may obtain a copy of the License at
9
+**
10
+**     http://www.apache.org/licenses/LICENSE-2.0
11
+**
12
+** Unless required by applicable law or agreed to in writing, software
13
+** distributed under the License is distributed on an "AS IS" BASIS,
14
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+** See the License for the specific language governing permissions and
16
+** limitations under the License.
17
+*/
18
+-->
19
+
20
+<ScrollView
21
+    xmlns:android="http://schemas.android.com/apk/res/android"
22
+    android:layout_height="fill_parent"
23
+    android:layout_width="fill_parent">
24
+
25
+    <LinearLayout
26
+        xmlns:android="http://schemas.android.com/apk/res/android"
27
+        android:layout_height="fill_parent"
28
+        android:layout_width="fill_parent"
29
+        android:orientation="vertical">
30
+
31
+        <TextView
32
+            android:id="@+id/message"
33
+            android:layout_width="fill_parent"
34
+            android:layout_height="wrap_content"
35
+            android:layout_marginLeft="20dip"
36
+            android:layout_marginRight="20dip"
37
+            android:gravity="center_horizontal"
38
+            android:textAppearance="?android:attr/textAppearanceMedium" />
39
+
40
+        <EditText
41
+            android:id="@+id/text"
42
+            android:layout_height="wrap_content"
43
+            android:layout_width="fill_parent"
44
+            android:layout_marginTop="20dip"
45
+            android:layout_marginLeft="20dip"
46
+            android:layout_marginRight="20dip"
47
+            android:singleLine="true" />
48
+
49
+    </LinearLayout>
50
+
51
+</ScrollView>

+ 38
- 0
res/layout/bookmark_picker_item.xml View File

@@ -0,0 +1,38 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/*
4
+** Copyright 2008, The Android Open Source Project
5
+**
6
+** Licensed under the Apache License, Version 2.0 (the "License");
7
+** you may not use this file except in compliance with the License.
8
+** You may obtain a copy of the License at
9
+**
10
+**     http://www.apache.org/licenses/LICENSE-2.0
11
+**
12
+** Unless required by applicable law or agreed to in writing, software
13
+** distributed under the License is distributed on an "AS IS" BASIS,
14
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+** See the License for the specific language governing permissions and
16
+** limitations under the License.
17
+*/
18
+-->
19
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20
+    android:layout_width="fill_parent"
21
+    android:layout_height="wrap_content"
22
+    android:minHeight="?android:attr/listPreferredItemHeight"
23
+    android:paddingLeft="2dip"
24
+    android:gravity="center_vertical">
25
+
26
+    <ImageView android:id="@+id/icon"
27
+        android:layout_width="@android:dimen/app_icon_size"
28
+        android:layout_height="@android:dimen/app_icon_size"
29
+        android:scaleType="fitCenter" />
30
+
31
+    <TextView android:id="@+id/title"
32
+        android:layout_width="fill_parent"
33
+        android:layout_height="wrap_content"
34
+        android:textAppearance="?android:attr/textAppearanceLarge"
35
+        android:paddingLeft="6dip" />
36
+        
37
+</LinearLayout>
38
+

+ 81
- 0
res/layout/choose_lock_pattern.xml View File

@@ -0,0 +1,81 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
17
+        xmlns:android="http://schemas.android.com/apk/res/android"
18
+    android:id="@+id/topLayout"
19
+    android:orientation="vertical"
20
+    android:layout_width="wrap_content"
21
+    android:layout_height="fill_parent"
22
+    android:background="@color/black">
23
+
24
+    <TextView android:id="@+id/headerText"
25
+        android:layout_width="fill_parent"
26
+        android:layout_height="0dip"
27
+        android:layout_weight="1"
28
+        android:gravity="center"
29
+        android:textSize="18sp"/>
30
+
31
+    <View
32
+         android:background="@*android:drawable/code_lock_top"
33
+         android:layout_width="fill_parent"
34
+         android:layout_height="2dip" />
35
+    <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
36
+         android:layout_width="wrap_content"
37
+         android:layout_height="wrap_content" />
38
+    <View
39
+         android:background="@*android:drawable/code_lock_bottom"
40
+         android:layout_width="fill_parent"
41
+         android:layout_height="8dip" />
42
+
43
+    <!-- message just above the button bar -->
44
+    <TextView android:id="@+id/footerText"
45
+        android:layout_width="wrap_content"
46
+        android:layout_height="wrap_content"
47
+        android:layout_gravity="center_horizontal"
48
+        android:textSize="14sp"/>
49
+
50
+    <!-- confirm / restart buttons -->
51
+    <LinearLayout style="@android:style/ButtonBar"
52
+        android:orientation="horizontal"
53
+        android:layout_width="fill_parent"
54
+        android:layout_height="wrap_content">
55
+
56
+        <!-- left button: skip, or retry -->
57
+        <Button android:id="@+id/footerLeftButton"
58
+            android:layout_height="wrap_content"
59
+            android:layout_width="0dip"
60
+            android:layout_weight="1"
61
+            android:text="@string/lockpattern_restart_button_text"/>
62
+
63
+        <!-- Placeholder to get blank space between the two buttons -->
64
+        <View
65
+            android:visibility="invisible"
66
+            android:layout_height="0dip"
67
+            android:layout_width="1dip"
68
+            android:layout_weight="1" />
69
+
70
+        <!-- right button: confirm or ok -->
71
+        <Button android:id="@+id/footerRightButton"
72
+            android:layout_height="wrap_content"
73
+            android:layout_width="0dip"
74
+            android:layout_weight="1"
75
+            android:drawableRight="@drawable/ic_btn_next"
76
+            android:drawablePadding="3dip"
77
+            android:text="@string/lockpattern_confirm_button_text"/>
78
+
79
+    </LinearLayout>
80
+
81
+</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>

+ 93
- 0
res/layout/choose_lock_pattern_example.xml View File

@@ -0,0 +1,93 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18
+    android:orientation="vertical"
19
+    android:layout_height="fill_parent"
20
+    android:layout_width="fill_parent">
21
+    
22
+    <ScrollView 
23
+        android:layout_width="fill_parent"
24
+        android:layout_height="fill_parent"
25
+        android:layout_weight="1">
26
+        
27
+        <LinearLayout
28
+            android:orientation="vertical"
29
+            android:layout_height="fill_parent"
30
+            android:layout_width="fill_parent"
31
+            android:padding="5dip">
32
+            
33
+            <TextView
34
+                android:layout_width="fill_parent"
35
+                android:layout_height="wrap_content"
36
+                android:text="@string/lock_example_title"
37
+                android:gravity="center_horizontal"
38
+                style="?android:attr/textAppearanceLarge"
39
+            />
40
+        
41
+            <ImageView android:id="@+id/lock_anim"
42
+                android:layout_width="wrap_content"
43
+                android:layout_height="wrap_content"
44
+                android:layout_marginTop="11dip"
45
+                android:layout_gravity="center_horizontal"
46
+                android:focusable="false"
47
+                android:clickable="false"
48
+            />
49
+            
50
+            <TextView
51
+                android:layout_width="fill_parent"
52
+                android:layout_height="wrap_content"
53
+                android:layout_marginTop="5dip"
54
+                android:text="@string/lock_example_message"
55
+                android:layout_gravity="left"
56
+                style="?android:attr/textAppearanceMedium"
57
+            />
58
+            
59
+        </LinearLayout>
60
+
61
+    </ScrollView>
62
+    
63
+    <LinearLayout style="@android:style/ButtonBar"
64
+        android:orientation="horizontal"
65
+        android:layout_width="fill_parent"
66
+        android:layout_height="wrap_content">
67
+        
68
+        <Button android:id="@+id/skip_button"
69
+            android:layout_height="wrap_content"
70
+            android:layout_width="0dip"
71
+            android:layout_weight="1"
72
+            android:text="@string/skip_button_label"
73
+        />
74
+      
75
+        <View
76
+            android:visibility="invisible"
77
+            android:layout_height="0dip"
78
+            android:layout_width="0dip"
79
+            android:layout_weight="1"
80
+        />
81
+
82
+        <Button android:id="@+id/next_button"
83
+            android:layout_height="wrap_content"
84
+            android:layout_width="0dip"
85
+            android:layout_weight="1"
86
+            android:drawableRight="@drawable/ic_btn_next"
87
+            android:drawablePadding="3dip"
88
+            android:text="@string/next_button_label"
89
+        />
90
+        
91
+    </LinearLayout>
92
+    
93
+</LinearLayout>

+ 85
- 0
res/layout/choose_lock_pattern_tutorial.xml View File

@@ -0,0 +1,85 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18
+    android:orientation="vertical"
19
+    android:layout_height="fill_parent"
20
+    android:layout_width="fill_parent">
21
+    
22
+    <ScrollView 
23
+        android:layout_width="fill_parent"
24
+        android:layout_height="0dip"
25
+        android:layout_weight="1">
26
+        
27
+        <LinearLayout
28
+            android:layout_width="fill_parent"
29
+            android:layout_height="wrap_content"
30
+            android:orientation="vertical"
31
+            android:padding="5dip">
32
+            
33
+            <TextView
34
+                android:layout_width="fill_parent"
35
+                android:layout_height="wrap_content"
36
+                android:gravity="center_horizontal"
37
+                android:text="@string/lock_title"
38
+                android:paddingBottom="10dip"
39
+                android:layout_marginTop="3dip"
40
+                style="?android:attr/textAppearanceLarge"
41
+            />
42
+        
43
+            <TextView 
44
+                android:layout_width="fill_parent"
45
+                android:layout_height="wrap_content"
46
+                android:textAppearance="?android:attr/textAppearanceMedium"
47
+                android:layout_marginTop="10dip"
48
+                android:text="@string/lock_intro_message"
49
+            />
50
+            
51
+        </LinearLayout>
52
+       
53
+    </ScrollView>
54
+    
55
+    <LinearLayout style="@android:style/ButtonBar"
56
+        android:orientation="horizontal"
57
+        android:layout_width="fill_parent"
58
+        android:layout_height="wrap_content">
59
+
60
+        <Button android:id="@+id/skip_button"
61
+            android:layout_height="wrap_content"
62
+            android:layout_width="0dip"
63
+            android:layout_weight="1"
64
+            android:text="@string/skip_button_label"
65
+        />
66
+        
67
+        <View
68
+            android:visibility="invisible"
69
+            android:layout_height="0dip"
70
+            android:layout_width="0dip"
71
+            android:layout_weight="1"
72
+        />
73
+
74
+        <Button android:id="@+id/next_button"
75
+            android:layout_height="wrap_content"
76
+            android:layout_width="0dip"
77
+            android:layout_weight="1"
78
+            android:drawableRight="@drawable/ic_btn_next"
79
+            android:drawablePadding="3dip"
80
+            android:text="@string/next_button_label"
81
+        />
82
+        
83
+    </LinearLayout>
84
+    
85
+</LinearLayout >

+ 36
- 0
res/layout/compute_sizes.xml View File

@@ -0,0 +1,36 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout
18
+    xmlns:android="http://schemas.android.com/apk/res/android"
19
+    android:layout_width="fill_parent"
20
+    android:layout_height="fill_parent">
21
+    <ListView 
22
+        android:id="@android:id/list"
23
+        android:drawSelectorOnTop="false"
24
+        android:layout_width="fill_parent"
25
+        android:layout_height="wrap_content" />
26
+    <TextView android:id="@+id/empty_view"
27
+        android:layout_width="fill_parent"
28
+        android:layout_height="wrap_content"
29
+        android:paddingLeft="20dip"
30
+        android:paddingTop="5dip"
31
+        android:text="@string/empty_list_msg"
32
+        android:gravity="center"
33
+        android:textAppearance="?android:attr/textAppearanceMedium" />
34
+</LinearLayout>
35
+
36
+

+ 51
- 0
res/layout/confirm_lock_pattern.xml View File

@@ -0,0 +1,51 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
17
+        xmlns:android="http://schemas.android.com/apk/res/android"
18
+    android:id="@+id/topLayout"
19
+    android:orientation="vertical"
20
+    android:layout_width="wrap_content"
21
+    android:layout_height="fill_parent"
22
+    android:background="@color/black">
23
+
24
+    <TextView android:id="@+id/headerText"
25
+        android:layout_width="fill_parent"
26
+        android:layout_height="0dip"
27
+        android:layout_weight="1.0"
28
+        android:gravity="center"
29
+        android:textSize="18sp"/>
30
+
31
+    <View
32
+         android:background="@*android:drawable/code_lock_top"
33
+         android:layout_width="fill_parent"
34
+         android:layout_height="2dip" />
35
+    <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
36
+         android:layout_width="wrap_content"
37
+         android:layout_height="wrap_content" />
38
+    <View
39
+         android:background="@*android:drawable/code_lock_bottom"
40
+         android:layout_width="fill_parent"
41
+         android:layout_height="8dip" />
42
+
43
+    <TextView android:id="@+id/footerText"
44
+        android:layout_width="fill_parent"
45
+        android:layout_height="0dip"
46
+        android:layout_weight="1.0"
47
+        android:gravity="center"
48
+        android:textSize="14sp"/>
49
+
50
+
51
+</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>

+ 55
- 0
res/layout/date_time_settings_setupwizard.xml View File

@@ -0,0 +1,55 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18
+        android:layout_height="fill_parent"
19
+        android:layout_width="fill_parent"
20
+        android:orientation="vertical">
21
+     
22
+    <LinearLayout
23
+        android:orientation="vertical"
24
+        android:layout_height="0dip"
25
+        android:layout_width="fill_parent"
26
+        android:layout_weight="1"
27
+        android:gravity="left">
28
+        
29
+        <ListView android:id="@android:id/list"
30
+            android:layout_width="fill_parent" 
31
+            android:layout_height="fill_parent"
32
+            android:drawSelectorOnTop="false"
33
+            android:paddingTop="2dip"
34
+        />
35
+        
36
+    </LinearLayout>
37
+    
38
+    <RelativeLayout
39
+        android:layout_height="wrap_content"
40
+        android:layout_width="fill_parent"
41
+        android:background="@android:drawable/bottom_bar">
42
+        
43
+        <Button android:id="@+id/next_button"
44
+            android:layout_width="150dip"
45
+            android:layout_height="wrap_content"
46
+            android:layout_margin="5dip"
47
+            android:layout_alignParentRight="true"
48
+            android:drawableRight="@drawable/ic_btn_next"
49
+            android:drawablePadding="10dip"
50
+            android:text="@string/next_label"
51
+        />
52
+        
53
+    </RelativeLayout>
54
+    
55
+</LinearLayout>

+ 29
- 0
res/layout/dialog_edittext.xml View File

@@ -0,0 +1,29 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2006 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18
+    android:layout_width="wrap_content"
19
+    android:layout_height="wrap_content"
20
+    android:paddingLeft="8dip"
21
+    android:paddingRight="8dip">
22
+    
23
+    <EditText 
24
+        android:id="@+id/edittext"
25
+        android:layout_width="fill_parent"
26
+        android:layout_height="wrap_content"
27
+    />
28
+        
29
+</LinearLayout>

+ 49
- 0
res/layout/display.xml View File

@@ -0,0 +1,49 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* //device/apps/Settings/res/layout/display.xml
4
+**
5
+** Copyright 2007, The Android Open Source Project
6
+**
7
+** Licensed under the Apache License, Version 2.0 (the "License"); 
8
+** you may not use this file except in compliance with the License. 
9
+** You may obtain a copy of the License at 
10
+**
11
+**     http://www.apache.org/licenses/LICENSE-2.0 
12
+**
13
+** Unless required by applicable law or agreed to in writing, software 
14
+** distributed under the License is distributed on an "AS IS" BASIS, 
15
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16
+** See the License for the specific language governing permissions and 
17
+** limitations under the License.
18
+*/
19
+-->
20
+
21
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/info_layout">        
22
+    <LinearLayout style="@style/entry_layout"
23
+        android:orientation="vertical">
24
+
25
+        <TextView
26
+            android:layout_width="fill_parent"
27
+            android:layout_height="wrap_content"
28
+            android:text="@string/display_font_size_label" />
29
+
30
+        <Spinner android:id="@+id/fontSize"
31
+            android:layout_width="fill_parent"
32
+            android:layout_height="wrap_content">
33
+        </Spinner>
34
+
35
+        <TextView
36
+            android:layout_width="fill_parent"
37
+            android:layout_height="wrap_content"
38
+            android:text="@string/display_preview_label" />
39
+
40
+        <TextView android:id="@+id/preview"
41
+            android:layout_width="fill_parent"
42
+            android:layout_height="wrap_content" />
43
+
44
+        <Button android:id="@+id/save"
45
+            android:layout_width="wrap_content"
46
+            android:layout_height="wrap_content" />
47
+    </LinearLayout>
48
+
49
+</LinearLayout>

+ 311
- 0
res/layout/installed_app_details.xml View File

@@ -0,0 +1,311 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/*
4
+** Copyright 2008, The Android Open Source Project
5
+**
6
+** Licensed under the Apache License, Version 2.0 (the "License");
7
+** you may not use this file except in compliance with the License.
8
+** You may obtain a copy of the License at
9
+**
10
+**     http://www.apache.org/licenses/LICENSE-2.0
11
+**
12
+** Unless required by applicable law or agreed to in writing, software
13
+** distributed under the License is distributed on an "AS IS" BASIS,
14
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+** See the License for the specific language governing permissions and
16
+** limitations under the License.
17
+*/
18
+-->
19
+<ScrollView
20
+    xmlns:android="http://schemas.android.com/apk/res/android"
21
+    android:layout_width="fill_parent"
22
+    android:layout_height="fill_parent">
23
+    <LinearLayout
24
+        android:id="@+id/all_details"
25
+        android:layout_width="fill_parent"
26
+        android:layout_height="fill_parent"
27
+        android:paddingRight="6dip"
28
+        android:paddingTop="5dip"
29
+        android:paddingBottom="5dip"
30
+        android:orientation="vertical">
31
+        <include
32
+            layout="@layout/manage_applications_item"
33
+            android:id="@+id/app_snippet"/>
34
+
35
+        <TextView
36
+            style="?android:attr/listSeparatorTextViewStyle"
37
+            android:text="@string/storage_label" />
38
+
39
+        <LinearLayout
40
+            android:layout_width="fill_parent"
41
+            android:layout_height="wrap_content"
42
+            android:paddingLeft="6dip"
43
+            android:orientation="vertical">
44
+            <LinearLayout
45
+                android:layout_width="fill_parent"
46
+                android:layout_height="wrap_content"
47
+                android:orientation="horizontal"
48
+                android:baselineAligned="true"
49
+                android:paddingTop="-1dip">
50
+                <TextView
51
+                    android:id="@+id/total_size_prefix"
52
+                    android:text="@string/total_size_label"
53
+                    android:textAppearance="?android:attr/textAppearanceMedium"
54
+                    android:layout_height="wrap_content"
55
+                    android:layout_width="wrap_content"
56
+                    android:maxLines="1"
57
+                    android:paddingTop="6dip"
58
+                    android:paddingLeft="6dip"/>
59
+
60
+                <ImageView
61
+                    android:id="@+id/info_size_dots"
62
+                    android:src="@drawable/dotted_line_480px"
63
+                    android:layout_width="0dip"
64
+                    android:layout_weight="1"
65
+                    android:layout_height="1px"
66
+                    android:layout_gravity="bottom"
67
+                    android:layout_marginLeft="1dip"
68
+                    android:layout_marginRight="1dip"
69
+                    android:layout_marginBottom="4dip"
70
+                    android:scaleType="center" />
71
+                <TextView
72
+                    android:id="@+id/total_size_text"
73
+                    android:paddingTop="6dip"
74
+                    android:paddingRight="6dip"
75
+                    android:textAppearance="?android:attr/textAppearanceMedium"
76
+                    android:layout_height="wrap_content"
77
+                    android:layout_width="wrap_content"
78
+                    android:maxLines="1" />
79
+
80
+            </LinearLayout>
81
+            <LinearLayout
82
+                android:layout_width="fill_parent"
83
+                android:layout_height="wrap_content"
84
+                android:orientation="horizontal"
85
+                android:baselineAligned="true"
86
+                android:paddingTop="-1dip">
87
+                <TextView
88
+                    android:id="@+id/application_size_prefix"
89
+                    android:text="@string/application_size_label"
90
+                    android:textAppearance="?android:attr/textAppearanceMedium"
91
+                    android:layout_height="wrap_content"
92
+                    android:layout_width="wrap_content"
93
+                    android:maxLines="1"
94
+                    android:paddingTop="6dip"
95
+                    android:paddingLeft="6dip"/>
96
+                <ImageView
97
+                    android:id="@+id/info_size_dots"
98
+                    android:src="@drawable/dotted_line_480px"
99
+                    android:layout_width="0dip"
100
+                    android:layout_weight="1"
101
+                    android:layout_height="1px"
102
+                    android:layout_gravity="bottom"
103
+                    android:layout_marginLeft="1dip"
104
+                    android:layout_marginRight="1dip"
105
+                    android:layout_marginBottom="4dip"
106
+                    android:scaleType="center" />
107
+                <TextView
108
+                    android:id="@+id/application_size_text"
109
+                    android:textAppearance="?android:attr/textAppearanceMedium"
110
+                    android:paddingTop="6dip"
111
+                    android:paddingRight="6dip"
112
+                    android:layout_height="wrap_content"
113
+                    android:layout_width="wrap_content"
114
+                    android:maxLines="1" />
115
+
116
+            </LinearLayout>
117
+            <LinearLayout
118
+                android:id="@+id/info_size"
119
+                android:layout_width="fill_parent"
120
+                android:layout_height="wrap_content"
121
+                android:orientation="horizontal"
122
+                android:baselineAligned="true"
123
+                android:paddingTop="-1dip">
124
+                <TextView
125
+                    android:id="@+id/data_size_prefix"
126
+                    android:text="@string/data_size_label"
127
+                    android:textAppearance="?android:attr/textAppearanceMedium"
128
+                    android:layout_height="wrap_content"
129
+                    android:layout_width="wrap_content"
130
+                    android:maxLines="1"
131
+                    android:paddingTop="6dip"
132
+                    android:paddingLeft="6dip"/>
133
+                <ImageView
134
+                    android:id="@+id/info_size_dots"
135
+                    android:src="@drawable/dotted_line_480px"
136
+                    android:layout_width="0dip"
137
+                    android:layout_weight="1"
138
+                    android:layout_height="1px"
139
+                    android:layout_gravity="bottom"
140
+                    android:layout_marginLeft="1dip"
141
+                    android:layout_marginRight="1dip"
142
+                    android:layout_marginBottom="4dip"
143
+                    android:scaleType="center" />
144
+                <TextView
145
+                    android:id="@+id/data_size_text"
146
+                    android:textAppearance="?android:attr/textAppearanceMedium"
147
+                    android:paddingTop="6dip"
148
+                    android:paddingRight="6dip"
149
+                    android:layout_height="wrap_content"
150
+                    android:layout_width="wrap_content"
151
+                    android:maxLines="1" />
152
+
153
+            </LinearLayout>
154
+            <!-- Manage space, Clear data/Uninstall buttons  -->
155
+            <LinearLayout
156
+                android:layout_width="fill_parent"
157
+                android:layout_height="wrap_content"
158
+                android:gravity="bottom"
159
+                android:orientation="horizontal">
160
+                <Button
161
+                    android:id="@+id/manage_space_button"
162
+                    android:text="@string/manage_space_text"
163
+                    android:visibility="invisible"
164
+                    android:layout_width="150dip"
165
+                    android:paddingLeft="6dip"
166
+                    android:layout_gravity="left"
167
+                    android:layout_weight="0.4"
168
+                    android:layout_height="wrap_content"/>
169
+                <!-- Spacer -->
170
+                <View
171
+                    android:id="@+id/buttons_spacer_left"
172
+                    android:layout_width="0dip"
173
+                    android:layout_height="wrap_content"
174
+                    android:layout_weight="0.2"
175
+                    android:visibility="gone" />
176
+ 
177
+                <Button
178
+                    android:id="@+id/uninstall_button"
179
+                    android:layout_width="150dip"
180
+                    android:paddingRight="6dip"
181
+                    android:layout_gravity="right"
182
+                    android:layout_weight="0.4"
183
+                    android:layout_height="wrap_content"/>
184
+            </LinearLayout>
185
+        </LinearLayout>
186
+
187
+        <!-- Clear cache section -->
188
+        <RelativeLayout
189
+            android:id="@+id/cache_panel"
190
+            android:layout_width="fill_parent"
191
+            android:layout_height="wrap_content" >
192
+            <TextView
193
+                android:id="@+id/cache_header"
194
+                style="?android:attr/listSeparatorTextViewStyle"
195
+                android:text="@string/cache_header_label" />
196
+            <LinearLayout
197
+                android:id="@+id/cache_size"
198
+                android:layout_width="fill_parent"
199
+                android:layout_height="wrap_content"
200
+                android:orientation="horizontal"
201
+                android:baselineAligned="true"
202
+                android:layout_below="@id/cache_header"
203
+                android:paddingTop="-1dip">
204
+                <TextView
205
+                    android:text="@string/cache_size_label"
206
+                    android:layout_height="wrap_content"
207
+                    android:layout_width="wrap_content"
208
+                    android:maxLines="1"
209
+                    android:textAppearance="?android:attr/textAppearanceMedium"
210
+                    android:paddingTop="6dip"
211
+                    android:gravity="center_vertical"
212
+                    android:paddingLeft="6dip"/>
213
+                <ImageView
214
+                    android:src="@drawable/dotted_line_480px"
215
+                    android:layout_width="0dip"
216
+                    android:layout_weight="1"
217
+                    android:layout_height="1px"
218
+                    android:layout_gravity="bottom"
219
+                    android:layout_marginLeft="1dip"
220
+                    android:layout_marginRight="1dip"
221
+                    android:layout_marginBottom="4dip"
222
+                    android:scaleType="center" />
223
+                <TextView
224
+                    android:id="@+id/cache_size_text"
225
+                    android:textAppearance="?android:attr/textAppearanceMedium"
226
+                    android:paddingTop="6dip"
227
+                    android:paddingRight="6dip"
228
+                    android:layout_height="wrap_content"
229
+                    android:layout_width="wrap_content"
230
+                    android:maxLines="1" />
231
+            </LinearLayout>
232
+
233
+            <Button android:id="@+id/clear_cache_button"
234
+                android:layout_alignParentRight="true"
235
+                android:layout_below="@id/cache_size"
236
+                android:layout_centerHorizontal="true"
237
+                android:layout_width="150dip"
238
+                android:text="@string/clear_cache_btn_text"
239
+                android:layout_height="wrap_content" />
240
+        </RelativeLayout>
241
+
242
+        <!-- Prefered activities section -->
243
+        <TextView
244
+            style="?android:attr/listSeparatorTextViewStyle"
245
+            android:text="@string/auto_launch_label" />
246
+
247
+        <RelativeLayout 
248
+            android:layout_width="fill_parent"
249
+            android:layout_height="wrap_content"
250
+            android:layout_gravity="center_vertical">
251
+            <TextView android:id="@+id/auto_launch"
252
+                android:textAppearance="?android:attr/textAppearanceSmall"
253
+                android:layout_alignParentLeft="true"
254
+                android:layout_width="fill_parent"
255
+                android:layout_height="wrap_content"
256
+                android:paddingTop="6dip"
257
+                android:paddingRight="6dip"
258
+                android:paddingLeft="6dip" />
259
+            <Button android:id="@+id/clear_activities_button"
260
+                android:layout_alignParentRight="true"
261
+                android:layout_below="@id/auto_launch"
262
+                android:layout_centerHorizontal="true"
263
+                android:layout_width="150dip"
264
+                android:text="@string/clear_activities"
265
+                 android:layout_height="wrap_content" />
266
+        </RelativeLayout>
267
+
268
+        <!-- Permissions section -->
269
+        <LinearLayout
270
+            android:id="@+id/permissions_section"
271
+            android:layout_width="fill_parent"
272
+            android:layout_height="fill_parent"
273
+            android:orientation="vertical">
274
+            <TextView
275
+                style="?android:attr/listSeparatorTextViewStyle"
276
+                android:text="@string/permissions_label" />
277
+            <TextView
278
+                android:text="@string/security_settings_desc"
279
+                android:textAppearance="?android:attr/textAppearanceSmall"
280
+                android:paddingTop="6dip"
281
+                android:paddingLeft="6dip"
282
+                android:paddingBottom="6dip"
283
+                android:layout_width="fill_parent"
284
+                android:layout_height="wrap_content" />
285
+            <LinearLayout
286
+                android:id="@+id/security_settings_list"
287
+                android:layout_width="fill_parent"
288
+                android:layout_height="fill_parent"
289
+                android:orientation="vertical"/>
290
+        </LinearLayout>
291
+
292
+        <!-- Prefered activities section -->
293
+        <TextView
294
+            style="?android:attr/listSeparatorTextViewStyle"
295
+            android:text="@string/controls_label" />
296
+
297
+        <RelativeLayout
298
+            android:layout_width="fill_parent"
299
+            android:layout_height="wrap_content"
300
+            android:layout_gravity="center_vertical">
301
+            <Button android:id="@+id/force_stop_button"
302
+                android:layout_alignParentRight="true"
303
+                android:layout_alignParentTop="true"
304
+                android:layout_centerHorizontal="true"
305
+                android:layout_width="150dip"
306
+                android:text="@string/force_stop"
307
+                android:layout_height="wrap_content" />
308
+        </RelativeLayout>
309
+    </LinearLayout>
310
+</ScrollView>
311
+

+ 111
- 0
res/layout/intent_sender.xml View File

@@ -0,0 +1,111 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+/* //device/apps/Preferences/assets/res/any/layout/intent_sender.xml
4
+**
5
+** Copyright 2006, The Android Open Source Project
6
+**
7
+** Licensed under the Apache License, Version 2.0 (the "License");
8
+** you may not use this file except in compliance with the License.
9
+** You may obtain a copy of the License at
10
+**
11
+**     http://www.apache.org/licenses/LICENSE-2.0
12
+**
13
+** Unless required by applicable law or agreed to in writing, software
14
+** distributed under the License is distributed on an "AS IS" BASIS,
15
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+** See the License for the specific language governing permissions and
17
+** limitations under the License.
18
+*/
19
+-->
20
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21
+    android:paddingLeft="6dip"
22
+    android:paddingRight="6dip"
23
+    android:paddingBottom="3dip"
24
+    android:layout_width="fill_parent"
25
+    android:layout_height="fill_parent">
26
+
27
+    <LinearLayout
28
+        android:orientation="vertical"
29
+        android:layout_width="fill_parent"
30
+        android:layout_height="fill_parent">
31
+
32
+        <TextView
33
+                android:textStyle="bold"
34
+                android:maxLines="1"
35
+                android:layout_width="wrap_content"
36
+                android:layout_height="wrap_content"
37
+                android:text="@string/intent_sender_action_label" />
38
+
39
+        <EditText android:id="@+id/intent"
40
+                android:singleLine="true"
41
+                android:layout_marginTop="2dip"
42
+                android:layout_width="wrap_content"
43
+                android:layout_height="wrap_content"
44
+                android:scrollHorizontally="true"
45
+                android:capitalize="none"
46
+                android:autoText="false" />
47
+
48
+        <TextView
49
+                android:textStyle="bold"
50
+                android:maxLines="1"
51
+                android:layout_width="wrap_content"
52
+                android:layout_height="wrap_content"
53
+                android:text="@string/intent_sender_data_label" />
54
+
55
+        <EditText android:id="@+id/data"
56
+                android:singleLine="true"
57
+                android:layout_marginTop="2dip"
58
+                android:layout_width="wrap_content"
59
+                android:layout_height="wrap_content"
60
+                android:scrollHorizontally="true"
61
+                android:capitalize="none"
62
+                android:autoText="false" />
63
+
64
+        <TextView
65
+                android:textStyle="bold"
66
+                android:maxLines="1"
67
+                android:layout_marginTop="4dip"
68
+                android:layout_width="wrap_content"
69
+                android:layout_height="wrap_content"
70
+                android:text="@string/intent_sender_account_label" />
71
+
72
+        <EditText android:id="@+id/account"
73
+                android:singleLine="true"
74
+                android:layout_marginTop="2dip"
75
+                android:layout_width="wrap_content"
76
+                android:layout_height="wrap_content"
77
+                android:scrollHorizontally="true"
78
+                android:capitalize="none"
79
+                android:autoText="false" />
80
+
81
+        <TextView
82
+                android:textStyle="bold"
83
+                android:maxLines="1"
84
+                android:layout_marginTop="4dip"
85
+                android:layout_width="wrap_content"
86
+                android:layout_height="wrap_content"
87
+                android:text="@string/intent_sender_resource_label" />
88
+
89
+        <EditText android:id="@+id/resource"
90
+                android:singleLine="true"
91
+                android:layout_marginTop="2dip"
92
+                android:layout_width="wrap_content"
93
+                android:layout_height="wrap_content"
94
+                android:scrollHorizontally="true"
95
+                android:capitalize="none"
96
+                android:autoText="false" />
97
+
98
+        <Button android:id="@+id/sendbroadcast"
99
+                android:layout_marginTop="8dip"
100
+                android:layout_width="wrap_content"
101
+                android:layout_height="wrap_content"
102
+                android:text="@string/intent_sender_sendbroadcast_text" />
103
+
104