Commit Graph

89 Commits

Author SHA1 Message Date
Sunny Goyal 3e2ff8afef Updating maxscroll only after layouttranstion has finished
Bug: 20092568
Change-Id: I6ff8d9759b71b0b00ebfdaa75b558254dbeb0ef9
2015-04-16 14:50:22 -07:00
Sunny Goyal 2f0ec85acf Disabling overscroll when folder has only one page
Change-Id: I3cc3964dba1af8d96822e46baf2dc9cfaee824ae
2015-03-26 13:38:27 -07:00
Adam Cohen 091440a9cb 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
2015-03-20 11:15:54 -07:00
Adam Cohen c2d6e897db First pass of the Launcher Overlay interface / impl
-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
2014-10-22 17:40:39 -07:00
Sunny Goyal 4cbf046bf9 Updating content of page description frequently.
> Removing unused search icon page indicator

issue: 17256565

Change-Id: I95158cf68f98b2af847cefb4d126468b908301e2
2014-08-28 16:21:22 -07:00
Adam Cohen 69ed200530 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
2014-08-28 10:10:13 -07:00
Adam Cohen 1e4359c54e Adding dampened snap back overscroll to Workspace and AppsCustomizePagedView
issue 15475254

Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47
2014-08-18 13:45:36 -07:00
Adam Cohen 1d3d4f1a82 Get rid of pages overhang in AppsCustomizePagedView
Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074
2014-08-14 19:15:30 -07:00
Adam Cohen 63f1ec00fb Further refinement of all apps / widgets transition
Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
2014-08-13 21:39:48 +00:00
Adam Cohen 4e243a2dad 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
2014-08-11 15:40:37 +00:00
Adam Cohen 9bfdb76aaf 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
2014-08-10 18:29:36 -07:00
Adam Cohen 6f127a614c More defense for issue 14491953
Change-Id: I90de51c74e337d56aad891741233e6a857d89b62
2014-06-12 17:08:27 -07:00
Adam Cohen 327acfea13 Fix for regression which made issue 14491953 occur more easily
Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
2014-06-06 14:28:10 -07:00
Adam Cohen 309260ee59 Merge "Don't notifyPageSwitchListener until page settles (issue 12069757)" into jb-ub-now-kermit 2013-12-13 23:59:53 +00:00
Adam Cohen 674531f261 Don't notifyPageSwitchListener until page settles (issue 12069757)
-> Should address the dismiss timer not working quite right

Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
2013-12-13 15:59:01 -08:00
Michael Jurka 34c2e6cf7a Clean up imports 2013-12-13 16:20:53 +01:00
Adam Cohen 4de0974c46 Fix NPE from feedback (issue 12106858)
Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
2013-12-12 16:16:55 -08:00
Adam Cohen 59b5c79b6f Fix page jumping regression in overview mode (issue 12003672)
Change-Id: I4315d4e97c8df4db25e2d70be759b94a0348d644
2013-12-04 16:12:19 -08:00
Adam Cohen cccfe95beb Merge "Allowing ability to pick up items / enter overview before full page settle" into jb-ub-now-jolly-elf 2013-11-25 18:46:23 +00:00
Winson Chung 540efef758 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)
2013-11-18 22:12:11 +00:00
Adam Cohen a765215280 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
2013-11-18 20:08:11 +00:00
Adam Cohen f9618856d6 Syncing up state transition with paging transition
Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
2013-11-18 15:21:29 +00:00
Winson Chung 9b9fb967b2 Updating LauncherModel filtering to use screen ids. (Bug 11685286)
- Fixes the issue with the current page not synchronously binding

Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
2013-11-15 15:46:27 -08:00
Adam Cohen 84a465aa0e 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
2013-11-11 18:50:56 +00:00
Adam Cohen 4683041885 am 2da0a053: Fix small scrolling regression
* commit '2da0a0532752fae8985e3e8a192eb5087cf78aab':
  Fix small scrolling regression
2013-11-08 07:29:13 -08:00
Adam Cohen 2da0a05327 Fix small scrolling regression
-> only cancel scrolling when necessary to avoid
   unnecessary snapToDestination() calls

