History log of /packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52aee60edcfe5a16e16523c1a4241ac4d8b3672d 30-Jan-2013 Winson Chung <winsonc@google.com> Adding RTL paging.

Change-Id: Ic27d499cb76c7c30da37ed93f5372dd8441118b7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1ef2123ccdf35f2e20ab180111bfa76c46c997e3 26-Nov-2012 Winson Chung <winsonc@google.com> Fixing NPE in updateCurrentPageScroll (Bug 7465970)

Change-Id: I71d2b01518f3f736f6787ff6a503271b9ea7b04b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
36095e861b8aba1069cf1e28c89de8f3f299114a 29-Oct-2012 Chet Haase <chet@google.com> Merge "Stop animating All Apps during transition to Home" into jb-mr1-dev
bc2f082dac475eff7fc0e40f90eb6c0552511170 27-Oct-2012 Chet Haase <chet@google.com> Stop animating All Apps during transition to Home

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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
97687ef66b209d39d6bc20aeb1496774b66fddd1 26-Oct-2012 Chet Haase <chet@google.com> Cap launcher swipe animations to max duration

large screens take too long swiping between screens. Cap the duration to
some max value to make things snappier.

Change-Id: Iee967c1b00b4962a0490fd0e20d48d7d8363dd2f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b1dfe25ae1fffafb5e4ac22c21fd60d6b1b713cf 26-Sep-2012 Michael Jurka <mikejurka@google.com> Fix 7223056: Enable scroll indicator on tablets
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
3a0469d1e40459529e2d4d57ebc493f930f7c01a 21-Jun-2012 Michael Jurka <mikejurka@google.com> Remove use of private api ViewGroup.setChildrenLayersEnabled

Change-Id: I877bd84c6846ae232e2877e97de95d9344c13e56
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
2ecf995e0d2d55eb71d03f7230ca87270872d1a3 18-Jun-2012 Michael Jurka <mikejurka@google.com> Remove use of private ValueAnimator api

Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c10ba1396f49cde2faacb7001e7e97fcee325507 12-Jun-2012 Winson Chung <winsonc@google.com> Removing logging in AppsCustomizePagedView (Bug 6597629)

Change-Id: I58313d3b3536d3ee7eaae8459fbded41dc5dadec
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
bfeac0681b63091731c853fdafa3206642449a9d 07-Jun-2012 Winson Chung <winsonc@google.com> Synchronizing on the new-apps list before modifying it. (Bug 6621553)

- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7c7a22dc61d3fbe99be75c72a75dc4882a2ea3e3 01-Jun-2012 Winson Chung <winsonc@google.com> Adding logging to track issue with apps pages. (Bug 6549598)

Change-Id: Iaf8ad301325442346a2587f038b7a44578c16427
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
8bc26993d5a6fd3980a1da3d65aca666ba385cda 16-May-2012 Michael Jurka <mikejurka@google.com> Merge "Solve stutter when swiping All Apps the first time" into jb-dev
5e368ffbad2fb08e3eadab98eeefd4e1d05bdb2b 15-May-2012 Michael Jurka <mikejurka@google.com> Solve stutter when swiping All Apps the first time

Bug: 6024062
Change-Id: I6e05e9916389b1d90bd59443a04720fbf2338f5e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
08055f66528330ff1a1d1d13c856647d86dd967d 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility scroll support to PagedView.

1. Added support for accessibility scroll action to
PagedView.

2. Exposed AppsCustomizePagedView and Workspace for
acessibility if otherwise specified.

bug:5932640

Change-Id: I812e7c285cbc4d925390b9fae48a18acc68432ce
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
83d3b12ba6f930ad54ab0cbaa8dffefb23af56c0 15-May-2012 Winson Chung <winsonc@google.com> Merge "Making the page spacing fixed in spring loaded mode. (Bug 6478409)" into jb-dev
920d7f433e5be7b928fe52312c2e65d278b13ee5 15-May-2012 Michael Jurka <mikejurka@google.com> Preventing drawing pages in Workspace if possible

Bug: 6427601

Change-Id: I259554557a5856aa17a532c656032c4d6d5826bd
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
8aad610dc58d810ec848a579c548f50c613c8641 12-May-2012 Winson Chung <winsonc@google.com> Making the page spacing fixed in spring loaded mode. (Bug 6478409)

Change-Id: I3577a1beecacb82528f0fde9439a8366a709b29c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
bec653ea44429bbe85fb334a8c8ba6520e3fa209 08-May-2012 Michael Jurka <mikejurka@google.com> Merge "DO NOT MERGE Pass focusableMode when adding focusables from PagedView." into jb-dev
af51995758ffa082ee082414431b6850a923d49a 08-May-2012 alanv <alanv@google.com> DO NOT MERGE Pass focusableMode when adding focusables from PagedView.

Bug: 6421918
Change-Id: I9eb7c6fbb6654821642403f09baa5cb2536b5af4
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
869390b6abd6e005a5ce85a8ee3c11daeecce919 07-May-2012 Michael Jurka <mikejurka@google.com> Unify tablet/phone workspace scrolling behavior

Bug: 5954015
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
a128a7b9e5f00559ad6a443f7be8e8d7591942a3 01-May-2012 Winson Chung <winsonc@google.com> Fixing issue where last workspace page was offset when rotated. (Bug 6413570)

- Also adding check to prevent NPE in updating scroll indicator

Change-Id: If445be7fa00497bd21a4b9a6f9ebce93ceb30f2c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
360e63fd3e77247002b86da2a77bd8dfe8c8a807 27-Apr-2012 Winson Chung <winsonc@google.com> Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)

Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
8b805b17158886035b38261eb611d8641701ae43 18-Apr-2012 Michael Jurka <mikejurka@google.com> Remove use of private APIs

Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
64c9ab318817d5f098fa0fed7d893f630189b657 12-Apr-2012 Michael Jurka <mikejurka@google.com> Removing dead code
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b06d95fc79389ce49dc97ecaae23e05d931a6ac2 02-Apr-2012 Michael Jurka <mikejurka@google.com> Fix bug where overscroll never fully snapped back

Bug: 6085652
Bug: 6065523

Change-Id: Iaac5705e00e08882beba0cad7ee0d339de31444a
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4ff7d79ddcee0a95fe6e7458731decd694b91d03 02-Apr-2012 Michael Jurka <mikejurka@google.com> Show side pages when exiting spring-loaded mode

Bug: 6132598
Change-Id: I2bf9025b7ac66d020522448b003905cb37c87587
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f0c6ae0e35d3e020db55b5b826955da66b14b7f6 22-Mar-2012 Winson Chung <winsonc@google.com> Adding animation post-installing a shortcut.

Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
eecf02da58adef5486bf0c9ff7127ea891f457a4 03-Mar-2012 Winson Chung <winsonc@google.com> Fixing some issues/regressions related to scaled icons.

