Move the StatusBarPhone package into a new catch-all SystemUI.apk.

This commit is contained in:
Joe Onorato
2010-05-26 17:03:26 -04:00
parent 7dd8c6e4ea
commit 79de0c5500
61 changed files with 47 additions and 44 deletions

View File

@@ -7,7 +7,7 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_JAVA_LIBRARIES := services LOCAL_JAVA_LIBRARIES := services
LOCAL_PACKAGE_NAME := StatusBarPhone LOCAL_PACKAGE_NAME := SystemUI
LOCAL_CERTIFICATE := platform LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE) include $(BUILD_PACKAGE)

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.policy.statusbar.phone" package="com.android.systemui"
android:sharedUserId="android.uid.system"> android:sharedUserId="android.uid.system">
<application <application
@@ -8,14 +8,14 @@
android:icon="@drawable/ic_launcher_settings"> android:icon="@drawable/ic_launcher_settings">
<receiver <receiver
android:name="StatusBarStarter" android:name=".statusbar.StatusBarStarter"
> >
<intent-filter> <intent-filter>
<action android:name="com.android.internal.policy.statusbar.START" /> <action android:name="com.android.internal.policy.statusbar.START" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<service <service
android:name="PhoneStatusBarService" android:name=".statusbar.PhoneStatusBarService"
android:exported="false" android:exported="false"
/> />
</application> </application>

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1014 B

After

Width:  |  Height:  |  Size: 1014 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 945 B

After

Width:  |  Height:  |  Size: 945 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 786 B

After

Width:  |  Height:  |  Size: 786 B

View File

Before

Width:  |  Height:  |  Size: 646 B

After

Width:  |  Height:  |  Size: 646 B

View File

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 204 B

View File

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 202 B

View File

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

@@ -19,7 +19,7 @@
--> -->
<!-- android:background="@drawable/status_bar_closed_default_background" --> <!-- android:background="@drawable/status_bar_closed_default_background" -->
<com.android.policy.statusbar.phone.StatusBarView <com.android.systemui.statusbar.StatusBarView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/statusbar_background" android:background="@drawable/statusbar_background"
android:orientation="vertical" android:orientation="vertical"
@@ -32,7 +32,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal"> android:orientation="horizontal">
<com.android.policy.statusbar.phone.IconMerger android:id="@+id/notificationIcons" <com.android.systemui.statusbar.IconMerger android:id="@+id/notificationIcons"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -49,7 +49,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal"/> android:orientation="horizontal"/>
<com.android.policy.statusbar.phone.Clock <com.android.systemui.statusbar.Clock
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:singleLine="true" android:singleLine="true"
@@ -72,16 +72,16 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginRight="8dip" android:layout_marginRight="8dip"
> >
<com.android.policy.statusbar.phone.AnimatedImageView <com.android.systemui.statusbar.AnimatedImageView
android:layout_width="25dip" android:layout_width="25dip"
android:layout_height="25dip" android:layout_height="25dip"
/> />
<com.android.policy.statusbar.phone.AnimatedImageView <com.android.systemui.statusbar.AnimatedImageView
android:layout_width="25dip" android:layout_width="25dip"
android:layout_height="25dip" android:layout_height="25dip"
/> />
</ImageSwitcher> </ImageSwitcher>
<com.android.policy.statusbar.phone.TickerView android:id="@+id/tickerText" <com.android.systemui.statusbar.TickerView android:id="@+id/tickerText"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -99,10 +99,10 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" android:singleLine="true"
/> />
</com.android.policy.statusbar.phone.TickerView> </com.android.systemui.statusbar.TickerView>
</LinearLayout> </LinearLayout>
<com.android.policy.statusbar.phone.DateView android:id="@+id/date" <com.android.systemui.statusbar.DateView android:id="@+id/date"
android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -112,4 +112,4 @@
android:paddingRight="6px" android:paddingRight="6px"
android:background="@drawable/statusbar_background" android:background="@drawable/statusbar_background"
/> />
</com.android.policy.statusbar.phone.StatusBarView> </com.android.systemui.statusbar.StatusBarView>

View File

