のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

Window Layout

     71     // Window types from WindowManager.LayoutParams
     72     enum {
     73         FIRST_APPLICATION_WINDOW  = 1,
     74         TYPE_BASE_APPLICATION     = 1,
     75         TYPE_APPLICATION          = 2,
     76         TYPE_APPLICATION_STARTING = 3,
     77         LAST_APPLICATION_WINDOW   = 99,

     78         FIRST_SUB_WINDOW          = 1000,
     79         TYPE_APPLICATION_PANEL           = FIRST_SUB_WINDOW,
     80         TYPE_APPLICATION_MEDIA           = FIRST_SUB_WINDOW+1,
     81         TYPE_APPLICATION_SUB_PANEL       = FIRST_SUB_WINDOW+2,
     82         TYPE_APPLICATION_ATTACHED_DIALOG = FIRST_SUB_WINDOW+3,
     83         TYPE_APPLICATION_MEDIA_OVERLAY   = FIRST_SUB_WINDOW+4,
     84         LAST_SUB_WINDOW            = 1999,

     85         FIRST_SYSTEM_WINDOW        = 2000,
     86         TYPE_STATUS_BAR            = FIRST_SYSTEM_WINDOW,
     87         TYPE_SEARCH_BAR            = FIRST_SYSTEM_WINDOW+1,
     88         TYPE_PHONE                 = FIRST_SYSTEM_WINDOW+2,
     89         TYPE_SYSTEM_ALERT          = FIRST_SYSTEM_WINDOW+3,
     90         TYPE_KEYGUARD              = FIRST_SYSTEM_WINDOW+4,
     91         TYPE_TOAST                 = FIRST_SYSTEM_WINDOW+5,
     92         TYPE_SYSTEM_OVERLAY        = FIRST_SYSTEM_WINDOW+6,
     93         TYPE_PRIORITY_PHONE        = FIRST_SYSTEM_WINDOW+7,
     94         TYPE_SYSTEM_DIALOG         = FIRST_SYSTEM_WINDOW+8,
     95         TYPE_KEYGUARD_DIALOG       = FIRST_SYSTEM_WINDOW+9,
     96         TYPE_SYSTEM_ERROR          = FIRST_SYSTEM_WINDOW+10,
     97         TYPE_INPUT_METHOD          = FIRST_SYSTEM_WINDOW+11,
     98         TYPE_INPUT_METHOD_DIALOG   = FIRST_SYSTEM_WINDOW+12,
     99         TYPE_WALLPAPER             = FIRST_SYSTEM_WINDOW+13,
    100         TYPE_STATUS_BAR_PANEL      = FIRST_SYSTEM_WINDOW+14,
    101         TYPE_SECURE_SYSTEM_OVERLAY = FIRST_SYSTEM_WINDOW+15,
    102         TYPE_DRAG                  = FIRST_SYSTEM_WINDOW+16,
    103         TYPE_STATUS_BAR_SUB_PANEL  = FIRST_SYSTEM_WINDOW+17,
    104         TYPE_POINTER               = FIRST_SYSTEM_WINDOW+18,
    105         TYPE_NAVIGATION_BAR        = FIRST_SYSTEM_WINDOW+19,
    106         TYPE_VOLUME_OVERLAY        = FIRST_SYSTEM_WINDOW+20,
    107         TYPE_BOOT_PROGRESS         = FIRST_SYSTEM_WINDOW+21,
    108         LAST_SYSTEM_WINDOW         = 2999,
    109     };