- 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
47f747418efa337e0fc56e10748a6a595b8974f6 02-Mar-2012 Michael Jurka <mikejurka@google.com> Improve code to determine which pages are visible

Change-Id: I2c349d987ddb5f399283088c128e6d4d056da4da
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
867ca62c0e4b811d46734ff940d59c7a787525c8 22-Feb-2012 Winson Chung <winsonc@google.com> Fading out workspace when dragging to higlight dragged object.

Change-Id: I540ce145168a65a029d820d6c14a1e3070f8a5b0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
bed61d22bdbfcdbe04f92675c7751b83c7a8947c 15-Feb-2012 Michael Jurka <mikejurka@google.com> Revert "Revert "Speed up All Apps -> Workspace transition""

- 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9753d13c7bda09c1203c611ac6717021037f39c3 14-Feb-2012 Michael Jurka <mikejurka@google.com> Revert "Speed up All Apps -> Workspace transition"

Temp fix for 5976264

This reverts commit 9433fa7ebad74320e39bfac6161a68bc850fe161.

Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b33e05fa50a0a386e96acf8dc9b5ccd1ba6834ae 30-Jan-2012 Winson Chung <winsonc@google.com> Fixing two regressions in which side pages were not drawn or oriented correctly.

Change-Id: Ib936d7701c8962fc04e6fed2e3d624291fe8fc46
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1afedc379f8271b9bf86a8d887c3c020d5e59214 24-Jan-2012 Winson Chung <winsonc@google.com> Showing page indicator while dragging (Bug: 5117192)

Change-Id: I3c8180b2166f3961fbb9529c5de187b4b7b561cf
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9433fa7ebad74320e39bfac6161a68bc850fe161 19-Jan-2012 Michael Jurka <mikejurka@google.com> Speed up All Apps -> Workspace transition

- 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c0f21e1d3c348c6ab83c1d223e7c1c2d683412fb 17-Jan-2012 Michael Jurka <mikejurka@google.com> Merge "Fix occasional odd scrolling behavior"
dd6c09123c2341a51fb285936cfffef48c594356 16-Jan-2012 Michael Jurka <mikejurka@google.com> Fix occasional odd scrolling behavior

Change-Id: I4cbcd17ab0bc2212d9591098d9aac6ca3ce6ed7d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7372c59277a23a31eeb1513a554b29d7bf05aedb 16-Jan-2012 Michael Jurka <mikejurka@google.com> Remove use of setFast* properties

Change-Id: Ibfae0eed65d384789929829d6a24379561934eb4
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e3517d01ecb844b498d5862df07bc2177861806a 12-Jan-2012 Michael Jurka <mikejurka@google.com> Speeding up AllApps click feedback

Change-Id: Ia16845b16d369bea610bb908d9a9f4805d4a1d54
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
82369a16126a1030c1c9203dc62b33c2598add89 12-Jan-2012 Michael Jurka <mikejurka@google.com> Delete dead code

Change-Id: Iabe9cf9a4254ce4d90849f6fb9bd82a043beba2a
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
80c69853d64b73e5d62ed33bea1b10680557ee3e 16-Dec-2011 Michael Jurka <mikejurka@google.com> 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.
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
afaa05014e0bf3ed1192f9ddec2af4283bc50248 14-Dec-2011 Michael Jurka <mikejurka@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
2a4b1a809c6bc0af9ae3ad974fe50e2a91569543 07-Dec-2011 Michael Jurka <mikejurka@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c02e3932c382a1854ff39c5e2714d5c07c0a8bcd 10-Dec-2011 Michael Jurka <mikejurka@google.com> Merge "Reduce peak memory use in PagedView"
265b9a66542148e0ff13971001cb9461065e1e0e 07-Dec-2011 Adam Cohen <adamcohen@google.com> Scaling PagedView fling constants by density (issue 5594666)

Change-Id: I3f37b820fb9864091a02a51b354f10f9a0fa2ac7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0cad1116add5303d7c06cc21182527cebc42aff6 17-Nov-2011 Michael Jurka <mikejurka@google.com> Reduce peak memory use in PagedView
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e326f186af6b00e4ea32849f1527254c669d0600 21-Nov-2011 Michael Jurka <mikejurka@google.com> Unload widget previews when launcher is not visible

Can save ~1-2MB of RAM

Bug #5104303

Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
049abba5a2634f37f73d2abe83906cc71b8ad3f7 22-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing PagedView bad snap-back decisions" into ics-mr1
00481b3ed322b4f36b669201d2287964febda65f 18-Nov-2011 Adam Cohen <adamcohen@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b737ee6ab2dc4938a1b2a574c336af0eab826712 16-Nov-2011 Michael Jurka <mikejurka@google.com> speeding up transition from other apps -> Launcher
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4ff78b0b1231f9cffdaa17d8747bac7f4561372e 15-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing place where offset caches weren't being invalidated (issue 5608330)" into ics-mr1
60b0712bf555a32e609271e0b8ea90743a148efb 15-Nov-2011 Adam Cohen <adamcohen@google.com> Fixing place where offset caches weren't being invalidated (issue 5608330)

Change-Id: Ie351580f64591928764071ae29d5f90e2da9f9da
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c6f10b906fc9c120cafc81046a42b2434ff635a9 14-Nov-2011 Winson Chung <winsonc@google.com> Workarounds for a couple crashes. (Bug 5612584, Bug 5613438)

Change-Id: I9669d830a10cc98291737f3f1d561c846c408289
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ebea84d1c95f4c38ba8cee46cd586fd757b4fce2 10-Nov-2011 Adam Cohen <adamcohen@google.com> Unifying overscroll btw phone and tablet

-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e6dcf2651283d9237cabace60f208f9e45e6d7d9 11-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Reduce unnecessary layout passes" into ics-mr1
81efbad05e0ce69b06d7323749ef2e200b84b98e 03-Nov-2011 Michael Jurka <mikejurka@google.com> Reduce unnecessary layout passes

- Also delete unused code
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
dde558b8b8bcf3fac6d2ceceafa1f7546f98a264 10-Nov-2011 Michael Jurka <mikejurka@google.com> resolved conflicts for merge of b9c76f32 to ics-mr1

Change-Id: I7579e312c48c9f9279e93283629036a9332aa34c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
acec6719208a59ccf32bfd4f46e383c9400945d9 04-Nov-2011 Adam Cohen <adamcohen@google.com> Merge "Cleaning up overscroll effect in launcher workspace" into ics-mr1
21b411074e39fd10cbc8dd0220bb159da4af2c76 02-Nov-2011 Adam Cohen <adamcohen@google.com> Cleaning up overscroll effect in launcher workspace

