Commit Graph

34630 Commits

Author SHA1 Message Date
Jon Miranda 9593f9ed0c Fix bug where workspace is not aligned with hotseat in landscape.
The padding was added to the hotseat, but not to the workspace screens.
Only affects landscape where bottomPadding != 0.

Bug: 63996463
Change-Id: I8be0e36128963a1856d2effa76fdb2a6cfd966a8
2017-08-09 14:57:30 -07:00
TreeHugger Robot 16d90e3be5 Merge "Update hotseat cell height calculation." into ub-launcher3-dorval-polish2 2017-08-09 21:05:23 +00:00
Jonathan Miranda b1104927da [automerger] Update hotseat cell height calculation. am: 5044c35b07
Change-Id: Iceabd44636cbca45ba76a57835452ab5f24e95df
2017-08-09 18:39:51 +00:00
Jon Miranda 5044c35b07 Update hotseat cell height calculation.
The hotseat never has text, so we remove the icon drawable padding
from the height calculation.

This allows the items in the hotseat to be centered vertically
properly.

Bug: 63996463
Change-Id: Ie0c5706ae6edeafae321ca024c066439d40ca237
2017-08-09 11:37:59 -07:00
Hyunyoung Song 238ec0b2e2 Merge "Disable adaptive icon drawable parallax effect during drag and drop Bug: 34828147" into ub-launcher3-dorval-polish2 2017-08-09 15:14:01 +00:00
Hyunyoung Song a5a859838b Merge changes from topic 'am-84f3ec58-93f2-4a21-a27f-6d727311e4dc' into ub-launcher3-master
* changes:
  [automerger] Disable adaptive icon drawable parallax effect during drag and drop Bug: 34828147 am: 76bf7f3835
  Disable adaptive icon drawable parallax effect during drag and drop Bug: 34828147
2017-08-09 15:14:01 +00:00
TreeHugger Robot 4da15639c3 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish2 2017-08-09 13:55:18 +00:00
TreeHugger Robot 5660a7dce4 Merge changes from topic 'am-09ada013-e78f-456e-b162-d05171226715' into ub-launcher3-master
* changes:
  [automerger] Import translations. DO NOT MERGE skipped: f4085ff7cc
  Import translations. DO NOT MERGE
2017-08-09 13:55:18 +00:00
TreeHugger Robot 147711bd9f Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-08-09 13:55:02 +00:00
The Android Open Source Project 5a492ea801 Import translations. DO NOT MERGE
Change-Id: Ieb766acaf2da7f21bf8b9fded3313bcc1ab59c31
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-09 04:25:44 -07:00
Bill Yi f5725b6510 [automerger] Import translations. DO NOT MERGE skipped: f4085ff7cc
Change-Id: Ie94b5625c5e22d610437d91dee71bee685013758
2017-08-09 11:24:25 +00:00
The Android Open Source Project f4085ff7cc Import translations. DO NOT MERGE
Change-Id: Ia1a6c690e285583fe62a9743d8e283c26d020ba2
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-09 04:24:16 -07:00
TreeHugger Robot 8230198af0 Merge "Making some methods accessible" into ub-launcher3-dorval-polish2 2017-08-09 09:17:00 +00:00
TreeHugger Robot 0d34cdf0d9 Merge changes from topic 'public-methods' into ub-launcher3-master
* changes:
  [automerger] Making some methods accessible am: 0b754e564b
  Making some methods accessible
2017-08-09 09:17:00 +00:00
Sunny Goyal 463b04cfe1 [automerger] Fixing badge bounds incorrectly set when dragging icon am: 5be7579598
Change-Id: Ifd1aa077c9cd732104b4cbcb661c6447efef7209
2017-08-07 17:42:35 +00:00
Sunny Goyal 5be7579598 Fixing badge bounds incorrectly set when dragging icon
Bug: 64427027
Change-Id: If57bdcab703b2cc30e8ca0c0fba0dd599792bd00
2017-08-07 10:42:22 -07:00
Sunny Goyal 33e29c8a75 [automerger] Making some methods accessible am: 0b754e564b
Change-Id: I247430dc5eaebed47b03d0e881d97fb3d7131a27
2017-08-07 14:43:49 +00:00
Sunny Goyal 0b754e564b Making some methods accessible
Bug: 63996463
Change-Id: I3cd2e21b8aa6744fc8003a131178ce1671e024dd
2017-08-07 07:43:25 -07:00
Hyunyoung Song 7c4bd89038 [automerger] Disable adaptive icon drawable parallax effect during drag and drop Bug: 34828147 am: 76bf7f3835
Change-Id: I4e43dd1b13d5bb24f281250d6884b1f5d5944f2e
2017-08-07 08:38:33 +00:00
Hyunyoung Song 76bf7f3835 Disable adaptive icon drawable parallax effect during drag and drop
Bug: 34828147

