summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/PagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* First pass on accessibilityAdam Cohen2013-10-041-12/+43
| | | | | | | | -> issue 10801717 -> issue 11012432 -> issue 11012764 Change-Id: I9a687a39a358441afd57c0c46b57399ecbf23c36
* Fix RTL bugs with wallpaper parallaxMichael Jurka2013-10-031-1/+7
| | | | | Bug: 10901046 Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
* Merge "Fix ArrayIndexOutOfBoundsException, (issue 11038649)" into ↵Adam Cohen2013-10-021-2/+2
|\ | | | | | | jb-ub-now-indigo-rose
| * Fix ArrayIndexOutOfBoundsException, (issue 11038649)Adam Cohen2013-10-021-2/+2
| | | | | | | | Change-Id: Ib7aa55b104894f12175b382fdbcfb08d95408699
* | Making sure overview mode can't get stuck (issue 11022017)Adam Cohen2013-10-011-10/+15
|/ | | | Change-Id: Iee2088f8781d375b0b83625023fb125a869a2868
* Ensuring that snapToPage is completely aborted / cleaned up upon ↵Adam Cohen2013-10-011-0/+3
| | | | | | setCurrentPage (issue 11003904) Change-Id: Iba851c297ab9406b094c8f0cbf6e39675d0ffa39
* Fixing regression in reordering (issue 10994971)Adam Cohen2013-09-291-6/+5
| | | | Change-Id: I2be98fc892c1a4392c4a5e035dd4cc1fa6fab0a9
* Fixing issue where you couldn't drag an item multiple pages (issue 10754544)Adam Cohen2013-09-291-10/+2
| | | | | | | | | | | | -> 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
* Integrating some aosp fixes, ensuring that we update the install queue ↵Winson Chung2013-09-261-0/+6
| | | | | | | | | | | 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
* Fixing some touch / interaction problemsAdam Cohen2013-09-261-2/+5
| | | | | | | -> Weird reorder/scroll mode hybrid (issue 10550801) -> Entering overview mode when we shouldn't (issue 10855389) Change-Id: Ic936ead8deb3a5d4e00f265d09329528a1517063
* Fix typoAdam Cohen2013-09-241-1/+1
| | | | Change-Id: I5eddb365da8d974bb96115b7bd3ad9527ec0d39d
* Getting RTL up to a reasonable state in Launcher3Adam Cohen2013-09-241-23/+36
| | | | | | | | | | -> 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
* Getting the Overview Mode to look up to specAdam Cohen2013-09-221-0/+7
| | | | | | | | -> New assets, text, fonts -> New spacing of pages (translated upwards) -> Updated outline color to white (the ones we're drawing) Change-Id: Ie664ac0598ae18b86ae6d54d1d6b497c13d2ee95
* Tweaking page indicators to support add page icon, remembering widget picker ↵Winson Chung2013-09-191-4/+6
| | | | | | page (Bug 10787439) Change-Id: Iab0b5676aa9c34a610b4b968940abc81c913c234
* Handful of small changes / bug fixesAdam Cohen2013-09-181-2/+13
| | | | | | | | | | -> 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
* Fixing up click / long click to enter / exit overview modeAdam Cohen2013-09-171-2/+6
| | | | Change-Id: I1ec7ab7f3e5c67add9ae64901e0ea377e265ed84
* Making sure CustomContent is never visible during overview / springloadedAdam Cohen2013-09-161-13/+1
| | | | Change-Id: I187f7fcfbd4e24e20959c9e0cf5fd5400d006f45
* Shrink-wrapping model to spec (issue 10397399)Adam Cohen2013-09-131-1/+1
| | | | Change-Id: I87e32e8bd93f3b0468bc840200faed8270922a03
* Add system window inset support to DragLayer and children.John Spurlock2013-09-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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