-> Making sure workspace is drawn above the hotseat and qsb
-> Dimming the dock divider and page indicator during overscroll

Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
25b2995c6723c01fbabcea04636358501bc8d17a 02-Nov-2011 Adam Cohen <adamcohen@google.com> Tentative fix for monkey crash, issue 5556086

Change-Id: Iea6b39133b297dc809e64a20d22156f59950db74
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
73894964c27f68a3a7ffb45bfba76520613fd3f0 31-Oct-2011 Adam Cohen <adamcohen@google.com> Launcher performance optimizations: shaving about 3ms off Workspace.dispatchDraw()

-> Caching values of getChildOffset() and getChildRelativeOffset()
-> Using fast invalidate pattern in workspace#screenscrolled
-> eliminated updateAdjacentPageAlpha, combined with screenScrolled
code where appropriate to take advantage of fast invalidate
-> removed a bit of dead code (just for cleanups sake)

Change-Id: Id91542ff846d9495a0370707d02d1f647dab22d4
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4da7a3e55618a6ac2eb528a792902bbbfe775c79 29-Oct-2011 Michael Jurka <mikejurka@google.com> Fix NPE

Bug # 5340102

Change-Id: Ibcdb549f4987f67c797c0618c8f54d3b1054261f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
2591f6a5202664faf8cde2b68361e3842ce76ba9 25-Oct-2011 Adam Cohen <adamcohen@google.com> Fixing AppsCustomize paging effect on tablet

Change-Id: I9ec1faeb4efa1b3db338bf47dceee72befbc682e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ae4f155e090bf387b989fb738ee34ab045585711 20-Oct-2011 Adam Cohen <adamcohen@google.com> Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)

Change-Id: I841823e28bf419028afea2a57352c4ad45c7c4a0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0cd3b64e607cc1f81ed49b00ef7398c2a2b7a48d 14-Oct-2011 Adam Cohen <adamcohen@google.com> Add ability to swipe from apps to widgets in AllAppsCustomize (issue 5453016)

Change-Id: I4d725cf1ee11d67f5149dbd0edbcb2e0af3b80ee
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c27d1bbb26f774a14122bc0b1d2ac33675439038 29-Sep-2011 Winson Chung <winsonc@google.com> Fixing issue where we were adding text to each scroll event. (Bug: 5328362)

Change-Id: I9e716535cdf06a2955167b53d788dffc724d1133
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
90576b5f095371e1ba4fedcb775f43715adf9634 28-Sep-2011 Winson Chung <winsonc@google.com> Fixing some small issues.

- Adding All Apps pressed state (5375824)
- Ensuring the drop targets are single line (5375563)
- Adding some checks in kb focus logic to appease some frantic monkeys (4508638)
- Removing some unused assets

Change-Id: I46702ee25c638849c716f0d8428f68c2b06c1c2e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7d7541e7b48fdc114c24b3b0aa75e70d7228041e 17-Sep-2011 Winson Chung <winsonc@google.com> Updating Clings. (5057945, 5056643)

Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c3665faf4525de78c64e1a98106e12f1c23810c9 15-Sep-2011 Winson Chung <winsonc@google.com> DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.

- Fixes the scrolling issue only in conjunction with framework measure fix
- Updating the wallpaper gallery item background

Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
dea74b7d12b0fcd50bfdb4274f9867ba76d75238 14-Sep-2011 Winson Chung <winsonc@google.com> Updating assets.

Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ae890b85dfbcdef592f4a97cca819922a07a83ca 14-Sep-2011 Winson Chung <winsonc@google.com> Disable fading of side pages on phones. (5270754)

- Fixing small issue with scroll bars not aligning properly.

Change-Id: I000c0b7a26d7e6295d131646be81491a357ffdce
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b5ba097015c4794fa822f30b38a60a7070a00097 08-Sep-2011 Adam Cohen <adamcohen@google.com> Workspace overscroll effect

-> Made AllAppsCustomize scroll/over scroll more subtle

Change-Id: Icf1889b3adccce22d4a2d80c5b487518b0ab3157
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
09c1552341d76f9963eb18245887d86c4d00301f 09-Sep-2011 Winson Chung <winsonc@google.com> Bounding scroll bar to the track to prevent overscrolling.

Change-Id: I2db815e072dcf41dda8102829d136fc2dca588e7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
22f823d340710bcde587b18a1542570cbe0360f5 02-Sep-2011 Adam Cohen <adamcohen@google.com> New AllAppsCustomize transitions

Change-Id: Ibefda8bf156810849c5e8f3383d49ae64a7ee08a
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d11265e3738d93df3d8f76732e027f4d9be2a0ab 30-Aug-2011 Winson Chung <winsonc@google.com> Overriding onHoverEvent to prevent default propagation.

Change-Id: I64cda2a3342fe256629490e0c557b500ec75034b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ed718b18a9c9633be9543b59c0a81ca12c509550 18-Aug-2011 Winson Chung <winsonc@google.com> Merge "Saving/restoring current page in AppsCustomize. (5050168)"
5afbf7bdd6f6879124c9b8283e005fe57f310d02 25-Jul-2011 Winson Chung <winsonc@google.com> Saving/restoring current page in AppsCustomize. (5050168)

Change-Id: Ib868033a2b71383abc4569082675f391d3e4cc76
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f314b0eab03bb354c14b6c89f694a6685bd246d9 16-Aug-2011 Winson Chung <winsonc@google.com> Improving transition between Apps/Widgets panes (5145408)

Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d771c96e5d156ffde5d35ee13ce053de60dc3163 10-Aug-2011 Michael Jurka <mikejurka@google.com> Fix regression: taps were not sent to wallpaper

Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
86c119a2267398dfe7ccbc2c262c6b48c93d76c4 06-Aug-2011 Michael Jurka <mikejurka@google.com> Fix visual bugs

- Fix clipping of icon labels on large devices
- Fix bug where icons and widgets on side pages in home workspace were visible on startup

Change-Id: I8c17cfcb1ac27255b955e6db9d0eec7ce3833bd0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
430e8a5f5b06181addfd37223518fc21c5c41b69 09-Aug-2011 Michael Jurka <mikejurka@google.com> Flash scroll indicators a bit earlier on transitions

Change-Id: I456b61480299b1177d9d275f2cb4459bab02d63e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ea359c6aee44c0fe3bb94f7002c3b49208b32b7f 04-Aug-2011 Winson Chung <winsonc@google.com> Grid spacing fixes

- Restoring old grid for widgets
- Disabling ability to add widgets to hotseat
- Updating holo colors
- Updating assets

Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4afe9b31f51022538b30646fe83780e83bf22490 28-Jul-2011 Winson Chung <winsonc@google.com> Adding ability to add to hotseat from spring loaded mode (5064141).

