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 | |
| 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')
49 files changed, 158 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_media_bigscreen.png b/res/drawable-hdpi/ic_media_bigscreen.png Binary files differnew file mode 100755 index 000000000..b68002df8 --- /dev/null +++ b/res/drawable-hdpi/ic_media_bigscreen.png diff --git a/res/drawable-hdpi/ic_media_cropscreen.png b/res/drawable-hdpi/ic_media_cropscreen.png Binary files differnew file mode 100755 index 000000000..d6e4e7009 --- /dev/null +++ b/res/drawable-hdpi/ic_media_cropscreen.png diff --git a/res/drawable-hdpi/ic_media_fullscreen.png b/res/drawable-hdpi/ic_media_fullscreen.png Binary files differnew file mode 100755 index 000000000..a4569fb6e --- /dev/null +++ b/res/drawable-hdpi/ic_media_fullscreen.png diff --git a/res/drawable-hdpi/ic_menu_disabled_forward.png b/res/drawable-hdpi/ic_menu_disabled_forward.png Binary files differnew file mode 100755 index 000000000..c9683df0a --- /dev/null +++ b/res/drawable-hdpi/ic_menu_disabled_forward.png diff --git a/res/drawable-hdpi/ic_menu_disabled_rewind.png b/res/drawable-hdpi/ic_menu_disabled_rewind.png Binary files differnew file mode 100755 index 000000000..1f74fb8ea --- /dev/null +++ b/res/drawable-hdpi/ic_menu_disabled_rewind.png diff --git a/res/drawable-hdpi/ic_menu_disabled_stop.png b/res/drawable-hdpi/ic_menu_disabled_stop.png Binary files differnew file mode 100755 index 000000000..292c49241 --- /dev/null +++ b/res/drawable-hdpi/ic_menu_disabled_stop.png diff --git a/res/drawable-hdpi/ic_menu_forward.png b/res/drawable-hdpi/ic_menu_forward.png Binary files differnew file mode 100755 index 000000000..468008269 --- /dev/null +++ b/res/drawable-hdpi/ic_menu_forward.png diff --git a/res/drawable-hdpi/ic_menu_rewind.png b/res/drawable-hdpi/ic_menu_rewind.png Binary files differnew file mode 100755 index 000000000..37c5708fa --- /dev/null +++ b/res/drawable-hdpi/ic_menu_rewind.png diff --git a/res/drawable-hdpi/ic_menu_stop.png b/res/drawable-hdpi/ic_menu_stop.png Binary files differnew file mode 100755 index 000000000..aea1c458a --- /dev/null +++ b/res/drawable-hdpi/ic_menu_stop.png diff --git a/res/drawable-hdpi/ic_separator_line.png b/res/drawable-hdpi/ic_separator_line.png Binary files differnew file mode 100755 index 000000000..2ebff3fe7 --- /dev/null +++ b/res/drawable-hdpi/ic_separator_line.png diff --git a/res/drawable-hdpi/ic_vidcontrol_disable_pause.png b/res/drawable-hdpi/ic_vidcontrol_disable_pause.png Binary files differnew file mode 100755 index 000000000..41b37256b --- /dev/null +++ b/res/drawable-hdpi/ic_vidcontrol_disable_pause.png diff --git a/res/drawable-hdpi/ic_vidcontrol_disable_play.png b/res/drawable-hdpi/ic_vidcontrol_disable_play.png Binary files differnew file mode 100755 index 000000000..fdc5380f6 --- /dev/null +++ b/res/drawable-hdpi/ic_vidcontrol_disable_play.png diff --git a/res/drawable-hdpi/ic_vidcontrol_disable_reload.png b/res/drawable-hdpi/ic_vidcontrol_disable_reload.png Binary files differnew file mode 100755 index 000000000..5611a9202 --- /dev/null +++ b/res/drawable-hdpi/ic_vidcontrol_disable_reload.png diff --git a/res/drawable-hdpi/media_default_bkg.9.png b/res/drawable-hdpi/media_default_bkg.9.png Binary files differnew file mode 100755 index 000000000..7b9523913 --- /dev/null +++ b/res/drawable-hdpi/media_default_bkg.9.png diff --git a/res/drawable-mdpi/ic_media_bigscreen.png b/res/drawable-mdpi/ic_media_bigscreen.png Binary files differnew file mode 100755 index 000000000..f04026ead --- /dev/null +++ b/res/drawable-mdpi/ic_media_bigscreen.png diff --git a/res/drawable-mdpi/ic_media_cropscreen.png b/res/drawable-mdpi/ic_media_cropscreen.png Binary files differnew file mode 100755 index 000000000..a2517bd3d --- /dev/null +++ b/res/drawable-mdpi/ic_media_cropscreen.png diff --git a/res/drawable-mdpi/ic_media_fullscreen.png b/res/drawable-mdpi/ic_media_fullscreen.png Binary files differnew file mode 100755 index 000000000..a53cb3ddd --- /dev/null +++ b/res/drawable-mdpi/ic_media_fullscreen.png diff --git a/res/drawable-mdpi/ic_menu_disabled_forward.png b/res/drawable-mdpi/ic_menu_disabled_forward.png Binary files differnew file mode 100755 index 000000000..bbc8920f0 --- /dev/null +++ b/res/drawable-mdpi/ic_menu_disabled_forward.png diff --git a/res/drawable-mdpi/ic_menu_disabled_rewind.png b/res/drawable-mdpi/ic_menu_disabled_rewind.png Binary files differnew file mode 100755 index 000000000..28acd42d8 --- /dev/null +++ b/res/drawable-mdpi/ic_menu_disabled_rewind.png diff --git a/res/drawable-mdpi/ic_menu_disabled_stop.png b/res/drawable-mdpi/ic_menu_disabled_stop.png Binary files differnew file mode 100755 index 000000000..0532cea84 --- /dev/null +++ b/res/drawable-mdpi/ic_menu_disabled_stop.png diff --git a/res/drawable-mdpi/ic_menu_forward.png b/res/drawable-mdpi/ic_menu_forward.png Binary files differnew file mode 100755 index 000000000..85b7057cb --- /dev/null +++ b/res/drawable-mdpi/ic_menu_forward.png diff --git a/res/drawable-mdpi/ic_menu_rewind.png b/res/drawable-mdpi/ic_menu_rewind.png Binary files differnew file mode 100755 index 000000000..8b46eee7c --- /dev/null +++ b/res/drawable-mdpi/ic_menu_rewind.png diff --git a/res/drawable-mdpi/ic_menu_stop.png b/res/drawable-mdpi/ic_menu_stop.png Binary files differnew file mode 100755 index 000000000..96cf8f46d --- /dev/null +++ b/res/drawable-mdpi/ic_menu_stop.png diff --git a/res/drawable-mdpi/ic_vidcontrol_disable_pause.png b/res/drawable-mdpi/ic_vidcontrol_disable_pause.png Binary files differnew file mode 100755 index 000000000..c5c42cb8c --- /dev/null +++ b/res/drawable-mdpi/ic_vidcontrol_disable_pause.png diff --git a/res/drawable-mdpi/ic_vidcontrol_disable_play.png b/res/drawable-mdpi/ic_vidcontrol_disable_play.png Binary files differnew file mode 100755 index 000000000..70374fb09 --- /dev/null +++ b/res/drawable-mdpi/ic_vidcontrol_disable_play.png diff --git a/res/drawable-mdpi/ic_vidcontrol_disable_reload.png b/res/drawable-mdpi/ic_vidcontrol_disable_reload.png Binary files differnew file mode 100755 index 000000000..052df4cfc --- /dev/null +++ b/res/drawable-mdpi/ic_vidcontrol_disable_reload.png diff --git a/res/drawable-mdpi/media_default_bkg.9.png b/res/drawable-mdpi/media_default_bkg.9.png Binary files differnew file mode 100755 index 000000000..20bb10878 --- /dev/null +++ b/res/drawable-mdpi/media_default_bkg.9.png diff --git a/res/drawable-sw600dp/ic_vidcontrol_disable_pause.png b/res/drawable-sw600dp/ic_vidcontrol_disable_pause.png Binary files differnew file mode 100755 index 000000000..41b37256b --- /dev/null +++ b/res/drawable-sw600dp/ic_vidcontrol_disable_pause.png diff --git a/res/drawable-sw600dp/ic_vidcontrol_disable_play.png b/res/drawable-sw600dp/ic_vidcontrol_disable_play.png Binary files differnew file mode 100755 index 000000000..fdc5380f6 --- /dev/null +++ b/res/drawable-sw600dp/ic_vidcontrol_disable_play.png diff --git a/res/drawable-sw600dp/ic_vidcontrol_disable_reload.png b/res/drawable-sw600dp/ic_vidcontrol_disable_reload.png Binary files differnew file mode 100755 index 000000000..5611a9202 --- /dev/null +++ b/res/drawable-sw600dp/ic_vidcontrol_disable_reload.png diff --git a/res/drawable-xhdpi/ic_media_bigscreen.png b/res/drawable-xhdpi/ic_media_bigscreen.png Binary files differnew file mode 100755 index 000000000..ba367097e --- /dev/null +++ b/res/drawable-xhdpi/ic_media_bigscreen.png diff --git a/res/drawable-xhdpi/ic_media_cropscreen.png b/res/drawable-xhdpi/ic_media_cropscreen.png Binary files differnew file mode 100755 index 000000000..e08c1db60 --- /dev/null +++ b/res/drawable-xhdpi/ic_media_cropscreen.png diff --git a/res/drawable-xhdpi/ic_media_fullscreen.png b/res/drawable-xhdpi/ic_media_fullscreen.png Binary files differnew file mode 100755 index 000000000..ffcb4de7c --- /dev/null +++ b/res/drawable-xhdpi/ic_media_fullscreen.png diff --git a/res/drawable-xhdpi/ic_menu_disabled_forward.png b/res/drawable-xhdpi/ic_menu_disabled_forward.png Binary files differnew file mode 100755 index 000000000..e73d4d4a5 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_disabled_forward.png diff --git a/res/drawable-xhdpi/ic_menu_disabled_rewind.png b/res/drawable-xhdpi/ic_menu_disabled_rewind.png Binary files differnew file mode 100755 index 000000000..ad3be649b --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_disabled_rewind.png diff --git a/res/drawable-xhdpi/ic_menu_disabled_stop.png b/res/drawable-xhdpi/ic_menu_disabled_stop.png Binary files differnew file mode 100755 index 000000000..ba0fc5f61 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_disabled_stop.png diff --git a/res/drawable-xhdpi/ic_menu_forward.png b/res/drawable-xhdpi/ic_menu_forward.png Binary files differnew file mode 100755 index 000000000..f225ffc91 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_forward.png diff --git a/res/drawable-xhdpi/ic_menu_rewind.png b/res/drawable-xhdpi/ic_menu_rewind.png Binary files differnew file mode 100755 index 000000000..fbfa5cab6 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_rewind.png diff --git a/res/drawable-xhdpi/ic_menu_stop.png b/res/drawable-xhdpi/ic_menu_stop.png Binary files differnew file mode 100755 index 000000000..43e77bee4 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_stop.png diff --git a/res/drawable-xhdpi/ic_vidcontrol_disable_pause.png b/res/drawable-xhdpi/ic_vidcontrol_disable_pause.png Binary files differnew file mode 100755 index 000000000..0b1a136c6 --- /dev/null +++ b/res/drawable-xhdpi/ic_vidcontrol_disable_pause.png diff --git a/res/drawable-xhdpi/ic_vidcontrol_disable_play.png b/res/drawable-xhdpi/ic_vidcontrol_disable_play.png Binary files differnew file mode 100755 index 000000000..f2c2f1116 --- /dev/null +++ b/res/drawable-xhdpi/ic_vidcontrol_disable_play.png diff --git a/res/drawable-xhdpi/ic_vidcontrol_disable_reload.png b/res/drawable-xhdpi/ic_vidcontrol_disable_reload.png Binary files differnew file mode 100755 index 000000000..37a394f1e --- /dev/null +++ b/res/drawable-xhdpi/ic_vidcontrol_disable_reload.png 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> diff --git a/res/layout/setting_list.xml b/res/layout/setting_list.xml new file mode 100755 index 000000000..8dd8cd067 --- /dev/null +++ b/res/layout/setting_list.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> + <!-- + /* * Copyright (C) 2008 Esmertec AG. * 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. */ + --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent"> + <ListView android:id="@android:id/list" android:layout_width="match_parent" + android:layout_height="0px" android:layout_weight="1" + android:paddingLeft="16dip" android:paddingRight="16dip" + android:paddingTop="0dp" android:paddingBottom="0dp" + android:clipToPadding="false" android:scrollbarStyle="outsideOverlay" + android:drawSelectorOnTop="false" android:cacheColorHint="@android:color/transparent" + android:listPreferredItemHeight="48dp" + android:scrollbarAlwaysDrawVerticalTrack="true" /> +</LinearLayout> + |
