Home | History | Annotate | Download | only in view

Lines Matching defs:wp

382             WindowManager.LayoutParams wp = (WindowManager.LayoutParams)params;
383 CharSequence curTitle = wp.getTitle();
384 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW &&
385 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) {
386 if (wp.token == null) {
389 wp.token = decor.getWindowToken();
394 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) {
396 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) {
398 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) {
400 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL) {
402 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG) {
405 title=Integer.toString(wp.type);
410 wp.setTitle(title);
413 if (wp.token == null) {
414 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken;
418 wp.setTitle(mAppName);
421 if (wp.packageName == null) {
422 wp.packageName = mContext.getPackageName();