Change-Id: I5abb0997ce42db1ea73ebe469686585282f43594
2017-08-07 01:38:03 -07:00
Tony Wickham cebcfbce94 [automerger] Defer some work until after workspace fade-in am: 2917a8bf2b
Change-Id: Ibd5f3343a58158376576853b139a8dd3e5b98e26
2017-08-04 18:52:59 +00:00
Tony 2917a8bf2b Defer some work until after workspace fade-in
Defer:
- Setting all apps
- Setting widgets

Also set the launcher-loader thread to THREAD_PRIORITY_BACKGROUND
for the duration of the animation.

Bug: 37965432
Change-Id: I8364940805b84aecb8353a473ab4d575c27bfec4
2017-08-04 11:52:42 -07:00
TreeHugger Robot c1c54a9a18 Merge changes from topic 'am-94141856-48de-44cd-a76c-24977eb36b9f' into ub-launcher3-master
* changes:
  [automerger] Create new device profile for Android Go. am: 902e235348
  Create new device profile for Android Go.
2017-08-04 17:57:00 +00:00
TreeHugger Robot f2b83d0e84 Merge "Create new device profile for Android Go." into ub-launcher3-dorval-polish2 2017-08-04 17:57:00 +00:00
TreeHugger Robot 56ad97cf2d Merge "Switch the status bar color earlier in the all apps transition" into ub-launcher3-dorval-polish 2017-08-04 17:30:06 +00:00
Adam Cohen aa392fc1f6 [automerger] Switch the status bar color earlier in the all apps transition am: 3051dbabe7 am: 3fc21715b3
Change-Id: I195ecbf364e5c9ed536f95f0702a12fce8922472
2017-08-04 16:29:28 +00:00
Adam Cohen 3fc21715b3 [automerger] Switch the status bar color earlier in the all apps transition am: 3051dbabe7
Change-Id: I12f952a555287173bc7ad5e3acca3aaad2b6a1df
2017-08-04 16:29:25 +00:00
Adam Cohen 3051dbabe7 Switch the status bar color earlier in the all apps transition
-> When LAUNCHER3_GRADIENT_ALL_APPS is true, switch the status / nav bar
   to be dark when the transition is 75% of the way through, since at this point
   the gradient is already substantially under the status bar.

issue 64385775

