summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* First pass of the Launcher Overlay interface / implAdam Cohen2015-09-271-0/+21
| | | | | | | -> Added simple reference launcher extension -> Make launcher able to handle a null qsb Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
* Reset default view camera distanceRichard MacGregor2015-08-311-10/+22
| | | | | | | | | | Several transition effects modify the views camera distance. Reset to the default camera distance so all transitions are consistent after switching between transitions (ie - Cylinder-in -> Flip -> Cylinder-in) Change-Id: Iee69feb5c954d1522d391e14c30ffa833666f90a Ticket: OPO-27
* Transition Effects: stack transition effectRaj Yengisetty2015-07-091-1/+1
| | | | | | | | | | | | - Only set shortcuts and widgets alpha if in Workspace Repro: - Set "Stack" transition effect for App Drawer (paged) - Open App Drawer and swipe through all pages - Change transition effect to "None" - Observe some pages are blank Change-Id: I3e358f7a589edeb8219627fed38a4e107b447b93
* Trebuchet: fix NPE during touch eventsRaj Yengisetty2015-05-271-1/+2
| | | | | | | | | | | E/AndroidRuntime( 693): FATAL EXCEPTION: main E/AndroidRuntime( 693): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getMeasuredWidth()' on a null object reference E/AndroidRuntime( 693): at com.android.launcher3.PagedView.onTouchEvent (PagedView.java:1986) Change-Id: Ica9395a1e2b2d28a1b074b40ff759eab68154ff0
* Fix CustomContent display issue.Matt Garnes2015-04-271-1/+1
| | | | | | | | | | During certain transition animations, the X offset value is computed, taking into account the translation value set by the transition effect. Preserved the right behavior by using child.getLeft() to compute the value, without including the X translation. Change-Id: I25acf6e4bae1db9a2c12525125a4994e16c40dfe (cherry picked from commit 5d2f7ac2757bb2454a558d14760e4c26129d494d)
* Fix layout issues in TrebuchetRaj Yengisetty2014-11-191-23/+10
| | | | Change-Id: I834209656b440e90af437ae127070456586d8bd4
* Fix bug: Scroll Effect issues in WorkspaceRaj Yengisetty2014-11-191-4/+3
| | | | | | | | | | Repro: - Set HomeScreen Scroll Effect to Flip or Stack - Create at least 3 pages in HomeScreen - Switch rapidly back and forth between pages - Observe certain pages will be transparent Change-Id: I405a113fb947b193706d10921c2cf6ee7bb82b4f
* Cleaning up references to mDragView after reordering WorkspacesRaj Yengisetty2014-11-191-0/+1
| | | | Change-Id: I480142b4714034c5579232a6a0d30f3aecb687ac
* PagedView: Transition EffectsNebojsa Cvetkovic2014-11-191-12/+414
| | | | | | | | | | | | | | | | Conflicts: res/layout/overview_panel.xml res/values/cm_arrays.xml res/values/cm_strings.xml res/values/dimens.xml res/values/preferences_defaults.xml src/com/android/launcher3/AppsCustomizePagedView.java src/com/android/launcher3/Launcher.java src/com/android/launcher3/PagedView.java src/com/android/launcher3/Workspace.java src/com/android/launcher3/settings/SettingsProvider.java Change-Id: Ib134705952877165c334181548d577b3dceece68
* Trebuchet Settings UI Refresh.Raj Yengisetty2014-11-191-1/+4
| | | | | | | | | | | | | | | | | | - Overview Panel contains all Launcher Settings - Accessible through long press on Workspace or HW Menu button - Settings are held in a SlidingPanel in the Overview Panel - Replace the Settings shortcut in Overview Panel with Themes shortcut - Replace widgets icon with new widgets icon from Launcher3 - Trebuchet Settings changes no longer require restarting Process - Transition Effects have PNG Sequence to show animation sequence - Remove PageIndicator click event to open Overview Panel in AppTray Contributors: Adrian Foulk - UX Lead Abishek Devkota - Project Manager Hayden Schoen - UX Designer Change-Id: I2186213960cf12e840e814757894fe104551856b
* 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)
| * Updating LauncherModel filtering to use screen ids. (Bug 11685286)Winson Chung2013-11-151-0/+3
| | | | | | | | | | | | - Fixes the issue with the current page not synchronously binding Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
* | Syncing up state transition with paging transitionAdam Cohen2013-11-181-21/+37
|/ | | | Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
* Small tweaks to custom content managementAdam Cohen2013-11-111-1/+19
| | | | | | | | -> 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
* am 2da0a053: Fix small scrolling regressionAdam Cohen2013-11-081-2/+5
|\ | | | | | | | | * commit '2da0a0532752fae8985e3e8a192eb5087cf78aab': Fix small scrolling regression
| * Fix small scrolling regressionAdam Cohen2013-11-081-2/+5
| | | | | | | | | | | | | | -> only cancel scrolling when necessary to avoid unnecessary snapToDestination() calls Change-Id: I406bef2453c88d61d25f66be67205ab8fbd69ec9
* | Merge "Fixing crash while reordering pages in OverviewMode." into ↵Winson Chung2013-11-071-1/+3
|\ \ | | | | | | | | | jb-ub-now-jolly-elf
| * | Fixing crash while reordering pages in OverviewMode.Winson Chung2013-11-071-1/+3
| |/ | | | | Change-Id: I67dcd71a8f15fbc737880306254c766f4dbadc58
* / Dyanmically lay out overview mode across all orientations and form factors.Winson Chung2013-11-071-3/+3
|/ | | Change-Id: I788bbf289717b30b19afc9ad9d611c85715bc623
* Merge "Fix problem with where PagedView could get stuck (issue 11314889)" ↵Adam Cohen2013-11-051-9/+17
|\ | | | | | | into jb-ub-now-jetsonic
| * Fix problem with where PagedView could get stuck (issue 11314889)Adam Cohen2013-11-041-9/+17
| | | | | | | | | | | | -> Also a small code cleanup where something was very weird Change-Id: I3612e1de924a83d1a91b752f3b9e1e239a8db0ea
* | Reporting toIndex in scroll events (issue 11356512)Adam Cohen2013-10-311-0/+1
| | | | | | | | Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
* | Fixing up PagedView to work in landscape modeAdam Cohen2013-10-311-39/+49
|/ | | | | | | | | -> 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
* Fixing crash with invalid current page.Winson Chung2013-10-291-1/+1
| | | | Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
* Fixing regression in pagingAdam Cohen2013-10-291-6/+8
| | | | Change-Id: I9a76448aa09aea6a86a8a97860e48113c222a205
* A bit of code cleanup (issue 11026590)Adam Cohen2013-10-281-19/+24
| | | | Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
* Finished getting rid of mPageSpacingAdam Cohen2013-10-281-35/+9
| | | | Change-Id: I5dc8255e6cc902430a91dc27ad1edec5d4308468
* Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPageMichael Jurka2013-10-161-7/+1
| | | Bug: 11157913
* Fix issue where custom content would show up on boot (issue 10713745)Adam Cohen2013-10-101-4/+5
| | | | Change-Id: I1c03784970fe1a88e2561f1c5367979cda825973
* Fix custom content state for scroll in RTL (issue 11068877)Adam Cohen2013-10-091-0/+13
| | | | Change-Id: I731c55e3e4e01ef42eba94c002d0fde296dd9540
* Fix inability to long press page indicators (issue 11136731)Adam Cohen2013-10-091-1/+5
| | | | Change-Id: I9073bc49ab1569a742b5c27870711ada1759ca36
* Merge "Fix scrolling accessibility events sent from PagedView" into ↵Alan Viverette2013-10-081-2/+9
|\ | | | | | | jb-ub-now-indigo-rose
| * Fix scrolling accessibility events sent from PagedViewAlan Viverette2013-10-081-2/+9
| | | | | | | | | | BUG: 11087905 Change-Id: Id4852dc04ee1aca25ccb0eba094b34c6b87d6d41
* | Don't measure GONE views.Vladimir Marko2013-10-071-44/+46
|/ | | | | | | | | 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