History log of /packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2fd020860533e18c64a93d14d11cb2d34bc9cbaf 07-Oct-2016 Tony <twickham@google.com> Use Launcher.getLauncher(Context) instead of type-casting.

Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4ff424abf91a24b2ef021e12ab4bed434f13cd40 12-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Fixing overlay scroll state not getting reset properly when
scrolling is was cancelled

Bug: 30834333
Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
6178f13e2d1f0c1a89cea74538b51993ef3439e3 12-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Moving the QSB out of the cell layout to the Drag layer

This allows better edge matching for the QSB. The QSB position
is kept synchronized with the page scroll and all-apps transition.
But its not visible in spring loaded and overview mode

Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
53fe1f26d3103ab3306c421e0ddf299764620c32 08-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Updating page indicator content description to indicate click target
for apps list

Bug: 29777235
Change-Id: Ia3dc20db7ec06455429389de5752b9bcfff15555
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7744169812e0d35531e9de258785af1f2ec9bed3 28-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Extend all apps pull up activation area to page indicator view
b/29752599

Change-Id: I3ee5efefa98defbc8f386895753946efe79708b4
Background: page indicator's background is where the caret symbol is.
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
d0a6ae7f645e6ba564aebb50316c53fa2e119459 16-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Accessibility fixes and updates

> Adding custom actions on the page indicator to go to overview mode
> Disabling custom actions on the first page
> Disabling 'move page left' on the second page

Change-Id: Ib8154f70cb3f93e663a881357c6c46c33253887f
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
74b5af35291f620d2f09f313f2e9bd9f817b9d27 09-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Fixes to all apps pull up work

b/28917826

- 2+ workspace page also slides up
- pull up touch interaction doesn't trigger only when yslop > xslop
- animation duration should be set independently when all apps button is used.
- workspace state is correctly set (drag and drop from the trays work)
- after lock screen, hotseat is positioned correctly
- Remove initial jump when sliding up
- Improved tuning on sliding
- Alpha value set differently on backbround and content of all apps

Still not fixed:
- Landscape
- Search edit text box styling
- All apps scroll bar

Change-Id: I817094b0f1ada5052ee604539459f556a99cadf1
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7c786f75d131addf849551a8cbc084c7c4ed0730 01-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Allowing the first screen to expand to the screen edge

This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
da4fe1a6244457f144e0a331cada3ada17157809 27-May-2016 Sunny Goyal <sunnygoyal@google.com> Moving the QSB to the workspace grid.

The QSB will only be resent on the first screen of the workspace
covering the full width of the first row. If will not be movable.
The first screen of the workspace will not be movable.
The searchDropTargetBar no longer contains the QSB (it can be
renamed in aseparate cl).

Refactoring all QSB related logic by moving it to a custom view
inflated only using xml.
Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c487bd34ace268dd8be5480ba884baed6096f76e 20-May-2016 Sunny Goyal <sunnygoyal@google.com> Making page indicator an abstract class and implementing some common methods.

Change-Id: I06613428c54f1f086090580db8242cf81f7fb128
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c64cfdd8fa18de45fc1646c8ef2449f39ef83022 18-May-2016 Sunny Goyal <sunnygoyal@google.com> Updating the folder page indicator to be more like the
framework page indicator (used in quick settings)

The active page is indicated with the accent color. During scroll
the active indicator expands to 2 dots corresponding to the visible pages.

Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f549dab31d0fa3e4d0cf8d6025b20e49aafb2d59 16-May-2016 Tony Wickham <twickham@google.com> Add PageIndicator interface and custom PageIndicatorLine view.

- The current PageIndicator has been renamed to PageIndicatorDots
and PageIndicatorMarker has been renamed to PageIndicatorDot.
- PageIndicatorDots and PageIndicatorLine implement PageIndicator.
- PageIndicatorLine uses scroll progress and number of pages to
draw a line of the correct size and position.
- All of these page indicator files are now in a pageindicators package.

Bug: 27227498

Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8f7ead3e94d0550beb85b83a8c1d5e78a9abd69f 08-Apr-2016 Tony Wickham <twickham@google.com> Update page when scrolling/flinging in free-scroll.

Bug: 28054048
Change-Id: Ic22e7e717c3ead52dd6fb7495c37be3837e11030
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
534058492ff7d9a8a75b0fe709bddb6c3f6dcd79 14-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Removing some deprecated callbacks

Change-Id: I3361383fe19faa64d862bbf879edb8c09937dc6f
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
9f44d7dc3ae3571b6e809185cdd1359e50af602d 07-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Revert "Updating current page when changing the frescroll mode"

This reverts commit debf81470dcb42b971d52d582d23a0d1da63d4a8.

Change-Id: Ib5b60c21be2d112c6c6e453168cb5bf01a7bd971
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
debf81470dcb42b971d52d582d23a0d1da63d4a8 07-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Updating current page when changing the frescroll mode

Bug: 28054048
Change-Id: I081db915445b60f96607d4a0c30ffc8ab476fe24
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
95cdb3a0211650e76adb451588ce89fd585b178f 18-Feb-2016 Tony Wickham <twickham@google.com> Remove scrim on highlighted spring-loaded panel.

Bug: 27135377
Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
dadb304b4682998c43b9c07bef45b9a9380f3287 24-Feb-2016 Tony Wickham <twickham@google.com> Pinch to zoom out into overview mode.

There are 3 classes coordinating the gesture: PinchToOverviewListener,
PinchThresholdManager, and PinchAnimationManager.
- PTOL listens for the pinch gesture on DragLayer.
- When a pinch is detected, the PTOL keeps track of the interpolated
progress and passes it along to both the PTM and PAM.
- The PTM uses the progress to determine whether a new threshold has
been passed, and tells the PAM to animate it if so.
- The PAM uses the progress to animate things like workspace scale
throughout the pinch.
- If the pinch ends early, the PTOL uses the last passed threshold to
determine whether to animate to workspace or overview, and tells
PAM to perform the animation at the same velocity as the pinch.

Bug: 24414635
Change-Id: I9e53706c705f8b2982409bf7c223d8d0e9618bf0
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
e670159cfe255693f829f3e2857bbd8c52731e9d 01-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Fixing homescreen getting blank when returning from the overlay" into ub-launcher3-calgary
061380a04d067d06adf41c72b4a6892827777acc 01-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Fixing scrollTo getting called even though the gesture was handled by an overlay