- Fixing regression where folder items had no text in tablet ui and assets
- Fixing spring loaded frame sizing (5067335)
- Making the cells 80x80 for testing again on the phone ui (5085986)

Change-Id: I52a0f5eaf2dcf4adaf57c5a71da3903892c490a8
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
a6427b15c18d5b8f3078f553d78f8432de9f46e9 27-Jul-2011 Winson Chung <winsonc@google.com> Fixing minor bugs (5085316, 5082963, 5042828)

- Adding separator between qsb and workspace content
- Adding a bit of spacing between drawables and text in all apps
- Making the drop target area smaller...

Change-Id: I1bebe7dff20fc30e4896de1dcf23d23b62a31a07
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
bb6f6a52b6d176be253b1514af459a7aa4e998f8 26-Jul-2011 Winson Chung <winsonc@google.com> Fixing regression in divider visibility during spring loaded mode. (5076848)

Change-Id: Ib36e78c840cd2192bdc5f30e425f82e160f63189
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
5a808358f1a773dab8babae44899ffd4ed1810c1 28-Jun-2011 Winson Chung <winsonc@google.com> Adding menu to jump to shortcuts page in widgets tab

- Fixing bug in PagedView when setting the current page
- Fixing small visual issue with flashing scroll indicator
- Fixing slightly offset holographic icons

Change-Id: Ic6ce6365daca41cb5a73706c7c4b078f33a4e39c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f5f8cefb215fad98ae6d4487852e8b948aba3619 22-Jul-2011 Winson Chung <winsonc@google.com> Launcher cleanup and fixes.

- Removing unused hotseat assets
- Adding xhdpi assets from designer repo
- Decoupling dock divider and scroll bar to fix landscape divider issue
- Fixing issue where dock portals were being clipped

Change-Id: If3894a9a265e0272111e852857f9cfbf994ec050
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
32174c878c77b4e0f13449f4c26ff6b487bc7ca6 20-Jul-2011 Winson Chung <winsonc@google.com> Fxing issues with the scroll bar

- Removing track from AllApps
- Scrollbar should reach edge of track now
- Fixing flashing when going from AppsCustomize to workspace and switching tabs in AppsCustomize

Change-Id: Id69bd04dc503608566c3a33a1344904e3db383bf
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f2253e14468c600e348c95f8be37f8267d28d4e8 14-Jul-2011 Michael Jurka <mikejurka@google.com> Merge "Fix a monkey crash"
2698db4df3d2f9aa2a2c16af6760d63ba1ac354e 14-Jul-2011 Michael Jurka <mikejurka@google.com> Fix a monkey crash
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d74c984fcc61f86160476a2543faff715e3ee2fd 10-Jul-2011 Michael Jurka <mikejurka@google.com> Use hardware layers in more situations

* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
557d6ed50cc6560163440aa134870ef0bb11415b 09-Jul-2011 Winson Chung <winsonc@google.com> Fixing issues with spring loaded adding.

- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
649723cfb3d73af16dd02462725700897ca60e38 07-Jul-2011 Winson Chung <winsonc@google.com> Updating assets.

- Tweaking search bar layout.

Change-Id: I9624fa4284135858d3e19b8b8e4710b5dd746042
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
3ac74c55cf8baef29db80e8c67ab4ab033b04417 01-Jul-2011 Winson Chung <winsonc@google.com> Tweaking the scroll indicators with new assets and sizing.

- Showing the scroll indicators when changing between workspace/apps customize

Change-Id: I791c09b76deb00108c466f08ae3c29b19d77c4d8
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
6a0f57dfafced837a2a282d8feec28d5418be3b9 30-Jun-2011 Winson Chung <winsonc@google.com> Populating some more accessibility events.

Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4e076545e4ccdbd3c045a3fa33869a2b7519a0cc 23-Jun-2011 Winson Chung <winsonc@google.com> Cleaning up dead code.

Change-Id: I922e20b41d19ca9936c75277ba7c58a291d297fa
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b44b52439d155f570db7d6d0b80fdd3350e35685 13-Jun-2011 Winson Chung <winsonc@google.com> Loading previews and holographic icons in background thread using AsyncTasks.

- Adding back animation between tabs

Change-Id: I1a49bfca4f85f579e232861aa02d08fb25d0aafc
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
76fc085d28178a5d4fb3787ede956281a2cc3179 17-Jun-2011 Adam Cohen <adamcohen@google.com> New folder visualization, renaming, staggering reorder

Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
007c69867d821ea2b271398577a8b3440b3a7046 14-Jun-2011 Winson Chung <winsonc@google.com> Adding signposting to Phone UI in Workspace/AppsCustomize.

Change-Id: Id63f247745a5ec1a63bbaff84602e4c91354f789
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f0ea4d3378be7b962c8e0bce2392df5e82491fb8 06-Jun-2011 Winson Chung <winsonc@google.com> Replacing AllApps/Customize in tablet UI with Apps/Customize.

Change-Id: I11a296b25472e4bf298a468865b0dff29f500aaa
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
fbd14ac287f22ff05c7538a3122484272861f620 09-Jun-2011 Michael Jurka <mikejurka@google.com> am 83c70cf8: am d9455775: am 20b7ca91: Fix bug with snapping during scrolling

* commit '83c70cf8ee6ff5912394ce9b3efc0bdea9401ae2':
Fix bug with snapping during scrolling
b26f3d6a8c62e7c1a603b6c7979375d8dd4f20d4 02-Jun-2011 Winson Chung <winsonc@google.com> Modifying AppsCustomize behaviour to use springloaded mode.

Change-Id: I21d181ad3d245731ee8402915f8918b91bfc4553
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
20b7ca91b277e9668b6d4b4b3c9116b6778d22a5 08-Jun-2011 Michael Jurka <mikejurka@google.com> Fix bug with snapping during scrolling

Bug # 4490518

Change-Id: I1bf1954bc319d18aef45eebfd48b46f4ff0a9038
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
dcfc25ca5f5dd3f867e929e34605564162128b45 03-Jun-2011 Michael Jurka <mikejurka@google.com> am 4c826609: am a83ae6bf: am 330ae983: Merge "Fix issue where All Apps tab bar was too small" into honeycomb-mr2

* commit '4c826609208012e7219ecdacde4348b0dd7973bd':
Fix issue where All Apps tab bar was too small
83ae5cfa27d83b3e43360b27cc57c8ae865fc36f 01-Jun-2011 Michael Jurka <mikejurka@google.com> am 6a2326cf: am bad51817: am 87b1490c: Potential fix for bug 4479399

