History log of /packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
37ecabc88ec4be34744d312dbf0b4b1a2977e119 30-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Agressively change the color of the the all apps background during pull up b/30502942" into ub-launcher3-calgary-polish
81a56f9acc8a6db1b78088e6aca8e343a49f8952 30-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Agressively change the color of the the all apps background during pull up
b/30502942

Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
345bff3ce671c62094a8afb5958a361db645f3cf 29-Sep-2016 Tony Wickham <twickham@google.com> Some minor fixes for extracted status bar.

- setLightStatusBar() is now updateStatusBar(), with a forceLight
parameter. We set the status bar to be light if forceLight or
shouldBeLightStatusBar() (based on wallpaper).
- Force status bar to be light if all apps is open.
- Default to dark status bar, not light (light == dark icons)

Bug: 29452834
Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
9311387a227d7bd894d880b897fb80ca34b39405 15-Sep-2016 Tony Wickham <twickham@google.com> Enable light status bar when top of wallpaper is light.

(Light status bar = dark icons)

Bug: 29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
ea045e7532edc8571456d3a4c61c89a0a2ab88ff 22-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Fixing two critical bugs in all apps transition controller
am: 0a9c092c89

Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
0a9c092c89f4be3c5d59eef26aaffd2025e3e387 21-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Fixing two critical bugs in all apps transition controller

bug#1: if long press from page indicator region, you can pull up all apps
even though the workspace is in overview state.

bug#2: all apps should not intercept touch not only in overview mode
but also in any modal state.

Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
488d8adeb822a5aa88be46edb8a5e779b540b972 16-Sep-2016 Jon Miranda <jonmiranda@google.com> Use ContextCompat.getColor to support API levels below 23.

Found while debugging on Lollipop.

Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
96c56b3607ce45a511f92212d2ee5cff01a73905 05-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Pull down should work on search box, even if all apps scroll is not at top. b/30295305" into ub-launcher3-calgary
58a9c4b7d2aa3772f56fea32f82cf29d410dc499 05-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Pull down should work on search box, even if all apps scroll is not at top.
b/30295305

Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
9323bdbb2a4ae3724da5ef2ec07c7ecccbe73681 05-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down" into ub-launcher3-calgary
d7d740287f104c0597f01b66399c7e65a9b57dab 05-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Fix hotseat flicker when opened all apps in landscape, rotate screen, pull down

b/30595452

Change-Id: Ib634ffbc509c6b16ac58c184ccbca15ae936be14
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
5a5eb846c410c6ed6c1c0fb01edf82e118c35830 04-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Change interpolation logic to all apps transitioning on fling b/30486958" into ub-launcher3-calgary
191e9d1b297f3a5dd2953f00c9cf9eac364fcf69 04-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Change interpolation logic to all apps transitioning on fling
b/30486958

Cleaning up/refactoring this CL will be done in polish branch.

Change-Id: Ib51633a1e1cb79f58b505f835053ef238ae1bdec
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
9407db1e11f2f465c46590dd12926669eac1ca0c 03-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Fix disco bounce crash b/30413641" into ub-launcher3-calgary
e688e1e6c87ec87928280c795d93d678b908771b 03-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Fix disco bounce crash
b/30413641

Change-Id: Icb2f3f11024daa78c3f59cab8c773091b9481feb
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
e6fe1b59470b653f0275596cb8a211367dd61654 30-Jul-2016 Peter Schiller <peterschiller@google.com> Simpler caret

Bug: 30527159
Change-Id: I674de149e613c7adb567a13a288baa9877d36112
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
5b6470679e1d4e66fb15383733d1e36ad08d0d14 02-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Add container velocity for all apps to be used by the caret

Change-Id: I03479d53eb7203ab4a0515e2bf68b917dfb81f23
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
7ccc4625e38b8107cd1882272aec36967874a5cc 27-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Responsive caret drawable

Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
dd60ce41b31028a309448df17dcd5b7796af6fef 28-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Remove two redundant layout pass in AllAppsTransitionController.

Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
e3876e8dd0a6b6948c5365af9f88709301bbb536 27-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Change default animation duration for all apps open and close.

> Also set different interpolator for all apps opening clicking the caret

Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
9dcf0a3ef7595f58aedec7773e7bc3b9075fb3ca 27-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> AllAppsTransitionController always use LauncherStateTransitionAnimation
b/30375760

Change-Id: Iee2f8060e4d272d276ddd5d40b4bc6053e8c7778
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
c001cf562017d08cd48b67de8f377ca08881e70e 22-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Animate discovery bounce for all apps pull up interaction
b/30221381

