Commit Graph

289 Commits

Author SHA1 Message Date
Michael Jurka c2e26a028d Refactoring some animation code
Change-Id: If78b071c4fd5ac2c06d6d8ed0abaee7787273f28
2011-03-24 15:54:19 -07:00
Michael Jurka 7ef959b917 Setting tab bar widths automatically
- will make launcher adapt better to different screen sizes
- also, moved customization tray tab setup code from Launcher to CustomizeTrayTabHost

Change-Id: I27a1acdacd231150bf191548d155c0e94d855796
2011-03-23 11:34:39 -07:00
Winson Chung 097eb0a751 Fixing issue where you can't drag from AllApps.
Change-Id: I61bd966b97d275ece1db238edaac8d66936d0a20
2011-03-21 14:25:45 -07:00
Michael Jurka 1c3f8ecccc Fix regression: google search icon doesn't show immediately
Bug # 3510354
2011-03-07 16:43:28 -08:00
Michael Jurka abded66084 improving performance of first AllApps/Customize animation
Change-Id: I71e5cc634f7e1346617d101efd6945c00484cab3
2011-03-07 15:20:51 -08:00
Patrick Dubroy 758a9239f0 Fix 3511340: Exit widget resize mode when home or back clicked
Also add an optimization to drastically reduce the number of
posted events when a widget is currently being resized.

Change-Id: I8839d4bba564028a67fb0355d35b7dd52465b199
2011-03-03 20:10:01 -08:00
Patrick Dubroy 3c438bcbd3 Merge "Fix 3360951: Forced orientation change during widget conf" into honeycomb-mr1 2011-03-03 16:53:38 -08:00
Patrick Dubroy 002cbf4cc0 Fix 3360951: Forced orientation change during widget conf
When a widget forces an orientation change in its configuration
activity, we fail to add it because Launcher is restarted in its
original orientation, and the loader is still running when the
intent result is received.

Change-Id: I6f4e328b56b6de18bf1d3fed4d747f290e5f3283
2011-03-03 16:49:59 -08:00
Michael Jurka 8499adddad Fix crash on some machines when loading Voice Search icon 2011-03-03 14:52:26 -08:00
Michael Jurka 9c6fbed487 Further improving performance of All Apps transition
Change-Id: Ie8a2af004acba4c13066dd636842a71793064688
2011-03-02 22:12:05 -08:00
Michael Jurka 2763be3150 Improving performance of All Apps transition
- increased perf ~8fps using hardware layers

Change-Id: Ic6a2c23e9182fdb1ee362cbd72f7813f4e9accf0
2011-03-02 14:48:28 -08:00
Winson Chung c6d20009ce Fixing issue where search icons were only loaded after binding instead of at creation.
Change-Id: Id422966e3b6dc0aca9a7df942fb835349cae6525
2011-03-02 11:58:03 -08:00
Patrick Dubroy e708c5249b Fix 3457875: Mini workspace should zoom on tap, not touch down
Change-Id: I2e9bb6267048f2b2fb97070029f3a0ad2a28cc32
2011-03-01 17:04:40 -08:00
Winson Chung 1a16489bad Merge "Adding "Shop" text beside market icon." 2011-03-01 13:14:58 -08:00
Winson Chung fbb3d9b55e Adding "Shop" text beside market icon.
Change-Id: I3a3a167185879b0723b51f08325ff8b09d4ebd71
2011-03-01 12:43:18 -08:00
Patrick Dubroy 3ad0c132de Merge "Fix 3493373: back button displays blue homescreen borders" 2011-03-01 10:28:22 -08:00
Patrick Dubroy 94f78a5c44 Fix 3493373: back button displays blue homescreen borders
When the back button has no other function, briefly turn on
the page borders to give the user some feedback on the button
press.

Change-Id: I31cd4391821b646dffe4e8146fbffd72d934a00f
2011-02-28 18:15:14 -08:00
Winson Chung f7640c8bba Fixing strict mode issues.
Change-Id: Ia4fb1f76e608ba1944b79e520444e229802f275a
2011-02-28 14:54:46 -08:00
Patrick Dubroy f5afda7064 Fix 3439835: NPE at com.android.launcher2.Launcher.bindAppsUpdated
Change-Id: Id9002f7fe8dbc2bd8631a3dc2344df759d7440a3
2011-02-28 12:04:18 -08:00
Patrick Dubroy a0aa0121b9 Fix issue with some home button presses being ignored.
We are ignoring home button presses after panning away from
the default screen, when the workspace is still moving slightly.

Also, make the home button a no-op when the user is in the
middle of panning the screen (i.e. finger is still down).

Change-Id: Ida6bad4faaf90b6802aac2cbf3444f76b7b38100
2011-02-24 11:43:59 -08:00
Michael Jurka 3c38d561e6 Refactoring layout of launcher
- Only one layout of launcher for landspace/portrait now
- Programmatically vertically centering the shrunken workspace screens rather than using a custom value

