Patent ID: 8581859

Claim:
A display device with a part or a whole of a housing thereof having flexibility, comprising: a display unit; a touch sensor overlaid on, or formed integrally with, a surface of the display unit and configured to detect a touch input by a user; a detection unit that detects a bent portion of the display device; a determination unit that determines whether or not an end portion of the display device is bent based on a result of the detection by the detection unit; and a display switching unit that controls switching a portion of the display content of the display unit according to a position and a bent level of the bent portion of the display device detected by the detection unit when the determination determines that the end portion of the display device is bent, wherein the display switching unit: compares the bent level to a predetermined threshold value; controls the display to switch to displaying a menu when the bent level exceeds the predetermined threshold value; detects, based on an output of the touch sensor, whether a touch input is received at the displayed menu with the end portion of the display device locally bent; controls execution of making selection from the menu when the detection indicates that the touch input is received with the end portion of the display device locally bent; and controls addition of a bookmark when the bent level exceeds the predetermined threshold value, the menu is displayed, and the detection indicates that no touch input has been input by the user.