Change-Id: Ie27b8f2afa404c0b3081a4f17daa92ef4e0472bc
2017-08-04 09:29:14 -07:00
TreeHugger Robot 402fb03160 Merge "Fix bug where user gets stuck in overscroll." into ub-launcher3-dorval-polish 2017-08-04 16:10:59 +00:00
TreeHugger Robot 7f167243c2 Merge changes from topic 'am-4864e8c3-e581-4e7f-bc1f-7276c1bf7352' into ub-launcher3-master
* changes:
  [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81 am: 572da280d3
  [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81
  Fix bug where user gets stuck in overscroll.
2017-08-04 16:10:59 +00:00
TreeHugger Robot 1af550fa9d Merge changes from topic 'am-4864e8c3-e581-4e7f-bc1f-7276c1bf7352' into ub-launcher3-dorval-polish2
* changes:
  [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81
  Fix bug where user gets stuck in overscroll.
2017-08-04 16:10:59 +00:00
Tony Wickham 8355dc054c [automerger] Unbind notification listener when badging is disabled am: d48710c283
Change-Id: Icb4da18efc0e0c3ac009e90a314c9ff27189ba11
2017-08-04 01:06:24 +00:00
Tony d48710c283 Unbind notification listener when badging is disabled
- Added SettingsObserver as wrapper around ContentObserver
  to observe Secure or System setting changes.
- NotificationListener and LauncherAppState observe changes
  to the notification dots setting and unbind and rebind
  the NotificationListener service, respectively.

Bug: 36815147
Change-Id: I2cc04ac816a8974969ad0ec759c5402e181fde24
2017-08-03 18:06:14 -07:00
Tony Wickham 30284965d0 [automerger] Merge commit 'refs/changes/84/2659484/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-860fd7dd-f3a3-4500-8fc2-78d473322b94 am: 3b7c865e04
Change-Id: I2de03214f2208d2af4c61b453e454a86aacc0159
2017-08-04 00:07:27 +00:00
Tony 3b7c865e04 Merge commit 'refs/changes/84/2659484/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-860fd7dd-f3a3-4500-8fc2-78d473322b94
Change-Id: I0b39a20cee47d4aba4a033196db3df78b2357b7b
2017-08-03 17:06:19 -07:00
Tony Wickham 2bc5c995f6 Add new GradientView just for WidgetsBottomSheet
Reusing the one behind all apps caused problems when
opening widgets sheets from all apps.

Bug: 64344341
Change-Id: Ia964d8456645c78614f94693f9538dbac4f566a0
2017-08-03 15:42:03 -07:00
Jonathan Miranda 1adb4cbda3 [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81 am: 572da280d3
Change-Id: I8afccc13e384a2c1fde39b291e1b8d84c980d36e
2017-08-03 22:09:09 +00:00
Jonathan Miranda 572da280d3 [automerger] Fix bug where user gets stuck in overscroll. am: 27ad267a81
Change-Id: I5437e02a5c16eefd05c3414c98f77b96bfb0b2ca
2017-08-03 22:09:05 +00:00
Jon Miranda 27ad267a81 Fix bug where user gets stuck in overscroll.
By not intercepting touch when in overscroll, the user
can immediately exit by swiping the opposite direction.

Bug: 64094565
Change-Id: I0b4e3e7a38d90d4e6a336985d939d177a8f04c9b
2017-08-03 15:08:35 -07:00
Jonathan Miranda 0c2fdbfd66 [automerger] Create new device profile for Android Go. am: 902e235348
Change-Id: I5920af06d1144e341cdeb59f4e9fde02a0f4b269
2017-08-03 20:49:37 +00:00
Jon Miranda 902e235348 Create new device profile for Android Go.
Bug: 64109388
Change-Id: I8660f4e206eacd4eaccaebe794d255063eeb7e37
2017-08-03 13:49:22 -07:00
TreeHugger Robot 1ab03c6b2b Merge "Updating the shortcut icon for Launcher3Go" into ub-launcher3-dorval-polish2 2017-08-03 20:42:01 +00:00
Sunny Goyal 58ddf36f1a [automerger] Updating the shortcut icon for Launcher3Go am: eda6907387
Change-Id: I6d132b7da62b4f37021276dd559a79517e532ac8
2017-08-03 06:29:33 +00:00
Sunny Goyal eda6907387 Updating the shortcut icon for Launcher3Go
Bug: 64273481
Change-Id: I46cfc21f1faa7032f1f220a3d4eff42be54e4deb
2017-08-02 23:29:16 -07:00
Jonathan Miranda 3d52ee4da1 [automerger] Optimizations to reduce all apps jank. am: 7f522a25c3 am: 00abdaca61
Change-Id: I3a79d31b61488e51d149a1585ad2b5f8010e878b
2017-08-02 19:42:01 +00:00
Jonathan Miranda 00abdaca61 [automerger] Optimizations to reduce all apps jank. am: 7f522a25c3
Change-Id: Ia2f5fd2f8be050b32fa6b25fef9f3f54b1501c2b
2017-08-02 19:41:58 +00:00
Jon Miranda 7f522a25c3 Optimizations to reduce all apps jank.
* Since adding springs to the apps in All Apps, it is no longer
  efficient to build a hardware layer for it.
* Pre-uploads bitmaps to RenderThread.
* Only add overview animations if we are transitioning to/from it.

Bug: 63711551
Change-Id: I948267598e95ec59dc156acb9abe6b5b789110c0
2017-08-02 12:41:33 -07:00
TreeHugger Robot 36802d5f0b Merge changes from topic 'am-916774c2-9e43-4da0-a288-183ea416defb' into ub-launcher3-master
* changes:
  [automerger] Updating fade-effect parameters: > Shifting the effect at the edge in the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children am: 5d80c28161
  Updating fade-effect parameters: > Shifting the effect at the edge in the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children
2017-08-02 17:46:30 +00:00
TreeHugger Robot 95de553bcb Merge "Updating fade-effect parameters: > Shifting the effect at the edge in the presence of padding > Removing fade effect at the bottom > Fixing wrong call for translating children" into ub-launcher3-dorval-polish2 2017-08-02 17:46:29 +00:00
TreeHugger Robot 807c593256 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-08-02 12:56:13 +00:00