Change-Id: Ib689b4031f122b9a1b2bc1ca711b91320619bebd
2011-02-23 19:48:35 -08:00
Patrick Dubroy 6ec2e187cd Fix 3272584: home button should return to previous workspace
Change-Id: I8d019ae68c4b1a875d629683202ac73cdd8c3cf7
2011-02-23 15:08:07 -08:00
Patrick Dubroy 0a1af42571 Merge "Add missing animations when dragging from customize." 2011-02-22 11:35:48 -08:00
Patrick Dubroy 5f44542560 Add missing animations when dragging from customize.
- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
2011-02-18 20:03:59 -08:00
Michael Jurka ddd62e9f3d Improve feedback when launching apps
- Keep "pressed" state until the activity is launched
- Properly invalidate icons, which solves issue where the edge of "pressed" blue glow was still being rendered
2011-02-16 17:49:32 -08:00
Michael Jurka afca953ce9 Disable camera pan animation 2011-02-16 14:51:09 -08:00
Michael Jurka 8df4f319fe Merge "NPE fix" 2011-02-10 14:08:57 -08:00
Michael Jurka e0f5a61a1f Speeding up the first time All Apps and Configure is launched
Change-Id: Ic9503f62ee4458b7797add4ac9a2cb4b0a186a30
2011-02-09 13:47:34 -08:00
Michael Jurka 838a4ca645 Caching View lookups at startup time 2011-02-08 16:30:33 -08:00
Michael Jurka bbbad6bcc2 NPE fix
bug # 3429886
2011-02-07 13:04:09 -08:00
Michael Jurka de4149cf71 Merge "Tweaking feel of All Apps transition" into honeycomb 2011-02-03 20:23:50 -08:00
Michael Jurka ea57348cc8 Tweaking feel of All Apps transition
Bug # 3418734

Change-Id: Iaec2a223bb3b8a6133bad8befe143e696b7acc4b
2011-02-03 20:08:48 -08:00
Michael Jurka 11148e5165 Fixed issue where all apps animation wasn't happening
-Fixes issue caused by performance tweak https://android-git.corp.google.com/g/#change,94997
2011-02-03 18:20:25 -08:00
Adam Cohen f5d77c9e3f Fixing leak in Launcher when shortcuts were installed from market
-> Issue 3418165

Change-Id: Ieee4c7ed436d0722a6352c30adfa5cbd02dd163a
2011-02-03 12:59:33 -08:00
Michael Jurka 742574b15b optimizing transitions in Launcher
Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
2011-02-03 01:43:19 -08:00
Winson Chung 5fb63473cb Disabling auto-advance when we are not on the workspace. (3413510)
Change-Id: I3793d4221b4ec91ed1fbf35a9e5ff0237e7e8542
2011-02-02 17:32:36 -08:00
Michael Jurka bfadaad352 Only use hardware layers for transitions to all apps/customize in portrait 2011-01-31 21:43:03 -08:00
Michael Jurka 8bb771ecb8 Merge "Using hardware layers for animations to all apps/customize" into honeycomb 2011-01-31 19:03:21 -08:00
Michael Jurka 3eeaea8bef Using hardware layers for animations to all apps/customize
- improves performance of All Apps transition in portrait
2011-01-31 18:25:59 -08:00
Winson Chung 32bb5e54b4 Workaround for the issue where a layout is not being triggered when rotating the screen while customizing. (3329988)
Change-Id: I3348bd2a381608592bef774da3851ec61cd69b29
2011-01-31 14:53:20 -08:00
Winson Chung 6c58d9e385 Merge "Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)" into honeycomb 2011-01-30 15:15:10 -08:00
Winson Chung 7a25a9e39a Calling removeItems() should mark the item's previous cell as unoccupied. (3405806)
Change-Id: I99de0149dea5b487ed75e2469478e2346cd5b5df
2011-01-30 13:34:42 -08:00
Michael Jurka cf6125c2d3 Improving performance of state transitions
- Caching CellLayouts to bitmaps when they're small again
- Enabling hardware layers on customize tray/all apps during transition

Change-Id: Ia4f5f7b608a9d013ed48b990551fd1b9de503b32
2011-01-29 18:26:09 -08:00
Adam Cohen 860f4c5a82 Final tweaks for home animations
Change-Id: I9a160a71fe22286077fe8601fb30a1a9bbe84da3
2011-01-27 20:16:13 -08:00
Winson Chung 6e3140865d Fixes for other places where we expect CellLayoutChildren instead of CellLayout. (3392097)
Change-Id: I9df13c413ce62a2760ce6a8ebafed1e948088de2
2011-01-27 17:35:43 -08:00
Michael Jurka e90cd23338 reduce number of animations on state changes 2011-01-26 16:13:55 -08:00
Michael Jurka a5fa4b492f Merge "Updating layout of search buttons" into honeycomb 2011-01-25 22:56:42 -08:00
Michael Jurka 789744f896 Updating layout of search buttons
Change-Id: Id18c9ba18cc5a4645a192393926054e3ffaad3d0
2011-01-25 18:46:18 -08:00
Patrick Dubroy 8b1fe774c2 Fix 3385181: Widget doesn't stay where I put it
Change-Id: I8ea7bb50fea6c6b113e4ba69221623e6c6cd80cc
2011-01-25 05:33:22 -08:00
Michael Jurka 8c920dd368 Refactoring CellLayout into three classes
- splitting the rendering of children from the CellLayout to enhance performance, gives ~4 fps boost while scrolling on pages full of icons, and no change on pages full of widgets
- this will allow us to add hardware layer support trivially, which will increase performance while scrolling ~6-10 fps
- separated logic for caching celllayouts to bitmaps into a separate class

Change-Id: Ib6abeb19126e1504997b43c2f44af2a2fb3cd39f
2011-01-24 16:55:30 -08:00