Commit Graph

13701 Commits

Author SHA1 Message Date
Tony Wickham
90038ebab2 Add support for popup dark theme
Bug: 62380473
Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
2017-06-06 16:34:20 -07:00
TreeHugger Robot
561e53577b Merge "Decrease jank in all apps physics." into ub-launcher3-dorval-polish 2017-06-06 18:14:19 +00:00
Sunny Goyal
b434fde427 Moving LoaderTask to a separate class file
Bug: 34112546
Change-Id: I86d93cfb5d3903bfd3878564cbe8b67b64fd8423
2017-06-06 10:47:23 -07:00
Tony Wickham
0540c0606b Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish 2017-06-06 17:29:16 +00:00
TreeHugger Robot
3e61c9d6d0 Merge "Improved color extraction algorithm" into ub-launcher3-dorval-polish 2017-06-06 17:19:12 +00:00
Mario Bertschler
7e3a882a49 Improved color extraction algorithm
Change-Id: I31fdd2a5bc8598dbc8ea5363c995b29057f45997
2017-06-06 10:12:09 -07:00
Tony Wickham
79b176e42c Fix visibility of notification footer divider
Now it is only visible when the notification footer is present,
instead of always being visible.

Change-Id: Ie85ff31918901115cdfe55b36e75aa80b43e7b13
2017-06-05 17:54:45 -07:00
Jon Miranda
9d7f2b9e0d Decrease jank in all apps physics.
By creating the spring in onCreateViewHolder and adding
in onBindViewHolder, we are able to take advantage of
RecyclerView's prefetching optimizations.

Bug: 38349031
Change-Id: Ie445039fd90ca92ae4ce1ff71c57b15f662377a8
2017-06-05 14:27:20 -07:00
TreeHugger Robot
9b9beae02e Merge "Moving LoaderTask static" into ub-launcher3-dorval-polish 2017-06-05 19:49:11 +00:00
Bill Yi
9fb583d7ea Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
am: ce338fca12  -s ours

Change-Id: I62eb73d303cb622461a72599910aeee6db72fe4a
2017-06-03 20:11:35 +00:00
TreeHugger Robot
ce338fca12 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-06-03 20:04:14 +00:00
TreeHugger Robot
87e19e35ad Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-06-03 19:58:44 +00:00
Tony
f514f207c2 resolve merge conflicts of 629a67c5a to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5aed3f0c978976c499b532c816d81196cb11e3a1
2017-06-02 19:33:49 -07:00
Tony
629a67c5ac Migrate ColorExtractionService to JobService
IntentService cannot be run in the background, so moving to
JobService prevents us from crashing if the wallpaper is
changed while we aren't running.

Bug: 62065291
Change-Id: Ie0c887e36d0ced43a0b9ab8136bf55eb37697489
2017-06-02 18:21:05 -07:00
Bill Yi
6c74114660 Import translations. DO NOT MERGE
Change-Id: I01fa29ac699eaac1d7eed9f345c3b65a9f480508
Auto-generated-cl: translation import
2017-06-02 18:16:58 -07:00
Bill Yi
303b81010a Import translations. DO NOT MERGE
Change-Id: Iaccfb365895d66930405f7114613bcbadbca1c25
Auto-generated-cl: translation import
2017-06-02 18:15:04 -07:00
Sunny Goyal
c6e97692e4 Moving LoaderTask static
Will move it to a separate file in a followup cl.
This simplifies dependencies between LauncherModel and LoaderTask which
and making it easier to start the loader before Launcher activity is
created (as the Callbacks in LauncherModel can change while loader is running).

Bug: 34112546
Bug: 37616877
Change-Id: Ie9619c6b0de0e3eb60657c04ae1b58d946c829e9
2017-06-02 14:27:29 -07:00
TreeHugger Robot
d74633cbc5 Merge "Launch wallpaper picker with rectangular reveal" into ub-launcher3-dorval-polish 2017-06-02 20:17:30 +00:00
TreeHugger Robot
8d14e49709 Merge "Promise icons don't support popup" into ub-launcher3-dorval-polish 2017-06-02 20:07:31 +00:00
Tony
85efb4b07d Launch wallpaper picker with rectangular reveal
There was a logic error causing it to be launched with null
activity options.