Change-Id: Ia46c4ef3db8a3ae4fa615625b7b983d7e461c797
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
ee68816be8e4667548ac8925a14d014f1d66d460 12-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing homescreen getting blank when returning from the overlay

Change-Id: Ie11b92cd59c90e71b9b58eeede742ef0c5b28380
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c86df470ab360a6e3f7edfd4b9cadcc5c31734f8 25-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Adding overlay interaction support

> Sending unboundX to the overlay which is the total untranslated X and not just deltaX from last frame
> Handling overlay callback and translating workspace accordingly

Change-Id: I3bd8d9efac738e9ce131758f0e5ff1b9c1d6a8fc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f9c184a619e4e4b82cf9e0bf318ca6d8deaaaee7 16-Jan-2016 Adam Cohen <adamcohen@google.com> Refactor FolderIcon to separate the preview effect into it's own class

-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4ffec48dec5da7bcf719ac0c37ee5e58f9ea2c1a 09-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Making some view properties exported.
These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
75c7c5ae287e79e8502bc9e23853ff64def8e8bf 28-Jan-2016 Sunny Goyal <sunnygoyal@google.com> resolve merge conflicts of 6362683acb to ub-launcher3-calgary.

Change-Id: Id48bf33912bf927121356a08b8501ee0070bfdc7
8bf6f311e8a6b711e576d2a48d174d508d85f714 23-Jan-2016 Sunny Goyal <sunnygoyal@google.com> Removing unnecessary new object creation in dispatchDraw

dispatchDraw was calling getVisiblePages which in turn calls
getDescendantCoordRelativeToParent and created multiple new abjects

Change-Id: I401fec076183979d30dfdbbdc02a57bd79f3886d
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
92899800b7e9bd192fc50d44015a7850e77d47d4 12-Jan-2016 Sunny Goyal <sunnygoyal@google.com> Fixing custom content screen not aligned properly in landscape
am: ecdc24f6f6

* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
Fixing custom content screen not aligned properly in landscape
ecdc24f6f667319db56a16dd7d1efda16dfe662e 12-Jan-2016 Sunny Goyal <sunnygoyal@google.com> Fixing custom content screen not aligned properly in landscape

Bug: 26413100
Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
08442b84a25a22f3f21aad89ed5a6adccaa2166d 22-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Preserving the open folder state across rotation

Bug: 24900496
Change-Id: Ie1318b82b497957b99603b11ec338dd50d51b962
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4740e6ce15f55fa374d464be7c14981c9325a74c 02-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Keeping the focus indicator on the widget view, while a child is focused" into ub-launcher3-burnaby-polish
am: 093a58cc77

* commit '093a58cc776be2a3cd5aed9d14df9c78a35af052':
Keeping the focus indicator on the widget view, while a child is focused
093a58cc776be2a3cd5aed9d14df9c78a35af052 02-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Keeping the focus indicator on the widget view, while a child is focused" into ub-launcher3-burnaby-polish
cc4c22008c287418e7701eaef12782f27f3f1e26 01-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Adding margin to Drag layer instead of checking for right insets at every place
am: 9326461652

* commit '9326461652c36c2ddd888d1452cf7f075a391868':
Adding margin to Drag layer instead of checking for right insets at every place
9326461652c36c2ddd888d1452cf7f075a391868 23-Nov-2015 Sunny Goyal <sunnygoyal@google.com> Adding margin to Drag layer instead of checking for right insets at every place

Bug: 25692432
Change-Id: I853f41a17c54b30b7772b9fd8556d9465de84752
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
0c4e37223f93fea2627e69c0b007d6c22ddf8461 01-Dec-2015 Sunny Goyal <sunnygoyal@google.com> Keeping the focus indicator on the widget view, while a child is focused

Bug: 25199581
Change-Id: Ie08d1438ae0c1b5d4fcaa4d642508c1b9db0f5d4
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
38b122076775983aa3cd8d7cbca8f8a73bebb509 03-Nov-2015 Tony Wickham <twickham@google.com> Stop clearing focus when snapping to a new workspace page.
am: 04e2c9ef56

* commit '04e2c9ef5663262fc9dd08ffc4b59fe305a017f3':
Stop clearing focus when snapping to a new workspace page.
04e2c9ef5663262fc9dd08ffc4b59fe305a017f3 31-Oct-2015 Tony Wickham <twickham@google.com> Stop clearing focus when snapping to a new workspace page.

Clearing the focus was causing the first child in the new page to
immediately take focus, which caused FocusIndicatorView jank when
using a keyboard.

Bug: 25256728
Change-Id: I5ab31ebc3fe370d7ac9e9792b30dab3467023738
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
b5772c8b4fdfb15579810040199da045acca11ea 07-Oct-2015 Sunny Goyal <sunnygoyal@google.com> am 21d89fbf: Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish

* commit '21d89fbf8c444c64a4c85d25a25bbe3b79719de9':
Fixing overscroll effect when the navigation bar is opaque
0abb36f6920733f813e22ad984bb7d48f0924698 23-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Fixing overscroll effect when the navigation bar is opaque

The navigation bar is opaque on mobile devices in landscape mode.
Launcher should ignore the right insets and draw the edge effect appropriately.
Also draw the black bar under the navigation bar, just in case we assume it
to be opaque, but it was not actually opaque.

Bug: 18526657
Change-Id: I1d49dcb82b8a5ee25009bc738cd9b8c0c5c88263
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
869306140d3bb8782040ed65d3ae0ba498c2de6c 09-Sep-2015 Tony Wickham <twickham@google.com> When placing a widget, go to a page with enough space.

The search for this page starts at the current one and
continues to the right (on LTR) until a page is found that
can accomodate the widget, taking possible resizing and
reordering into account.

Bug: 11338870
Change-Id: I2e9a310eb8f74024dca9150f55a525e1309c2f07
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
29d853c2ddf6432685a54e3966820f1a81cee183 08-Sep-2015 Tony Wickham <twickham@google.com> Make sure all overlay panels are visible as user free scrolls.

