summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2
Commit message (Collapse)AuthorAgeFilesLines
* simplifying code to prevent drawing off-screenMichael Jurka2011-12-162-42/+21
| | | | | | | | | | | | 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.
* Merge "Small optimizations for the All Apps transition"Michael Jurka2011-12-153-10/+15
|\
| * Small optimizations for the All Apps transitionMichael Jurka2011-12-153-10/+15
| | | | | | | | | | | | | | | | | | - 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
* | Fixing subtle animation jank when dropping icon on adjacent pageAdam Cohen2011-12-145-14/+24
| | | | | | | | | | | | -> The old path of the icon wasn't correct from a motion standpoint Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
* | Fix issue where folder can open offscreen (issue 5291408)Adam Cohen2011-12-131-2/+8
| | | | | | | | Change-Id: I359dc2188c50ab1c4e42c448ecce04530ba45734
* | Stripping out code path that we have no intention of usingAdam Cohen2011-12-131-83/+16
| | | | | | | | Change-Id: I89cc6b1760a9fd8c051857699724435eef6c8b14
* | Fix issue where crosshairs wouldn't disappear (issue 5190654)Adam Cohen2011-12-131-5/+9
|/ | | | Change-Id: Id5fc7257021b20680fec1f2c215d95dac425d4d4
* Make All Apps<-->Workspace transition smootherMichael Jurka2011-12-125-125/+142
| | | | | | | | | | | | | | - 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
* Merge "Reduce peak memory use in PagedView"Michael Jurka2011-12-091-6/+13
|\
| * Reduce peak memory use in PagedViewMichael Jurka2011-12-061-6/+13
| |
* | Merge "Scaling PagedView fling constants by density (issue 5594666)"Michael Jurka2011-12-072-9/+21
|\ \
| * | Scaling PagedView fling constants by density (issue 5594666)Adam Cohen2011-12-072-9/+21
| |/ | | | | | | Change-Id: I3f37b820fb9864091a02a51b354f10f9a0fa2ac7
* | am b4848296: am c00f0b99: No longer using fastInvalidate() pattern for half ↵Adam Cohen2011-12-061-11/+7
|\ \ | |/ |/| | | | | | | | | of AllApps transition * commit 'b4848296880a351b40b1f01a0bb675e7e9c6ee52': No longer using fastInvalidate() pattern for half of AllApps transition
| * No longer using fastInvalidate() pattern for half of AllApps transitionAdam Cohen2011-12-061-11/+7
| | | | | | | | | | | | | | Turns out this was likely causing the hardware layer to be redrawn and hence an anti-optimization Change-Id: Ib98beebec6efed339eb9f918c24579af529e028e
| * Remove dependency on support library. DO NOT MERGE.Daniel Sandler2011-12-011-2/+2
| | | | | | | | | | Bug: 5689684 Change-Id: I57c662da9b2c2009ee1631e637e5f55deea021b7
* | Adding system property to force enable launcher rotationAdam Cohen2011-12-011-1/+5
| | | | | | | | Change-Id: If855a84a37716b86a84bf571c15c5ee715ff1845
* | am 313c8370: am 05bf644e: Fix memory leak in LauncherMichael Jurka2011-11-302-1/+5
|\| | | | | | | | | * commit '313c8370315fffbf8fc3593bb8dd4cf77a7ce346': Fix memory leak in Launcher
| * Fix memory leak in LauncherMichael Jurka2011-11-302-1/+5
| | | | | | | | | | | | | | 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
* | Merge "Restoring mLayout has private in TextView"Gilles Debunne2011-11-291-1/+1
|\ \ | |/ |/|
| * Restoring mLayout has private in TextViewGilles Debunne2011-11-281-1/+1
| | | | | | | | Change-Id: I3424b2469b8b566e604247694a9bf6f4bc0e6250
* | Merge "Clean up unused code and import declarations" into ics-mr1Michael Jurka2011-11-2820-90/+9
|\ \
| * | Clean up unused code and import declarationsMichael Jurka2011-11-2820-90/+9
| |/ | | | | | | Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
* / Fixing a few landscape issues.Winson Chung2011-11-282-1/+9
|/ | | | | | | | - 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
* Merge "Fixing issue where shortcut holographic outlines were different than ↵Winson Chung2011-11-232-15/+20
|\ | | | | | | widgets. (Bug 5659891)" into ics-mr1
| * Fixing issue where shortcut holographic outlines were different than ↵Winson Chung2011-11-222-15/+20
| | | | | | | | | | | | | | | | widgets. (Bug 5659891) - Also fixing regression where widget drag previews weren't slightly translucent Change-Id: I5370819589a2fc839df8742cda5156aec986b47d
* | Merge "Preventing springloaded mode from snapping back due to timeout. (Bug ↵Winson Chung2011-11-231-3/+12
|\ \ | | | | | | | | | 5649189)" into ics-mr1
| * | Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)Winson Chung2011-11-221-3/+12
| |/ | | | | | | | | | | - Also allowing drop on all apps button to cancel a drag Change-Id: I27252bd34c591882d8c5f80389d8fd6f4f6e4791
* | Merge "Fixing an issue where qsb press states could be out of sync. (Bug ↵Winson Chung2011-11-234-6/+42
|\ \ | | | | | | | | | 5627327)" into ics-mr1
| * | Fixing an issue where qsb press states could be out of sync. (Bug 5627327)Winson Chung2011-11-214-6/+42
| | | | | | | | | | | | | | | | | | - Adding haptic feedback to qsb button clicks (Bug 5652304) Change-Id: I93d7c7a737f167d7ddf2b426d87e3a062feccac3
* | | Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" ↵Adam Cohen2011-11-234-4/+22
|\ \ \ | | | | | | | | | | | | into ics-mr1
| * | | Prevent the creation of Shorcuts with null intents (issue 5629292)Adam Cohen2011-11-224-4/+22
| | | | | | | | | | | | | | | | Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
* | | | Unload widget previews when launcher is not visibleMichael Jurka2011-11-225-4/+59
| |_|/ |/| | | | | | | | | | | | | | | | | Can save ~1-2MB of RAM Bug #5104303 Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
* | | Merge "Fix issue 5639994: disabled multi-touch on folders" into ics-mr1Adam Cohen2011-11-211-0/+1
|\ \ \
| * | | Fix issue 5639994: disabled multi-touch on foldersAdam Cohen2011-11-181-0/+1
| |/ / | | | | | | | | | Change-Id: I95bb0089e7522db88dea56281a375f9c98ece460
* | | Merge "Fixing bug where drag would sometimes get cancelled inadvertently" ↵Adam Cohen2011-11-211-0/+1
|\ \ \ | | | | | | | | | | | | into ics-mr1
| * | | Fixing bug where drag would sometimes get cancelled inadvertentlyAdam Cohen2011-11-181-0/+1
| |/ / | | | | | | | | | Change-Id: I4e838836c5a943abe9ebe2437cb53f68e6aae3d0
* | | Merge "Fixing PagedView bad snap-back decisions" into ics-mr1Adam Cohen2011-11-211-8/+9
|\ \ \
| * | | Fixing PagedView bad snap-back decisionsAdam Cohen2011-11-181-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -> There was some code that was causing pages to snap back much to the original page much too frequently. Change-Id: Ibd02ac634c737887a2bcfd7096882c95c51087f1
* | | | Merge "Potential fix for out-of-date hardware layers" into ics-mr1Michael Jurka2011-11-211-6/+22
|\ \ \ \ | |_|/ / |/| | |
| * | | Potential fix for out-of-date hardware layersMichael Jurka2011-11-181-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Enabling clings for tablets (Bug 5506377)Winson Chung2011-11-182-8/+23
| |_|/ |/| | | | | | | | Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6
* | | Merge "Minor fixes to Launcher" into ics-mr1Winson Chung2011-11-183-26/+31
|\ \ \
| * | | Minor fixes to LauncherWinson Chung2011-11-183-26/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tweaking the AllApps tab padding - Fixing issue where the cling punch out might be in the wrong location - Removing unused dragging code related to drop/scroll area overlap - Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264) - Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822) Change-Id: I707397c231188a9feee8c0856374e0483cf37296
* | | Merge "Small fix to deal with ugly widget dropping situations" into ics-mr1Adam Cohen2011-11-181-1/+2
|\ \ \ | |/ / |/| / | |/
| * Small fix to deal with ugly widget dropping situationsAdam Cohen2011-11-181-1/+2
| | | | | | | | | | | | | | | | -> Tried some more elaborate fixes in which aspect ratio of the preview were not preserved. Given that nothing clearly always better, going with a simple fix for now. Change-Id: I3dccf95680da55cccfb6f00befe88cea4bbe0035
* | Merge "Fix hiccup when dropping in springloaded mode on large ui" into ics-mr1Adam Cohen2011-11-171-0/+1
|\ \
| * | Fix hiccup when dropping in springloaded mode on large uiAdam Cohen2011-11-161-0/+1
| | | | | | | | | | | | Change-Id: I434c594e0d2c94b122cd3336f36c529e6c3d1066
* | | Updating default workspace and fixing issue where new hotseat browser icon ↵Winson Chung2011-11-161-83/+82
| | | | | | | | | | | | | | | | | | is not shown. (Bug 5478946, Bug 5623287) Change-Id: I7ebac3a4bde868de2b5beacc95fc94302dc0d6ee
* | | Merge "Fix bug where all apps didn't load sometimes" into ics-mr1Michael Jurka2011-11-161-10/+10
|\ \ \
| * | | Fix bug where all apps didn't load sometimesMichael Jurka2011-11-151-10/+10
| | | | | | | | | | | | | | | | Bug #5623281