Commit Graph

16725 Commits

Author SHA1 Message Date
Tony acaf5b3a37 Remove gap between popup items
- Unround interior corners
- Update colors (shortcuts are gray when next to
  notifications, notifications always white)
- Clean up animation to animate entire popup with
  simple reveal instead of individual items
  animating with reveal and icon scale

Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
2017-05-31 15:11:43 -07:00
Hyunyoung Song d5645d406b Merge "Add debug message to indicate why shortcut has been deleted. b/62088762" into ub-launcher3-dorval-polish 2017-05-31 21:01:09 +00:00
Hyunyoung Song 3a253967df Add debug message to indicate why shortcut has been deleted.
b/62088762

Change-Id: I2bd6104d1f4d76d7bf888615a06088d3405f03c6
2017-05-31 12:08:55 -07:00
Mario Bertschler 2518cfc365 Distignuishing between hotseat/workspace on the logging for opening
all apps via swipe/fling.

b/38422894

Change-Id: I84a5fd8df38f70caf887eb0def905756059ccd93
2017-05-30 13:57:05 -07:00
Mario Bertschler c6e07299c2 Providing a default color extraction implementation.
Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS

Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
2017-05-26 11:36:51 -07:00
Tony Wickham 27af2de5ac Merge "Log when App info or Widgets system shortcuts are tapped" into ub-launcher3-dorval-polish 2017-05-25 21:40:16 +00:00
Tony Wickham 1d0b0e25dc Log when App info or Widgets system shortcuts are tapped
Sample output:
D/UserEvent: action:LONGPRESS
              Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0	parent:WORKSPACE id=0
              Elapsed container 135 ms session 7984 ms action 0 ms
              isInLandscapeMode false
              isInMultiWindowMode false
D/UserEvent: action:TAP
              Source child:WIDGETS_BUTTON	parent:DEEPSHORTCUTS
              Elapsed container 41 ms session 8906 ms action 0 ms
              isInLandscapeMode false
              isInMultiWindowMode false
D/UserEvent: action:LONGPRESS
              Source child:APP_ICON, grid(1,3), span(1,1), pageIdx=0	parent:WORKSPACE id=0
              Elapsed container 184 ms session 11297 ms action 0 ms
              isInLandscapeMode false
              isInMultiWindowMode false
D/UserEvent: action:TAP
              Source child:APPINFO_TARGET	parent:DEEPSHORTCUTS
              Elapsed container 678 ms session 11976 ms action 0 ms
              isInLandscapeMode false
              isInMultiWindowMode false


Bug: 37430954
Change-Id: I526edbf1eea551eb8eaddbb27e52058804fee874
2017-05-25 21:37:58 +00:00
TreeHugger Robot 552e6c803c Merge "Theming on Scrim- and GradientView" into ub-launcher3-dorval-polish 2017-05-25 20:33:26 +00:00
Mario Bertschler 27288381a1 Theming on Scrim- and GradientView
Change-Id: I3070b54485a9476ffb71e325cdd45c2bd7ef5c9a
2017-05-25 13:25:05 -07:00
Hyunyoung Song 9c7ed9e9da Merge "Use View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR API now that it's available b/38431856" into ub-launcher3-dorval-polish 2017-05-25 17:56:21 +00:00
Hyunyoung Song 0ef74aba1a Use View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR API now that it's available
b/38431856

Change-Id: I6a5cc835f2d14661a312e30057ae88fe2e1f23fa
2017-05-25 10:46:47 -07:00
Sunny Goyal 368ae77201 Defining a dark theme for launcher
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme
> Updating icon cache to always use transparent background for low-res, as the
theme can change the bg color

Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
2017-05-24 14:34:04 -07:00
Mario Bertschler 1a83af2b81 Allapps motion changes for landscape
Scrim and Gradient alpha starting from 0