Previously there was a workaround to ensure that adjacent panels were visible
while in the overview or spring-loaded states, but it incorrectly kept only
those original pages visible even while the user scrolled to other pages. So now
we only use the workaround when first entering the overview or spring-loaded
states, and then fall back to the default getVisiblePages() implementation in
PageView when in free scoll mode.

Bug: 23766408
Change-Id: I692ec00b9cd6d7889c374aee41b85abd0a5d8d3c
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f4f89ef608245d39bbddda05f291361d2ae06667 03-Sep-2015 Sunny Goyal <sunnygoyal@google.com> Using context.getString for getting formatted strings, as it works better with different locales

Change-Id: I9639bb11197e656c5cdd3a4d63f913edcc0987cb
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
fedca43d396d6fd7c46fbb2f37dfa7cfe3b31834 20-Aug-2015 Vadim Tryshev <vadimt@google.com> Moving drag-drop related code into a separate package.

This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".

I'm not moving DragSource because it's referred from gsa code.

Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c268148f06f5c6c30deb1678e74530ef5aa85a67 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> resolved conflicts for merge of 9fc953b9 to ub-launcher3-master

Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
9fc953b94dbc6b99e6de08c9dcc80a0cb8e3e319 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Version code cleanup

> Renaming Lmp to Lollipop
> Lollipop_MR1 instead of directly using 22
> Using M APIs directly instead of reflection

Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
106bf64f4a5b4b7772c971f62b6207b5a73529a2 16-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Some cleanup around drag and drop

> Instead of resizing the rect for dragoutline in onDrow, store the resized rect itself
> Remove unnecessary inverse matrix calculation

Change-Id: If13c3c5aaecba5a1d3a4f5d39199ed82e9662c62
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5d2fc32e6da66f877dfba4fe513fbabdcdae5f99 07-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Several animation calls cleanup

> Using View property instead of strings to avoid extra reflection step
> Using ViewPropertyAnimator when several properties are being animated

Change-Id: I41625643b38b70bac11e2c81d18058ec878d73bd
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
62231b108d17768b74330b53be20a0487cd4ccd7 09-Jul-2015 Sunny Goyal <sunnygoyal@google.com> am cb037eee: Fixing overscroll not drawn in rtl

* commit 'cb037eee8ca863ad99d9cdbacd6a82759295e5a0':
Fixing overscroll not drawn in rtl
cf25b52763f3fa376aee7c4a63b5a064ca1c0e2a 09-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Removing some unused PagedView attributes

Change-Id: I1c7312b46ec95286d8e49d3dee60b1bf4d98dc20
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
cb037eee8ca863ad99d9cdbacd6a82759295e5a0 09-Jul-2015 Sunny Goyal <sunnygoyal@google.com> Fixing overscroll not drawn in rtl

> Using the currect right page index in rtl
> Updating current scroll after max scroll has been calculated. This prevens an extra overscroll when the layout happens for the first time.

Bug: 22358804
Change-Id: If07132701936e06f727211122a3b3e6f8426c07b
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5e41a27fdb661199525614ceaaa3cfd8c4a6c490 23-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Fixing paged view overscroll effect being drawn outside the screen
bounds when in transposed layout.

Change-Id: I93be6a003b7d28708697990cfae8c7be96f84676
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4d113a5ff44ff1a7f19263bde21581fbf9a54212 27-May-2015 Sunny Goyal <sunnygoyal@google.com> Using material style overscroll effect for workspace and folders

Bug: 21335369
Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5b139a5ca768a87e98bfbd547ecac5a10e1cf023 15-Jun-2015 Adam Cohen <adamcohen@google.com> Remove inifinite recursion from PagedView

-> thanks adamp@

Change-Id: I36836357f5f194ac69530475b124595174c8b636
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
b2b02b9bd2e0b0da7373125c06f6d67d9758d8fe 11-Jun-2015 Adam Cohen <adamcohen@google.com> Fix a small UI nit with screen reordering

-> When in overview mode, flinging the pages can leave the scroller
running (invisibly) for much additional time, since the scroller
fling bounds far exceed the alloawble scroll bounds (in order to
achieve a hard wall type effect)
-> When this is happening, user couldn't pick up a page for reordering
-> Ended the scroller early in this case to avoid the problem

Change-Id: I8b6f140d9a87bb742e57625e90ca7d76a2158e28
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
316490e636aad788fcfbfc2e04dd4f0e145bdd00 02-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Removing some synthetic method creation

> Make package-private and @Thunk all private methods and constructors accessed from inner classes.

Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
04a9bc4a50dd0d7438d4c3f980c82db5305c2d76 29-May-2015 Vadim Tryshev <vadimt@google.com> Merge "Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event." into ub-launcher3-burnaby
7066c1235f2531d90c44c2db279a407b44cfc263 21-May-2015 Vadim Tryshev <vadimt@google.com> Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event.

Change-Id: Idec0e333a0d3c3a0c232d3e2240f18174e0ea88c
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8b80baec0600fc1afa0806218c7eab9863907e96 28-May-2015 Vadim Tryshev <vadimt@google.com> Merge "Fixing non-scrolling of workspace view after opening/closing AllApps vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView." into ub-launcher3-burnaby
7af0d4474fe811b66db67f358ee0b5ef84b97a18 15-May-2015 Vadim Tryshev <vadimt@google.com> Fixing non-scrolling of workspace view after opening/closing AllApps vew.
The reason for non-scrolling was excluding the pages view from the
accessibility hierarchy by marking it as non-important. So, I just
removed the code manipulating [non]importance of the PagedView.

However, this would make the PagesView accessibility-focusable, which is
undesirable. It becomes focusable because it supports long clicks in "normal"
mode. Since it doesn't support accessibility long clicks (i.e. Overview mode is
fetched NOT via accessibility long-click), I just disabled accessibility
long-clickability, which made PageView non-focusable, and it started to behave
correctly.

Bug: 21281859
Change-Id: I7ab01e5f39cb37c456c961199c27458c9bda1c3d
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
1740d901ff2bbde7590588cdaae57805b24a74d8 27-May-2015 Sunny Goyal <sunnygoyal@google.com> Fixing build breakage

