Commit Graph

73 Commits

Author SHA1 Message Date
Sunny Goyal c5939393a9 Bye bye workspace screens table
Removing a separate table for workspace screens. List of screens are
automatically parsed using the items in the favorites DB. Order of the
screen based on the screen id and rearranging screens is no longer
supported. In case the screens need to be rearranged, all the items
in the favorites db will need to be updated with new screen ids.

This makes backing up the DB (in the same database) easier as only
one table needs to be duplicates.

Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
2018-12-10 11:43:35 -08:00
Sunny Goyal 05f30889d6 Adding support for DB downgrade
Adding a schema file for handling DB downgrade. This schema file is part of
the backup/restore set, and hence is available on a device with lower app version.

Bug: 37257575
Change-Id: I69c8ef5f28d5209be6e6679412c7459d4eeda5d0
2017-05-09 12:59:04 -07:00
Shih-wei Liao afb81d4ac5 Ported Launcher2 to use the new Build system.
Change-Id: Ie24bb6520f9f6dfc24dde2b7810ec322bc7b3a1a
2010-07-19 16:42:48 -07:00
Alex Sakhartchouk 1bdb9d3467 Switching allapps to use Mesh instead of SimpleMesh.
Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
2010-07-01 16:12:27 -07:00
Jason Sams 60a55bbf54 Code cleanup possible with new reflected classes.
Change-Id: If9e79383722c0df997526717c52ded4921b6663e
2010-06-18 15:11:19 -07:00
Jason Sams 1aa4ff083c Update AppApps to use reflected files.
Previous files were hand written placeholders.
This also fixed the physics bug where movement was right.

Change-Id: I98838084d60f0eaf22f7fbd148a80b2f73f9a14c
2010-06-15 17:13:46 -07:00
Shih-wei Liao c8149656bc Add pragma on java package name, for reflection purpose.
Change-Id: I30a3cc2177b320a76d093cd018216ae936e81150
2010-06-14 11:46:11 -07:00
Jason Sams 13a75d5f1e Update names and move clear to script.
Change-Id: I17af3cd027248f52ce6516f81968c6b3d976a09d
2010-05-19 18:58:48 -07:00
Jason Sams 5c1417acfc Fix regression in master. The attempt to remove the last frame hack in
all apps caused home to sometimes render black upon returning from an application.

Change-Id: I4444d7a6e62548f5a996c12b7e11aa46876d44e4
2010-05-18 17:06:04 -07:00
Jason Sams ad1bdf0204 Launcher2 cleanup.
Will remove dead script functions once reflection is working.

Change-Id: Ieffcf55047b5e241a8cffb1852619d04e1a00d53
2010-05-14 17:55:13 -07:00
Jason Sams 14f67edd3f Update Launcher2 to work with LLVM.
Change-Id: I992b812ec58d182e5df7ddad3ab8e7d9e7b88551
2010-05-11 14:02:43 -07:00
Joe Onorato 20e7a56658 Fix 2524488 Not able to launch app in the last line of app launcher in landscape mode
Change-Id: Iffe3e95a10e49f1dadcab2f4f177e79c0140699e
2010-03-18 17:12:52 -07:00
Jason Sams cc903494fa Fix stop point for physics in landscape.
Change-Id: I4ca8fcf9d65746116b3c244e724344d8f90eeba0
2010-03-12 12:46:04 -08:00
Jason Sams 638a93d73b Give up on caching the computed animation state as it keeps causing bugs
where we don't correctly re-initialize it when starting in various states.

Change-Id: Id648c7bba5d8b55a32b5b33363ddf6e74701df87
2010-03-08 17:03:51 -08:00
Jason Sams 2a13155e04 Fix single frame flicker when AllApps did its pre-load WAR that forced the driver to render one frame. 2010-02-26 13:50:31 -08:00
Jason Sams 6b08ffe664 tweak alignment of all apps to avoid filtering artifacts. 2010-02-22 15:41:42 -08:00
Jason Sams 7651248dd1 Support rotation of the all apps screen. 2010-02-04 16:38:48 -08:00
Jason Sams e78ace9e7f Fix flicker with HW WAR for drawing one frame during init. 2010-02-02 17:37:44 -08:00
Jason Sams 6471c8b2ab Fix entry/exit animation to better follow DT. 2010-01-20 14:15:22 -08:00
Jason Sams 1a94ee3a8b Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap. 2010-01-20 13:34:30 -08:00
Jason Sams 37f262d924 Fix issues with text drawing in Froyo for all-apps. 2010-01-20 11:19:51 -08:00
Jason Sams 6ec11bc3a8 Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance. 2010-01-19 17:56:52 -08:00
Jason Sams b4ecab24db Update launcher2 with vertex shader and single draw method for icons. 2010-01-19 16:43:26 -08:00
Jason Sams d15f3ef981 cleanup RS scripts leftover from previous design and rename final script. 2010-01-06 14:58:06 -08:00
Jason Sams 84bfa565b3 Improve performance of AllApps for large numbers of apps. 2009-11-20 13:16:41 -08:00
Romain Guy c9b5c659a7 Two wallpapers were missing from the list.
Change-Id: Ieb9892d51e3024f05db01f2525e882fa96bf0672
2009-11-12 13:36:04 -08:00
Joe Onorato 3a8820bdba Fix bug 2250457 - Open folder on home screen changes changes the behaviour of the home button
Now, home always goes to the center worksapce screen and back from an
app goes to all apps if it was open.

