summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* Version code cleanupSunny Goyal2015-08-171-1/+1
| | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* Fixing overscroll not drawn in rtlSunny Goyal2015-07-081-6/+6
| | | | | | | | > 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
* Fixing paged view overscroll effect being drawn outside the screenSunny Goyal2015-06-221-2/+1
| | | | | | bounds when in transposed layout. Change-Id: I93be6a003b7d28708697990cfae8c7be96f84676
* Using material style overscroll effect for workspace and foldersSunny Goyal2015-06-191-132/+80
| | | | | Bug: 21335369 Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
* Remove inifinite recursion from PagedViewAdam Cohen2015-06-151-1/+1
| | | | | | -> thanks adamp@ Change-Id: I36836357f5f194ac69530475b124595174c8b636
* Fix a small UI nit with screen reorderingAdam Cohen2015-06-101-0/+7
| | | | | | | | | | | -> 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
* Removing some synthetic method creationSunny Goyal2015-06-021-4/+5
| | | | | | > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
* Merge "Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED ↵Vadim Tryshev2015-05-281-1/+6
|\ | | | | | | event." into ub-launcher3-burnaby
| * Setting scroll X, Y and related attributes for TYPE_VIEW_SCROLLED event.Vadim Tryshev2015-05-281-1/+6
| | | | | | | | Change-Id: Idec0e333a0d3c3a0c232d3e2240f18174e0ea88c
* | Merge "Fixing non-scrolling of workspace view after opening/closing AllApps ↵Vadim Tryshev2015-05-281-1/+10
|\ \ | | | | | | | | | 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
| * | Fixing non-scrolling of workspace view after opening/closing AllApps vew.Vadim Tryshev2015-05-281-1/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fixing build breakageSunny Goyal2015-05-271-1/+1
| | | | | | | | Change-Id: I2d8ac9a92d2da3d6b0f52ff8a6e3683b05663aec
* | Removing SmoothPagedView as all its methods are disabledSunny Goyal2015-05-271-31/+11
|/ | | | Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
* Fixing unnecessary padding added to pages in overview modeSunny Goyal2015-05-201-2/+5
| | | | Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac
* Merge "Removing itemCount, fromIndex and toIndex from ↵Vadim Tryshev2015-05-201-3/+0
|\ | | | | | | AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby
| * Removing itemCount, fromIndex and toIndex fromVadim Tryshev2015-05-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Moving LauncherAccessibilityDelegate to accessibility packageSunny Goyal2015-05-191-2/+2
| | | | | | | | Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
* | Merge "Adding padding to the folder content" into ub-launcher3-burnabySunny Goyal2015-05-151-1/+2
|\ \
| * | Adding padding to the folder contentSunny Goyal2015-05-131-1/+2
| |/ | | | | | | Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
* | Overriding proper layout params methods for a custom ViewGroupSunny Goyal2015-05-141-0/+20
| | | | | | | | Change-Id: Ib6176a0da510eaa0992551ab4afa6f73b4763db0
* | Various lint error fixes.Sunny Goyal2015-05-141-27/+18
|/ | | | | | | | > 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
* Merge "Fixing accessibility scrolling events generated by PagedView:" into ↵Vadim Tryshev2015-05-131-16/+8
|\ | | | | | | ub-launcher3-burnaby
| * Fixing accessibility scrolling events generated by PagedView:Vadim Tryshev2015-05-111-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Removing some dead code in paged view" into ub-launcher3-burnabySunny Goyal2015-05-071-614/+67
|\ \ | |/ |/|
| * Removing some dead code in paged viewSunny Goyal2015-05-061-614/+67
| | | | | | | | | | | | | | | | > Removing fling to delete pages > Removing delete drop target for pages > Removing syncpages support (was used by paged all apps) Change-Id: I0a35ae30da8c48a27aac341bbee9fb5623665902
* | Accessibility: Page re-ordering in overview modeSunny Goyal2015-05-061-3/+3
|/ | | | Change-Id: I5fc0ad326a63b6768cb1fae55ee6e05a9fc2b659
* Refactoring to single path for overview mode.Winson Chung2015-04-211-2/+2
| | | Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
* Merge "Focus handling null pointer exception during monkey tests." into ↵Hyunyoung Song2015-04-161-2/+3
|\ | | | | | | ub-launcher3-burnaby
| * Focus handling null pointer exception during monkey tests.Hyunyoung Song2015-04-161-2/+3
| | | | | | | | | | | | | | | | | | - 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
* | Updating maxscroll only after layouttranstion has finishedSunny Goyal2015-04-161-9/+37
|/ | | | | Bug: 20092568 Change-Id: I6ff8d9759b71b0b00ebfdaa75b558254dbeb0ef9
* Disabling overscroll when folder has only one pageSunny Goyal2015-03-261-1/+1
| | | | Change-Id: I3cc3964dba1af8d96822e46baf2dc9cfaee824ae
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-9/+11
| | | | | | | | | | | 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
* First pass of the Launcher Overlay interface / implAdam Cohen2014-10-221-0/+21
| | | | | | | -> Added simple reference launcher extension -> Make launcher able to handle a null qsb Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
* Updating content of page description frequently.Sunny Goyal2014-08-281-2/+5
| | | | | | | | > Removing unused search icon page indicator issue: 17256565 Change-Id: I95158cf68f98b2af847cefb4d126468b908301e2
* Fix regression which was causing requestLayout in layout passAdam Cohen2014-08-281-2/+0
| | | | | | | | | -> This caused funky layout issues with views not appearing on devices prior to K in addition to log spam. issue 17282728 Change-Id: Id05856ba2ef3de3a8a636ba9b4b46ddef3eff75e
* Adding dampened snap back overscroll to Workspace and AppsCustomizePagedViewAdam Cohen2014-08-181-20/+24
| | | | | | issue 15475254 Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47
* Get rid of pages overhang in AppsCustomizePagedViewAdam Cohen2014-08-141-0/+20
| | | | Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074
* Further refinement of all apps / widgets transitionAdam Cohen2014-08-131-1/+1
| | | | Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
* Updating the widget trayAdam Cohen2014-08-111-13/+0
| | | | | | | | -> 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
* Polishing the AllApps transitionAdam Cohen2014-08-101-1/+2
| | | | | | | | | | -> 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
* More defense for issue 14491953Adam Cohen2014-06-121-11/+26
| | | | Change-Id: I90de51c74e337d56aad891741233e6a857d89b62
* Fix for regression which made issue 14491953 occur more easilyAdam Cohen2014-06-061-1/+1
| | | | Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
* Merge "Don't notifyPageSwitchListener until page settles (issue 12069757)" ↵Adam Cohen2013-12-131-2/+15
|\ | | | | | | into jb-ub-now-kermit
| * Don't notifyPageSwitchListener until page settles (issue 12069757)Adam Cohen2013-12-131-2/+15
| | | | | | | | | | | | -> Should address the dismiss timer not working quite right Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
* | Clean up importsMichael Jurka2013-12-131-2/+0
|/
* Fix NPE from feedback (issue 12106858)Adam Cohen2013-12-121-13/+13
| | | | Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
* Fix page jumping regression in overview mode (issue 12003672)Adam Cohen2013-12-041-1/+1
| | | | Change-Id: I4315d4e97c8df4db25e2d70be759b94a0348d644
* Merge "Allowing ability to pick up items / enter overview before full page ↵Adam Cohen2013-11-251-8/+3
|\ | | | | | | settle" into jb-ub-now-jolly-elf
| * Allowing ability to pick up items / enter overview before full page settleAdam Cohen2013-11-181-8/+3
| | | | | | | | | | | | | | | | -> 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
* | Merge changes Ida9603e3,I3dfa45cc into jb-ub-now-jolly-elfWinson Chung2013-11-181-0/+3
|\ \ | |/ |/| | | | | | | * changes: Initialize FastBitmapDrawable bounds with default bitmap dimensions. Updating LauncherModel filtering to use screen ids. (Bug 11685286)