Commit Graph

15035 Commits

Author SHA1 Message Date
Sunny Goyal
3a052d413d Merge "Adding some task views." into ub-launcher3-master 2017-11-10 21:13:14 +00:00
Winson Chung
8ae4198a44 Adding some task views.
Bug: 69166452
Test: Build quickstep
Change-Id: Iee4cb0b9ac32716f588082a197a90ec1b2655047
2017-11-10 12:03:43 -08:00
Sunny Goyal
ea529083bd Using view elevation for shadow during click feedback instead of
creating a shadow bitmap

Change-Id: I331186664c3c448596af3172e0e080921a6a1908
2017-11-08 15:13:10 -08:00
TreeHugger Robot
4d52411cea Merge "Changing the state UI logic for normal build and quickStep build" into ub-launcher3-master 2017-11-08 17:43:12 +00:00
Sunny Goyal
a783400823 Fixing quickstep build
Change-Id: I1db1ce636c52cb02dd248dd843de8c886ad34604
2017-11-07 16:43:24 -08:00
Sunny Goyal
c4fa8c312b Changing the state UI logic for normal build and quickStep build
> Creating ShareHandlers for managing UI
> In normal build, hotseat is hidden in overview, while in QuickStepBuild, it is visible

Change-Id: I5f8d35c75b861d912d93fce186b5dd74106184c3
2017-11-07 12:24:47 -08:00
Sunny Goyal
16764588c9 Separing the overview states for normal and quickstep builds
In QuickStep, adding a placeholder ScrollView and changing the state logic
appropriately to handle that

Change-Id: I10223c0692788d6e5dbf8c408c01cafb4e39bd2c
2017-11-07 09:46:20 -08:00
Sunny Goyal
8b0a647a11 Removing dependency on deprecated android.test.** package
Change-Id: Ib1065e26fff3c193d12531c8bca944693ea6137c
2017-11-06 21:10:09 -08:00
Sunny Goyal
ba9609d35c Merge "Rearranging the code structure to allow replacing state logic." into ub-launcher3-master 2017-11-07 02:08:25 +00:00
Sunny Goyal
85525173ce Rearranging the code structure to allow replacing state logic.
Change-Id: I6f83d0f77045ba189f02dd465bf70ffc2a239aa1
2017-11-06 14:57:50 -08:00
TreeHugger Robot
de6188ff03 Merge "Deleting sample code demonstrating how to extend Launcher3" into ub-launcher3-master 2017-11-06 17:58:00 +00:00
TreeHugger Robot
4dcc2617f5 Merge "Updating the systemUI lib" into ub-launcher3-master 2017-11-03 21:17:21 +00:00
Sunny Goyal
416fc0b328 Updating the systemUI lib
Change-Id: Ie945325ea5c436188c79a8f79082d5098357de6d
2017-11-03 14:04:17 -07:00
Sunny Goyal
ce4fa5f33b Fixing wrong packageName being used for loading icons
Bug: 68796720
Change-Id: I9b0da050ead0fe5bf40de0e0d87949bda50be699
2017-11-03 11:44:16 -07:00
Sunny Goyal
73133391e5 Adding a placeholder recents activity
Change-Id: Idde86b4008559cde8bcf13fba90a8c72c3f1f591
2017-11-02 11:23:31 -07:00
Android Build Merger (Role)
31a07c9340 [automerger] Also reset mBadgeScale to 0 when recycling view. am: 48043ee0d6
Change-Id: I45edb03913e7cad7f670be5e5331896c30662bcc
2017-11-01 23:01:31 +00:00
Jon Miranda
48043ee0d6 Also reset mBadgeScale to 0 when recycling view.
When left as 1f, the drawBadgeIfNecessary thinks that there
is still a badge -- which results in a NPE when trying to draw
the badge.

Bug: 68324671
Change-Id: I4eedb5825b3a6429c99de0466a77d368a39b1951
2017-11-01 16:01:13 -07:00
Sunny Goyal
74bbdebbe4 Merge "Using state animation to control all-apps transition" into ub-launcher3-master 2017-10-31 22:38:51 +00:00
Sunny Goyal
031022029b Using state animation to control all-apps transition
> Separating all-apps transtions control and vertical shift touch handling
> Creating separate spring handler for search box (to avoid adding and removing spring)
> Driving all-apps vertical shift using state AnimatorSet

