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

Commit 9f9679d9 authored by Winson Chung's avatar Winson Chung
Browse files

Adding experiment for app-info pane.

Change-Id: I647de1a71a2ac82da0a4f8a24125496dd5457441
parent 7bc016e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  public void setGlowAlpha(float);
  public void setGlowScale(float);
}
-keep class com.android.systemui.recents.views.TaskIconView {
-keep class com.android.systemui.recents.views.TaskInfoView {
	public void setCircularClipRadius(float);
	public float getCircularClipRadius();
}
+19 −4
Original line number Diff line number Diff line
@@ -21,6 +21,21 @@
        android:id="@+id/task_view_thumbnail"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
    <com.android.systemui.recents.views.TaskInfoView
    	android:id="@+id/task_view_info_pane"
    	android:layout_width="match_parent"
    	android:layout_height="match_parent"
    	android:visibility="invisible"
        android:background="#e6444444">
        <Button
        	android:id="@+id/task_view_app_info_button"
        	android:layout_width="match_parent"
        	android:layout_height="wrap_content"
        	android:layout_marginStart="20dp"
        	android:layout_marginEnd="20dp"
    		android:layout_gravity="top|center_horizontal"
        	android:text="@string/recents_app_info_button_label" />
    </com.android.systemui.recents.views.TaskInfoView>
    <com.android.systemui.recents.views.TaskBarView
        android:id="@+id/task_view_bar"
        android:layout_width="match_parent"
@@ -31,15 +46,15 @@
            android:id="@+id/application_icon"
            android:layout_width="@dimen/recents_task_view_application_icon_size"
            android:layout_height="@dimen/recents_task_view_application_icon_size"
            android:layout_gravity="center_vertical|left"
            android:layout_gravity="center_vertical|start"
            android:padding="8dp" />
        <TextView
            android:id="@+id/activity_description"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical|left"
            android:layout_marginLeft="@dimen/recents_task_view_application_icon_size"
            android:layout_marginRight="@dimen/recents_task_view_activity_icon_size"
            android:layout_marginStart="@dimen/recents_task_view_application_icon_size"
            android:layout_marginEnd="@dimen/recents_task_view_activity_icon_size"
            android:textSize="24sp"
            android:textColor="#ffffffff"
            android:text="@string/recents_empty_message"
@@ -52,7 +67,7 @@
            android:id="@+id/activity_icon"
            android:layout_width="@dimen/recents_task_view_activity_icon_size"
            android:layout_height="@dimen/recents_task_view_activity_icon_size"
            android:layout_gravity="center_vertical|right"
            android:layout_gravity="center_vertical|end"
            android:padding="12dp"
            android:visibility="invisible" />
    </com.android.systemui.recents.views.TaskBarView>
+2 −0
Original line number Diff line number Diff line
@@ -114,6 +114,8 @@
    <integer name="recents_filter_animate_new_views_min_duration">125</integer>
    <!-- The min animation duration for animating views that are newly visible. -->
    <integer name="recents_animate_task_bar_enter_duration">200</integer>
    <!-- The animation duration for animating in the info pane. -->
    <integer name="recents_animate_task_view_info_pane_duration">150</integer>

    <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
     card. -->
+3 −0
Original line number Diff line number Diff line
@@ -239,6 +239,9 @@
    <!-- The size of the activity icon in the recents task view. -->
    <dimen name="recents_task_view_activity_icon_size">60dp</dimen>

    <!-- The amount of space a user has to scroll to dismiss any info panes. -->
    <dimen name="recents_task_stack_scroll_dismiss_info_pane_distance">50dp</dimen>

    <!-- Used to calculate the translation animation duration, the expected amount of movement 
         in dps over one second of time. -->
    <dimen name="recents_animation_movement_in_dps_per_second">800dp</dimen>
+2 −0
Original line number Diff line number Diff line
@@ -509,6 +509,8 @@

    <!-- Recents: The empty recents string. [CHAR LIMIT=NONE] -->
    <string name="recents_empty_message">RECENTS</string>
    <!-- Recents: The info panel app info button string. [CHAR LIMIT=NONE] -->
    <string name="recents_app_info_button_label">Application Info</string>


    <!-- Glyph to be overlaid atop the battery when the level is extremely low. Do not translate. -->
Loading