Andy Wickham
4c96814b1c
Fix layout for multi-element rows (e.g. Screenshots).
...
Demo with standard 3 element row and overflowing 2 element row:
https://drive.google.com/drive/folders/1o1gvD3mOxFmVW2vqjn3D1Gukz-ie_kmW?resourcekey=0-bHRsdqpUWITEUo39tAMJDg&usp=sharing
Test: Manually with 1, 2, 3, and 4 length rows of 3 screenshots
and putting web suggestions into 2 columns.
Fix: 247837336
Bug: 239927522
Change-Id: I391beb7a24f189b5e55cb7b65c5ffc8349c83cfc
2022-09-29 10:38:20 -07:00
Federico Baron
178a45a5ab
Merge "Add rotation to folder pagination for delightful pagination" into tm-qpr-dev
2022-09-23 21:40:48 +00:00
Becky Qiu
dd002b87e0
Merge "[Toast] Change toast qpr1 feature flags to all apps device config." into tm-qpr-dev
2022-09-23 21:31:15 +00:00
Becky Qiu
3aec5d59dc
[Toast] Change toast qpr1 feature flags to all apps device config.
...
Bug: 247122218
Test: local
Change-Id: I096f9fe4f8d071ea4b3292c6245da0c0ec509077
2022-09-23 11:59:56 -07:00
Federico Baron
bdcc17c2aa
Add rotation to folder pagination for delightful pagination
...
Here we add rotation for the page indicator in order to make it align with the new animation design.
Bug: 247561880
Test: manual
Change-Id: I91202c8ac259d4876f6182938db79c466f99c6ed
2022-09-23 11:30:00 -07:00
Brandon Dayauon
7f98856395
Merge "Fix pause work apps overlapping IME" into tm-qpr-dev
2022-09-23 17:00:25 +00:00
TreeHugger Robot
07bcfaa72a
Merge "Adding flag for material U popup" into tm-qpr-dev
2022-09-23 16:56:42 +00:00
Anushree Ganjam
65e73ce5b3
Merge "Add Ime transition type, Controlled and Atomic to LatencyType." into tm-qpr-dev
2022-09-22 23:32:45 +00:00
Brandon Dayauon
23ff6774b7
Fix pause work apps overlapping IME
...
The bottom margin for button in gesture navigation is wrong.
The bottom margin for the button is supposed to be 20dp from the gesture nav bar,
not 20dp from the bottom of the screen. The calculation was correct for 3 button nav but
was forgotten to be applied to gesture nav.
bug: 246243359
test: Manual - after: https://hsv.googleplex.com/5763335673872384
Change-Id: If678a70b4ad43791cf9e66390164e1ab25a6e366
2022-09-22 13:35:01 -07:00
Andy Wickham
0f7b01c775
Merge "Removes search animation when tapping home screen QSB." into tm-qpr-dev
2022-09-22 19:01:12 +00:00
Anushree Ganjam
ae81433665
Merge "HideKeyboard when animations are disabled." into tm-qpr-dev
2022-09-22 18:03:52 +00:00
Schneider Victor-tulias
418b1f8e82
Merge "Allow Taskbar stashing for external tests" into tm-qpr-dev
2022-09-22 17:25:24 +00:00
Hyunyoung Song
64d5e25ab7
Merge "Fix the case of the missing header." into tm-qpr-dev
2022-09-22 15:45:22 +00:00
Federico Baron
06c0f35c4e
Merge "Adding 'delightful pagination' to folders, removed old animation and now have regular scrolling for navigating pages." into tm-qpr-dev
2022-09-22 01:10:48 +00:00
Anushree Ganjam
25ba5203e4
Add Ime transition type, Controlled and Atomic to LatencyType.
...
Bug: 240192346
Bug: 234812580
Test: Manual
Change-Id: I90042aa41acb1a01e3c45f67ccdc9c0f2f0eaf81
2022-09-22 01:07:08 +00:00
Federico Baron
f837fd1795
Adding 'delightful pagination' to folders, removed old animation and now have regular scrolling for navigating pages.
...
Here we add a feature flag for delightful pagination and if the feature flag is on we show a new pagination without the old animation, instead it will show a square that will move on scroll from one page to another.
Bug: 247561880
Test: manual
Change-Id: Ic88b6b2e4c677fd2012bca579407168cbda63785
2022-09-21 17:56:08 -07:00
Andy Wickham
d20fe5b299
Removes search animation when tapping home screen QSB.
...
Test: Manual
Bug: 234882587
Fix: 247965855
Change-Id: Ib6d3c3f81924fdb693a90d4672b6d643b0b87407
2022-09-22 00:41:35 +00:00
Andy Wickham
30b87aad7d
Fix the case of the missing header.
...
We should not override the tabs based on the search state now
that they are hidden (but still active) during the animation.
For an explanation of why this fixes the issue, please see
https://b.corp.google.com/issues/247615711#comment15 .
Fix: 247615711
Test: Manually with predicted apps being updated every second
(part of the way I found to repro the bug).
Change-Id: I5ba45c42726c34f471a7743c06aecc05c89f6105
2022-09-21 17:04:48 -07:00
Anushree Ganjam
2043d36b86
HideKeyboard when animations are disabled.
...
ValueAnimator.areAnimatorsEnabled() returns false
- When talkback is turned on.
- when "Settings -> Accessibility -> remove animations" are turned on.
In launcher code, when launcherstate goes from ALLAPPS -> NORMAL, AllAppsTransitionController.setStateWithAnimation is called only when animations are enabled and this function hides keyboard as well.
However, when animations are disabled
AllAppsTransitionController.setState -> onProgressAnimationEnd() is called which is where we need to hide keyboard. But the condition "if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()) return;" caused the keyboard to not hide instead just return from onProgressAnimationEnd().
See https://source.corp.google.com/android-internal/packages/apps/Launcher3/src/com/android/launcher3/statemanager/StateManager.java;l=221-235;rcl=08a9bcac1f8400b44356ad4da445de8d7f360578
Bug: 239610759
Test: Manual
Video : https://drive.google.com/drive/folders/1Tif2uf13dYxIgtDlELkE4SiRthr_w-dZ?resourcekey=0-7Po8nbQPxhsgLqeMJGgKIw&usp=sharing
Change-Id: Ice9a0f951435d2fc1594d09414f299ce0cff775c
2022-09-22 00:04:13 +00:00
Stefan Andonian
beccfe5928
Merge "Correctly position the landscape / rtl FloatingIconView's background drawable when swiping back to home." into tm-qpr-dev
2022-09-21 22:48:42 +00:00
Brian Isganitis
4ef5056be8
Merge "Add content description for taskbar all apps button." into tm-qpr-dev
2022-09-21 18:40:42 +00:00
Stefan Andonian
d768f73f37
Correctly position the landscape / rtl FloatingIconView's background drawable when swiping back to home.
...
Bug: 235812580
Test: Verified the correct "Swipe Back to Home" position for the
floating icon view in landscape and portrait (rtl and ltr for both
orientations) with a tablet. There is a screen recording on the bug.
Change-Id: Id06f43e70ef617e39e1b26d0c8b7466147e325d2
2022-09-21 17:54:24 +00:00
Schneider Victor-tulias
e64a8cfb20
Allow Taskbar stashing for external tests
...
Moved Taskbar stashing enabling logic to QuickstepTestInformationHandler to allow external tests to use the Taskbar API
Test: TaplTestsTaskbar
Bug: 240129939
Change-Id: I0ede8e4767cbe068328997a3afd51f9d5df2799a
2022-09-21 10:44:23 -07:00
Andy Wickham
a297508c15
Merge "Reduces vertical padding of predicted apps in All Apps." into tm-qpr-dev
2022-09-21 17:25:39 +00:00
Yein Jo
364af1837e
Merge "Move OnBackInvoked to BaseActivity." into tm-qpr-dev
2022-09-20 23:21:44 +00:00
Sebastian Franco
3493764337
Adding flag for material U popup
...
Test: compile
Bug: 247880037
Change-Id: I989fe88e070f5fe14494aa2c3d00071259907472
2022-09-20 18:02:41 -05:00
Yein Jo
18446d0189
Move OnBackInvoked to BaseActivity.
...
In order to have all the activities in Launcher get
the same OnBackInvoked behavior, the logic is moved to BaseActivity.
Test: Manual, Tapl
Bug: 238475344
Change-Id: I3f49091397e31fe1f183596f7fba3bf514697468
2022-09-20 16:53:41 +00:00
Jeremy Sim
37f83cf246
Merge "Update animations for TM-QPR: OverviewSplitSelect > Confirmed transition" into tm-qpr-dev
2022-09-20 02:55:46 +00:00
Brian Isganitis
d07b1a7c42
Add content description for taskbar all apps button.
...
Test: Manual
Fix: 221338615
Change-Id: Ic3b6f4e83a1234f1979f9fb4af75e6c893381a13
2022-09-19 16:25:15 -07:00
Sihua Ma
8e66905618
Merge "Showing Toast message when the target package is null for the disabled shortcut" into tm-qpr-dev
2022-09-19 23:20:12 +00:00
Sunny Goyal
59caeb9468
Merge "Fixing nullPointerException is RotationHelper" into tm-qpr-dev
2022-09-19 21:43:23 +00:00
Jeremy Sim
3ad08cd2b8
Merge "Fix issue with Overview thumbnails appearing blank in certain situations" into tm-qpr-dev
2022-09-19 19:56:57 +00:00
Jeremy Sim
a4ba516797
Update animations for TM-QPR: OverviewSplitSelect > Confirmed transition
...
This change updates the animation for confirming a split.
Includes:
- New timings
- A new interface, SplitAnimationTimings, that centralizes timing values for splitscreen animations
Fixes: 241126570
Test: Manual
Change-Id: I61339964a7254618b368b17f00fda8f5efb53de4
2022-09-19 12:04:33 -07:00
Sunny Goyal
e41c5b005f
Fixing nullPointerException is RotationHelper
...
Bug: 247055735
Test: Verified on device
Change-Id: Ie73be138bdb616fb9db739b09c12794d61183657
2022-09-19 11:02:04 -07:00
TreeHugger Robot
69c04c21c5
Merge "Explicit Nullbility in Launcher (Part 5)" into tm-qpr-dev
2022-09-19 17:12:40 +00:00
Luca Zuccarini
3fe8d2c9fa
Merge "Fix issue with keyboard disappearing too late." into tm-qpr-dev
2022-09-19 15:36:59 +00:00
Jeremy Sim
08a9bcac1f
Fix issue with Overview thumbnails appearing blank in certain situations
...
This CL fixes an issue where canceling any Launcher animation by entering Quick Switch would cause Overview to appear with all thumbnail tiles blank.
The issue occurred because we recently added a reset() to Overview that triggered on all state transition animation cancels. This fixed some issues, but introduced this bug.
Fixed by tailoring the reset() to only fire on animation cancels within BaseRecentsView and FallbackRecentsView.
Fixes: 246232494
Fixes: 243471493
Test: Manual
Change-Id: I175a22d52597a63e164a6f3b9353c62b199b0712
2022-09-17 16:01:46 -07:00
TreeHugger Robot
17c4741432
Merge "Updating the title of the Add to homescreen prompt to the requesting app instead of the Launcher name" into tm-qpr-dev
2022-09-17 01:47:48 +00:00
Holly Jiuyu Sun
a6f9b4b76b
Merge "Clear the staled mFocusedView when toast surface is closed." into tm-qpr-dev
2022-09-17 01:34:45 +00:00
Pinyao Ting
777c13eb00
Explicit Nullbility in Launcher (Part 5)
...
This CL addresses the nullbility in LauncherModel and update tasks.
Bug: 242895652
Test: manual
Change-Id: Ied635c944c3656f0d493b295f772aa0329b354b9
2022-09-16 17:17:16 -07:00
TreeHugger Robot
860657a5f2
Merge "Updating the scroll calculation from recyclerView to avoid view inflation" into tm-qpr-dev
2022-09-16 23:07:54 +00:00
Sunny Goyal
bb5ebb7f2d
Updating the title of the Add to homescreen prompt to the requesting app
...
instead of the Launcher name
Bug: 239055068
Test: Verified on device
Change-Id: I1494d911565ddf3a598f9fbf372b8d784a4276e4
2022-09-16 15:54:53 -07:00
Yein Jo
dfaabbb499
Merge "Migrate Launcher to use the new OnBackInvokedCallback" into tm-qpr-dev
2022-09-16 21:44:49 +00:00
Holly Sun
98d6a4027a
Clear the staled mFocusedView when toast surface is closed.
...
Test: manual
Bug: 224756660
Change-Id: Iadce94f9138ee375fa9b6e3ef8fb685847312045
2022-09-16 14:28:23 -07:00
Andy Wickham
455c942fd2
Merge "Pivot search results scale around top of view." into tm-qpr-dev
2022-09-16 21:17:26 +00:00
TreeHugger Robot
af2fe7fd12
Merge "Turn off changing depth in wallpaper picker" into tm-qpr-dev
2022-09-16 16:50:04 +00:00
Alex Chau
fa83199e62
Turn off changing depth in wallpaper picker
...
Fix: 246845529
Bug: 240580498
Test: manual
Change-Id: Ib8fd624c518fb4c26d2598137d056b196a0ddeb7
2022-09-16 16:39:47 +08:00
TreeHugger Robot
9fb4802a67
Merge "Moving ViewCapture to Quickstep level to use hidden apis." into tm-qpr-dev
2022-09-16 06:23:07 +00:00
Stefan Andonian
5df305fed6
Moving ViewCapture to Quickstep level to use hidden apis.
...
Bug: 242867462
Test: Compilation succeeded while using private flags.
Change-Id: I9b15967b594963c5573ea1a0000b60f7c705da95
2022-09-16 03:36:15 +00:00
Andy Wickham
889be463f7
Merge "Adds SearchRecyclerView as a notification dot listener." into tm-qpr-dev
2022-09-15 23:47:00 +00:00