Michael Jurka
efcb54052b
Merge "Fix NPE caused in LauncherViewPropertyAnimator"
2012-01-12 10:42:11 -08:00
Michael Jurka
8a309c257a
Fix NPE caused in LauncherViewPropertyAnimator
...
Change-Id: Ia0e388ee1ff6c3b364787d236c96dcd2c704d452
2012-01-12 06:06:59 -08:00
Winson Chung
4f1a2db344
Merge "Fixing issue where we may continue to restore the wrong page after resetting."
2012-01-11 12:04:42 -08:00
Winson Chung
21d9b58734
Merge "Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)"
2012-01-11 12:04:37 -08:00
Winson Chung
e428e292c2
Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)
...
Change-Id: Iba395354374ab721f05e03dd449e4ed9205508e5
2012-01-10 16:21:56 -08:00
Winson Chung
649668f7af
Fixing issue where we may continue to restore the wrong page after resetting.
...
- Fixes issue where selected tab and all apps page are out of sync
- Potentially fixes issue where the allapps comes in from the right
Change-Id: I03fe1fe339ef53aa442c411939250c8094519394
2012-01-10 13:08:32 -08:00
Michael Jurka
7407d2a16e
Using ViewPropertyAnimator for animations
...
Replacing some use of fastInvalidate/setFast*
methods with ViewPropertyAnimator animations
Change-Id: Id5a8934b38d9ae3a95b6dccb431f9787839d2927
2012-01-10 01:53:59 -08:00
Michael Jurka
80c69853d6
simplifying code to prevent drawing off-screen
...
On certain graphics drivers, if you draw to a off-
screen buffer that's not used, it can lead to
poor performance. We were running into this in
launcher; when setChildrenLayersEnabled was called
on a CellLayout, that triggered a re-draw of that
CellLayout's hardware layer, even if that
CellLayout wasn't visible. This CL changes
PagedView so that pages that aren't going to be
rendered are set to View.INVISIBLE, preventing
re-drawing of their hardware layer.
2011-12-16 14:26:24 -08:00
Michael Jurka
58e8b25c59
Merge "Small optimizations for the All Apps transition"
2011-12-15 13:42:02 -08:00
Michael Jurka
afaa05014e
Small optimizations for the All Apps transition
...
- don't set properties in animations if they don't
change
- don't recalculate visible pages on every frame
- don't require scroll indicator to be an
ImageView
Change-Id: I099b29e677da2d0e401f677d47cdb8b5df51224e
2011-12-15 13:27:32 -08:00
Adam Cohen
6441de0ec2
Fixing subtle animation jank when dropping icon on adjacent page
...
-> The old path of the icon wasn't correct from a motion standpoint
Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
2011-12-14 14:38:06 -08:00
Adam Cohen
7cc1bc4b65
Fix issue where folder can open offscreen (issue 5291408)
...
Change-Id: I359dc2188c50ab1c4e42c448ecce04530ba45734
2011-12-13 21:28:43 -08:00
Adam Cohen
662b598c86
Stripping out code path that we have no intention of using
...
Change-Id: I89cc6b1760a9fd8c051857699724435eef6c8b14
2011-12-13 17:45:21 -08:00
Adam Cohen
8a18afc4aa
Fix issue where crosshairs wouldn't disappear (issue 5190654)
...
Change-Id: Id5fc7257021b20680fec1f2c215d95dac425d4d4
2011-12-13 17:38:21 -08:00
Michael Jurka
2a4b1a809c
Make All Apps<-->Workspace transition smoother
...
- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps
Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
2011-12-12 15:30:58 -08:00
Michael Jurka
c02e3932c3
Merge "Reduce peak memory use in PagedView"
2011-12-09 16:27:35 -08:00
Michael Jurka
475655ea59
Merge "Scaling PagedView fling constants by density (issue 5594666)"
2011-12-07 16:23:28 -08:00
Adam Cohen
265b9a6654
Scaling PagedView fling constants by density (issue 5594666)
...
Change-Id: I3f37b820fb9864091a02a51b354f10f9a0fa2ac7
2011-12-07 14:37:18 -08:00
Adam Cohen
90f53da680
am b4848296: am c00f0b99: No longer using fastInvalidate() pattern for half of AllApps transition
...
* commit 'b4848296880a351b40b1f01a0bb675e7e9c6ee52':
No longer using fastInvalidate() pattern for half of AllApps transition
2011-12-06 23:11:55 -08:00
Adam Cohen
c00f0b9967
No longer using fastInvalidate() pattern for half of AllApps transition
...
Turns out this was likely causing the hardware layer to be redrawn and hence
an anti-optimization
Change-Id: Ib98beebec6efed339eb9f918c24579af529e028e
2011-12-06 19:54:37 -08:00
Michael Jurka
0cad1116ad
Reduce peak memory use in PagedView
2011-12-06 18:42:41 -08:00
Adam Cohen
23a4d305ab
Adding system property to force enable launcher rotation
...
Change-Id: If855a84a37716b86a84bf571c15c5ee715ff1845
2011-12-01 17:26:44 -08:00
Daniel Sandler
332ffed2df
Remove dependency on support library. DO NOT MERGE.
...
Bug: 5689684
Change-Id: I57c662da9b2c2009ee1631e637e5f55deea021b7
2011-12-01 12:19:52 -05:00
Michael Jurka
9aca7a0f74
am 313c8370: am 05bf644e: Fix memory leak in Launcher
...
* commit '313c8370315fffbf8fc3593bb8dd4cf77a7ce346':
Fix memory leak in Launcher
2011-11-30 21:13:04 -08:00
Michael Jurka
05bf644e37
Fix memory leak in Launcher
...
Leak happened when a stack view was on the
workspace and then workspace forced a rebind of
its items (for example, when an app was installed)
Bug # 5629171
2011-11-30 20:30:17 -08:00
Gilles Debunne
7423fb5352
Merge "Restoring mLayout has private in TextView"
2011-11-29 09:57:21 -08:00
Michael Jurka
7e38964c43
Merge "Clean up unused code and import declarations" into ics-mr1
2011-11-28 18:48:04 -08:00
Gilles Debunne
c786952c9d
Restoring mLayout has private in TextView
...
Change-Id: I3424b2469b8b566e604247694a9bf6f4bc0e6250
2011-11-28 18:03:56 -08:00
Winson Chung
e96e5cb768
Fixing a few landscape issues.
...
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback
Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Michael Jurka
92f3d46cf3
Clean up unused code and import declarations
...
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Winson Chung
8171d8ce48
Merge "Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)" into ics-mr1
2011-11-23 17:00:17 -08:00
Winson Chung
65f9e9d45b
Merge "Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)" into ics-mr1
2011-11-23 15:38:42 -08:00
Winson Chung
97d6f9a705
Merge "Fixing an issue where qsb press states could be out of sync. (Bug 5627327)" into ics-mr1
2011-11-23 15:38:34 -08:00
Adam Cohen
ea49c1c861
Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" into ics-mr1
2011-11-23 14:37:59 -08:00
Winson Chung
1120e03557
Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)
...
- Also fixing regression where widget drag previews weren't slightly translucent
Change-Id: I5370819589a2fc839df8742cda5156aec986b47d
2011-11-22 17:00:50 -08:00
Michael Jurka
e326f186af
Unload widget previews when launcher is not visible
...
Can save ~1-2MB of RAM
Bug #5104303
Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
2011-11-22 17:00:06 -08:00
Adam Cohen
d919882006
Prevent the creation of Shorcuts with null intents (issue 5629292)
...
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Winson Chung
96ef409ebd
Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)
...
- Also allowing drop on all apps button to cancel a drag
Change-Id: I27252bd34c591882d8c5f80389d8fd6f4f6e4791
2011-11-22 14:21:08 -08:00
Adam Cohen
07f920ed7f
Merge "Fix issue 5639994: disabled multi-touch on folders" into ics-mr1
2011-11-21 15:11:55 -08:00
Adam Cohen
026df005fb
Merge "Fixing bug where drag would sometimes get cancelled inadvertently" into ics-mr1
2011-11-21 15:11:43 -08:00
Adam Cohen
049abba5a2
Merge "Fixing PagedView bad snap-back decisions" into ics-mr1
2011-11-21 15:11:09 -08:00
Michael Jurka
a21e9537ba
Merge "Potential fix for out-of-date hardware layers" into ics-mr1
2011-11-21 13:18:33 -08:00
Winson Chung
bb185bdd57
Fixing an issue where qsb press states could be out of sync. (Bug 5627327)
...
- Adding haptic feedback to qsb button clicks (Bug 5652304)
Change-Id: I93d7c7a737f167d7ddf2b426d87e3a062feccac3
2011-11-21 12:35:41 -08:00
Michael Jurka
dfab7f0285
Potential fix for out-of-date hardware layers
...
Might also further help bug where IMG GPU slows
down when rendering into hardware layers that are
not rendered to framebuffer
Bugs # 5614712, 5616414, 5628998
Change-Id: I85ff11889aa28f6985dd68e7f1e57d0da2150aa5
2011-11-18 17:07:51 -08:00
Adam Cohen
b970a8a266
Fix issue 5639994: disabled multi-touch on folders
...
Change-Id: I95bb0089e7522db88dea56281a375f9c98ece460
2011-11-18 17:04:16 -08:00
Adam Cohen
74c28d1a6c
Fixing bug where drag would sometimes get cancelled inadvertently
...
Change-Id: I4e838836c5a943abe9ebe2437cb53f68e6aae3d0
2011-11-18 14:17:11 -08:00
Adam Cohen
00481b3ed3
Fixing PagedView bad snap-back decisions
...
-> There was some code that was causing pages to snap back
much to the original page much too frequently.
Change-Id: Ibd02ac634c737887a2bcfd7096882c95c51087f1
2011-11-18 12:12:27 -08:00
Winson Chung
d016015c23
Enabling clings for tablets (Bug 5506377)
...
Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6
2011-11-18 11:43:44 -08:00
Winson Chung
601cac2f3e
Merge "Minor fixes to Launcher" into ics-mr1
2011-11-18 11:42:17 -08:00
Adam Cohen
aa1e57286d
Merge "Small fix to deal with ugly widget dropping situations" into ics-mr1
2011-11-18 11:34:22 -08:00