Change-Id: I406bef2453c88d61d25f66be67205ab8fbd69ec9
2013-11-08 06:30:18 -08:00
Winson Chung 88416027a3 Merge "Fixing crash while reordering pages in OverviewMode." into jb-ub-now-jolly-elf 2013-11-07 18:51:57 +00:00
Winson Chung c82d2622bc Dyanmically lay out overview mode across all orientations and form factors.
Change-Id: I788bbf289717b30b19afc9ad9d611c85715bc623
2013-11-07 18:50:37 +00:00
Winson Chung 876a619b11 Fixing crash while reordering pages in OverviewMode.
Change-Id: I67dcd71a8f15fbc737880306254c766f4dbadc58
2013-11-07 18:50:29 +00:00
Adam Cohen 5c6474da60 Merge "Fix problem with where PagedView could get stuck (issue 11314889)" into jb-ub-now-jetsonic 2013-11-05 00:40:20 +00:00
Adam Cohen cae7f573de Fix problem with where PagedView could get stuck (issue 11314889)
-> Also a small code cleanup where something was very weird

Change-Id: I3612e1de924a83d1a91b752f3b9e1e239a8db0ea
2013-11-04 14:46:43 -08:00
Adam Cohen e4602aeb51 Reporting toIndex in scroll events (issue 11356512)
Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
2013-10-31 15:49:01 -07:00
Adam Cohen 3b185e2513 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
2013-10-31 14:34:19 -07:00
Winson Chung b88ae4158d Fixing crash with invalid current page.
Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
2013-10-29 17:21:56 -07:00
Adam Cohen 8bdbaab8e6 Fixing regression in paging
Change-Id: I9a76448aa09aea6a86a8a97860e48113c222a205
2013-10-29 15:25:12 -07:00
Adam Cohen 4fe4c93222 A bit of code cleanup (issue 11026590)
Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
2013-10-28 16:21:21 -07:00
Adam Cohen 0cd0eba42e Finished getting rid of mPageSpacing
Change-Id: I5dc8255e6cc902430a91dc27ad1edec5d4308468
2013-10-28 14:22:41 -07:00
Michael Jurka 8fd3adc2a3 Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPage
Bug: 11157913
2013-10-16 13:50:31 -07:00
Adam Cohen 21cd002fef Fix issue where custom content would show up on boot (issue 10713745)
Change-Id: I1c03784970fe1a88e2561f1c5367979cda825973
2013-10-10 12:51:44 -07:00
Adam Cohen 564a2e7116 Fix custom content state for scroll in RTL (issue 11068877)
Change-Id: I731c55e3e4e01ef42eba94c002d0fde296dd9540
2013-10-09 14:48:01 -07:00
Adam Cohen fbdf42703c Fix inability to long press page indicators (issue 11136731)
Change-Id: I9073bc49ab1569a742b5c27870711ada1759ca36
2013-10-09 13:02:43 -07:00
Alan Viverette d4a55216c1 Merge "Fix scrolling accessibility events sent from PagedView" into jb-ub-now-indigo-rose 2013-10-08 21:31:12 +00:00
Alan Viverette 254139a3c7 Fix scrolling accessibility events sent from PagedView
BUG: 11087905
Change-Id: Id4852dc04ee1aca25ccb0eba094b34c6b87d6d41
2013-10-08 13:13:46 -07:00
Vladimir Marko 2824b0750e 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
2013-10-07 15:06:20 +01:00
Adam Cohen 5380521880 First pass on accessibility
-> issue 10801717
-> issue 11012432
-> issue 11012764

Change-Id: I9a687a39a358441afd57c0c46b57399ecbf23c36
2013-10-04 16:31:09 -07:00
Michael Jurka fe0ace3583 Fix RTL bugs with wallpaper parallax
Bug: 10901046

Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
2013-10-03 16:19:06 -07:00
Adam Cohen 40d6264a8e Merge "Fix ArrayIndexOutOfBoundsException, (issue 11038649)" into jb-ub-now-indigo-rose 2013-10-02 16:47:23 +00:00
Adam Cohen 1f1f45d620 Fix ArrayIndexOutOfBoundsException, (issue 11038649)
Change-Id: Ib7aa55b104894f12175b382fdbcfb08d95408699
2013-10-02 09:44:13 -07:00
Adam Cohen 7a9e58aa17 Making sure overview mode can't get stuck (issue 11022017)
Change-Id: Iee2088f8781d375b0b83625023fb125a869a2868
2013-10-01 18:05:53 -07:00
Adam Cohen 97d5311e2a Ensuring that snapToPage is completely aborted / cleaned up upon setCurrentPage (issue 11003904)
Change-Id: Iba851c297ab9406b094c8f0cbf6e39675d0ffa39
2013-10-01 11:19:44 -07:00