diff options
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r-- | packages/SystemUI/res/drawable/battery.xml | 35 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/battery_charging.xml | 54 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/button_frame.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/signal.xml | 30 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_back.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_expand.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_home.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_menu.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_veto.xml | 21 |
9 files changed, 245 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/battery.xml b/packages/SystemUI/res/drawable/battery.xml new file mode 100644 index 0000000..c2294d1 --- /dev/null +++ b/packages/SystemUI/res/drawable/battery.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/res/drawable/stat_sys_battery.xml +** +** Copyright 2007, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<level-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:maxLevel="1" android:drawable="@drawable/battery_0" /> + <item android:maxLevel="5"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_0" android:duration="250" /> + <item android:drawable="@drawable/battery_20" android:duration="250" /> + </animation-list> + </item> + <item android:maxLevel="20" android:drawable="@drawable/battery_20" /> + <item android:maxLevel="40" android:drawable="@drawable/battery_40" /> + <item android:maxLevel="60" android:drawable="@drawable/battery_60" /> + <item android:maxLevel="80" android:drawable="@drawable/battery_80" /> + <item android:maxLevel="101" android:drawable="@drawable/battery_100" /> +</level-list> + diff --git a/packages/SystemUI/res/drawable/battery_charging.xml b/packages/SystemUI/res/drawable/battery_charging.xml new file mode 100644 index 0000000..2fd0c6d --- /dev/null +++ b/packages/SystemUI/res/drawable/battery_charging.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/res/drawable/stat_sys_battery.xml +** +** Copyright 2007, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<level-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:maxLevel="20"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_0" android:duration="1000" /> + <item android:drawable="@drawable/battery_20" android:duration="1000" /> + </animation-list> + </item> + <item android:maxLevel="40"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_20" android:duration="1000" /> + <item android:drawable="@drawable/battery_40" android:duration="1000" /> + </animation-list> + </item> + <item android:maxLevel="60"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_40" android:duration="1000" /> + <item android:drawable="@drawable/battery_60" android:duration="1000" /> + </animation-list> + </item> + <item android:maxLevel="80"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_60" android:duration="1000" /> + <item android:drawable="@drawable/battery_80" android:duration="1000" /> + </animation-list> + </item> + <item android:maxLevel="92"> + <animation-list android:oneshot="false"> + <item android:drawable="@drawable/battery_80" android:duration="1000" /> + <item android:drawable="@drawable/battery_100" android:duration="1000" /> + </animation-list> + </item> + <item android:maxLevel="101" android:drawable="@drawable/battery_100" /> +</level-list> + diff --git a/packages/SystemUI/res/drawable/button_frame.xml b/packages/SystemUI/res/drawable/button_frame.xml new file mode 100644 index 0000000..5db39a5 --- /dev/null +++ b/packages/SystemUI/res/drawable/button_frame.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/button_frame_pressed" /> + <item android:drawable="@drawable/button_frame_default" /> +</selector> + diff --git a/packages/SystemUI/res/drawable/signal.xml b/packages/SystemUI/res/drawable/signal.xml new file mode 100644 index 0000000..8b4f56b --- /dev/null +++ b/packages/SystemUI/res/drawable/signal.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/res/drawable/stat_sys_battery.xml +** +** Copyright 2007, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<level-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:maxLevel="01" android:drawable="@drawable/signal_0" /> + <item android:maxLevel="20" android:drawable="@drawable/signal_20" /> + <item android:maxLevel="40" android:drawable="@drawable/signal_40" /> + <item android:maxLevel="60" android:drawable="@drawable/signal_60" /> + <item android:maxLevel="80" android:drawable="@drawable/signal_80" /> + <item android:maxLevel="101" android:drawable="@drawable/signal_100" /> + +</level-list> + diff --git a/packages/SystemUI/res/drawable/status_bar_back.xml b/packages/SystemUI/res/drawable/status_bar_back.xml new file mode 100644 index 0000000..92bf147 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_back.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/status_bar_back_pressed" /> + <item android:drawable="@drawable/status_bar_back_default" /> +</selector> + diff --git a/packages/SystemUI/res/drawable/status_bar_expand.xml b/packages/SystemUI/res/drawable/status_bar_expand.xml new file mode 100644 index 0000000..f966920 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_expand.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/status_bar_expand_pressed" /> + <item android:drawable="@drawable/status_bar_expand_default" /> +</selector> + diff --git a/packages/SystemUI/res/drawable/status_bar_home.xml b/packages/SystemUI/res/drawable/status_bar_home.xml new file mode 100644 index 0000000..0011711 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_home.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/status_bar_home_pressed" /> + <item android:drawable="@drawable/status_bar_home_default" /> +</selector> + diff --git a/packages/SystemUI/res/drawable/status_bar_menu.xml b/packages/SystemUI/res/drawable/status_bar_menu.xml new file mode 100644 index 0000000..aa7286e --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_menu.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/status_bar_menu_pressed" /> + <item android:drawable="@drawable/status_bar_menu_default" /> +</selector> + diff --git a/packages/SystemUI/res/drawable/status_bar_veto.xml b/packages/SystemUI/res/drawable/status_bar_veto.xml new file mode 100644 index 0000000..6e1b681 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_veto.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/status_bar_veto_pressed" /> + <item android:drawable="@drawable/status_bar_veto_normal" /> +</selector> + |