How mService.addWindow & mService.relayoutWindow was called?

23 views
Skip to first unread message

于汝漩

unread,
Apr 18, 2017, 11:36:21 AM4/18/17
to android-platform
Recently, Im learning WindowManagerServices. I want to know how the PopupWindow show on the screen. So I set breakpoints at Session::addToDisplay and Session::relayout.
When I touch my show popup button, it seem like this:

Touch -> addToDisplay -> relayout

I dont understand why the relayout was called. Can you give me some tips about 'addToDisplay -> ? -> relayout' this part?

sametc3215

unread,
Apr 25, 2017, 11:21:44 PM4/25/17
to android-platform
18 Nisan 2017 Salı 18:36:21 UTC+3 tarihinde 于汝漩 yazdı:
Reply all
Reply to author
Forward
0 new messages