Change-Id: I2d8ac9a92d2da3d6b0f52ff8a6e3683b05663aec
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5a1f53b306a4fcf56aad577987386ea1b2dfe6b9 27-May-2015 Sunny Goyal <sunnygoyal@google.com> Removing SmoothPagedView as all its methods are disabled

Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
a1fbd84b791474a9e86b67caeaf27b8429afba73 20-May-2015 Sunny Goyal <sunnygoyal@google.com> Fixing unnecessary padding added to pages in overview mode

Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
bc51766dea71dc9553e2c7bdc9902202de48e024 20-May-2015 Vadim Tryshev <vadimt@google.com> Merge "Removing itemCount, fromIndex and toIndex from AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby
cd4f4138f05be3a1daab5035c59e97a1a82431ac 19-May-2015 Vadim Tryshev <vadimt@google.com> Removing itemCount, fromIndex and toIndex from
AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView.
This causes an additional reduntant voice message on scroll (see the
bug).

Also, setting these attributes violate rules set here:
http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html
i.e. that these fields should be set only for descendants of
AdapterView.

Note that we can't just stop sending TYPE_VIEW_SCROLLED, because in this
case, accessibility focus won't be set after scrolling.

Bug: 21304383
Change-Id: I84f8e064d8209c0e09d6827551e00c9913829b57
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
83a8f042adda926489494dff217c15ab696139b4 19-May-2015 Sunny Goyal <sunnygoyal@google.com> Moving LauncherAccessibilityDelegate to accessibility package

Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
a8a4546805876fe18e95917f6faa13caaa4eae2f 15-May-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Adding padding to the folder content" into ub-launcher3-burnaby
41b22c0924e258fef0d0cc86db63f7b862653df2 15-May-2015 Sunny Goyal <sunnygoyal@google.com> Overriding proper layout params methods for a custom ViewGroup

Change-Id: Ib6176a0da510eaa0992551ab4afa6f73b4763db0
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7066003b2032a49ae5e59dab9b706259bdeb7e6e 14-May-2015 Sunny Goyal <sunnygoyal@google.com> Various lint error fixes.

> Fixing some RTL errors by specifying both marginStart and marginLeft
> Moving all layout direction checks to Utilities
> Explicitely adding @TargetApi before every method

Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
22fc63ee298335b5f5c603ea1b77dc0e6180b16a 14-May-2015 Sunny Goyal <sunnygoyal@google.com> Adding padding to the folder content

Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8a496ac99e6418c6e05fc8cc6f2c72bdf7c125d5 13-May-2015 Vadim Tryshev <vadimt@google.com> Merge "Fixing accessibility scrolling events generated by PagedView:" into ub-launcher3-burnaby
f4715974b80d06993342ca62b1298e4d90e2fab8 09-May-2015 Vadim Tryshev <vadimt@google.com> Fixing accessibility scrolling events generated by PagedView:

1. Not generating scroll events from snapToPage(). It already gets
generated from computeScrollHelper().

2. Not setting action because doing so is not mentioned here:
http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html.

3. Not generating scroll event when the page stays same (before it was
generated, say, when we simply returned from the AllApps view to
Workspace).

4. From/To index is not the old and new page numbers; they are indices
of the first and last item; in our case, the item is the page, and
both FromIndex and ToIndex should be set to this page number.

Bug: 18761184
Change-Id: I3dadf816c3d45b8bd42a13930344874584467499
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
067e5e0177a4429e8833b2fd96725eb92e48ab8a 07-May-2015 Sunny Goyal <sunnygoyal@google.com> Merge "Removing some dead code in paged view" into ub-launcher3-burnaby
8e2133b2c2bde86f913d817942bafdcf6818470b 06-May-2015 Sunny Goyal <sunnygoyal@google.com> Removing some dead code in paged view

> Removing fling to delete pages
> Removing delete drop target for pages
> Removing syncpages support (was used by paged all apps)

Change-Id: I0a35ae30da8c48a27aac341bbee9fb5623665902
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
1d08f70441999c66b76c97e48b4149e1433be3c3 05-May-2015 Sunny Goyal <sunnygoyal@google.com> Accessibility: Page re-ordering in overview mode

Change-Id: I5fc0ad326a63b6768cb1fae55ee6e05a9fc2b659
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
dc61c4d41468a8beced2863de1b863b340cf49ba 21-Apr-2015 Winson Chung <winsonc@google.com> Refactoring to single path for overview mode.

Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
df41097194b0ea490513c2a4e85bd9adc54637e8 16-Apr-2015 Hyunyoung Song <hyunyoungs@google.com> Merge "Focus handling null pointer exception during monkey tests." into ub-launcher3-burnaby
3e2ff8afef31dd48f2ab8666d389f1654bca6368 16-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Updating maxscroll only after layouttranstion has finished

Bug: 20092568
Change-Id: I6ff8d9759b71b0b00ebfdaa75b558254dbeb0ef9
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
b76cd628e657fd050ccf3f4dc31b2e8bc36356e5 16-Apr-2015 Hyunyoung Song <hyunyoungs@google.com> Focus handling null pointer exception during monkey tests.

- Also fix a bug where the focus is not navigating to the next page when there
isn't an icon within +45 and -45 range of the origin.

b/20294717

Change-Id: I16dac5c6a0463fbc9f56a447abedad18abadde98
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
2f0ec85acf035c28b799e31d860b7785266ab1f3 26-Mar-2015 Sunny Goyal <sunnygoyal@google.com> Disabling overscroll when folder has only one page

Change-Id: I3cc3964dba1af8d96822e46baf2dc9cfaee824ae
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
091440a9cb9d4f42406631004aa484cbb79214ca 18-Mar-2015 Adam Cohen <adamcohen@google.com> Reducing method count by eliminating synthetic accessors

Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c2d6e897dbcb96b7b629e42002966368fbda2f95 16-Oct-2014 Adam Cohen <adamcohen@google.com> First pass of the Launcher Overlay interface / impl

-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4cbf046bf9fd1b4a40563a960a758e0a02b90538 29-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Updating content of page description frequently.

> Removing unused search icon page indicator

issue: 17256565

Change-Id: I95158cf68f98b2af847cefb4d126468b908301e2
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
69ed200530058afceedad1abe6c15da3b0c61909 28-Aug-2014 Adam Cohen <adamcohen@google.com> Fix regression which was causing requestLayout in layout pass