> Will not support landscape case. If the user knows how to enable
rotation, it's very unlikely they don't know how to bring up apps drawer
> If unlocked using finger unlock immediately after screen is turned
off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast

Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
5aa2714959405043639cb2d0b8d9ab8c6eef0bd2 21-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Add user event log for deep shortcuts and all apps opening interaction.
b/30114798

Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
1f06427266c0cb5de4561fc7c620ff542f625300 19-Jul-2016 Winson <winsonc@google.com> Initial changes to tweak layout.

- Adding DeviceProfile callback for when the launcher layout changes due
to insets. This is necessary since there are now different layouts
depending on which side the navigation bar is on
- Consolidating hotseat and other layout into the device profile
launcher layout logic
- Making the all apps icons match the workspace icon height
- Tweaking caret drawable to draw to the bounds specified to simplify
layout in each orientation
- Fixing minor issue with page indicator shifting in landscape
- Centering overview buttons to the workspace page

Bug: 30021487
Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
bbff2926f8dd61b99f62d56390815ca84cece51e 15-Jul-2016 Peter Schiller <peterschiller@google.com> Remove caret in overview mode

Bug: 30162951
Change-Id: I71f585e4ae6dfba9dc1d18cd00e45d081cabd4b3
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
e4be3b3fdb29c6adb51ee05730c1693ba8d04587 19-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Support gray hotseat background in all apps transition
b/30201515

Change-Id: Ie4b8442ac804b4df94e9673608129e6ffc0c3360
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
a30b51ceb29e179caf7f441763ffeb6bfd336998 13-Jul-2016 Peter Schiller <peterschiller@google.com> Adding stateful caret drawable

Change-Id: Iba30da09f882297f789c405f932fef10617bba89
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
e8a2b8e1d91624caf6ef896ffc6840a8746a89cc 15-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Format fixes on AllAppsTransitionController and VerticalPullDetector

Change-Id: Id1570284da7b69a4d768fe41980ca0522433b6c2
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.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/allapps/AllAppsTransitionController.java
ca7f30f7cfdbea155cbef701485718fa5dd86f46 12-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Fix all apps becoming clipped when screen is rotated with all apps opened.
b/30040068

Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
2359a6801792a0cc88bda30a9874416b2d101175 08-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Do not remove onLayoutChangeListener on hotseat inside AllAppsTransitionController

Change-Id: I883660906b5bf59035f0382e6a448c6992a58a0c
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
230b2b7f441cef5c842f0c6f13a0b91db043a94c 07-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Second workspace page icons should not show up when all apps is shown in landscape.

b/29931405

> Also some method names to setTranslation -> setTranslationAndAlpha to
match its implementation.

Change-Id: Icb6ec5df8a267a9024803c70a694ea9b76e5e34d
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
45eb757ea7321aeb8b34803681ec2eb4532b6d55 02-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Remove relayouts
b/29945805

> Workspace relayout occurs when window flag is set to
change the status bar. This should not cause AllAppsTransitionController
to be initialized.
> Setting/Unsetting background drawables on the hotseat
also causes unnecessary layout. Fix this issue.

Change-Id: I73a3bfd3eb4bc34cf6760ffbd9826e3fef867056
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
5a2af756ea9ca3e557978021c7c4b75f79d50d9e 01-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Get rid of CATCH state in verticalpulldetector" into ub-launcher3-calgary
310a9889937677091868ae7759c90d033ca08bb6 30-Jun-2016 Peter Schiller <peterschiller@google.com> Updating all apps to match spec

Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
21b7571b6931f4574e4ea59f3182c06b857ea8cc 01-Jul-2016 Hyunyoung Song <hyunyoungs@google.com> Get rid of CATCH state in verticalpulldetector

> There was a bug regarding mLastDisplacement not being cleared out, which
caused a jump of the all apps container.
> Also as a cleanup, got rid of the CATCH state.

Change-Id: Iae9af0be04cce15f2ba4e6734d1615f879921e5d
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
5215b545b98a19f2be626d26924af10757da1a76 30-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Code cleanup/ Move OnLayoutChangedListener to class level.

Change-Id: Ifd3c7b86f61648407c8c93da9ec6d038aa996c0a
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
3ccedd234acb1534190c596351cf293e8ef4727a 30-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Make very first pull up should always work" into ub-launcher3-calgary
83fb07bb6cb8817f5c35ff63206a9fe2a1d3ebce 30-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Make very first pull up should always work

> Also delete unnecessary code.
> Fix a bug where the container doesn't snap to the top and bottom.

Change-Id: If820e9fae03d060e53ac028f8e8d827c90b354fc
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
b047e36f2c7fe9c938f4fd933f53c6fd2d5e3127 29-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call

Change-Id: Idf360a3580eff2ef873e7e0c20eb5ee2355d9be7
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
26def23702881867208bfc465af27a4f9afc26f6 29-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "All apps icons should become clickable" into ub-launcher3-calgary
67def6cef16bf67aac3a791662dda41c085e24a7 29-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> All apps icons should become clickable

