Commit Graph

16456 Commits

Author SHA1 Message Date
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
Adam Cohen bad24941cd Small fix to deal with ugly widget dropping situations
-> 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
2011-11-18 10:16:53 -08:00
Winson Chung 3f4e142380 Minor fixes to Launcher
- 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
2011-11-18 10:13:04 -08:00
Adam Cohen b0736fac73 Merge "Fix hiccup when dropping in springloaded mode on large ui" into ics-mr1 2011-11-17 10:28:02 -08:00
Winson Chung 6d09268cde Updating default workspace and fixing issue where new hotseat browser icon is not shown. (Bug 5478946, Bug 5623287)
Change-Id: I7ebac3a4bde868de2b5beacc95fc94302dc0d6ee
2011-11-16 18:43:26 -08:00
Adam Cohen 70ed13b370 Fix hiccup when dropping in springloaded mode on large ui
Change-Id: I434c594e0d2c94b122cd3336f36c529e6c3d1066
2011-11-16 15:59:40 -08:00
Michael Jurka c97ddb679c Merge "Fix bug where all apps didn't load sometimes" into ics-mr1 2011-11-16 12:57:39 -08:00
Adam Cohen 587ae34aab Merge "Modifying portals in landscape on the phone UI" into ics-mr1 2011-11-16 12:04:53 -08:00
Adam Cohen 78dc83e875 Modifying portals in landscape on the phone UI
Change-Id: I4190b0e4958dfd0d59d943d9b4c4d6fd2e9303c0
2011-11-15 17:10:20 -08:00
Michael Jurka 3d845e8d89 Fix bug where all apps didn't load sometimes
Bug #5623281
2011-11-15 17:04:47 -08:00
Michael Jurka b737ee6ab2 speeding up transition from other apps -> Launcher 2011-11-15 16:36:30 -08:00
Michael Jurka 4c4c001a85 removing dead code 2011-11-15 13:59:13 -08:00
Winson Chung 9c35d8ec4e Merge "Small changes to help AppsCustomize scrolling." into ics-mr1 2011-11-15 12:41:46 -08:00
Adam Cohen 4ff78b0b12 Merge "Fixing place where offset caches weren't being invalidated (issue 5608330)" into ics-mr1 2011-11-15 10:49:51 -08:00
Adam Cohen 60b0712bf5 Fixing place where offset caches weren't being invalidated (issue 5608330)
Change-Id: Ie351580f64591928764071ae29d5f90e2da9f9da
2011-11-14 17:26:06 -08:00
Michael Jurka 182c4d269e Merge "Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)" into ics-mr1 2011-11-14 16:39:23 -08:00
Winson Chung 68e4c64a67 Small changes to help AppsCustomize scrolling.
- Adding lookahead for prioritizing pages about to be visible
- Making fixed window for loaded adjacent pages
- Tweaking thread priorities on bg tasks

Change-Id: Ib2bccedb9cd7c4396ffaf8d7e1cb4820789960e5
2011-11-14 15:50:57 -08:00
Winson Chung c6f10b906f Workarounds for a couple crashes. (Bug 5612584, Bug 5613438)
Change-Id: I9669d830a10cc98291737f3f1d561c846c408289
2011-11-14 13:29:25 -08:00