Home | History | Annotate | Download | only in view

Lines Matching defs:wp

502             WindowManager.LayoutParams wp = (WindowManager.LayoutParams)params;
503 CharSequence curTitle = wp.getTitle();
504 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW &&
505 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) {
506 if (wp.token == null) {
509 wp.token = decor.getWindowToken();
514 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) {
516 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) {
518 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) {
520 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL) {
522 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG) {
525 title=Integer.toString(wp.type);
530 wp.setTitle(title);
533 if (wp.token == null) {
534 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken;
538 wp.setTitle(mAppName);
541 if (wp.packageName == null) {
542 wp.packageName = mContext.getPackageName();
545 wp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;