b/29761088
b/29610290

> Workspace transition state was not being properly set which
caused onClick to not allow apps to launch. Temporary solution:
do not call the onLauncherTransitionPrepare inside
AllAppsTransitionController.

> Fixing another important bug which doesn't properly set workspace
state to correct alpha value because hotseat background drawable
is null when home is triggered from settings app after wallpaper is
changed. The color extractor has not figured out how hotseat drawable
color should be set to immediately after wallpaper change.

Change-Id: I9f797dbda6c73c71816e5070ed4da37099b26a6d
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
344ca1b827b907d5210052a76aaa298b2778db42 28-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Merge "Extend all apps pull up activation area to page indicator view b/29752599" into ub-launcher3-calgary
f7e5e374feeb7a5b6fe5166085c545e445bf6b72 28-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Prevent all apps transition NPE

b/29643291
b/29642263

> Also do not change status bar when landscape mode

Change-Id: I1e44af8e031856a50a7413ad297c437245e8b2aa
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.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/allapps/AllAppsTransitionController.java
4a582162bc22f1141c5c1a68741e8609c4f7d54d 28-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Invert nav bar to light when status bar changes in all apps.

Change-Id: I48acf2f20cd3e265e2f84bfa412d3d233cb76a01
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
99eb28a5567e65a518d19bc29ab6fd23f50fd9dc 27-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Revert "Cancel animation whenever MotionEvent.ACTION_DOWN is detected"

This reverts commit 4325a56f5359a83164692ae6109d6463f792bf13.

Change-Id: If49a4e169b9dad1e833a7d075d67904ef0b671c5
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
4325a56f5359a83164692ae6109d6463f792bf13 27-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Cancel animation whenever MotionEvent.ACTION_DOWN is detected

Change-Id: I130d05907068ecbec12e09207c7ca2e171e90926
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
eac1dac23944ea5127dc12a161f016f18a5599cb 22-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> All apps pull up work
b/28917826
b/29469966
b/29542376

- Move state transition to when the finger is lifted and not when
the view settles.
- Refactor the vertical pull detector to use bit operation to define
which direction scroll to allow.
- Fixed many issues regarding screen rotation
- Fixes issue where slowly sliding the all apps goes into overview mode
- Fixes issue where quick slide up leads to animation starting from middle

Change-Id: I2384a0fcc5550e17359a044ef506bcc66507da5f
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
713afa70e5c836c93c79f78dc9a36b1847f7d541 21-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Maintaining separate alpha for x and y translations" into ub-launcher3-calgary
a0c5647f521384e4c4edf4e15516a1b4afbde80b 20-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Fixing a crash on APPS->WORKSPACE transition when animation is automated without dragging.
b/29424335

Change-Id: I2b109423b5a4cfc94fcda75fdea936785373968f
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
bfa8fbd782370c9d1f5b24f94dc29b74a31b28f0 20-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Maintaining separate alpha for x and y translations

Bug: 29504823
Change-Id: I6150fec43653c8da4c5841ddbd6c5de739f205b8
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
a9a8a4221709cc3fda48fd80d4213d25183b8bf7 16-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> UI fixes to All apps pull up work

b/28917826
- nav bar change to light when top of the all apps container
passes y mid point of the status bar
- apps search edit box change when top of the all apps passes
the bottom of nav bar
- Restrict pull up to work only if the ACTION_DOWN event started
from the hotseat.
- Landscape: reverted old padding and margin. Only the interaction
is different.
- Tuning of the motion spec
- Animation duration respects fling speed more agressively.
- and many more small bugs...

Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
35ea6591a7e8b6b951ff74305f570545865be25a 13-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> All apps container should not intercept touch during animation.

b/28917826
> When all apps container is settling near either the bottom or top
end, touch event should not be intercepted.

Change-Id: I8aee6cea52e844c4615b92b15f8ef7247236a25b
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
f4cbb1428a97142e42214951f6914353e2bd70cf 10-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Fixes to touch handling in all apps pull up work

b/28917826
- Fast scroll bar works even when it's at the top of the recycler view
- Pull down only happens ONLY IF the thumb of the scroll bar is at top
- When container is touched during sliding down animation,
translation should not jump

Change-Id: Ic1d9a4aa77332cc0a7582556f893053003224dd3
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java
a92e0dfa0c8724252c692da59193ee40d0b366a7 09-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Unifying the workspace translation logic

Change-Id: I82430734c222d43222763fc6edcadac33dc3e076
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.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/allapps/AllAppsTransitionController.java
645764e3e5fa34d9adcddfc722d726b76f048306 06-Jun-2016 Hyunyoung Song <hyunyoungs@google.com> Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
/packages/apps/Launcher3/src/com/android/launcher3/allapps/AllAppsTransitionController.java