diff options
author | Chris Craik <ccraik@google.com> | 2013-10-08 11:02:18 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2013-10-08 11:06:24 -0700 |
commit | aa4ec542698403b1bff349e0c8e65bef33e19a3a (patch) | |
tree | 650cf89e2a8bb9bf455c4a54ac9c6f3b296660fa /packages/SystemUI | |
parent | 46ec729a88079d3878a95a57ab703e64638dfc1a (diff) | |
download | frameworks_base-aa4ec542698403b1bff349e0c8e65bef33e19a3a.zip frameworks_base-aa4ec542698403b1bff349e0c8e65bef33e19a3a.tar.gz frameworks_base-aa4ec542698403b1bff349e0c8e65bef33e19a3a.tar.bz2 |
Remove unused time tile and resources
bug:10641374
Change-Id: I7f5d46588929d3906a77afafc1c2ec4f4e5ca2f5
Diffstat (limited to 'packages/SystemUI')
14 files changed, 0 insertions, 59 deletions
diff --git a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_circle.png b/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_circle.png Binary files differdeleted file mode 100644 index f82a037..0000000 --- a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_circle.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_hour.png b/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_hour.png Binary files differdeleted file mode 100644 index ed6c0db..0000000 --- a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_hour.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_minute.png b/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_minute.png Binary files differdeleted file mode 100644 index e28c06a..0000000 --- a/packages/SystemUI/res/drawable-hdpi/ic_qs_clock_minute.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_circle.png b/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_circle.png Binary files differdeleted file mode 100644 index 3073986..0000000 --- a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_circle.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_hour.png b/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_hour.png Binary files differdeleted file mode 100644 index 2a0bc59..0000000 --- a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_hour.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_minute.png b/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_minute.png Binary files differdeleted file mode 100644 index 9b1cc58..0000000 --- a/packages/SystemUI/res/drawable-mdpi/ic_qs_clock_minute.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_circle.png b/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_circle.png Binary files differdeleted file mode 100644 index 72c587d..0000000 --- a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_circle.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_hour.png b/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_hour.png Binary files differdeleted file mode 100644 index d18dbd9..0000000 --- a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_hour.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_minute.png b/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_minute.png Binary files differdeleted file mode 100644 index 31230af..0000000 --- a/packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_minute.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_circle.png b/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_circle.png Binary files differdeleted file mode 100644 index 849d547..0000000 --- a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_circle.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_hour.png b/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_hour.png Binary files differdeleted file mode 100644 index 57dd8a6..0000000 --- a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_hour.png +++ /dev/null diff --git a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_minute.png b/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_minute.png Binary files differdeleted file mode 100644 index a9b8ba5..0000000 --- a/packages/SystemUI/res/drawable-xxhdpi/ic_qs_clock_minute.png +++ /dev/null diff --git a/packages/SystemUI/res/layout/quick_settings_tile_time.xml b/packages/SystemUI/res/layout/quick_settings_tile_time.xml deleted file mode 100644 index 910e1f6..0000000 --- a/packages/SystemUI/res/layout/quick_settings_tile_time.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 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:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:orientation="vertical"> - <AnalogClock - android:id="@+id/analog_clock" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_gravity="center" - android:layout_marginBottom="10dp" - android:dial="@drawable/ic_qs_clock_circle" - android:hand_hour="@drawable/ic_qs_clock_hour" - android:hand_minute="@drawable/ic_qs_clock_minute" - /> - <com.android.systemui.statusbar.policy.DateView - android:textAppearance="@style/TextAppearance.QuickSettings.TileView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:gravity="center" - /> -</LinearLayout> diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java index 33edd72..5423bb6 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java @@ -358,26 +358,6 @@ class QuickSettings { parent.addView(brightnessTile); mDynamicSpannedTiles.add(brightnessTile); - // Time tile - /* - QuickSettingsTileView timeTile = (QuickSettingsTileView) - inflater.inflate(R.layout.quick_settings_tile, parent, false); - timeTile.setContent(R.layout.quick_settings_tile_time, inflater); - timeTile.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View v) { - // Quick. Clock. Quick. Clock. Quick. Clock. - startSettingsActivity(Intent.ACTION_QUICK_CLOCK); - } - }); - mModel.addTimeTile(timeTile, new QuickSettingsModel.RefreshCallback() { - @Override - public void refreshView(QuickSettingsTileView view, State alarmState) {} - }); - parent.addView(timeTile); - mDynamicSpannedTiles.add(timeTile); - */ - // Settings tile final QuickSettingsBasicTile settingsTile = new QuickSettingsBasicTile(mContext); settingsTile.setImageResource(R.drawable.ic_qs_settings); |