Remove unused resources

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2017-04-18 17:16:31 -07:00
parent d00671e7a5
commit bc33f8ec02
208 changed files with 0 additions and 967 deletions

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/black"/>
</shape>

View File

@@ -1,105 +0,0 @@
<?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.
-->
<!-- Layers used to render the in-call "Audio mode" compound button.
This is a multi-mode button:
- If no bluetooth headset is connected, it behaves like a simple
"compound button" that switches the speaker on and off. (This is why
the button itself is a ToggleButton instance.)
- But if a bluetooth headset is connected, this becomes a simple
action button (with no concept of a "checked" state) that brings
up a popup menu offering you a 3-way choice between earpiece /
speaker / bluetooth.
See InCallTouchUi.updateAudioButton() for the corresponding code. -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The standard "compound button" background, used to distinguish
between the "checked" and "unchecked" states when this button is
simply an on/off toggle for the speaker.
(In states where the audio button *not* a toggle, we explicitly
hide this layer.) -->
<item android:id="@+id/compoundBackgroundItem"
android:drawable="@drawable/redphone_btn_compound_background" />
<!-- The little triangle that indicates that this isn't a plain
button, but will instead pop up a menu. This layer is *not*
shown when the audio button is simply an on/off toggle. -->
<!-- Use an explicit <bitmap> to avoid scaling the icon up to the full
size of the button. -->
<item android:id="@+id/moreIndicatorItem">
<bitmap android:src="@drawable/redphone_ic_more_indicator_holo_dark"
android:gravity="center" />
</item>
<!-- Finally, the button icon.
When the audio button is simply an on/off toggle for the speaker,
the icon is a "speakerphone" regardless of whether the speaker is
active. (Instead, the "on/off" indication comes from the
redphone_btn_compound_background selector.)
But when the audio button is connected to the 3-way popup menu,
we use the button's icon to indicate the current audio mode
(i.e. one of { earpiece (or wired headset) , speaker , bluetooth }).
Here we have separate layers for each possible foreground icon,
and in InCallTouchUi.updateAudioButton() we hide them all
*except* the one needed for the current state. -->
<!-- These all use an explicit <bitmap> to avoid scaling the icon up
to the full size of the button. -->
<!-- Bluetooth is active -->
<item android:id="@+id/bluetoothItem">
<bitmap android:src="@drawable/redphone_ic_sound_bluetooth_holo_dark"
android:gravity="center" />
</item>
<!-- Handset earpiece is active -->
<item android:id="@+id/handsetItem">
<bitmap android:src="@drawable/redphone_ic_sound_handset_holo_dark"
android:gravity="center" />
</item>
<!-- Speakerphone icon showing 'speaker on' state -->
<item android:id="@+id/speakerphoneOnItem">
<bitmap android:src="@drawable/redphone_ic_sound_speakerphone_holo_dark"
android:gravity="center" />
</item>
<!-- Speakerphone icon showing 'speaker off' state -->
<item android:id="@+id/speakerphoneOffItem">
<bitmap android:src="@drawable/redphone_ic_sound_off_speakerphone_holo_dark"
android:gravity="center" />
</item>
<!-- Generic "audio mode" icon. Looks almost identical to
ic_sound_speakerphone_holo_dark.png -->
<!-- TODO: is this actually needed? -->
<!--
<item android:id="@+id/soundItem">
<bitmap android:src="@drawable/ic_sound_holo_dark"
android:gravity="center" />
</item>
-->
</layer-list>

View File

@@ -1,34 +0,0 @@
<?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.
-->
<!-- Background resource for "compound buttons" in the in-call UI.
These buttons have two states (checked and unchecked), and
show a blue bar along the bottom edge when checked. -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/redphone_list_pressed_holo_dark" />
<item android:state_checked="true" android:state_focused="true"
android:drawable="@drawable/redphone_list_selector_focused_and_checked" />
<item android:state_focused="true"
android:drawable="@drawable/list_focused_holo" />
<item android:state_checked="true"
android:drawable="@drawable/redphone_ic_active_state_dialer_holo_dark" />
<item
android:drawable="@android:color/transparent" />
</selector>

View File

@@ -1,30 +0,0 @@
<?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.
-->
<!-- Layers used to render the in-call "Mute" compound button. -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The standard "compound button" background. -->
<item android:drawable="@drawable/redphone_btn_compound_background" />
<!-- ...and the actual icon on top. Use an explicit <bitmap> to avoid scaling
the icon up to the full size of the button. -->
<item>
<bitmap android:src="@drawable/redphone_ic_mute_holo_dark"
android:gravity="center" />
</item>
</layer-list>

View File

@@ -1,20 +0,0 @@
<?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/redphone_dial_background_texture"
android:tileMode="repeat" />

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/redphone_black_rectangle"/>
<item android:drawable="@drawable/redphone_dialpad_background"/>
</layer-list>

View File

@@ -1,19 +0,0 @@
<?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/redphone_endcall_background_texture"
android:tileMode="repeat" />

View File

@@ -1,20 +0,0 @@
<?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.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/redphone_ic_active_state_dialer_holo_dark" />
<item android:drawable="@drawable/list_focused_holo" />
</layer-list>

View File

@@ -1,20 +0,0 @@
<?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.
-->
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/redphone_list_pressed" />
<item android:drawable="@drawable/redphone_list_longpressed" />
</transition>

View File

@@ -1,37 +0,0 @@
<?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"
android:exitFadeDuration="@android:integer/config_mediumAnimTime">
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
<item android:state_focused="true"
android:state_enabled="false"
android:state_pressed="true"
android:drawable="@drawable/redphone_selector_disabled" />
<item android:state_focused="true"
android:state_enabled="false"
android:drawable="@drawable/redphone_selector_disabled" />
<item android:state_focused="true"
android:state_pressed="true"
android:drawable="@drawable/redphone_selector_background_transition" />
<item android:state_focused="false"
android:state_pressed="true"
android:drawable="@drawable/redphone_selector_background_transition" />
<item android:state_focused="true"
android:drawable="@drawable/redphone_list_focused" />
<item android:drawable="@color/transparent" />
</selector>