Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b661f7b9 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Adding screen for recent apps gesture

- Adding RecentAppsGestureTutorialScreen with screen configuration and reading resources - also resource for gesture velocity
- changing button in TouchpadTutorialActivity: previously it was for action key tutorial, now it opens recent apps gesture
- small refactoring so that implementations of GestureMonitorProvider have access to other resources, not only distance

Fixes: 361291970
Test: manual
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: I4e97dd4b4fca1063bfb49231c0a922f4df368226
parent f4220259
Loading
Loading
Loading
Loading
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+8 −0
Original line number Diff line number Diff line
@@ -1976,6 +1976,14 @@
    <dimen name="backlight_indicator_step_small_radius">4dp</dimen>
    <dimen name="backlight_indicator_step_large_radius">28dp</dimen>

    <!-- Touchpad gestures tutorial-->
    <!-- This value is in unit of dp/ms
        TriggerSwipeUpTouchTracker (which is base for gesture tutorial implementation) uses value
        of 0.5dp but from manual testing it's too high and doesn't really feel like it's forcing
        slowing down. Also for tutorial it should be fine to lean to the side of being more strict
        rather than not strict enough and not teaching user the proper gesture as a result.-->
    <dimen name="touchpad_recent_apps_gesture_velocity_threshold">0.05dp</dimen>

    <!-- Broadcast dialog -->
    <dimen name="broadcast_dialog_title_img_margin_top">18dp</dimen>
    <dimen name="broadcast_dialog_title_text_size">24sp</dimen>
+11 −2

File changed.

Preview size limit exceeded, changes collapsed.

+4 −9

File changed.

Preview size limit exceeded, changes collapsed.

Loading