1. A method for providing visual feedback to a user indicating a touch selection of an element in a graphical user interface on a touch-sensitive display, the element rotatable upon receiving the touch selection, the graphical user interface being displayed by a rendering engine program having a render camera with an axis of projection intersecting a display point of reference, comprising:
displaying the element in a first orientation on the display;
establishing a rotation scaling factor that is based on at least a distance between an element point of reference and the display point of reference, wherein a location of the element point of reference and a location of the display point of reference are both independent of a location of the touch selection of the element, and the rotation scaling factor is independent of the location of the touch selection of the element;
determining a rotation amount of the element based on at least the rotation scaling factor;
receiving the touch selection of the element via the user touching a surface of the display;
rotating the element by the rotation amount to a second orientation; and
displaying the element in the second orientation on the display.
2. The method of claim 1, wherein the rotation amount comprises a maximum rotation multiplied by the rotation scaling factor.
3. The method of claim 2, further comprising determining the maximum rotation by comparing an element size to a display size.
4. The method of claim 3, wherein the element size is an element width and the display size is a display width.
5. The method of claim 4, wherein the maximum rotation varies between about 25 degrees when the element width is less than or equal to about 25% of the display width, and about 10 degrees when the element width is about 100% of the display width.
6. The method of claim 1, wherein the rotation scaling factor varies between about 1.0 when the distance between the element point of reference and the display point of reference is about 0.0, and about 0.333 when the distance between the element point of reference and the display point of reference is about a maximum value.
7. The method of claim 6, wherein the display point of reference comprises a center of the display, and the maximum value of the distance between the element point of reference and the center of the display corresponds to the element point of reference being at an edge of the display.
8. The method of claim 1, wherein the rotation scaling factor is a first rotation scaling factor, further comprising:
determining a selection position on the element where the touch selection of the element is received;
establishing a second rotation scaling factor that is based on at least a distance between the selection position and the element point of reference; and
wherein determining the rotation amount of the element further comprises determining the rotation amount based on at least the first rotation scaling factor and the second rotation scaling factor.
9. The method of claim 8, wherein the second rotation scaling factor varies between about 1.0 when the selection position is at an edge of the element and about 0.0 when the selection position is at the element point of reference.
10. A computing device for providing visual feedback to a user indicating a touch selection of an element in a graphical user interface, comprising:
a display having a touch-sensitive surface and a display point of reference;
a rendering engine program including a render camera with an axis of projection intersecting the display point of reference, the rendering engine program configured to:
display the element in a first orientation on the display;
establish an element position rotation scaling factor that is based on at least a distance between an element point of reference and the display point of reference, wherein a location of the element point of reference and a location of the display point of reference are both independent of a location of the touch selection of the element, and the element position rotation scaling factor is independent of the location of the touch selection of the element;
determine a rotation amount of the element based on at least the element position rotation scaling factor;
receive the touch selection of the element via the user touching the touch-sensitive surface of the display;
rotate the element by the rotation amount to a second orientation; and
display the element in the second orientation on the display.
11. The computing device of claim 10, wherein the rotation amount comprises a maximum rotation multiplied by the element position rotation scaling factor.
12. The computing device of claim 11, further comprising determining the maximum rotation by comparing an element size to a display size.
13. The computing device of claim 12, wherein the element size is an element width and the display size is a display width.
14. The computing device of claim 13, wherein the maximum rotation varies between about 25 degrees when the element width is less than or equal to about 25% of the display width, and about 10 degrees when the element width is about 100% of the display width.
15. The computing device of claim 10, wherein the element position rotation scaling factor varies between about 1.0 when the distance between the element point of reference and the display point of reference is about 0.0, and about 0.333 when the distance between the element point of reference and the display point of reference is about a maximum value.
16. The computing device of claim 15, wherein the display point of reference comprises a center of the display, and the maximum value of the distance between the element point of reference and the center of the display corresponds to the element point of reference being at an edge of the display.
17. The computing device of claim 10, the rendering engine program further configured to:
determine a selection position on the element where the touch selection of the element is received;
establish a selection position rotation scaling factor that is based on at least a distance between the selection position and the element point of reference; and
determine the rotation amount based on at least the element position rotation scaling factor and the selection position rotation scaling factor.
18. The computing device of claim 17, wherein the selection position rotation scaling factor varies between about 1.0 when the selection position is at an edge of the element and about 0.0 when the selection position is at the element point of reference.
19. A method for providing visual feedback to a user indicating a touch selection of an element in a graphical user interface on a touch-sensitive display, the element rotatable and scalable upon receiving the touch selection, the graphical user interface being displayed by a rendering engine program having a render camera with an axis of projection intersecting a display point of reference, comprising:
displaying the element in a first orientation and a first size on the display;
establishing an element position rotation scaling factor that is based on a distance between an element point of reference and the display point of reference, wherein a location of the element point of reference and a location of the display point of reference are both independent of a location of the touch selection of the element, and the element position rotation scaling factor is independent of the location of the touch selection of the element;
receiving the touch selection of the element via the user touching a surface of the display;
determining a selection position on the element where the touch selection of the element was received;
establishing a selection position rotation scaling factor that is based on a distance between the selection position on the element and the element point of reference;
determining a rotation amount of the element based on the element position rotation scaling factor and the selection position rotation scaling factor;
rotating the element by the rotation amount to a second orientation, the rotation amount comprising a maximum rotation multiplied by the element position rotation scaling factor and by the selection position rotation scaling factor;
establishing an element position size scaling factor that is based on the distance between the element point of reference and the display point of reference;
establishing a selection position size scaling factor that is based on the distance between the selection position on the element and the element point of reference;
establishing a selected size scaling factor that comprises the element position size scaling factor or the selection position size scaling factor, whichever is smaller;
determining a second size of the element by multiplying the first size of the element by the selected size scaling factor; and
displaying the element in the second orientation and the second size on the display.
20. The method of claim 19, wherein the element position size scaling factor comprises a first value when the element point of reference is at a center of the display, the element position size scaling factor comprises a second value that is less than the first value when the element point of reference is at an edge of the display, the selection position size scaling factor comprises the first value when the selection position is at the edge of the element, and the selection position size scaling factor comprises the second value when the selection position on the element is at the center of the element.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A container for accommodating a cable of an electronic device, the container comprising:
a base comprising a bottom board and a holding post extending up from a center of the bottom board, the holding post comprising an upper part and a lower part, wherein the radius of the upper part is less than the radius of the lower part, and a step is formed at an intersection between the upper part and the lower part;
a cover placed on the base and defining a receiving space in cooperation with the base;
a winder received in the receiving space and rotatably connected to the holding post of the base, the upper part received in the winder;
a transmission piece fastened to the winder; and
a driving apparatus fixed on the cover and operatively engaged with the transmission piece, the driving apparatus comprising a trigger;
wherein the trigger generates a shift signal to the driving apparatus each time the trigger is pressed by a user, the shift signal shifts the driving apparatus between adjacent working modes of a predetermined cycle of working modes of the driving apparatus, and the driving apparatus drives the winder to rotate via the transmission piece for winding up the cable on the winder according to one of the working modes.
2. The container of claim 1, wherein the winder comprises an upper board, a lower board, and a connecting sidewall, the winder defines a bottom through hole in the lower board, the connecting sidewall extends up from a top surface of the lower board and encircles the bottom through hole, and the upper board radially extends from a top periphery of the connecting sidewall.
3. The container of claim 2, wherein the upper part is received in the bottom through hole, and the lower board is supported on the step.
4. The container of claim 3, wherein the winder further comprises a bottom sidewall extending from a bottom surface of the lower board, the bottom sidewall encircles the bottom through hole, an inner radius of the bottom sidewall is slightly larger than the radius of the lower part, and the bottom sidewall encircles the lower part.
5. The container of claim 2, wherein the winder defines a plurality of positioning grooves in an inner surface of the connecting sidewall, and the positioning grooves are close to the upper board and distributed along a peripheral direction of the connecting sidewall at predetermined intervals.
6. The container of claim 5, wherein the transmission piece comprises a connecting base, a holding flange, and a plurality of connecting hooks, the holding flange radially extends from an upper periphery of the connecting base, the connecting hooks extend down from a bottom surface of the holding flange and are distributed along a peripheral direction of the holding flange at predetermined intervals, and the connecting hooks are engaged in the positioning grooves thereby fastening the transmission piece to the winder.
7. The container of claim 6, wherein the transmission piece defines an engaging recess in the connecting base, the transmission piece forms a plurality of teeth on a circumferential inner wall of the engaging recess, the driving apparatus comprises a motor, and the motor is fixed on the cover and comprises a gear received in the engaging recess and engaged with some of the teeth.
8. The container of claim 5, wherein the base further comprises a positioning sidewall and a plurality of support sidewalls, the support sidewalls are concentric and encircle the holding post, the positioning sidewall encircles the support sidewalls, a height of the positioning sidewall is greater than a height of the support sidewalls, and the lower board is supported on the support sidewalls and restricted by the positioning sidewall.
9. The container of claim 1, wherein the driving apparatus further comprises a control unit and a motor, and the motor is operatively engaged with the transmission piece to provide rotation force to the winder.
10. The container of claim 9, wherein the driving apparatus stops the winder rotating according to another one of the working modes.
11. An electronic device assembly comprising:
an electronic device comprising:
a cable; and
a sensing apparatus configured to sense whether the electronic device is currently in use, the sensing apparatus comprising a wireless transmitter; and
a container comprising:
a base comprising a bottom board and a holding post extending up from a center of the bottom board, the holding post comprising an upper part and a lower part, the radius of the upper part is less than the radius of the lower part, a step is formed at an intersection between the upper part and the lower part;
a winder rotatably connected to the holding post of the base, the upper part is received in the winder;
a transmission piece fastened to the winder;
a cover placed on the base and covering the winder and the transmission piece; and
a driving apparatus fixed on the cover and operatively connected to the winder via the transmission piece for driving the winder to rotate, the driving apparatus comprising a wireless receiver communicatively connected with the wireless transmitter of the electronic device;
wherein the driving apparatus is configured to drive the winder to rotate according to at least one sensing signal wirelessly transmitted from the sensing apparatus and thereby wind up the cable on the winder.
12. The electronic device assembly of claim 11, wherein the sensing apparatus comprises a biosensor for sensing a biological sign of the presence of a human being, the biosensor transmits a sensing signal to the driving apparatus when the electronic device is touched by a user.
13. The electronic device assembly of claim 12, wherein the driving apparatus comprises a control unit and a motor, the control unit determines that the electronic device is in contact with the user and shuts the motor down when the control unit receives the first sensing signal.
14. The electronic device assembly of claim 13, wherein the control unit determines that the electronic device is currently not in use when the control unit does not receive the first sensing signal for a predetermined time period, and thereupon transmits a drive command to the motor for driving the winder to wind up the cable.
15. The electronic device assembly of claim 13, wherein the sensing apparatus comprises an electrical sensor for sensing an electrical parameter of the electronic device, and the electrical sensor transmits the sensing signal to the driving apparatus when the electronic device is connected to an external device.
16. The electronic device assembly of claim 15, wherein the driving apparatus comprises a control unit and a motor, the motor engages with the transmission piece to provide a rotation force with the winder, the control unit determines that the electronic device is currently in use and shuts down the motor when the control unit receives the second sensing signal.
17. The electronic device assembly of claim 16, wherein when the control unit does not receive the sensing signal for a predetermined time period, the control unit determines that the electronic device is currently not in use and transmits the drive command to the motor for driving the winder to wind up the cable.
18. A container for accommodating a cable of an electronic device, the container comprising:
a base comprising a bottom board and a holding post extending up from a center of the bottom board;
a cover placed on the base and defining a receiving space in cooperation with the base;
a winder received in the receiving space and rotatably connected to the base, the winder rotatably connected to the holding post, the winder comprising:
an upper board;
a lower board including a bottom through hole therethrough; and
a connecting sidewall, extending up from a top surface of the lower board and encircling the bottom through hole, the upper board radially extending from a top periphery of the connecting sidewall, an inner surface of the connecting sidewall including a plurality of positioning grooves, the positioning grooves in close proximity to the upper board and distributed along a peripheral direction of the connecting sidewall at predetermined intervals;
a transmission piece connected to the winder, the transmission piece comprising a connecting base, a holding flange, and a plurality of connecting hooks, the holding flange radially extending from an upper periphery of the connecting base, the connecting hooks extending down from a bottom surface of the holding flange and distributed along a peripheral direction of the holding flange at predetermined intervals, the connecting hooks engageable in the positioning grooves thereby fastening the transmission piece to the winder; and
a driving apparatus fixed on the cover and operatively engageable with the transmission piece, the driving apparatus comprising a trigger operable to generate a shift signal to the driving apparatus when the trigger is activated by a user, the shift signal shifting the driving apparatus between adjacent working modes of a predetermined cycle of working modes of the driving apparatus, the driving apparatus operable to drive the winder to rotate via the transmission piece for winding the cable on the winder according to one of the working modes.
19. The container of claim 18, wherein the transmission piece defines an engaging recess in the connecting base, the transmission piece forms a plurality of teeth on a circumferential inner wall of the engaging recess, the driving apparatus comprises a motor, and the motor is fixed on the cover and comprises a gear received in the engaging recess and engaged with some of the teeth.