* commit '6a2326cff955d692c4f89f6ca7ffea036a3efb15':
Potential fix for bug 4479399
983e3fdf20acd22b57e3e6f0a309f524c52b62fe 27-May-2011 Michael Jurka <mikejurka@google.com> Fix issue where All Apps tab bar was too small

Change-Id: I702ca5ce32a6346f09c61765aa63625d3d50cc92
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
87b1490c5a100619648b251cb2be05c457bede08 26-May-2011 Michael Jurka <mikejurka@google.com> Potential fix for bug 4479399
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e61c6a35b26d3602f91b0069b6dd4407ae995951 20-May-2011 Patrick Dubroy <dubroy@google.com> Dynamically determine # of rows/cols in All Apps.

DO NOT MERGE

Change-Id: I3c050abcd8c00235094708d59eda81f923df6806
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
244d74cb353f1260c4d633e719bf84bb3b6e52bc 20-May-2011 Patrick Dubroy <dubroy@google.com> Dynamically determine # of rows/cols in All Apps.

Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
54a4ac26898ea318f434443458680cb3014bf6fa 07-Apr-2011 Michael Jurka <mikejurka@google.com> Make customization drawer deal better with a small height
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
63257c110a4ee54d5e8872c471cce254cf613c7a 06-May-2011 Winson Chung <winsonc@google.com> Minor changes to help address some hiccups when panning, changing tabs and rotating in AppsCustomize.

- Also removing references to old all-apps 2d/3d

Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
785d2eb2b8d7072c8124300dd9168ff51a91cf38 15-Apr-2011 Winson Chung <winsonc@google.com> Initial changes to merged AllApps/Customize pane in the Phone UI.

Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
97d85d23b013347bead4e2f5fa430a79ce69431e 13-Apr-2011 Winson Chung <winsonc@google.com> Fixing focus issues in Launcher (keyboard support).

Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
36fcb74425bebc1d88c9e3102484ec902b68f202 07-Apr-2011 Michael Jurka <mikejurka@google.com> Make customization drawer deal better with a small height

Change-Id: I879d167bacf5f5e9415e9033fbd4babe102109f0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
26976d9b53161f80faf822d482ac771b8621cf31 22-Mar-2011 Adam Cohen <adamcohen@google.com> Fix resize frame bug: 4121297

Change-Id: I797c9af3ed0a0c99407c301e68d20485e108980c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
34b23d5c8ce33450bd7640559bffcd77c5b6fb4d 18-Mar-2011 Winson Chung <winsonc@google.com> Fixing an issue where other pages were taking on the min width of the widget page.

Change-Id: I256d2dc918ca8760ee58c9cb430dd1c49c5ceea0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
6342bbae1a18f3c1862953e33309481703f541cf 10-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing workspace scrolling, Bug: 4070816

Change-Id: I8ff7d59f8d64e3deee022161f942dfe35359bdd2
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
185d71647c8859cae7a375773b31c03f2f22ade1 28-Feb-2011 Winson Chung <winsonc@google.com> Adding simple mouse-scrolling to launcher.

Change-Id: I7bd568bd56f272494137f45c07e2377f14e8faaf
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1908d07151e0d3f82899f368874e41ed1e49ba16 25-Feb-2011 Winson Chung <winsonc@google.com> Refactoring and fixing bugs in Customize tray.

Change-Id: Ia37d3033d64036fd09f5f33443eb9f575e311c7c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
6f13342ffd3f968de9ff86b988621cc91d94adff 24-Feb-2011 Patrick Dubroy <dubroy@google.com> Fix 3482911: NPE in CustomizePagedView.resetCheckedItem

Also fixes an issue where quick swipes on an item could
cause it to animate in from (0, 0) sometimes.

Change-Id: Ie3312389bcb5109f4b26ec518a29b4aa88161377
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
760585d09f9236b4b408174f7cc380d6437d4910 24-Feb-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where flinging the Customize tray would scroll to the incorrect page after update."
03929773a45a21c1ff0d4e0ae152bbad1b8585a4 24-Feb-2011 Winson Chung <winsonc@google.com> Fixing issue where flinging the Customize tray would scroll to the incorrect page after update.

Change-Id: I654665b065ad60414286ea16f7feae5054df604c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
a40829a4a86294237f5ea665e670ee100d9c02e5 17-Feb-2011 Michael Jurka <mikejurka@google.com> Add comment about an earlier All Apps bug fix

(earlier change was Icfdb096c: Fix bug where only holo outlines were visible in All Apps sometimes)
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e4340a1e3223dbebbb5fff96b55f46ca86182ea8 16-Feb-2011 Michael Jurka <mikejurka@google.com> Merge "Simplifying logic to create/destroy hardware layers in All Apps"
c5e49022bea70a1b0b6ada5431afbb6e951cc3f6 16-Feb-2011 Michael Jurka <mikejurka@google.com> Simplifying logic to create/destroy hardware layers in All Apps

Bug # 3422984
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b64cb5a44bedcff0ea4b09cf8f1f5b6f95b0244e 15-Feb-2011 Adam Cohen <adamcohen@google.com> Fixing panning behaviour

Change-Id: Idd8268b5442a88b8ca30c2aa0ec8b80b59f7889d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
aefd4e1f519838852d9e870031a85c9ea55a05f3 15-Feb-2011 Adam Cohen <adamcohen@google.com> Fixing some edge cases of scrolling in PagedView

-> See Issue 3242353

Change-Id: I58140172e6f283706c351e66ba643cb018827893
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
cfdb096c31356a1d28a9c62b9f09b7c4b5e990f5 04-Feb-2011 Michael Jurka <mikejurka@google.com> Fix bug where only holo outlines were visible in All Apps sometimes

Bug # 3423911
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c0759f5090d9539d82ddc944b9f2da767c36b251 04-Feb-2011 Michael Jurka <mikejurka@google.com> Reducing memory impact of hardware layers in Launcher

- Disabling hardware layers in customize tray
- Destroying hardware layers for pages in All Apps that are not visible
- Re-adding CachedTextView for icons in customize tray (to regain some of the lost performance there)
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
cc377b516c179822b6475673e0b07faad5297361 03-Feb-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where we weren't picking up minute touch movements. (3413433)" into honeycomb
a1192eacc25eafad25bf409d4383a1e16edb9c71 03-Feb-2011 Michael Jurka <mikejurka@google.com> Merge "Adding hardware layers to All Apps" into honeycomb
8245a8685fc9f4802c9fa29a989854b2522fc588 02-Feb-2011 Michael Jurka <mikejurka@google.com> Adding hardware layers to All Apps