Bug: 67678570
Change-Id: I3b6a4d1f43275a5f485b399444742b6b9a8c4bb9
2017-10-31 15:29:02 -07:00
Sunny Goyal
076839c321 Moving various runtime flags into the common base class.
Caching the ststemApp status for workspace shortcuts.

Change-Id: I25663e1f04a9768afcca000294adcbb00ea1db7b
2017-10-31 11:00:28 -07:00
Sunny Goyal
9d341964a0 Setting up build rules and placeholder code for QuickStep
Change-Id: Ib4ad5c6082b293fc9f9455d70e2b21462b4ab76d
2017-10-30 10:04:24 -07:00
Sunny Goyal
0ab09fcf7b Deleting sample code demonstrating how to extend Launcher3
Launcher already includes Launcher3Go build flavour and we will
be adding another build flavour for RecentsUI. There is no need
to maintain another build which is not used anywhere.

Change-Id: I9287f62691d57750460ccc9d6859c7fa11c99956
2017-10-30 09:28:03 -07:00
Sunny Goyal
4d49f9a8ac Removing animated caret drawable
> Both landscape and portrait UI will show a static drag handle
> In landscape the handle is drawn below the all-apps scrim,
  while in portrait it moves with the hotseat

Change-Id: Ia6964c6f98feb8ba90517e23667d8c68bc2f6d35
2017-10-27 02:44:49 +00:00
TreeHugger Robot
4fc994c988 Merge "Consolidating various interpolators" into ub-launcher3-master 2017-10-27 02:35:30 +00:00
Sunny Goyal
5bc6b6f14c Consolidating various interpolators
Change-Id: I9588eee3552001b162a1e8d5ccefcfb44d221880
2017-10-26 16:38:55 -07:00
TreeHugger Robot
c01cb4745a Merge "Moving mState from Workspace to StateManager" into ub-launcher3-master 2017-10-26 23:30:54 +00:00
TreeHugger Robot
d4ece005e4 Merge changes from topic "am-5f0a0fef-5aba-4af5-b148-430430ddfffb" into ub-launcher3-master
* changes:
  [automerger] Fix bug where recycled BubbleTextView kept their badges. am: 5254944a68
  Fix bug where recycled BubbleTextView kept their badges.
2017-10-26 22:21:04 +00:00
Sunny Goyal
7268ed6c27 Merge "Caching the uninstall disabled state for each userHandle" into ub-launcher3-master 2017-10-26 21:07:42 +00:00
Android Build Merger (Role)
232d7196fa [automerger] Fix bug where recycled BubbleTextView kept their badges. am: 5254944a68
Change-Id: Icb486e7a529aae15d5f959487c489ef1ad5798b1
2017-10-26 18:35:10 +00:00
Jon Miranda
5254944a68 Fix bug where recycled BubbleTextView kept their badges.
Bug: 68324671
Change-Id: Id5f4db6706afd002242d95d44422fc61042798c8
2017-10-26 11:34:55 -07:00
Sunny Goyal
b871c13ee3 Adding a compat implementation for playback control on AnimatorSet
Change-Id: I9f01fc319341cf2499fffb59521d32c2c81eba45
2017-10-26 10:18:41 -07:00
Sunny Goyal
ea60926c3f Moving mState from Workspace to StateManager
Bug: 67678570
Change-Id: I8cdab044d0760fcc4c188830cde4f963d072b907
2017-10-25 15:48:01 -07:00
Sunny Goyal
3e3f44c3ad Exposing the state manager directly instead of providing various helper methods for state change
Bug: 67678570
Change-Id: If3d05c804c034ffa5e403da8eaa23e85e373c863
2017-10-25 13:41:13 -07:00
Sunny Goyal
0236d0b0ba Caching the uninstall disabled state for each userHandle
> Removing static access to varios drop targets
> Creating a cache at UI level with 5sec timeout