Bug: 37904252
Change-Id: Ia44b7bccf0b7f83ceab9d3949542b79a842e4873
2017-06-02 13:06:10 -07:00
Tony
869a97da73 Promise icons don't support popup
Bug: 62253847
Change-Id: I1123f3d1efad65e74957b1404b5b2c95ba392713
2017-06-02 12:18:46 -07:00
TreeHugger Robot
ccb25a3da8 Merge "Moving workspace bind logic into a separate class." into ub-launcher3-dorval-polish 2017-06-01 23:46:40 +00:00
Sunny Goyal
f8d6ed21ce Moving workspace bind logic into a separate class.
This change separates the loading and binding code. Eventually workspace
loading will not depend on bind and we will be able to preload workspace
even before the launcher activity is started.

Bug: 34112546
Bug: 37616877
Change-Id: Ia8e661465cb40ad073b5b76adfc74b9e15633b1d
2017-06-01 15:56:38 -07:00
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
Bill Yi
aee10c80ab Import translations. DO NOT MERGE
am: 8b6ea60fac  -s ours

Change-Id: I12822e9c629ed902c61db1aab8e93c755245449d
2017-05-31 16:57:41 +00:00
Bill Yi
47559fb858 Import translations. DO NOT MERGE
Change-Id: I64d7acaae108b79025a5a82514fbeac9eee785cf
Auto-generated-cl: translation import
2017-05-30 15:46:25 -07:00
Bill Yi
8b6ea60fac Import translations. DO NOT MERGE
Change-Id: I2b9ae2bbd37711412de29f0c0f48d7317398f853
Auto-generated-cl: translation import
2017-05-30 15:43:56 -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
TreeHugger Robot
0e695fe41f Merge "Providing a default color extraction implementation. Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS" into ub-launcher3-dorval-polish 2017-05-26 18:45:18 +00: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
Sunny Goyal
415e2aacf3 [DO NOT MERGE] Making various icon shape options as non-translatable
am: 1f5a264fac  -s ours

Change-Id: I296898126ce981103bc8b7e5b8dee58f7c9e0e72
2017-05-26 16:45:38 +00: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
1f5a264fac [DO NOT MERGE] Making various icon shape options as non-translatable
Change-Id: I2abe2c84a7c6a2b9cad8b3238ba6ee8a5761f70e
2017-05-25 09:46:17 -07:00
Sunny Goyal
9d9dbcb1b8 Revert "Revert "Fixing string not correctly marked as non-translatable""
This reverts commit 0ec2da54f8.

Change-Id: Id685c338ab5474e41cfd3792ef98b9cf4b0c4fba
2017-05-25 16:44:33 +00:00
Sunny Goyal
0ec2da54f8 Revert "Fixing string not correctly marked as non-translatable"
This reverts commit 477b8cc1b4.

Change-Id: I114f89c20d735d0e17cc93e8f78876bf8a388a6a
2017-05-25 16:42:18 +00:00
Sunny Goyal
477b8cc1b4 Fixing string not correctly marked as non-translatable
Bug: 38371442
Change-Id: I79a679d461e422dbb4e4832192ac40e6c2d509de
2017-05-25 09:08:49 -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
TreeHugger Robot
94652a207f Merge "Allapps motion changes for landscape" into ub-launcher3-dorval-polish 2017-05-24 21:07:08 +00: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
dcc0cc7220 Merge "Update FolderIcon preview to be 1dp bigger (stroke) than other shortcuts." into ub-launcher3-dorval-polish 2017-05-24 20:29:30 +00:00
Jon Miranda
896e71a859 Update FolderIcon preview to be 1dp bigger (stroke) than other
shortcuts.

Bug: 38338424
Change-Id: I2e9cdb2285e97e9d899eda13947bedb40d6fbcb2
2017-05-24 12:15:24 -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