- splitting up the "holo" outlines and the icons into separate views
- enabling hardware layers on each of the views
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c0844aa8a135bbf56aad2f95f57d1354a1260078 03-Feb-2011 Winson Chung <winsonc@google.com> Fixing issue where we weren't picking up minute touch movements. (3413433)

Change-Id: I5920e5e7ad6fa758093deeb545d6d3b81f730198
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
ce7e05fbe8abd5f25ec47e0e05b5cc76ceb39d2e 02-Feb-2011 Michael Jurka <mikejurka@google.com> stop using hardware layers when workspace stops moving

helps workaround Bug 3417254

Change-Id: I874e5e52ab544fbb787e1021d6ee394e8f3a34d6
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f8d2823d885ba682140aee1ae0504c1c5e67a24b 02-Feb-2011 Adam Cohen <adamcohen@google.com> Adding scroll disambiguation between Workspace and AppWidgets

Change-Id: Ia3ff92b74651f9ea250664ec4cbcc0506db522ec
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
be9093426aec3a6d412811a12d2400e645613242 29-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing scrolling of all apps when below apps

Change-Id: Id6a4506ed18a02d31487ecff1d7309e7b3e25e9d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7bfc979594b083c36f6a08e49273ef7c9ad7b13a 28-Jan-2011 Adam Cohen <adamcohen@google.com> Clamping maximum overscroll amount

- It was possible to crash launcher if you pulled really really far
to the right

Change-Id: I3ec45c7cbda2c4036e2e2359f2aa617ce7091bcd
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
228a0faca6fd77f5cdd28a32ff20a311ec1bbffa 27-Jan-2011 Winson Chung <winsonc@google.com> Using newer object animators for click feedback animation. (3384873)

Change-Id: I50d3a506f2fec3fb868616e3d969d2911fae6706
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
8c920dd3683d752aa4c43e964831ce53f9b72887 20-Jan-2011 Michael Jurka <mikejurka@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d0ce1ec2e21ce3bb0ba3549a01d1d06b440a8e45 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Fix 3237665: Home screen should scroll on tap, not touch down

Change-Id: I61f65beaf982eec54b86668d6da94aa5c52e9355
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
4a7d4afe87a9146b3cefef8e00581090301b698d 18-Jan-2011 Michael Jurka <mikejurka@google.com> Removing dead code

Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c5b262ccf639fedac2aff5bb8238342f95396338 13-Jan-2011 Michael Jurka <mikejurka@google.com> tweaking parallax effect

- adding vertical parallax when switching to all apps/customize mode
- added effect to have parallax lag the rest of scrolling
- adjusted the amount of horizontal/vertical parallax in both portrait and landscape modes

Change-Id: I5ee778f78c1080337f642217bcf828b2392ddf70
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0499834db3f9dc6fb0f5f57b5876b8503bce5189 05-Jan-2011 Winson Chung <winsonc@google.com> Fixing issues with holographic outline cache in AllApps/Customize.

- Fixing issue where the outline cache was not properly used when changing orientations
- Making the outline cache static, and shared across both the AllApps/Customize (since they
share an Apps view)
- Making sure that holographic outlines for items on only one page are not created, since
the holographic outlines will never be shown in that case.
- No longer clearing outline cache as frequently

Change-Id: I291db3802260249d0470d2637d871958baa8ebff
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
a12a2502e6a448d36ab7b8de46de0c1afe40b34f 20-Dec-2010 Winson Chung <winsonc@google.com> Saving AllApps page when rotating screen, fixing customization rotate flash.

Change-Id: Idc4b919fa34413578fc07be263aadffb062f6115
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c3f9f4fcbd3fba3753335d5c9671c0893393b164 15-Dec-2010 Winson Chung <winsonc@google.com> Fixing issue with customize page holographic previews not showing.

- Adding temporary workaround for bad holographic default widget previews.

Change-Id: I261045beac3791111f928511435e17e320f2d4a7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d3ef3065ab0941567c45e9aec98783138b623c68 24-Nov-2010 Michael Jurka <mikejurka@google.com> added spring loaded mode for adding items to workspace

Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
af91de06b99e2d5d41ce79fefa34ce2111e51917 24-Nov-2010 Michael Jurka <mikejurka@google.com> code cleanup, preparing for spring-loaded adding to screens

Change-Id: Ic52b8df2b4c4998272fbfe2b1b195c177cac9a23
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1d0867c8de6a889bccde9b7e768daef182a25e5c 03-Dec-2010 Jeff Brown <jeffbrown@google.com> Send live wallpaper taps.

Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
29d6fea296ebecb607525c8245a54696ad7c5db7 02-Dec-2010 Winson Chung <winsonc@google.com> Adding outlines to side pages for widgets and wallpaper pages in the customization tray.

Change-Id: Ib2ec5e630c1c861003d0e0b5672ed69ef25c0b47
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
73aa9755d3db1a76e9de0f55271ef5984d78ef6f 25-Nov-2010 Adam Cohen <adamcohen@google.com> Fix workspace outline alpha during scrolling

Change-Id: Ib4e20994b2256dad6607df9c4616f06c5a0b336e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e0f66b546994a9bdee452851c17a148db02ec300 24-Nov-2010 Adam Cohen <adamcohen@google.com> Modifying feel of scrolling / overscroll

-Modified overscroll on Workspace
-Added overscroll effectiveness curve to PagedView
-Modified the feel of scrolling in Workspace, AllApps,
and Configure. Made it more sensitive to velocity.

Change-Id: I7f705e267a536c742fbb3b6556648bbf993bdd2f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
faa28305134b0d391d2baf1bff5bff4710fe819f 19-Nov-2010 Adam Cohen <adamcohen@google.com> Fix issue 3214208

-Doing an index check to avoid NPE

Change-Id: I53e4f4377f0e725e57ed9d0835b6f69af4f83a64
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
68d739365bf650fe7fecf99cd3bfe63a0d41bd12 15-Nov-2010 Adam Cohen <adamcohen@google.com> Adding overscroll to Workspace, AllApps and Customize

-Also modified the background alpha interpolation during scrolling

Change-Id: I68db8fbe80f720c507ab3208d8b3dcd8aa4f2081
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
6b879f0a5885274a85333531e091283405d490cc 05-Nov-2010 Adam Lesinski <adamlesinski@google.com> Layout tweaks in Launcher

-Removed All apps and Configure toolbar buttons
from Customization Drawer, removed Configure
button from All apps and added Market icon
to All apps
-Changed spacing of CellLayouts when scrolling
-Modified gap spacing in workspace layout
-Made workspace invisible in All apps but touching
the place where the workspace was takes you back
to workspace

Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7426c42ce01e132781faa68941d79d23cd7fdf1e 12-Nov-2010 Michael Jurka <mikejurka@google.com> Allow dragging items off customization tray