Change-Id: If200539f3915ff32885712cff868d74d014c340f
2017-05-24 13:58:30 -07:00
TreeHugger Robot 2aab7dc0af Merge "Revert "Allapps motion changes for landscape"" into ub-launcher3-dorval-polish 2017-05-24 18:12:52 +00:00
Tony Wickham 9ff727ef44 Merge "Don't hide text in pre-drag when opening popup above icon" into ub-launcher3-dorval-polish 2017-05-24 18:00:36 +00:00
Mario Bertschler 418d443d2f Revert "Allapps motion changes for landscape"
This reverts commit d15dccf10e.

Change-Id: I04c06d419bc636929259bc5f4fdce982d97ef33f
2017-05-24 17:56:56 +00:00
Tony 17b7f9bdf4 Don't hide text in pre-drag when opening popup above icon
Bug: 38468930
Change-Id: Id03162af829a00442d1db0a93f7e9d8bcb998b1a
2017-05-24 10:50:41 -07:00
Mario Bertschler d15dccf10e Allapps motion changes for landscape
Bug: 38230696
Change-Id: I82e36c240c934ff6b86b55e0a0f07391fd11ec82
2017-05-24 10:30:13 -07:00
Jon Miranda 66714d3cb7 Update physics VelocityTracker units to 175 pixels per second.
This makes it a bit more subtle.

Bug: 38349031
Change-Id: I2a6f5edf2d662ca1e742665e437ff59268f00c07
2017-05-23 20:34:20 -07:00
Sunny Goyal 9d1aa13a97 Some fixes in the compat implementation of wallpaper manager
Change-Id: I781fd520e812aaeaab42b8b765d7e7f2e64a96a1
2017-05-23 16:26:22 -07:00
Sunny Goyal 4046e58eaa Merge "Adding compat implementation for the new WallpaperManager APIs for color extraction" into ub-launcher3-dorval-polish 2017-05-23 22:16:50 +00:00
Sunny Goyal 3e93ec558a Adding compat implementation for the new WallpaperManager APIs for color extraction
Change-Id: Ie06c9ac3a77cd33d22ce298a55e234078895c3a0
2017-05-23 14:03:03 -07:00
Jon Miranda 4e54a4cfa5 Fix bug where item was not moved in database when added to a Folder.
I thought calling arrangeChildren(saveChanges=true) would handle
this case, but because we set the position and rank in addViewForRank,
arrangeChildren does not see any changes to save.

Change-Id: Iab0fefe6da7711857ea05955a3243459f4e8527b
2017-05-23 11:45:17 -07:00
Jonathan Miranda db894b9bba Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish 2017-05-23 17:35:36 +00:00
Jon Miranda 4e11c2738a Add physics motion to items in all apps.
Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
2017-05-23 10:02:51 -07:00
Sunny Goyal e13d464539 Calling recreate() instead of finish() so that the activity
life cycle is handled properly

Change-Id: I6ee022ee3e81a0660f4798ab4b62ddcb163c7067
2017-05-22 15:59:15 -07:00
TreeHugger Robot 09273b676e Merge "Allow user to place PendingAddShortcutInfo in opened Folder." into ub-launcher3-dorval-polish 2017-05-22 21:56:50 +00:00
Jon Miranda c476d6e192 Allow user to place PendingAddShortcutInfo in opened Folder.
Current implementation only allowed dropping PendingAddShortcutInfo
on a FolderIcon.

Bug: 37814579
Change-Id: Ice42421c34665b0ebf199945761c5c86614573a4
2017-05-22 14:49:28 -07:00
Sunny Goyal a474a9bcf5 Simplifying logic for managed for icon addition
> Checking for duplicate icons before adding new icons

For O and above, icon addition is controlled using
SessionCommitReceiver.
As long as the Launcher is the default app, it will keep adding
icons on the homescreen. Apps installed while launcher was
not the default homescreen, no icons will be added.

For below O, icons are added based on package event. As long as
the Launcher process is running, it will keep adding icons on the
homescreen. Apps installed while the launcher app was dead, no
icons will be added.