-> This caused funky layout issues with views not appearing
on devices prior to K in addition to log spam.

issue 17282728

Change-Id: Id05856ba2ef3de3a8a636ba9b4b46ddef3eff75e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
1e4359c54e82910e3c8bfba3d520ed27c91367b9 18-Aug-2014 Adam Cohen <adamcohen@google.com> Adding dampened snap back overscroll to Workspace and AppsCustomizePagedView

issue 15475254

Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
1d3d4f1a82800ac6b663a7defa60046d5a2151e6 15-Aug-2014 Adam Cohen <adamcohen@google.com> Get rid of pages overhang in AppsCustomizePagedView

Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
63f1ec00fbbd109130d1e476371dbc9a87bb544d 12-Aug-2014 Adam Cohen <adamcohen@google.com> Further refinement of all apps / widgets transition

Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4e243a2dad3700868035256af1882d7a4fee2385 11-Aug-2014 Adam Cohen <adamcohen@google.com> Updating the widget tray

-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL
-> (removed Context#getDrawable() calls, L-only)

Change-Id: Ia65a6eb704b35f74e7305be9334c27971b22235a
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
9bfdb76aaf5c8679b8f2ee3a9a3df2becefb947a 22-Jul-2014 Adam Cohen <adamcohen@google.com> Polishing the AllApps transition

-> separating HW layers during animation to be siblings
instead of parent-child (was destroying parent layer
on each frame)
-> Unifying material transition with pre-L, everything
is the same, just missing the reveal.

Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
6f127a614c6a3e64a5de963f3a11d68d3368cd84 12-Jun-2014 Adam Cohen <adamcohen@google.com> More defense for issue 14491953

Change-Id: I90de51c74e337d56aad891741233e6a857d89b62
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
327acfea13d924293b88c7d204fde4a25748108d 06-Jun-2014 Adam Cohen <adamcohen@google.com> Fix for regression which made issue 14491953 occur more easily

Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
309260ee593aa3f209510ae6bf137f9b75e2498b 14-Dec-2013 Adam Cohen <adamcohen@google.com> Merge "Don't notifyPageSwitchListener until page settles (issue 12069757)" into jb-ub-now-kermit
674531f26196502db825838b21b9cbf34463088c 14-Dec-2013 Adam Cohen <adamcohen@google.com> Don't notifyPageSwitchListener until page settles (issue 12069757)

-> Should address the dismiss timer not working quite right

Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
34c2e6cf7af328aba25c98158161dbad15ae986d 13-Dec-2013 Michael Jurka <mikejurka@google.com> Clean up imports
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4de0974c460ce6439cce7931fb0ba945095a4b94 13-Dec-2013 Adam Cohen <adamcohen@google.com> Fix NPE from feedback (issue 12106858)

Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
59b5c79b6ff2de83209cf1425b8924d541e97266 05-Dec-2013 Adam Cohen <adamcohen@google.com> Fix page jumping regression in overview mode (issue 12003672)

Change-Id: I4315d4e97c8df4db25e2d70be759b94a0348d644
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
cccfe95beb2de07fb3aef19e99e975e3a01cd055 25-Nov-2013 Adam Cohen <adamcohen@google.com> Merge "Allowing ability to pick up items / enter overview before full page settle" into jb-ub-now-jolly-elf
540efef758eb3bcf3bafe2241a4e3652a0e22c56 18-Nov-2013 Winson Chung <winsonc@google.com> Merge changes Ida9603e3,I3dfa45cc into jb-ub-now-jolly-elf

* changes:
Initialize FastBitmapDrawable bounds with default bitmap dimensions.
Updating LauncherModel filtering to use screen ids. (Bug 11685286)
a765215280ef9e128da3fbab37b3d51a565941e3 18-Nov-2013 Adam Cohen <adamcohen@google.com> Allowing ability to pick up items / enter overview before full page settle

-> Fixes issue 11701996
-> Fixes issue where if you tried to longpress a widget before the page
settled, it would instead enter overview

Change-Id: Ic6321805687dd5e8c69506c6cd6941a11d557ed6
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f9618856d6910ac385ad37762f9f067ae59a8622 08-Nov-2013 Adam Cohen <adamcohen@google.com> Syncing up state transition with paging transition

Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
9b9fb967b2305413520dc676d6d3c472b2b6b25e 16-Nov-2013 Winson Chung <winsonc@google.com> Updating LauncherModel filtering to use screen ids. (Bug 11685286)

- Fixes the issue with the current page not synchronously binding

Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
84a465aa0e795619b248047c5e21cd77c82b1ff1 11-Nov-2013 Adam Cohen <adamcohen@google.com> Small tweaks to custom content management

-> Never allow the custom content overhang onto the viewport when
it is not the current page
-> Never fade the custom content screen as a consequence of scrolling

Change-Id: I91a4cfb3f740ee8b429084fce1c96258bac8dd9e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4683041885e6a8338dc3111a9e3f15cc7c62611e 08-Nov-2013 Adam Cohen <adamcohen@google.com> am 2da0a053: Fix small scrolling regression

* commit '2da0a0532752fae8985e3e8a192eb5087cf78aab':
Fix small scrolling regression
2da0a0532752fae8985e3e8a192eb5087cf78aab 08-Nov-2013 Adam Cohen <adamcohen@google.com> Fix small scrolling regression

-> only cancel scrolling when necessary to avoid
unnecessary snapToDestination() calls

Change-Id: I406bef2453c88d61d25f66be67205ab8fbd69ec9
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
88416027a3740dacbd97bd2264f22ba51f5c7e21 07-Nov-2013 Winson Chung <winsonc@google.com> Merge "Fixing crash while reordering pages in OverviewMode." into jb-ub-now-jolly-elf
c82d2622bc7305fd3545fe7df97a30187283113f 06-Nov-2013 Winson Chung <winsonc@google.com> Dyanmically lay out overview mode across all orientations and form factors.

Change-Id: I788bbf289717b30b19afc9ad9d611c85715bc623
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
876a619b11bfdf583465b0cc2be67266436558b9 06-Nov-2013 Winson Chung <winsonc@google.com> Fixing crash while reordering pages in OverviewMode.

Change-Id: I67dcd71a8f15fbc737880306254c766f4dbadc58
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5c6474da600dc828805d86e50ce357bee908131b 05-Nov-2013 Adam Cohen <adamcohen@google.com> Merge "Fix problem with where PagedView could get stuck (issue 11314889)" into jb-ub-now-jetsonic
cae7f573de57a13972a6a215484356f6b4779382 04-Nov-2013 Adam Cohen <adamcohen@google.com> Fix problem with where PagedView could get stuck (issue 11314889)

-> Also a small code cleanup where something was very weird

Change-Id: I3612e1de924a83d1a91b752f3b9e1e239a8db0ea
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
e4602aeb5148ea0908d7961afd1ca89c90682cff 31-Oct-2013 Adam Cohen <adamcohen@google.com> Reporting toIndex in scroll events (issue 11356512)

Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
3b185e2513bcc3318753c21d3909d8dab2291e31 29-Oct-2013 Adam Cohen <adamcohen@google.com> Fixing up PagedView to work in landscape mode

-> separated notion of page spacing and paged view padding
-> always position the current page within the rect
created by pagedview's viewport + padding
-> space pages by a constant amount

Change-Id: I6bb35f72f04543f83b51ef981f8c9ded051623ac
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
b88ae4158d42edac85616a8db1dbda11609b9237 30-Oct-2013 Winson Chung <winsonc@google.com> Fixing crash with invalid current page.

Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8bdbaab8e67d33e3eeece0aa5b893014444c3be8 29-Oct-2013 Adam Cohen <adamcohen@google.com> Fixing regression in paging

Change-Id: I9a76448aa09aea6a86a8a97860e48113c222a205
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
4fe4c932221cc6a7e7114eff84220150f76729b9 29-Oct-2013 Adam Cohen <adamcohen@google.com> A bit of code cleanup (issue 11026590)

Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
0cd0eba42ec77a5b5598b753edd6cb71127716fa 28-Oct-2013 Adam Cohen <adamcohen@google.com> Finished getting rid of mPageSpacing

Change-Id: I5dc8255e6cc902430a91dc27ad1edec5d4308468
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8fd3adc2a3ca4c2cbf6af4917d2c3addc0a7e678 16-Oct-2013 Michael Jurka <mikejurka@google.com> Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage

Bug: 11157913
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
21cd002fef13ff0b6336f10f97e29738a2b0ecb9 10-Oct-2013 Adam Cohen <adamcohen@google.com> Fix issue where custom content would show up on boot (issue 10713745)

Change-Id: I1c03784970fe1a88e2561f1c5367979cda825973
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
564a2e7116b026c1d73829e65d47b660b03a3c72 09-Oct-2013 Adam Cohen <adamcohen@google.com> Fix custom content state for scroll in RTL (issue 11068877)

Change-Id: I731c55e3e4e01ef42eba94c002d0fde296dd9540
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
fbdf42703c02f27105e67776a022db2c080dd5db 09-Oct-2013 Adam Cohen <adamcohen@google.com> Fix inability to long press page indicators (issue 11136731)

Change-Id: I9073bc49ab1569a742b5c27870711ada1759ca36
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
d4a55216c1b461d6e7dc20ab77a24bd3a53e3119 08-Oct-2013 Alan Viverette <alanv@google.com> Merge "Fix scrolling accessibility events sent from PagedView" into jb-ub-now-indigo-rose
254139a3c74acec5fa34a73be4d159d6baabc6b1 08-Oct-2013 Alan Viverette <alanv@google.com> Fix scrolling accessibility events sent from PagedView

BUG: 11087905
Change-Id: Id4852dc04ee1aca25ccb0eba094b34c6b87d6d41
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
2824b0750e978e5a63f804a42e9eedba53e8d21d 04-Oct-2013 Vladimir Marko <vmarko@google.com> Don't measure GONE views.

Don't measure GONE views in ShortcutAndWidgetContainer and
PagedView. They will not be processed in onLayout anyway.
This is pre-requisite for avoiding costly onMeasure in GEL.

Bug: 10734110
Change-Id: I4c1bef41d9185af5eda42b43371546c60f341f87
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
53805218809cc1f93a0f1307b442df7c65a3068c 01-Oct-2013 Adam Cohen <adamcohen@google.com> First pass on accessibility

-> issue 10801717
-> issue 11012432
-> issue 11012764

Change-Id: I9a687a39a358441afd57c0c46b57399ecbf23c36
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
fe0ace3583bc57adbaaec730b1b1757032e90c41 03-Oct-2013 Michael Jurka <mikejurka@google.com> Fix RTL bugs with wallpaper parallax

Bug: 10901046

Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
40d6264a8e1a29b0f11a03fff39db1dc7f967088 02-Oct-2013 Adam Cohen <adamcohen@google.com> Merge "Fix ArrayIndexOutOfBoundsException, (issue 11038649)" into jb-ub-now-indigo-rose
1f1f45d6205400d74e15c3f6981f3b8899514bca 02-Oct-2013 Adam Cohen <adamcohen@google.com> Fix ArrayIndexOutOfBoundsException, (issue 11038649)

Change-Id: Ib7aa55b104894f12175b382fdbcfb08d95408699
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7a9e58aa17d42c1251b4eea5edf117a4e8b4a6d4 02-Oct-2013 Adam Cohen <adamcohen@google.com> Making sure overview mode can't get stuck (issue 11022017)

Change-Id: Iee2088f8781d375b0b83625023fb125a869a2868
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
97d5311e2a84a9ece018ff9593be2c0012ccb223 01-Oct-2013 Adam Cohen <adamcohen@google.com> Ensuring that snapToPage is completely aborted / cleaned up upon setCurrentPage (issue 11003904)

Change-Id: Iba851c297ab9406b094c8f0cbf6e39675d0ffa39
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
0655904abd2e67f3c4c5b9e8e57cee6f8f562076 30-Sep-2013 Adam Cohen <adamcohen@google.com> Fixing regression in reordering (issue 10994971)

Change-Id: I2be98fc892c1a4392c4a5e035dd4cc1fa6fab0a9
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
2bf63d520576baa433a53a77e4e24386e40c1cda 30-Sep-2013 Adam Cohen <adamcohen@google.com> Fixing issue where you couldn't drag an item multiple pages (issue 10754544)

-> This was caused by a strange race condition. The page snap time was equal to
the delay to recheck whether to snap (in DragController). This meant that
scrollRight()/Left() would get called, and the scroller would be finished
however, the final computeScrollHelper() hadn't been called, so the mCurrentPage
hadn't yet been incremented.
-> Fixed the underlying race condition.
-> Added suitable gap (150 ms) between the two delays.

Change-Id: If700eb9e14d77a174e4395ca6933119bdb0da768
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
780fe59a7af8b12fbdcd7f6841edaa7f2c2e019d 26-Sep-2013 Winson Chung <winsonc@google.com> Integrating some aosp fixes, ensuring that we update the install queue before returning to Launcher.

- Fixing stuck page in All Apps (Bug 9347818)
- Fixing shortcuts to uninstalled apps from being installed (Bug 10726510)
- Consolidating vibration feedback
- Ensuring that we trim names during comparison in AllApps list

Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
93c9756e7a64e782e6b78ec978d2f7a5802c277d 26-Sep-2013 Adam Cohen <adamcohen@google.com> Fixing some touch / interaction problems

-> Weird reorder/scroll mode hybrid (issue 10550801)
-> Entering overview mode when we shouldn't (issue 10855389)

Change-Id: Ic936ead8deb3a5d4e00f265d09329528a1517063
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
6a678da1d8cfc7f72ff30f3d27720352d4e466e6 24-Sep-2013 Adam Cohen <adamcohen@google.com> Fix typo

Change-Id: I5eddb365da8d974bb96115b7bd3ad9527ec0d39d
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
af9b0e51aac239457fbd038f7cb2088265054e42 24-Sep-2013 Adam Cohen <adamcohen@google.com> Getting RTL up to a reasonable state in Launcher3

-> Fixing random page jumps from one edge of page view to another (issue 10846070)
-> Fixing screen -1 overlap (issue 10861684)
-> Fixing callbacks / transition state related to Custom Content in RTL (issue 10858355)
-> Overview mode now works in RTL
-> Making visible page range code RTL-LTR independent

Change-Id: I4dcc6127a02bf6669f5a1e8e1b62b340b60a5edc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
410f3cdfb4a8c2cf82749a3e73201fb7930540ae 22-Sep-2013 Adam Cohen <adamcohen@google.com> Getting the Overview Mode to look up to spec

-> New assets, text, fonts
-> New spacing of pages (translated upwards)
-> Updated outline color to white (the ones we're drawing)

Change-Id: Ie664ac0598ae18b86ae6d54d1d6b497c13d2ee95
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7819a56217fd4e216d3675905586b275799723bb 20-Sep-2013 Winson Chung <winsonc@google.com> Tweaking page indicators to support add page icon, remembering widget picker page (Bug 10787439)

Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
dbdff6bc7b225255207a46fad8f536b55a18efac 19-Sep-2013 Adam Cohen <adamcohen@google.com> Handful of small changes / bug fixes

-> Fixed fade in of overview panel on first animation
-> Fixed long press issue in page indicator region
-> Added background scrim to overview mode
-> Fading search bar in overview mode / disabling clickability
of search bar and mic

Change-Id: Ic9bf84f7cb9ff2991c5b4e93273d9e3f65556e5c
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
1697b79a86c8244cf2758eec93e0ba299bc107d0 18-Sep-2013 Adam Cohen <adamcohen@google.com> Fixing up click / long click to enter / exit overview mode

Change-Id: I1ec7ab7f3e5c67add9ae64901e0ea377e265ed84
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f343499f9b2c01978027e810255274b714ac457d 17-Sep-2013 Adam Cohen <adamcohen@google.com> Making sure CustomContent is never visible during overview / springloaded

Change-Id: I187f7fcfbd4e24e20959c9e0cf5fd5400d006f45
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
5084cbab0eb0c06bd2778e0a48efaf392717cd10 03-Sep-2013 Adam Cohen <adamcohen@google.com> Shrink-wrapping model to spec (issue 10397399)

Change-Id: I87e32e8bd93f3b0468bc840200faed8270922a03
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
77e1f47520958edd7ec04e203db65b932537bd1c 11-Sep-2013 John Spurlock <jspurlock@google.com> Add system window inset support to DragLayer and children.

Instead of fitting system windows as before, DragLayer now
lays out under the system windows.

DragLayer will simply add the system window insets to each
child's layout margins by default. e.g. for Hotseat, Page
Indicators, QSB, Search Overlay.

Children that want to use the full viewport can declare so
by implementing a new Insettable interface. System window
insets will be passed to Insettable#setInsets(insets) and
the child can do what it wants with them.

Currently, two of DragLayer's children implement Insettable:

1) Workspace (for the -1 screen).
Full screen pages are given the entire viewport, paged
view offsets modified to end up in the right place now
that the viewport is larger (the full screen height).
Non-full screen pages like the normal icon pages simply
apply the insets to end up in the same place they did
before.
NowClientCardsView uses the full viewport, applying the
insets as padding. Will want to better take advantage
of this new real estate in a future CL.

2) All Apps (AppsCustomizeTabHost).
Applies the insets as layout margin one level down, so that
the bar area is opaque during the transition, but visually
the content lands in the same place.

