Skip to content

Commit

Permalink
theme engine fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adneal committed Jan 17, 2012
1 parent 3c45386 commit 997fb07
Show file tree
Hide file tree
Showing 47 changed files with 3,481 additions and 3,293 deletions.
9 changes: 9 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="lib" path="libs/android-support-v4.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
33 changes: 33 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Music</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.

# Project target.
target=android-15
24 changes: 12 additions & 12 deletions res/anim/anim_0.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

</set>
24 changes: 12 additions & 12 deletions res/anim/anim_1.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="0.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="0.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

</set>
24 changes: 12 additions & 12 deletions res/anim/anim_2.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="00.0%"
android:pivotY="00.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="2.0"
android:fromYScale="0.0"
android:pivotX="00.0%"
android:pivotY="00.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

</set>
24 changes: 12 additions & 12 deletions res/anim/anim_3.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="0.0"
android:fromYScale="2.0"
android:pivotX="50.0%"
android:pivotY="00.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="200"
android:fromXScale="0.0"
android:fromYScale="2.0"
android:pivotX="50.0%"
android:pivotY="00.0%"
android:toXScale="1.0"
android:toYScale="1.0" />

</set>
26 changes: 13 additions & 13 deletions res/anim/anim_4.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<translate
android:duration="@android:integer/config_shortAnimTime"
android:fromYDelta="-50.0%p"
android:toYDelta="0.0" />

<alpha
android:duration="@android:integer/config_longAnimTime"
android:fromAlpha="0.0"
android:toAlpha="1.0" />

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<translate
android:duration="@android:integer/config_shortAnimTime"
android:fromYDelta="-50.0%p"
android:toYDelta="0.0" />

<alpha
android:duration="@android:integer/config_longAnimTime"
android:fromAlpha="0.0"
android:toAlpha="1.0" />

</set>
50 changes: 25 additions & 25 deletions res/anim/anim_5.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/res/anim/slide_in_right.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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="50%p" android:toXDelta="0"
android:duration="@android:integer/config_mediumAnimTime"/>
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_mediumAnimTime" />
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/res/anim/slide_in_right.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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="50%p" android:toXDelta="0"
android:duration="@android:integer/config_mediumAnimTime"/>
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_mediumAnimTime" />
</set>
44 changes: 22 additions & 22 deletions res/anim/fade_out_fast.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator"

android:fromAlpha="1.0"
android:toAlpha="0.0"

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator"

android:fromAlpha="1.0"
android:toAlpha="0.0"

android:duration="@android:integer/config_mediumAnimTime" />
36 changes: 18 additions & 18 deletions res/anim/peak_meter.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_1" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_5" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_1" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
</animation-list>
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_1" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_5" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_4" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_2" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_1" />
<item android:duration="200" android:drawable="@drawable/indicator_playing_peak_meter_3" />
</animation-list>
42 changes: 21 additions & 21 deletions res/drawable/bg_stripes_repeat.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2011 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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_stripes"
android:tileMode="repeat" />
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2011 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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_stripes"
android:tileMode="repeat" />
10 changes: 5 additions & 5 deletions res/drawable/group_text_color.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:color="#ffffff"/>
<item android:state_pressed="true" android:state_enabled="false" android:color="#ffffff" />
<item android:state_enabled="false" android:color="#ffffff" />
<item android:color="#ff999999"/>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:color="#ffffff"/>
<item android:state_pressed="true" android:state_enabled="false" android:color="#ffffff" />
<item android:state_enabled="false" android:color="#ffffff" />
<item android:color="#ff999999"/>
</selector>
2 changes: 1 addition & 1 deletion res/drawable/list_selector_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:drawable="@drawable/playlist_tile_normal" />

<item android:state_focused="true"
android:drawable="@color/ics_opaque" />
android:drawable="@drawable/playlist_tile_normal" />

<item android:state_focused="false"
android:drawable="@drawable/playlist_tile_normal" />
Expand Down
Loading

0 comments on commit 997fb07

Please sign in to comment.