summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/PagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-1981/+0
| | | | | | | | | | Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
* Adding RTL paging.Winson Chung2013-02-041-29/+82
| | | | Change-Id: Ic27d499cb76c7c30da37ed93f5372dd8441118b7
* Fixing NPE in updateCurrentPageScroll (Bug 7465970)Winson Chung2012-11-261-3/+7
| | | | Change-Id: I71d2b01518f3f736f6787ff6a503271b9ea7b04b
* Merge "Stop animating All Apps during transition to Home" into jb-mr1-devChet Haase2012-10-291-2/+21
|\
| * Stop animating All Apps during transition to HomeChet Haase2012-10-291-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the sources of jank in launcher is during the All Apps -> Home transition. specifically, if the user has started a fling operation (where we are animating between pages in All Apps) and then hits the Home button, we continue the fling animation while also doing the transition to Home scale/fade animations. This causes a lot of work for launcher, particularly because the fling animation is causing the All Apps layer to get recreated on every frame. The fix is to simply pause the fling animation, then snap to its end state when the animation to Home is complete. We also need to pause/snap the scroll indicator animation, because it's fading animation causes the same layer-recreation jank that the fling itself causes. Issue #7387124 Home <-> All Apps transition animation is janky while flinging Change-Id: Icbcaf2d5b3b2f6ce8fd7419419d258248aa1475b
* | Cap launcher swipe animations to max durationChet Haase2012-10-251-0/+2
|/ | | | | | | large screens take too long swiping between screens. Cap the duration to some max value to make things snappier. Change-Id: Iee967c1b00b4962a0490fd0e20d48d7d8363dd2f
* Fix 7223056: Enable scroll indicator on tabletsMichael Jurka2012-09-261-1/+1
|
* Remove use of private api ViewGroup.setChildrenLayersEnabledMichael Jurka2012-06-211-9/+0
| | | | Change-Id: I877bd84c6846ae232e2877e97de95d9344c13e56
* Remove use of private ValueAnimator apiMichael Jurka2012-06-191-3/+2
| | | | Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
* Removing logging in AppsCustomizePagedView (Bug 6597629)Winson Chung2012-06-111-5/+0
| | | | Change-Id: I58313d3b3536d3ee7eaae8459fbded41dc5dadec
* Synchronizing on the new-apps list before modifying it. (Bug 6621553)Winson Chung2012-06-061-0/+3
| | | | | | | - Minor tweak to qsb padding - Adding yet more logging for single-app-page issue Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
* Adding logging to track issue with apps pages. (Bug 6549598)Winson Chung2012-06-011-0/+3
| | | | Change-Id: Iaf8ad301325442346a2587f038b7a44578c16427
* Merge "Solve stutter when swiping All Apps the first time" into jb-devMichael Jurka2012-05-151-1/+4
|\
| * Solve stutter when swiping All Apps the first timeMichael Jurka2012-05-151-1/+4
| | | | | | | | | | Bug: 6024062 Change-Id: I6e05e9916389b1d90bd59443a04720fbf2338f5e
* | Adding accessibility scroll support to PagedView.Svetoslav Ganov2012-05-151-1/+30
|/ | | | | | | | | | | | 1. Added support for accessibility scroll action to PagedView. 2. Exposed AppsCustomizePagedView and Workspace for acessibility if otherwise specified. bug:5932640 Change-Id: I812e7c285cbc4d925390b9fae48a18acc68432ce
* Merge "Making the page spacing fixed in spring loaded mode. (Bug 6478409)" ↵Winson Chung2012-05-141-7/+16
|\ | | | | | | into jb-dev
| * Making the page spacing fixed in spring loaded mode. (Bug 6478409)Winson Chung2012-05-141-7/+16
| | | | | | | | Change-Id: I3577a1beecacb82528f0fde9439a8366a709b29c
* | Preventing drawing pages in Workspace if possibleMichael Jurka2012-05-141-1/+5
|/ | | | | | Bug: 6427601 Change-Id: I259554557a5856aa17a532c656032c4d6d5826bd
* Merge "DO NOT MERGE Pass focusableMode when adding focusables from ↵Michael Jurka2012-05-071-3/+3
|\ | | | | | | PagedView." into jb-dev
| * DO NOT MERGE Pass focusableMode when adding focusables from PagedView.alanv2012-05-071-3/+3
| | | | | | | | | | Bug: 6421918 Change-Id: I9eb7c6fbb6654821642403f09baa5cb2536b5af4
* | Unify tablet/phone workspace scrolling behaviorMichael Jurka2012-05-061-1/+3
|/ | | | Bug: 5954015
* Fixing issue where last workspace page was offset when rotated. (Bug 6413570)Winson Chung2012-04-301-34/+27
| | | | | | - Also adding check to prevent NPE in updating scroll indicator Change-Id: If445be7fa00497bd21a4b9a6f9ebce93ceb30f2c
* Moving side-page indicators to DragLayer to ensure it draws above hotseat ↵Winson Chung2012-04-271-2/+4
| | | | | | gradient. (Bug 5117499) Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
* Remove use of private APIsMichael Jurka2012-04-251-36/+40
| | | Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
* Removing dead codeMichael Jurka2012-04-111-4/+0
|
* Fix bug where overscroll never fully snapped backMichael Jurka2012-04-031-2/+6
| | | | | | | Bug: 6085652 Bug: 6065523 Change-Id: Iaac5705e00e08882beba0cad7ee0d339de31444a
* Show side pages when exiting spring-loaded modeMichael Jurka2012-04-021-2/+3
| | | | | Bug: 6132598 Change-Id: I2bf9025b7ac66d020522448b003905cb37c87587
* Adding animation post-installing a shortcut.Winson Chung2012-03-231-1/+2
| | | | Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
* Fixing some issues/regressions related to scaled icons.Winson Chung2012-03-081-1/+8
| | | | | | | | | | - Fixes issue with folder icons being clipped in landscape in sw720dp (Bug: 6118397) - Fixes issue with divider being in wrong orientation in sw720dp - Fixes issue with scaled icons not being drawn with filtering - Fixes issue with side pages showing under the hotseat when in landscape in phone UI - Animates the drag view on pick up and drop Change-Id: Iad26427ec63fcbc9bdb3b29a4645689ba445d5c8
* Improve code to determine which pages are visibleMichael Jurka2012-03-021-2/+6
| | | Change-Id: I2c349d987ddb5f399283088c128e6d4d056da4da
* Fading out workspace when dragging to higlight dragged object.Winson Chung2012-02-231-1/+1
| | | | Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
* Revert "Revert "Speed up All Apps -> Workspace transition""Michael Jurka2012-02-151-2/+10
| | | | | | | | | | | | | | | | | - also, undo enabling hardware layers for scroll indicator, which could have caused slowness - fix bug where scroll indicator was not seen after the first visit to all apps - eliminate a some needless hardware layer redraws - making items under All Apps invisible when we're in All Apps - making workspace spaces invisible if their alpha is 0 to prevent more hardware layer rebuilding This reverts commit 9753d13c7bda09c1203c611ac6717021037f39c3. Change-Id: Ib908ae0b456b2d4b8a171991a95f20aea4749da1
* Revert "Speed up All Apps -> Workspace transition"Michael Jurka2012-02-141-1/+1
| | | | | | | | Temp fix for 5976264 This reverts commit 9433fa7ebad74320e39bfac6161a68bc850fe161. Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
* Fixing two regressions in which side pages were not drawn or oriented correctly.Winson Chung2012-01-301-2/+2
| | | | Change-Id: Ib936d7701c8962fc04e6fed2e3d624291fe8fc46
* Showing page indicator while dragging (Bug: 5117192)Winson Chung2012-01-241-2/+0
| | | | Change-Id: I3c8180b2166f3961fbb9529c5de187b4b7b561cf
* Speed up All Apps -> Workspace transitionMichael Jurka2012-01-201-1/+1
| | | | | | | | | | - use HW layers on Views whose alpha is faded - don't run animation end code until the entire launcher transition is finished - be more aggressive about making workspace pages visible after an animation, potential fix for Bug #5867739 Change-Id: I52a088e551c1636a67725629640286b885070f32
* Merge "Fix occasional odd scrolling behavior"Michael Jurka2012-01-171-3/+2
|\
| * Fix occasional odd scrolling behaviorMichael Jurka2012-01-171-3/+2
| | | | | | | | Change-Id: I4cbcd17ab0bc2212d9591098d9aac6ca3ce6ed7d
* | Remove use of setFast* propertiesMichael Jurka2012-01-161-2/+1
|/ | | | Change-Id: Ibfae0eed65d384789929829d6a24379561934eb4
* Speeding up AllApps click feedbackMichael Jurka2012-01-121-13/+0
| | | | Change-Id: Ia16845b16d369bea610bb908d9a9f4805d4a1d54
* Delete dead codeMichael Jurka2012-01-121-76/+0
| | | | Change-Id: Iabe9cf9a4254ce4d90849f6fb9bd82a043beba2a
* simplifying code to prevent drawing off-screenMichael Jurka2011-12-161-7/+19
| | | | | | | | | | | | 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.
* Small optimizations for the All Apps transitionMichael Jurka2011-12-151-7/+6
| | | | | | | | | - 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
* Make All Apps<-->Workspace transition smootherMichael Jurka2011-12-121-4/+1
| | | | | | | | | | | | | | - 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
| |
* | Scaling PagedView fling constants by density (issue 5594666)Adam Cohen2011-12-071-8/+17
|/ | | | Change-Id: I3f37b820fb9864091a02a51b354f10f9a0fa2ac7
* Unload widget previews when launcher is not visibleMichael Jurka2011-11-221-1/+1
| | | | | | | Can save ~1-2MB of RAM Bug #5104303 Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
* 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