Loading packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java +32 −31 Original line number Diff line number Diff line Loading @@ -289,8 +289,8 @@ public class PhoneStatusBarService extends StatusBarService { } public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { Slog.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " icon=" + icon); if (SPEW) Slog.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " icon=" + icon); StatusBarIconView view = new StatusBarIconView(this, slot); view.set(icon); mStatusIcons.addView(view, viewIndex, new LinearLayout.LayoutParams(mIconWidth, mHeight)); Loading @@ -298,14 +298,15 @@ public class PhoneStatusBarService extends StatusBarService { public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, StatusBarIcon icon) { Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " old=" + old + " icon=" + icon); if (SPEW) Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " old=" + old + " icon=" + icon); StatusBarIconView view = (StatusBarIconView)mStatusIcons.getChildAt(viewIndex); view.set(icon); } public void removeIcon(String slot, int index, int viewIndex) { Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex); if (SPEW) Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex); mStatusIcons.removeViewAt(viewIndex); } Loading @@ -321,7 +322,7 @@ public class PhoneStatusBarService extends StatusBarService { } public void updateNotification(IBinder key, StatusBarNotification notification) { Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification); if (SPEW) Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification); NotificationData oldList; int oldIndex = mOngoing.findEntry(key); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java +32 −31 Original line number Diff line number Diff line Loading @@ -289,8 +289,8 @@ public class PhoneStatusBarService extends StatusBarService { } public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { Slog.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " icon=" + icon); if (SPEW) Slog.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " icon=" + icon); StatusBarIconView view = new StatusBarIconView(this, slot); view.set(icon); mStatusIcons.addView(view, viewIndex, new LinearLayout.LayoutParams(mIconWidth, mHeight)); Loading @@ -298,14 +298,15 @@ public class PhoneStatusBarService extends StatusBarService { public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, StatusBarIcon icon) { Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " old=" + old + " icon=" + icon); if (SPEW) Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex + " old=" + old + " icon=" + icon); StatusBarIconView view = (StatusBarIconView)mStatusIcons.getChildAt(viewIndex); view.set(icon); } public void removeIcon(String slot, int index, int viewIndex) { Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex); if (SPEW) Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex); mStatusIcons.removeViewAt(viewIndex); } Loading @@ -321,7 +322,7 @@ public class PhoneStatusBarService extends StatusBarService { } public void updateNotification(IBinder key, StatusBarNotification notification) { Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification); if (SPEW) Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification); NotificationData oldList; int oldIndex = mOngoing.findEntry(key); Loading