Back to results
US 12,610,002 B2Granted
Button control method for electronic device and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsKai Hu, Yuxi Zhang, Zhongbiao Wu
Life of this patent
Estimating the term…
Abstract
An electronic device includes a display screen and at least one button. The display screen is a foldable screen. In a process in which a user uses the electronic device, a function that needs to be responded to by a button on the electronic device may be adaptively adjusted based on a physical form of the foldable screen of the electronic device, so that a button function that conforms to a using habit of the user can still be provided when the foldable screen of the electronic device is in a different physical form.
Claims18
A method comprising:
- making a first determination that a first button of an electronic device has been triggered;
- making a second determination of whether a foldable display screen of the electronic device is in a folded state or an unfolded state;
- outputting a first function or a second function based on the first determination and the second determination;
- detecting that the electronic device is rotated around a z-axis;
- determining, after detecting that the electronic device is rotated around the z-axis, a third function of a second button of the electronic device based on a rotation angle of the electronic device relative to a reference state of the electronic device on a first plane on which an x-axis and a y-axis are located, wherein the z-axis is perpendicular to the foldable display screen, wherein the x-axis is parallel to a side part of the electronic device, wherein the y-axis is perpendicular to a second plane on which the x-axis and the z-axis are located, and wherein the reference state is when a lower side edge of the electronic device is parallel to a horizontal plane and a first distance between an upper side edge of the electronic device and the horizontal plane is greater than or equal to a second distance between the lower side edge and the horizontal plane;
- and
- outputting the third function when the second button is triggered.
4 more elements
An electronic device, comprising:
- a first button;
- a second button;
- a foldable display screen;
- at least one memory configured to store a program;
- and
- at least one processor coupled to the at least one memory, the first button, the second button, and the foldable display screen, wherein the at least one processor is configured to execute the program to cause the electronic device to:
- output, when the foldable display screen is in a folded state and the first button of the electronic device is triggered, a first function;
- output, when the foldable display screen is in an unfolded state and the first button is triggered, a second function;
- detect that the electronic device is rotated around a z-axis;
- determine, after detecting that the electronic device is rotated around the z-axis, a third function of the second button based on a rotation angle of the electronic device relative to a reference state of the electronic device on a first plane on which an x-axis and a y-axis are located, wherein the z-axis is perpendicular to the foldable display screen, wherein the x-axis is parallel to a side part of the electronic device, wherein the y-axis is perpendicular to a second plane on which the x-axis and the z-axis are located, and wherein the reference state is when a lower side edge of the electronic device is parallel to a horizontal plane and a first distance between an upper side edge of the electronic device and the horizontal plane is greater than or equal to a second distance between the lower side edge and the horizontal plane;
- and
- output the third function when the second button is triggered.
9 more elements
Dependencies are inferred from the claim text.