Bug: 37528649
Bug: 37082950
Bug: 34112546
Change-Id: Ic99501fa476c00474a479f2a36c24614bfa3f4bf
2017-05-22 13:31:04 -07:00
TreeHugger Robot 8b017e52da Merge "Keep elevation during the Folder clip animation." into ub-launcher3-dorval-polish 2017-05-22 20:02:55 +00:00
Sunny Goyal 22ca9ec137 Removing various reflection calls with final APIs
Change-Id: Ibf48d6015d808f86bc79ccf64e3077eb5b6ccaff
2017-05-22 11:00:29 -07:00
Sunny Goyal 8bca47adc5 Merge "Making some methods accessible" into ub-launcher3-dorval-polish 2017-05-19 21:09:55 +00:00
Sunny Goyal 0e947fbdbb Making some methods accessible
Bug: 37616877
Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
2017-05-19 12:22:31 -07:00
Tony Wickham 3720c69322 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
2017-05-19 12:17:02 -07:00
Sunny Goyal c6bfffb078 Removing workspaceLoaded check from loadDeepShortcuts()
am: 4869bf3f74

Change-Id: I1516a214df024f5e9b9387671cfadd3697384ede
2017-05-19 18:02:00 +00:00
Tony Wickham d5dbf61757 resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
2017-05-19 10:52:19 -07:00
Peter Schiller 7056275771 Merge "Rounded caret" into ub-launcher3-dorval-polish 2017-05-18 23:23:44 +00:00
Peter Schiller b01046f9e7 Rounded caret
Change-Id: I3889fe61a29834c3c7e3829a990b481507589f68
2017-05-18 14:12:47 -07:00
Tony Wickham 8af16760dc Merge "Update accessibility for popup" into ub-launcher3-dorval 2017-05-18 01:06:46 +00:00
Sunny Goyal 8b6ac00a1b Adding an option to change the shadow size
Change-Id: I8ec810c5cf06852771247af5f1d717f41079c4f5
2017-05-17 13:43:45 -07:00
Sunny Goyal 4869bf3f74 Removing workspaceLoaded check from loadDeepShortcuts()
loadDeepShortcuts() is called after loadWorkspace() which already
clears the shortcutMap. So if loader runs twice, during the second run,
workspaceLoaded is true, but the shortcutMap had already been cleared
in loadWorkspace().

Bug: 38384071
Change-Id: I40f0faf88376617e56819aef02620488e528dfb2
2017-05-17 12:07:39 -07:00
Sunny Goyal 0dc1db4fee Aligning the search box with bottom of hotseat icons
Bug: 37616877
Change-Id: I153e754db8e6c96b47ab644e19ce110f56bf852e
2017-05-17 11:36:31 -07:00
Tony Wickham 9863ea5dc7 Merge "Add setting to turn off icon badging" into ub-launcher3-dorval
am: d315d07aee

Change-Id: Id23914cbee040f3916257e02a9eb6b3f5a821b83
2017-05-16 23:38:22 +00:00
Tony Wickham 02aced9782 Merge "Use a single color for all icon badges." into ub-launcher3-dorval 2017-05-16 23:34:52 +00:00
Tony Wickham d315d07aee Merge "Add setting to turn off icon badging" into ub-launcher3-dorval 2017-05-16 23:33:59 +00:00
Mario Bertschler 8acf8b506d Design adjustments for transition from workspace to
All apps.

Change-Id: I0aeb8da7f0eebdf677ca7bda06fb538f08a6ee51
2017-05-16 16:13:11 -07:00
Tony Wickham 2ab8482809 Add setting to turn off icon badging
Redirects to system Notifications setting page.

Bug: 36815147
Change-Id: I5ee542f94ed51a73a57df3a726384944ff3ee71d
2017-05-16 14:08:42 -07:00
Mario Bertschler 7f91393c55 Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval
am: 8ffddbb7c2

Change-Id: I611a4707882a0fb5c78c223ebd9f5c8e0e67d411
2017-05-16 20:13:42 +00:00
Mario Bertschler 8ffddbb7c2 Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval 2017-05-16 20:08:08 +00:00
Tony Wickham e6a790e5ae Use a single color for all icon badges.
Bug: 38346375
Change-Id: I26b7ad3dcfea6a18e169d656e19605c9794eadd3
2017-05-16 13:04:23 -07:00