Loading Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ android_library { ], srcs: [ "tests/tapl/**/*.java", "quickstep/src/com/android/quickstep/SwipeUpSetting.java", "src/com/android/launcher3/util/SecureSettingsObserver.java", "src/com/android/launcher3/TestProtocol.java", ], Loading go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java +7 −4 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.launcher3.uioverrides; import static android.view.View.VISIBLE; import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY; import android.view.View; Loading @@ -26,8 +25,12 @@ import com.android.launcher3.Launcher; import com.android.launcher3.LauncherStateManager.StateHandler; import com.android.launcher3.Utilities; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.uioverrides.touchcontrollers.LandscapeEdgeSwipeController; import com.android.launcher3.uioverrides.touchcontrollers.LandscapeStatesTouchController; import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController; import com.android.launcher3.uioverrides.touchcontrollers.StatusBarTouchController; import com.android.launcher3.util.TouchController; import com.android.quickstep.OverviewInteractionState; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.views.IconRecentsView; import java.util.ArrayList; Loading @@ -49,8 +52,8 @@ public abstract class RecentsUiFactory { list.add(new LandscapeStatesTouchController(launcher)); list.add(new LandscapeEdgeSwipeController(launcher)); } else { boolean allowDragToOverview = OverviewInteractionState.INSTANCE.get(launcher) .isSwipeUpGestureEnabled(); boolean allowDragToOverview = SysUINavigationMode.INSTANCE.get(launcher) .getMode().hasGestures; list.add(new PortraitStatesTouchController(launcher, allowDragToOverview)); } if (FeatureFlags.PULL_DOWN_STATUS_BAR && Utilities.IS_DEBUG_DEVICE Loading go/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java→go/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java +14 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.states; import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import static com.android.launcher3.anim.Interpolators.DEACCEL_2; Loading Loading @@ -91,4 +91,17 @@ public class OverviewState extends LauncherState { public static float getDefaultSwipeHeight(DeviceProfile dp) { return dp.allAppsCellHeightPx - dp.allAppsIconTextSizePx; } public static OverviewState newBackgroundState(int id) { return new OverviewState(id); } public static OverviewState newPeekState(int id) { return new OverviewState(id); } public static OverviewState newSwitchState(int id) { return new OverviewState(id); } } go/quickstep/src/com/android/launcher3/uioverrides/LandscapeStatesTouchController.java→go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/LandscapeStatesTouchController.java +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.touchcontrollers; import static com.android.launcher3.LauncherState.ALL_APPS; import static com.android.launcher3.LauncherState.NORMAL; Loading go/quickstep/src/com/android/launcher3/uioverrides/PortraitOverviewStateTouchHelper.java→go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/PortraitOverviewStateTouchHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.touchcontrollers; import android.view.MotionEvent; Loading Loading
Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ android_library { ], srcs: [ "tests/tapl/**/*.java", "quickstep/src/com/android/quickstep/SwipeUpSetting.java", "src/com/android/launcher3/util/SecureSettingsObserver.java", "src/com/android/launcher3/TestProtocol.java", ], Loading
go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java +7 −4 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.launcher3.uioverrides; import static android.view.View.VISIBLE; import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY; import android.view.View; Loading @@ -26,8 +25,12 @@ import com.android.launcher3.Launcher; import com.android.launcher3.LauncherStateManager.StateHandler; import com.android.launcher3.Utilities; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.uioverrides.touchcontrollers.LandscapeEdgeSwipeController; import com.android.launcher3.uioverrides.touchcontrollers.LandscapeStatesTouchController; import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController; import com.android.launcher3.uioverrides.touchcontrollers.StatusBarTouchController; import com.android.launcher3.util.TouchController; import com.android.quickstep.OverviewInteractionState; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.views.IconRecentsView; import java.util.ArrayList; Loading @@ -49,8 +52,8 @@ public abstract class RecentsUiFactory { list.add(new LandscapeStatesTouchController(launcher)); list.add(new LandscapeEdgeSwipeController(launcher)); } else { boolean allowDragToOverview = OverviewInteractionState.INSTANCE.get(launcher) .isSwipeUpGestureEnabled(); boolean allowDragToOverview = SysUINavigationMode.INSTANCE.get(launcher) .getMode().hasGestures; list.add(new PortraitStatesTouchController(launcher, allowDragToOverview)); } if (FeatureFlags.PULL_DOWN_STATUS_BAR && Utilities.IS_DEBUG_DEVICE Loading
go/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java→go/quickstep/src/com/android/launcher3/uioverrides/states/OverviewState.java +14 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.states; import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import static com.android.launcher3.anim.Interpolators.DEACCEL_2; Loading Loading @@ -91,4 +91,17 @@ public class OverviewState extends LauncherState { public static float getDefaultSwipeHeight(DeviceProfile dp) { return dp.allAppsCellHeightPx - dp.allAppsIconTextSizePx; } public static OverviewState newBackgroundState(int id) { return new OverviewState(id); } public static OverviewState newPeekState(int id) { return new OverviewState(id); } public static OverviewState newSwitchState(int id) { return new OverviewState(id); } }
go/quickstep/src/com/android/launcher3/uioverrides/LandscapeStatesTouchController.java→go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/LandscapeStatesTouchController.java +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.touchcontrollers; import static com.android.launcher3.LauncherState.ALL_APPS; import static com.android.launcher3.LauncherState.NORMAL; Loading
go/quickstep/src/com/android/launcher3/uioverrides/PortraitOverviewStateTouchHelper.java→go/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/PortraitOverviewStateTouchHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ * limitations under the License. */ package com.android.launcher3.uioverrides; package com.android.launcher3.uioverrides.touchcontrollers; import android.view.MotionEvent; Loading