(Also add db_files to .gitignore to ignore the output of the
db tool)

Bug:10687177
Bug:10652189
Change-Id: I80b25d63884d244fcf704b24dad9497ee0d8b453
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c58497ee619416c4949b16eb43486c11618b69e5 04-Sep-2013 Winson Chung <winsonc@google.com> Initial changes to restore AllApps.

- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout

Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
2702ea006084a441f085c779ff77be1128a19bad 16-Aug-2013 Adam Cohen <adamcohen@google.com> Removing custom content padding

-> Cleaned up extraneous imports

Change-Id: I3f9258a893e85f9f6a7cc1eab03d4c5a3dfba786
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f358a4bbd6ce5b6ddadfae19e6b9c6872530d627 24-Jul-2013 Adam Cohen <adamcohen@google.com> Adding overview mode for reordering, widget adding and wallpaper switching

Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
63d7870ea23502f10b74e9c91de9bd8f0bfc0507 31-Jul-2013 Winson Chung <winsonc@google.com> Merge "Verifying that new applications are added and fixing issue with new items getting wrong ids." into jb-ub-gel-agar
df11a77f291b1fd6d1f9358c0a42d0621737d15a 31-Jul-2013 Winson Chung <winsonc@google.com> Merge "Adding support for custom page indicator markers." into jb-ub-gel-agar
82dfe585143b8cc8b082e4ba42c58a66187994dd 27-Jul-2013 Winson Chung <winsonc@google.com> Adding support for custom page indicator markers.

Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c763c4e4d28c256d1368be3fc1c4526c8b9bd232 19-Jul-2013 Winson Chung <winsonc@google.com> Verifying that new applications are added and fixing issue with new items getting wrong ids.

- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes

Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
6ad0e7dcaeef394cc1c28294dde309da69233412 24-Jul-2013 Adam Cohen <adamcohen@google.com> Fix overhang of custom content area into first screen of launcher

Change-Id: I2e8cbedb644c8399be269616e617851136489da5
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
8c87cd83e09cd361c68069c84940dbaf20e9860d 24-Jul-2013 Winson Chung <winsonc@google.com> Fixing issue where the page was reset to 0 on rotation.

- We needed to defer setting the restore page until the first onLayout

Change-Id: I6b7b4c0a6401ab6ab2caaea0dac0a7261ff831e8
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
9c0565fe9385f92b7b2608d6506e4e5a7c500c2d 19-Jul-2013 Winson Chung <winsonc@google.com> Fixing regression causing PagedView not to load subsequent widget pages.

Change-Id: I1da1bd0ec5e4b964dd43cdba98d36ef30655a4a3
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
c9ca2980983ab21fc8631c7a65399d6d9c70f39c 19-Jul-2013 Winson Chung <winsonc@google.com> Fixing performance issues with drawing all visible pages.

Change-Id: I17736c1e6afa1f4a961c136fe82bf1d632cbe6cc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
edb4076e59861d0c343e7245f247e2bee6d48159 19-Jul-2013 Adam Cohen <adamcohen@google.com> More PagedView cleanup

