Loading packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +0 −3 Original line number Diff line number Diff line Loading @@ -442,9 +442,6 @@ public abstract class BaseStatusBar extends SystemUI implements mHandler.sendEmptyMessage(msg); } protected abstract WindowManager.LayoutParams getRecentsLayoutParams( LayoutParams layoutParams); protected abstract WindowManager.LayoutParams getSearchLayoutParams( LayoutParams layoutParams); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +0 −25 Original line number Diff line number Diff line Loading @@ -669,31 +669,6 @@ public class PhoneStatusBar extends BaseStatusBar { return mStatusBarView; } @Override protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { boolean opaque = false; WindowManager.LayoutParams lp = new WindowManager.LayoutParams( layoutParams.width, layoutParams.height, WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL, WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH, (opaque ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT)); if (ActivityManager.isHighEndGfx()) { lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; } else { lp.flags |= WindowManager.LayoutParams.FLAG_DIM_BEHIND; lp.dimAmount = 0.75f; } lp.gravity = Gravity.BOTTOM | Gravity.START; lp.setTitle("RecentsPanel"); lp.windowAnimations = com.android.internal.R.style.Animation_RecentApplications; lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING; return lp; } @Override protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { boolean opaque = false; Loading packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java +0 −6 Original line number Diff line number Diff line Loading @@ -96,12 +96,6 @@ public class TvStatusBar extends BaseStatusBar { protected void createAndAddWindows() { } @Override protected WindowManager.LayoutParams getRecentsLayoutParams( LayoutParams layoutParams) { return null; } @Override protected WindowManager.LayoutParams getSearchLayoutParams( LayoutParams layoutParams) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +0 −3 Original line number Diff line number Diff line Loading @@ -442,9 +442,6 @@ public abstract class BaseStatusBar extends SystemUI implements mHandler.sendEmptyMessage(msg); } protected abstract WindowManager.LayoutParams getRecentsLayoutParams( LayoutParams layoutParams); protected abstract WindowManager.LayoutParams getSearchLayoutParams( LayoutParams layoutParams); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +0 −25 Original line number Diff line number Diff line Loading @@ -669,31 +669,6 @@ public class PhoneStatusBar extends BaseStatusBar { return mStatusBarView; } @Override protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutParams) { boolean opaque = false; WindowManager.LayoutParams lp = new WindowManager.LayoutParams( layoutParams.width, layoutParams.height, WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL, WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH, (opaque ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT)); if (ActivityManager.isHighEndGfx()) { lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; } else { lp.flags |= WindowManager.LayoutParams.FLAG_DIM_BEHIND; lp.dimAmount = 0.75f; } lp.gravity = Gravity.BOTTOM | Gravity.START; lp.setTitle("RecentsPanel"); lp.windowAnimations = com.android.internal.R.style.Animation_RecentApplications; lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING; return lp; } @Override protected WindowManager.LayoutParams getSearchLayoutParams(LayoutParams layoutParams) { boolean opaque = false; Loading
packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java +0 −6 Original line number Diff line number Diff line Loading @@ -96,12 +96,6 @@ public class TvStatusBar extends BaseStatusBar { protected void createAndAddWindows() { } @Override protected WindowManager.LayoutParams getRecentsLayoutParams( LayoutParams layoutParams) { return null; } @Override protected WindowManager.LayoutParams getSearchLayoutParams( LayoutParams layoutParams) { Loading