@@ -18,7 +18,7 @@
*/ */
--> -->
<com.android.policy.statusbar.phone.ExpandedView xmlns:android="http://schemas.android.com/apk/res/android" <com.android.systemui.statusbar.ExpandedView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:focusable="true" android:focusable="true"
android:descendantFocusability="afterDescendants" android:descendantFocusability="afterDescendants"
@@ -87,7 +87,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:fadingEdge="none" android:fadingEdge="none"
> >
<com.android.policy.statusbar.phone.NotificationLinearLayout <com.android.systemui.statusbar.NotificationLinearLayout
android:id="@+id/notificationLinearLayout" android:id="@+id/notificationLinearLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -130,7 +130,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
/> />
</com.android.policy.statusbar.phone.NotificationLinearLayout> </com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView> </ScrollView>
<ImageView <ImageView
@@ -141,4 +141,4 @@
/> />
</FrameLayout> </FrameLayout>
</com.android.policy.statusbar.phone.ExpandedView> </com.android.systemui.statusbar.ExpandedView>

View File

@@ -25,7 +25,7 @@
android:layout_height="25dp" android:layout_height="25dp"
> >
<com.android.policy.statusbar.phone.AnimatedImageView android:id="@+id/image" <com.android.systemui.statusbar.AnimatedImageView android:id="@+id/image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />

View File

@@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
--> -->
<com.android.policy.statusbar.phone.TrackingView <com.android.systemui.statusbar.TrackingView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:visibility="gone" android:visibility="gone"
@@ -26,13 +26,13 @@
android:paddingRight="0px" android:paddingRight="0px"
> >
<com.android.policy.statusbar.phone.TrackingPatternView <com.android.systemui.statusbar.TrackingPatternView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
/> />
<com.android.policy.statusbar.phone.CloseDragHandle android:id="@+id/close" <com.android.systemui.statusbar.CloseDragHandle android:id="@+id/close"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
@@ -44,6 +44,6 @@
android:scaleType="fitXY" android:scaleType="fitXY"
android:src="@drawable/status_bar_close_on"/> android:src="@drawable/status_bar_close_on"/>
</com.android.policy.statusbar.phone.CloseDragHandle> </com.android.systemui.statusbar.CloseDragHandle>
</com.android.policy.statusbar.phone.TrackingView> </com.android.systemui.statusbar.TrackingView>

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.AnimationDrawable;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.os.Handler; import android.os.Handler;
import android.os.IBinder; import android.os.IBinder;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;
import android.content.Context; import android.content.Context;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
import android.graphics.Canvas; import android.graphics.Canvas;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.os.Handler; import android.os.Handler;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.app.Notification; import android.app.Notification;
import android.os.IBinder; import android.os.IBinder;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import com.android.internal.util.CharSequences; import com.android.internal.util.CharSequences;
import com.android.internal.statusbar.IStatusBar; import com.android.internal.statusbar.IStatusBar;
@@ -71,6 +71,7 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.Set; import java.util.Set;
import com.android.systemui.R;
public class PhoneStatusBarService extends StatusBarService { public class PhoneStatusBarService extends StatusBarService {
static final String TAG = "PhoneStatusBarService"; static final String TAG = "PhoneStatusBarService";

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.app.Service; import android.app.Service;
import android.content.Context; import android.content.Context;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.content.res.Configuration; import android.content.res.Configuration;
@@ -27,6 +27,8 @@ import android.view.ViewGroup;
import android.view.ViewParent; import android.view.ViewParent;
import android.widget.FrameLayout; import android.widget.FrameLayout;
import com.android.systemui.R;
public class StatusBarView extends FrameLayout { public class StatusBarView extends FrameLayout {
private static final String TAG = "StatusBarView"; private static final String TAG = "StatusBarView";

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
@@ -34,7 +34,7 @@ import android.widget.ImageSwitcher;
import java.util.ArrayList; import java.util.ArrayList;
import com.android.internal.statusbar.StatusBarNotification; import com.android.internal.statusbar.StatusBarNotification;
import com.android.systemui.R;
public abstract class Ticker { public abstract class Ticker {
private static final int TICKER_SEGMENT_DELAY = 3000; private static final int TICKER_SEGMENT_DELAY = 3000;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.android.policy.statusbar.phone; package com.android.systemui.statusbar;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;