auto import from //branches/cupcake/...@126645
This commit is contained in:
@@ -97,7 +97,8 @@ public class KeyguardViewManager {
|
||||
|
||||
final int stretch = ViewGroup.LayoutParams.FILL_PARENT;
|
||||
int flags = WindowManager.LayoutParams.FLAG_DITHER
|
||||
| WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN;
|
||||
| WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN
|
||||
| WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
|
||||
WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
|
||||
stretch, stretch, WindowManager.LayoutParams.TYPE_KEYGUARD,
|
||||
flags, PixelFormat.OPAQUE);
|
||||
|
||||
@@ -65,7 +65,6 @@ import android.view.WindowManager;
|
||||
import static android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN;
|
||||
import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
|
||||
import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR;
|
||||
import static android.view.WindowManager.LayoutParams.FLAG_RESTORED_STATE;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.FrameLayout;
|
||||
@@ -1376,8 +1375,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
return;
|
||||
}
|
||||
|
||||
setFlags(FLAG_RESTORED_STATE, FLAG_RESTORED_STATE);
|
||||
|
||||
SparseArray<Parcelable> savedStates
|
||||
= savedInstanceState.getSparseParcelableArray(VIEWS_TAG);
|
||||
if (savedStates != null) {
|
||||
@@ -1946,7 +1943,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
WindowManager.LayoutParams params = getAttributes();
|
||||
|
||||
if (!hasSoftInputMode()) {
|
||||
params.softInputMode = (byte)a.getInt(
|
||||
params.softInputMode = a.getInt(
|
||||
com.android.internal.R.styleable.Window_windowSoftInputMode,
|
||||
params.softInputMode);
|
||||
}
|
||||
|
||||
@@ -72,6 +72,8 @@ public class PowerDialog extends Dialog implements OnClickListener,
|
||||
getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
|
||||
WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
|
||||
WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
||||
|
||||
setTitle(context.getText(R.string.power_dialog));
|
||||
|
||||
|
||||
@@ -78,7 +78,9 @@ public class RecentApplicationsDialog extends Dialog implements OnClickListener
|
||||
theWindow.requestFeature(Window.FEATURE_NO_TITLE);
|
||||
theWindow.setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
|
||||
theWindow.setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
|
||||
WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
|
||||
WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
|
||||
theWindow.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
|
||||
WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
||||
|
||||
setContentView(com.android.internal.R.layout.recent_apps_dialog);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user