Getting that animations smooth took a little bit of work.
2009-11-10 19:56:02 -08:00
Jason Sams c85147968f Wrap text with the curve instead of the fade. Mipmap distant text and icons. Fix two physics bugs. Snapping at end of list was inconsistant between flings and moves. Fix phyiscs boundary condition during low speed movement back to center. 2009-10-29 14:27:29 -07:00
Jason Sams 2e19c05891 Return friction table, tweak values for line rather than pages. 2009-10-20 18:19:55 -07:00
Jason Sams 96b49d860c Move the home button down slightly. 2009-10-20 14:29:00 -07:00
Mike Cleron 7d5d746863 Start at adding trackball support to 3D all apps
Known problems: you can outrun the selection by moving the
trackball quickly. Focus can get confused.
2009-10-20 14:18:18 -07:00
Jason Sams 461073bbdd Fix exit animation of top icon when present. 2009-10-20 12:06:28 -07:00
Jason Sams c1c521edf4 Add support for MoveTo. 2009-10-19 14:45:45 -07:00
Jason Sams 37e7c2b6e4 Remove the competitors to the one true AppApps3D. 2009-10-19 12:55:43 -07:00
Jason Sams 09c6fc0819 Change the entry / exit animation. 2009-10-16 17:23:23 -07:00
Joe Onorato d63458b34c Add pressed states for the all apps button and the home button.
We'll need another asset for the selected state, when we do that.
This also updates the all apps icon to be a grid.
2009-10-15 21:19:09 -07:00
Joe Onorato 742d7fc1c2 Show the orange selection thing. 2009-10-15 19:48:16 -07:00
Jason Sams 41b61c824c Implement workaround for GL driver which is slow to render the first frame with new state. This change will render a transparent frame when receiving new state to warm the driver. 2009-10-15 15:40:54 -07:00
Jason Sams b52dfa066d Change allApps to new view. Tweak rollo3 phyisics. 2009-10-14 20:16:14 -07:00
Jason Sams 0f505e5705 Checkpoint new rollo scripts. Not currently in use. 2009-10-13 17:18:35 -07:00
Jason Sams 267d4fa58b Fix physics bug when the script would go to sleep. The large DT caused the next animation to error. Stop rendering after one frame past last movement. 2009-10-07 19:58:03 -07:00
Jason Sams a9d176cbd1 Don't attempt to draw if we don't have any icons to draw. 2009-10-06 16:02:03 -07:00
Jason Sams 12c14a8559 Use push from script. Remove old readback and instant animation code. 2009-10-06 14:33:15 -07:00
Jason Sams 0aa7166414 Minor physics tweaks to make movement more responsive. checkpoint alt layout. 2009-10-02 18:43:18 -07:00
Joe Onorato bcbeab8fc7 Put the home button back in. 2009-10-01 21:45:43 -07:00
Jason Sams 28870b75a7 Minor tweaks to look. Billboarded icons and 1:1 text. 2009-09-30 17:40:11 -07:00
Jason Sams cd689e14c7 Minor cleanup and fix for the cannot launch apps bug if the screen is still creeping. 2009-09-29 15:39:17 -07:00
Joe Onorato 360d0353fd Reset rollo to page 0 when it's fully zoomed out. 2009-09-28 17:34:44 -04:00
Joe Onorato 56848b0cc5 Fix the hit testing so the regions line up with the icons. 2009-09-25 13:59:59 -07:00
Joe Onorato 7bb1749c69 work around and fix bugs
- Make rollo always draw.  This works around the bug somewhere that makes
  it show gray when all apps shold be closed
- Simplify the SwipeController now that we're not zooming the workspace.
- Make the readback data sane by splitting it to a different allocation.
  Now there is one allocation for each direction of data flow.
- Make AllAppsView.isVisible return the correct value.
2009-09-25 09:17:07 -07:00