Long press is no longer required

Change-Id: Ie122e298ab8782522b650551b8004c53b514bdd1
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e22a8e9d3eafe569fe0f4d284c77af08c6e2fe28 12-Nov-2010 Winson Chung <winsonc@google.com> Minor fixes to Launcher

- Adding checks to prevent multiple onSetAlpha's to be called (especially now that we are using display lists)
- Removing an old change to keep artificially make the last page wider
- Fixing issue where you could click on an item in the paged view while the page it was on is being faded out

Change-Id: I9b194565602b5200c0688da2caec9c3c829b3bb0
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
bbc60d8e79416e37cbede55c159bf6aaa6c171d5 12-Nov-2010 Winson Chung <winsonc@google.com> Fixing various small bugs with launcher

- Items added from customization tray add from top left now
- Fixing issue where wallpaper tab was not showing
- Workaround for the extra pixel line showing in homescreen drag icons
- Speeding up animations for tab transitions and clicking

Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
45e1d6ec0a213a444d01466c3d4f1ded5508ed63 10-Nov-2010 Winson Chung <winsonc@google.com> Modifying wallpapers customization page to look like widgets.

- Disallowing touch handling when there are no children

Change-Id: I925d6f1f862f8c7994a80c4eaacc80f8d59f6ab2
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
72e0d34fc5d86260a7bd173aed44acf8b66b1c1d 10-Nov-2010 Patrick Dubroy <dubroy@google.com> Fix 3165989: Items dragged from All Apps don't appear
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
7da1025bd7f15b04cf55c79b73e94e5e1bc959d9 29-Oct-2010 Winson Chung <winsonc@google.com> Layout and spacing changes for AllApps/Customization drawer

- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
10fefb18c4f227f6a08fc24966800e49ce743be8 01-Nov-2010 Winson Chung <winsonc@google.com> Fixing issues in Launcher

- Now ending choice mode if a selected application is removed
- Only updating apps in the customization drawer if the applications change
- Adding null check when determining scrolling in PagedView

Change-Id: I0b23d1383649626dc012bd70a5e8087885b77c17
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9cfd25f16739548111ba8fc6ba8cd83010eccef6 25-Oct-2010 Winson Chung <winsonc@google.com> Adding distance threshold to initiate paging regardless of velocity.

Change-Id: I275417ca69bcaa0b643dab7f3f552d973a194ce6
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
df4b83dd9d6380ab963c62d1f9d1312efc87cb0f 21-Oct-2010 Winson Chung <winsonc@google.com> More spacing changes for AllApps.

- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
fd177c1d10085e5e12ff7df27d956a378d1139b1 20-Oct-2010 Michael Jurka <mikejurka@google.com> Fix bug where screen would get stuck while panning

Bug: 3109113
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1adf5391a3a3d215b226adf3702019c22a99e3b1 19-Oct-2010 Michael Jurka <mikejurka@google.com> Fixing a bug where you could scroll the mini screens

Change-Id: I3638618cb5f4ec2705955fda994fd6aff42fd70f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e45440ef0eb9edcde30767b38099b093c6a0d6b0 15-Oct-2010 Adam Cohen <adamcohen@google.com> Fixing a bug with anti-aliasing during page scrolling

Change-Id: If03e8ce5880d44ed33378e53f59e0c5d39fceb61
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
564976a46ef02d665aa0e455ad7867746a0b5325 14-Oct-2010 Adam Cohen <adamcohen@google.com> Fixing bug with swiping

Change-Id: I2957aedded514d4dd2f9a9d766eede5d0801622c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b0b2e6f588367cf40a4270cca81af7d78f8e382e 13-Oct-2010 Winson Chung <winsonc@google.com> Tweaking spacing and layout of AllApps/Customize in portrait.

- Also added workaround for tab label not being initially selected
- Added fix for initial layout of PagedViews preventing side pages from having proper alpha
- Marking widget dims format string as not translatable

Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b8f0672d7c4b9836f90c1a7517a9e47fec4c7144 11-Oct-2010 Michael Jurka <mikejurka@google.com> Snap workspace back to screen on ACTION_CANCEL.

Bug: 3066123
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
21f12b52a54d2658ed14fcf7bb1ca17a198f62be 08-Oct-2010 Adam Cohen <adamcohen@google.com> -Changing page scroll click regions
-Cleaning up code for page rotations

Change-Id: I046784b108186b6627ce0df3aed57d70c303ef23
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c0e8fcae492730210b2b8b6d5bb3d65636bad245 07-Oct-2010 Michael Jurka <mikejurka@google.com> Fixing state transition bugs

- explicitly keeping track of state in Workspace
- cancelling animations before starting new ones
- adding additional state variable for workspace for in-progress transitions
- updating Scroller object if we jump to a certain location

Change-Id: I5ddf51bae543ec89b2a44ab651d7269eb4859a6d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1262e369484ce7f2565655ed80e6299232c70bd7 07-Oct-2010 Patrick Dubroy <dubroy@google.com> wip 3029324: Implement new drag feedback

- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9c4949e12c909d5e01d24386147b1c528015b31b 05-Oct-2010 Adam Cohen <adamcohen@google.com> ->Added attribute to PagedView to specify spacing between
adjacent pages
->Fixing crash on phones
Change-Id: I8ea97ce6d569c59b6d51b544dc10b0310d294b43
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
f34bab59fc0260f926aec44d044883dce1b4191f 30-Sep-2010 Adam Cohen <adamcohen@google.com> -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781

Conflicts:

src/com/android/launcher2/CellLayout.java
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0fb7db5a3771223bc86fdf0e01665e69c1309cc1 29-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing boot stall.
Revert "-Added 3D effect to home screen scrolling"

This reverts commit 9415d87eda0cf28b8df1eccde39b0ca1646be3b9.

Change-Id: Ib8d6602f5d82884eb1f6cc44c0cc71cc563a3a59
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9415d87eda0cf28b8df1eccde39b0ca1646be3b9 13-Sep-2010 Adam Cohen <adamcohen@google.com> -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e17e19c0bd78348b0452f5b00846b2a63a749d33 28-Sep-2010 Michael Jurka <mikejurka@google.com> Making "tap to add" in customization mode automatically
add to the current screen
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d0d43010c7a091b6ade407d30e490527a8d16120 27-Sep-2010 Winson Chung <winsonc@google.com> Adding tap-to-add behaviour to the customization drawer.

Change-Id: I5a0863a8df2a0b4855112eb29b40b6e7dd550db9
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
28750fba6a2d141eb9a1e566718c17236030b815 25-Sep-2010 Michael Jurka <mikejurka@google.com> fixed minor code review issues from change I0280c3be
(it was submitted early accidentally)

