diff options
| author | Likai Ding <likaid@codeaurora.org> | 2013-08-20 14:48:29 +0800 |
|---|---|---|
| committer | Xiaojing Zhang <zhangx@codeaurora.org> | 2014-11-04 20:38:05 -0800 |
| commit | 5a4edcd17ea886d29c3d6bc97bba4e1f2b0d0e40 (patch) | |
| tree | d4f4dad08746c3b66efb18efc5e68315e9616c86 /res/drawable | |
| parent | d42e6dcbee24b917936c1d670ca659970c76d4d1 (diff) | |
| download | android_packages_apps_Gallery2-5a4edcd17ea886d29c3d6bc97bba4e1f2b0d0e40.tar.gz android_packages_apps_Gallery2-5a4edcd17ea886d29c3d6bc97bba4e1f2b0d0e40.tar.bz2 android_packages_apps_Gallery2-5a4edcd17ea886d29c3d6bc97bba4e1f2b0d0e40.zip | |
Gallery2: add some video features
(cherry picked files from commit id
990c6d43ea7c184846e19d41bef0d93aee4e581b)
Change-Id: Ifdcc4e9ab14d1f8b273faa97f0f66ba2f4034bea
Diffstat (limited to 'res/drawable')
| -rwxr-xr-x | res/drawable/icn_media_forward.xml | 22 | ||||
| -rwxr-xr-x | res/drawable/icn_media_rewind.xml | 22 | ||||
| -rwxr-xr-x | res/drawable/icn_media_stop.xml | 22 | ||||
| -rwxr-xr-x | res/drawable/videoplayer_pause.xml | 22 | ||||
| -rwxr-xr-x | res/drawable/videoplayer_play.xml | 22 | ||||
| -rwxr-xr-x | res/drawable/videoplayer_reload.xml | 22 |
6 files changed, 132 insertions, 0 deletions
diff --git a/res/drawable/icn_media_forward.xml b/res/drawable/icn_media_forward.xml new file mode 100755 index 000000000..374ca5d07 --- /dev/null +++ b/res/drawable/icn_media_forward.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_menu_forward" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_menu_disabled_forward" /> +</selector> diff --git a/res/drawable/icn_media_rewind.xml b/res/drawable/icn_media_rewind.xml new file mode 100755 index 000000000..b6066373d --- /dev/null +++ b/res/drawable/icn_media_rewind.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_menu_rewind" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_menu_disabled_rewind" /> +</selector> diff --git a/res/drawable/icn_media_stop.xml b/res/drawable/icn_media_stop.xml new file mode 100755 index 000000000..31d85555b --- /dev/null +++ b/res/drawable/icn_media_stop.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_menu_stop" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_menu_disabled_stop" /> +</selector> diff --git a/res/drawable/videoplayer_pause.xml b/res/drawable/videoplayer_pause.xml new file mode 100755 index 000000000..39a436156 --- /dev/null +++ b/res/drawable/videoplayer_pause.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_vidcontrol_pause" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_vidcontrol_disable_pause" /> +</selector> diff --git a/res/drawable/videoplayer_play.xml b/res/drawable/videoplayer_play.xml new file mode 100755 index 000000000..be78a7be1 --- /dev/null +++ b/res/drawable/videoplayer_play.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_vidcontrol_play" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_vidcontrol_disable_play" /> +</selector> diff --git a/res/drawable/videoplayer_reload.xml b/res/drawable/videoplayer_reload.xml new file mode 100755 index 000000000..b5d48bff7 --- /dev/null +++ b/res/drawable/videoplayer_reload.xml @@ -0,0 +1,22 @@ +<?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_enabled="true" + android:drawable="@drawable/ic_vidcontrol_reload" /> + <item android:state_enabled="false" + android:drawable="@drawable/ic_vidcontrol_disable_reload" /> +</selector> |
