主权项 |
1. A method, comprising:
providing a device having at least a first screen with a first display and a second screen with a second display, wherein when the device is in a closed state the first and second displays face opposite directions and when the device is in an open state the first and second displays face a same direction; determining that the device is in a first configuration, wherein the device is in the closed state in a portrait orientation; executing, by the device, a phone application in an in-call mode, wherein in the in-call mode, the device is one of conducting a call, receiving an in-coming call, and dialing for an out-going call; determining a first display mode for an in-call user interface of the phone application based on the first configuration, wherein the in-call user interface displays information about the call that is being conducted, the in-coming call being received, or the out-going call being dialed; presenting the in-call user interface on the first display in the first display mode; receiving a rotation input of the device from a user; determining that the device is in a second configuration, wherein the device is in the closed state in a landscape orientation; determining a second display mode for the in-call user interface of the phone application based on the second configuration; changing, in the second display mode, an orientation and a location of at least one user-selectable button of the in-call user interface in relation to a different component of the in-call user interface, wherein the second display mode includes displaying the in-call user interface in the landscape orientation; changing, in the second display mode, a number of user-selectable buttons displayed in the in-call user interface, wherein a different number of user-selectable buttons were previously displayed in the in-call user interface in the first display mode, and wherein the changing includes eliminating at least one user-selectable button displayed in the in-call user interface in the first display mode; and in response to the rotation input and the determination that the device is in the second configuration, presenting the in-call user interface in the landscape orientation on the first display in the second display mode, wherein only the in-call user interface is displayed in the first display. |