Change-Id: I3753366b4d5e1dc228baf02eba27a2c0d8fa42cf
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e8878e3c5ac2b426be931018493ce82bd9c90378 16-Sep-2010 Winson Chung <winsonc@google.com> Adding some wallpaper buttons on the customization tray.

Also tweaking the fading algorithm for side pages.

Change-Id: Ia7743c2b71741926ff9ae52e6965d7aefc86604e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
d19d3ca3ec22aeec48b8e555e9764b98ff8cae5f 15-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing bug with Launcher page scrolling

Change-Id: Ib9a5a77ffe40dfcde0f846558e5ef0441cb11f7f
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
e3193b93ad7bf33e2e45319084a99b9fc986622b 10-Sep-2010 Winson Chung <winsonc@google.com> Initital changes for new customization drawer/widget tab design.

Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
1ff706b8c03063740ca74868fea46fa47d71bb27 15-Sep-2010 Michael Jurka <mikejurka@google.com> fix two crashes

* fix crash where Workspace gets an ACTION_MOVE
but didn't get the ACTION_DOWN before it
* fix crash in DimmableBubbleTextView on
non-xlarge devices (buganizer bug#3001211)

Change-Id: I419b4a9fd3c95df9949f1d46746845ad2dc4b831
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
cfc629446ca86366665263dba6520a7b978b7c3e 14-Sep-2010 Michael Jurka <mikejurka@google.com> Fix bug with home screen position when switching
from portrait to landscape and v.v.
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
5f1c509d5ad1954a7e38e77db4d5f27c7345fd39 03-Sep-2010 Michael Jurka <mikejurka@google.com> supporting swipable home screens on xlarge devices

- icons and widgets on home screens can be "dimmed"
- celllayout no longer renders a dimmed version of itself, but instead its children make dimmed versions of themselves
- celllayout no longer always takes up full size of workspace, in landscape mode
neighboring screens (celllayouts) are visible
- on xlarge devices, in landscape mode side screens are "dimmed"
- moved holographic outline helper to its own file
- fixed bug where mini-screens were still able to scroll left/right

Change-Id: I9e85ab4147edfae1e7525c3d11d42be3fabf4f6d
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
430c53bc80be01996b45e55687885d6c05314645 09-Sep-2010 Patrick Dubroy <dubroy@google.com> Fix 2981705: Unable to uninstall downloaded app by dragging to trash.

- on long press, copy constructor of ApplicationInfo is called. It wasn't copying flags.
- also fix all apps choice mode so that chosen object is set when preparing CAB
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
2b9ff37edb3f5965559b3ff7d37e418b4a2917a1 08-Sep-2010 Patrick Dubroy <dubroy@google.com> When an app is chosen in All Apps, tapping a workspace screen adds it to that screen.
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
9f7aec8d4317d0407a41e12f236c962b225cb4c3 06-Sep-2010 Patrick Dubroy <dubroy@google.com> Implement selection mode for All Apps with delete and info actions.
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
c4fb9173e73c0092a089512734c0d7df13189014 03-Sep-2010 Michael Jurka <mikejurka@google.com> Fix crash when clicking "Games" or "Downloaded"
tabs in All Apps.

Change-Id: I832376368a07d65543d142790c8876e16c65067a
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
5f2aa4efeeb8b0133d891715d71553138d9f9ca7 20-Aug-2010 Winson Chung <winsonc@google.com> Adding single/multi selection mode to AllAppsPagedView (action bar disabled).

Also adding check to prevent scrolling mode from continuing on touch down.

Change-Id: I744f2c1f6bc659219145b52b15a7ea176853ec7c
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
0142d49e1378a7155bcca1fb59965d9e73016dbc 26-Aug-2010 Michael Jurka <mikejurka@google.com> Changed Workspace to inherit from PagedView

- adds support for seeing dimmed side-pages on
home
- adds workspace support for pages that are
smaller than workspace itself
- removing a lot of code duplicated between
PagedView and Workspace
- tested new Workspace on Nexus One, and perf.
was indistinguishable from old Workspace in my
tests

Change-Id: Ie33ab4e8b35ac01b22894cff66650bb0ece8dfcc
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
241c3b451d7841ba08247beea784953eca4e8582 26-Aug-2010 Winson Chung <winsonc@google.com> Adding outline cache for PagedViewIcons.

Change-Id: I258740a0323660edd73b5f40d61d509455ae195b
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
86f7753bbd6d87ce85195b0715e5548edbfdb7d1 24-Aug-2010 Winson Chung <winsonc@google.com> Preventing reloading of pages on swipe and disabling offsets for xlarge static wallpapers.

Change-Id: I4ca72164775d09706e36c38e0fac0e84254221c7
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
affd7b4d23cecb4ed74133dd8bd9a5ede099c562 21-Aug-2010 Winson Chung <winsonc@google.com> Fixing alpha issue on AllApps.

Change-Id: Ifbd81b3e8009cff963bb03bd953e498f8677cc38
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
b3347bb9f4ccf41fb7043bca66c3a565bde1083b 19-Aug-2010 Winson Chung <winsonc@google.com> Adding holographic outline for paged items (sans widgets).
Fixing possible null ptr exception in Launcher.

Change-Id: Ie625a6503299cf122e5c22852846d59e66f77414
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
6935ffd45069d1f514509e7bc403514686762148 17-Aug-2010 Winson Chung <winsonc@google.com> Adding check before setting alpha of side pages in a PagedView to prevent constant invalidations.

Change-Id: I4fbb66a851d6cbcd916212e86ed8ba85a9226b02
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
80baf5a6b3c62a62265f626d43d1167783c94131 10-Aug-2010 Winson Chung <winsonc@google.com> Adding paging for the widget/shortcut/folder customization area and fixing bugs.
Adding pages for customization drawer with initial implementation of proposed flow
layout for widgets. Fixes for keeping all apps, and widgets in sync with Launcher
Model, optimizations for reloading all apps pages when invalidating. Adding some
animations for tab transitions and feedback when long pressing to add certain items.

Change-Id: I8d51749f3a91c964bed35681f3a9192200b0d93e
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java
321e9ee68848d9e782fd557f69cc070308ffbc9c 09-Aug-2010 Winson Chung <winsonc@google.com> Creating generic Workspace/CellLayout for paged views in Launcher.

Adding SimpleWorkspace, SimpleCellLayout and an AllApps implementation of the SimpleWorkspace.
Making SimpleWorkspace support content with smaller dimensions than the workspace dimensions
itself. Temporary change to AllApps tabs styling until we get new assets for tabs in general.

Change-Id: Ibe3c56603223853d232816b6695e4ddd757857ba
/packages/apps/Launcher2/src/com/android/launcher2/PagedView.java