Embodiments of this application provide a multi-window display terminal device and method, which may be applied to a foldable
mobile phone having an inner screen and an outer screen, or may be applied to a bar-type
mobile phone having a front screen and a rear screen. The terminal device includes: two displays and two cameras that are respectively located on different sides, a
microphone, and a processor. The terminal device may determine a display used by a user by using images collected by the two cameras, to adjust a position of a window, so that a front-rear display technology of the display can be implemented. The terminal device may also determine a distance between the user and the terminal device by using the images collected by the two cameras, to adjust a size and / or position of the window based on the distance of the user. The terminal device may also collect a sound of the user by using the
microphone, to identify the user's needs and adjust a size and / or position of the window based on the user's needs. In embodiments of this application, a size and / or location of the window may be automatically adjusted based on a
scenario in which the user is located, so that user experience is improved.