Loading quickstep/res/values-nb/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ <string name="toast_split_select_app" msgid="5453865907322018352">"Trykk på en annen app for å bruke delt skjerm"</string> <string name="toast_split_app_unsupported" msgid="3271526028981899666">"Appen støtter ikke delt skjerm."</string> <string name="blocked_by_policy" msgid="2071401072261365546">"Appen eller organisasjonen din tillater ikke denne handlingen"</string> <string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Vil du hoppe over navigeringsveiledning?"</string> <string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Vil du hoppe over navigeringsveiledningen?"</string> <string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"Du kan finne dette i <xliff:g id="NAME">%1$s</xliff:g>-appen senere"</string> <string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Avbryt"</string> <string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Hopp over"</string> Loading quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +6 −4 Original line number Diff line number Diff line Loading @@ -1996,9 +1996,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, * Applies the transform on the recents animation */ protected void applyScrollAndTransform() { // No need to apply any transform if there is ongoing swipe-pip-to-home animator since // that animator handles the leash solely. boolean notSwipingPipToHome = mRecentsAnimationTargets != null && !mIsSwipingPipToHome; // No need to apply any transform if there is ongoing swipe-to-home animator // swipe-to-pip handles the leash solely // swipe-to-icon animation is handled by RectFSpringAnim anim boolean notSwipingToHome = mRecentsAnimationTargets != null && mGestureState.getEndTarget() != HOME; boolean setRecentsScroll = mRecentsViewScrollLinked && mRecentsView != null; for (RemoteTargetHandle remoteHandle : mRemoteTargetHandles) { AnimatorControllerWithResistance playbackController = Loading @@ -2008,7 +2010,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, getScaleProgressDueToScroll()), mDragLengthFactor); } if (notSwipingPipToHome) { if (notSwipingToHome) { TaskViewSimulator taskViewSimulator = remoteHandle.getTaskViewSimulator(); if (setRecentsScroll) { taskViewSimulator.setScroll(mRecentsView.getScrollOffset()); Loading quickstep/src/com/android/quickstep/TouchInteractionService.java +16 −1 Original line number Diff line number Diff line Loading @@ -264,6 +264,16 @@ public class TouchInteractionService extends Service MAIN_EXECUTOR.execute(ProxyScreenStatusProvider.INSTANCE::onScreenTurnedOn); } /** * Preloads the Overview activity. * * This method should only be used when the All Set page of the SUW is reached to safely * preload the Launcher for the SUW first reveal. */ public void preloadOverviewForSUWAllSet() { preloadOverview(false, true); } @Override public void onRotationProposal(int rotation, boolean isValid) { executeForTaskbarManager(() -> mTaskbarManager.onRotationProposal(rotation, isValid)); Loading Loading @@ -865,6 +875,10 @@ public class TouchInteractionService extends Service } private void preloadOverview(boolean fromInit) { preloadOverview(fromInit, false); } private void preloadOverview(boolean fromInit, boolean forSUWAllSet) { if (!mDeviceState.isUserUnlocked()) { return; } Loading @@ -874,7 +888,8 @@ public class TouchInteractionService extends Service return; } if (RestoreDbTask.isPending(this) || !mDeviceState.isUserSetupComplete()) { if ((RestoreDbTask.isPending(this) && !forSUWAllSet) || !mDeviceState.isUserSetupComplete()) { // Preloading while a restore is pending may cause launcher to start the restore // too early. return; Loading quickstep/src/com/android/quickstep/interaction/AllSetActivity.java +1 −0 Original line number Diff line number Diff line Loading @@ -202,6 +202,7 @@ public class AllSetActivity extends Activity { mBinder = binder; mBinder.getTaskbarManager().setSetupUIVisible(isResumed()); mBinder.setSwipeUpProxy(isResumed() ? this::createSwipeUpProxy : null); mBinder.preloadOverviewForSUWAllSet(); } @Override Loading res/values-bs/strings.xml +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ <string name="work_apps_pause_btn_text" msgid="4669288269140620646">"Pauziraj poslovne aplikacije"</string> <string name="work_apps_enable_btn_text" msgid="1156432622148413741">"Uključi poslovne aplikacije"</string> <string name="developer_options_filter_hint" msgid="5896817443635989056">"Filtrirajte"</string> <string name="search_pref_screen_title" msgid="3258959643336315962">"Pretraživanje telefona"</string> <string name="search_pref_screen_title_tablet" msgid="5220319680451343959">"Pretraživanje tableta"</string> <string name="search_pref_screen_title" msgid="3258959643336315962">"Pretražite telefon"</string> <string name="search_pref_screen_title_tablet" msgid="5220319680451343959">"Pretražite tablet"</string> <string name="remote_action_failed" msgid="1383965239183576790">"Nije uspjelo: <xliff:g id="WHAT">%1$s</xliff:g>"</string> </resources> Loading
quickstep/res/values-nb/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ <string name="toast_split_select_app" msgid="5453865907322018352">"Trykk på en annen app for å bruke delt skjerm"</string> <string name="toast_split_app_unsupported" msgid="3271526028981899666">"Appen støtter ikke delt skjerm."</string> <string name="blocked_by_policy" msgid="2071401072261365546">"Appen eller organisasjonen din tillater ikke denne handlingen"</string> <string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Vil du hoppe over navigeringsveiledning?"</string> <string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Vil du hoppe over navigeringsveiledningen?"</string> <string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"Du kan finne dette i <xliff:g id="NAME">%1$s</xliff:g>-appen senere"</string> <string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Avbryt"</string> <string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Hopp over"</string> Loading
quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +6 −4 Original line number Diff line number Diff line Loading @@ -1996,9 +1996,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, * Applies the transform on the recents animation */ protected void applyScrollAndTransform() { // No need to apply any transform if there is ongoing swipe-pip-to-home animator since // that animator handles the leash solely. boolean notSwipingPipToHome = mRecentsAnimationTargets != null && !mIsSwipingPipToHome; // No need to apply any transform if there is ongoing swipe-to-home animator // swipe-to-pip handles the leash solely // swipe-to-icon animation is handled by RectFSpringAnim anim boolean notSwipingToHome = mRecentsAnimationTargets != null && mGestureState.getEndTarget() != HOME; boolean setRecentsScroll = mRecentsViewScrollLinked && mRecentsView != null; for (RemoteTargetHandle remoteHandle : mRemoteTargetHandles) { AnimatorControllerWithResistance playbackController = Loading @@ -2008,7 +2010,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, getScaleProgressDueToScroll()), mDragLengthFactor); } if (notSwipingPipToHome) { if (notSwipingToHome) { TaskViewSimulator taskViewSimulator = remoteHandle.getTaskViewSimulator(); if (setRecentsScroll) { taskViewSimulator.setScroll(mRecentsView.getScrollOffset()); Loading
quickstep/src/com/android/quickstep/TouchInteractionService.java +16 −1 Original line number Diff line number Diff line Loading @@ -264,6 +264,16 @@ public class TouchInteractionService extends Service MAIN_EXECUTOR.execute(ProxyScreenStatusProvider.INSTANCE::onScreenTurnedOn); } /** * Preloads the Overview activity. * * This method should only be used when the All Set page of the SUW is reached to safely * preload the Launcher for the SUW first reveal. */ public void preloadOverviewForSUWAllSet() { preloadOverview(false, true); } @Override public void onRotationProposal(int rotation, boolean isValid) { executeForTaskbarManager(() -> mTaskbarManager.onRotationProposal(rotation, isValid)); Loading Loading @@ -865,6 +875,10 @@ public class TouchInteractionService extends Service } private void preloadOverview(boolean fromInit) { preloadOverview(fromInit, false); } private void preloadOverview(boolean fromInit, boolean forSUWAllSet) { if (!mDeviceState.isUserUnlocked()) { return; } Loading @@ -874,7 +888,8 @@ public class TouchInteractionService extends Service return; } if (RestoreDbTask.isPending(this) || !mDeviceState.isUserSetupComplete()) { if ((RestoreDbTask.isPending(this) && !forSUWAllSet) || !mDeviceState.isUserSetupComplete()) { // Preloading while a restore is pending may cause launcher to start the restore // too early. return; Loading
quickstep/src/com/android/quickstep/interaction/AllSetActivity.java +1 −0 Original line number Diff line number Diff line Loading @@ -202,6 +202,7 @@ public class AllSetActivity extends Activity { mBinder = binder; mBinder.getTaskbarManager().setSetupUIVisible(isResumed()); mBinder.setSwipeUpProxy(isResumed() ? this::createSwipeUpProxy : null); mBinder.preloadOverviewForSUWAllSet(); } @Override Loading
res/values-bs/strings.xml +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ <string name="work_apps_pause_btn_text" msgid="4669288269140620646">"Pauziraj poslovne aplikacije"</string> <string name="work_apps_enable_btn_text" msgid="1156432622148413741">"Uključi poslovne aplikacije"</string> <string name="developer_options_filter_hint" msgid="5896817443635989056">"Filtrirajte"</string> <string name="search_pref_screen_title" msgid="3258959643336315962">"Pretraživanje telefona"</string> <string name="search_pref_screen_title_tablet" msgid="5220319680451343959">"Pretraživanje tableta"</string> <string name="search_pref_screen_title" msgid="3258959643336315962">"Pretražite telefon"</string> <string name="search_pref_screen_title_tablet" msgid="5220319680451343959">"Pretražite tablet"</string> <string name="remote_action_failed" msgid="1383965239183576790">"Nije uspjelo: <xliff:g id="WHAT">%1$s</xliff:g>"</string> </resources>