Bug: 67104426
Change-Id: Ide6e2e0c01606f9b5fb9281f95dc009873c18fb9
2017-10-24 14:55:54 -07:00
Sunny Goyal
4d519f2568 Enable overview state restore
> Reapplying CellLayout state when new pages are added (page bind comes after restore)
> Removing support for different scroll range for freescroll (the calculations were not
  consistant with maxScroll)

Bug: 67678570
Change-Id: Ic1911de1b707f2f6940e7040f07ca7e733e2ef2a
2017-10-24 10:39:24 -07:00
Sunny Goyal
be93f264d7 Moving all-apps state logic to an independent class
Unifying all the paths for state change to a single flow

Bug: 67678570
Change-Id: I0773c0f59ae1ef324c507bc1aae188d8c059dea4
2017-10-23 16:33:58 -07:00
Sunny Goyal
2104c3025a Fixing mNewScale was never getting initialized
Change-Id: I03507cedc65a805d122ab2161a0162c21ac5975f
2017-10-23 15:04:32 -07:00
Sunny Goyal
c99cb174c3 Moving some state specific logic to subclass of LauncherState
Bug: 67678570
Change-Id: I1316f91c9f19bd572e4a0da67a22fa8921e1dcf9
2017-10-20 13:56:47 -07:00
TreeHugger Robot
cac861068e Merge "Log time spent on different UI surfaces" into ub-launcher3-master 2017-10-19 22:23:01 +00:00
Hyunyoung Song
7fb3ccc4a5 Log time spent on different UI surfaces
- When swipe happens on worskpace, elapsed container ms is reset
- Fling DOWN is also logged so that we now know how much time was spent on
  all apps screen
- If screen off or power button trigger onPause, log this event.

Bug: 67745115
Change-Id: Ie3a0090c78195a4a028de9935131e9e034dcf48a
2017-10-19 15:15:02 -07:00
TreeHugger Robot
bce7f73f49 Merge "Deteriorating PinchToZoom interaction" into ub-launcher3-master 2017-10-19 22:06:54 +00:00
Sunny Goyal
d79dd20e88 Deteriorating PinchToZoom interaction
Instead of using a custom animation, simply using the LauncherStateTransition
animation to control the transition. This keeps the state transitions sane.

Bug: 65598794
Bug: 67678570
Change-Id: Id1be0ca98b6a0ecf9ab7feadb23408cbef526d0e
2017-10-19 14:58:18 -07:00
Sunny Goyal
cd7c0aad5f Changing LauncherState to a class to allow adding custom functionality
Bug: 67678570
Change-Id: I777e335e9fdf7014b041addff6b8e54fb94167bb
2017-10-19 12:37:11 -07:00
Sunny Goyal
f9403d92fa Removing state definition from Launcher
State is only maintained is workspace and is used for all the UI

Bug: 67678570
Change-Id: Ie3cce5a1f4ada3913d0480f7918c27460dacbd34
2017-10-18 15:04:22 -07:00
Sunny Goyal
4c7f215651 Moving Workspace states into a separate file
Bug: 67678570
Change-Id: I5c63b4df29ca0f58a0223fb1919abc132576a1b6
2017-10-18 09:17:43 -07:00
Sunny Goyal
910be3c05d Merge "Launcher state management cleanup" into ub-launcher3-master 2017-10-17 20:47:25 +00:00
Sunny Goyal
aeb1643ec6 Launcher state management cleanup
> Removing Widgets and related states
> Fixing different durations being used when opening/closing all-apps
> Removing some unnecessary object allocations when changing state without animation
> Differentiating widget bootm sheel and full sheet in logs

Bug: 67678570
Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
2017-10-17 12:42:08 -07:00
TreeHugger Robot
155ad7f9bd Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-10-16 22:18:03 +00:00
TreeHugger Robot
2ff529a575 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish2 2017-10-16 22:16:11 +00:00
Bill Yi
a4ec5b45d3 Import translations. DO NOT MERGE
Change-Id: Id64734c3e855af2dc1fe94de1cf6635bd2741e29
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-16 14:26:10 -07:00