-> Custom content screen is now full screen (with some padding inserted for now)
-> Hiding the hotseat and page indicators when scrolling to the
custom content screen
-> Adding background scrim fade in to custom content space.

Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
f698c6ebda06997aae998e262ab1714c625ff3b1 18-Jul-2013 Adam Cohen <adamcohen@google.com> Simplifying some more stuff related to PagedView

Change-Id: I25d41697f4514825664a05e78df1e24fc81c492a
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
181c3dc5829a6da646f193acedf6ff4e447321bb 18-Jul-2013 Winson Chung <winsonc@google.com> Fixing regression due to removal of updateCurrentPageScroll() call in previous commit.

Change-Id: Ibf43b1f671c3348e6023e79b094d0beb2dc7637d
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
02b3a8ca1f9dac40677dcdee2fc88307b99cc15d 17-Jul-2013 Adam Cohen <adamcohen@google.com> Merge "Adding notion of fullscreen page to PagedView" into jb-ub-gel-agar
d2be381d36485059d0108ae89cfe57a30a7a8499 16-Jul-2013 Winson Chung <winsonc@google.com> Removing old scroll indicator and adding page indicator dots.

Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
96d30a165185dc59617e181314f4d22634e22952 17-Jul-2013 Adam Cohen <adamcohen@google.com> Adding notion of fullscreen page to PagedView

-> This will be used for appending custom content to the left of the workspace
-> Stripped out a bunch of dead code related to notion of layout scale in PagedView

Change-Id: If4dbe28431cb5fb60dc170f6ee6e55a649dac45e
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
accfd5648ccb3a3248b422a8c1971b7de8d3207b 12-Jul-2013 Adam Cohen <adamcohen@google.com> Fix weird page jumps after dropping items

Change-Id: I9f5063d2a9db9e2f2a5c2fd183b45884da11dacc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
dedbd962dcfaf055a6835abf5b0000ce1564e51e 11-Jul-2013 Adam Cohen <adamcohen@google.com> Enabling reordering

-> Reordering is enabled and persists
-> Fixed persistence issue when adding items to empty screen

Change-Id: I7c797b2c81a2988c95d8d9383be46d6ef0b7532d
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
34a3340cfb462f2b62d4b5e8afb2707eb0d5fc5b 11-Jul-2013 Adam Cohen <adamcohen@google.com> Merge "Ensuring that the db reflects all package added/removed/updated broadcasts." into jb-ub-gel-agar
64359a53dc827797917a8d9a0697a91996789801 09-Jul-2013 Winson Chung <winsonc@google.com> Ensuring that the db reflects all package added/removed/updated broadcasts.

- Also ensuring that newly added pages are added before the empty page

Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
0ffac433c1b2a6a5e1570254494f0eb9f5aa2a3b 10-Jul-2013 Adam Cohen <adamcohen@google.com> RTL for PagedView

Change-Id: If9fcada57880798ea2eb2b6defe51027fdc94b82
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
7d30a37007bac318db1c9af47a9af12d348042a5 02-Jul-2013 Adam Cohen <adamcohen@google.com> Porting PagedView from KG to gain simplified scaling model, reordering

-> We are no longer scaling individual Celllayouts, instead we are scaling
the entire Workspace (and the CellLayouts come along for the ride)
-> Due to the above change, many assumptions were broken. In particular,
our drag and drop / animation archiecture is fairly fragile due to the
frequent and complex mapping of points between different bits of the
hierarchy. This CL contains a number of fixes which address such
breakages.

Change-Id: I2e630eab17528729b764b61f587858f6499fd318
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
dcd297f05a866e07090d6e2af8fb4b15f28cb555 18-Jun-2013 Adam Cohen <adamcohen@google.com> Initial implementation of Shrink-wrap

Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
e61a9a2cd4af5d1f345c6396d3013fea0aa1c767 12-Jun-2013 Adam Cohen <adamcohen@google.com> Fix issue with setting the current page immediately after a page is added

Change-Id: Ia9ddc42896b47b10bb98ed6bd6cece1b033207c1
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/PagedView.java