Firefox OS/Stingray/Hybrid Widget Approach: Difference between revisions

(Created page with "== Hybrid Widget Approach == Hybrid Widget Approach means homescreen has more power and responsibilities. A homescreen app may manage and host widgets in itself no longer need...")
 
Line 29: Line 29:


=== Widget Editor ===
=== Widget Editor ===
* layout editor for customizing widget position
* layout editor: We need to calculate the position of widget slots for customizing widget position. In TV, we have only fixed slots and no widgets can cross two slots. But we may have widgets crossing icon slots in phone. The crossing depends on the preferred widget size and we don't have that information, yet. So, we may have a crossing widget with fixed size, like {{bug|980935}} and {{bug|980936}}.
* widget editor for choosing widget
* widget editor: It is a UI for user to customize their widgets. In TV, we may have a dedicated UI for user to customize the position of widgets. In phone, we may use long press to move the widget which means widget editor handles the positing of moved widgets and icons and layout editor handles the calculation of the final result.
* persistence module for saving the editing result
* persistence module: It is for saving the editing result.


=== Widget Manager ===
=== Widget Manager ===
Confirmed users
209

edits