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

Commit c46f74b1 authored by Danesh M's avatar Danesh M Committed by Roman Birg
Browse files

SystemUI : Add screen timeout tile

Change-Id: I0854e940f9604dee2fff5093e688ef3a17b258a9
parent 37ba0e13
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ public class QSConstants {
    public static final String TILE_LOCKSCREEN = "lockscreen";
    public static final String TILE_LTE = "lte";
    public static final String TILE_VISUALIZER = "visualizer";
    public static final String TILE_SCREEN_TIMEOUT = "screen_timeout";

    // Order matters
    protected static final ArrayList<String> TILES_DEFAULT = new ArrayList<String>();
@@ -78,5 +79,6 @@ public class QSConstants {
        TILES_AVAILABLE.add(TILE_LOCKSCREEN);
        TILES_AVAILABLE.add(TILE_LTE);
        TILES_AVAILABLE.add(TILE_VISUALIZER);
        TILES_AVAILABLE.add(TILE_SCREEN_TIMEOUT);
    }
}
+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"

android:duration="250"
android:propertyName="rotation"
android:valueFrom="-180"
android:valueTo="-90"/>
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"

android:duration="400"
android:propertyName="rotation"
android:valueFrom="-180"
android:valueTo="0"/>
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"

android:duration="400"
android:propertyName="rotation"
android:valueFrom="-90"
android:valueTo="0"/>
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"

android:duration="250"
android:propertyName="rotation"
android:valueFrom="-90"
android:valueTo="0"/>
 No newline at end of file
Loading