diff options
| author | 2011-10-21 16:26:27 -0400 | |
|---|---|---|
| committer | 2011-10-25 20:08:44 -0700 | |
| commit | f5e14bec4e13bdc1d5cd05bbcb81cf011770b149 (patch) | |
| tree | b360faa0c393a3c1b48ae9bbfa8229b4353284fb | |
| parent | e49cf107e2533b7ca71c500bc20a0f6dcdf9efdc (diff) | |
Convert the outer lockscreen ring to a shape drawable. DO NOT MERGE
Saves 270dp^2 of pixel memory: 290K on mdpi, 650K on hdpi,
1.2MB on xhdpi. Multilockwave is still 60fps on crespo.
Bug: 5497875
Cherry pick 2f4207086e2177f8970538a3d8e921eb13c14b00 to MR1
Change-Id: Ib77695cb4256a484f5c61af1159e5e3df8cce9ba
| -rw-r--r-- | core/res/res/drawable-hdpi/ic_lockscreen_outerring.png | bin | 9454 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-mdpi/ic_lockscreen_outerring.png | bin | 5840 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xhdpi/ic_lockscreen_outerring.png | bin | 13636 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable/ic_lockscreen_outerring.xml | 23 |
4 files changed, 23 insertions, 0 deletions
diff --git a/core/res/res/drawable-hdpi/ic_lockscreen_outerring.png b/core/res/res/drawable-hdpi/ic_lockscreen_outerring.png Binary files differdeleted file mode 100644 index 5294bc5c805e..000000000000 --- a/core/res/res/drawable-hdpi/ic_lockscreen_outerring.png +++ /dev/null diff --git a/core/res/res/drawable-mdpi/ic_lockscreen_outerring.png b/core/res/res/drawable-mdpi/ic_lockscreen_outerring.png Binary files differdeleted file mode 100644 index 4151f73a61e7..000000000000 --- a/core/res/res/drawable-mdpi/ic_lockscreen_outerring.png +++ /dev/null diff --git a/core/res/res/drawable-xhdpi/ic_lockscreen_outerring.png b/core/res/res/drawable-xhdpi/ic_lockscreen_outerring.png Binary files differdeleted file mode 100644 index 0b4b26053850..000000000000 --- a/core/res/res/drawable-xhdpi/ic_lockscreen_outerring.png +++ /dev/null diff --git a/core/res/res/drawable/ic_lockscreen_outerring.xml b/core/res/res/drawable/ic_lockscreen_outerring.xml new file mode 100644 index 000000000000..490f3707279f --- /dev/null +++ b/core/res/res/drawable/ic_lockscreen_outerring.xml @@ -0,0 +1,23 @@ +<?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. +--> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="oval" + > + <size android:height="270dp" android:width="270dp" /> + <solid android:color="#00000000" /> + <stroke android:color="#1affffff" android:width="2dp" /> +</shape> |