Skip to content

Commit 40c6ae4

Browse files
dsandlerThe Android Automerger
authored andcommitted
Single finger notification expansion.
If you liked these changes... Change Ie4e79aa5 Change I8a6f8606 Change I824937e9 Change I957b6d50 You'll love this one! Change-Id: I5256366175fa7ebc965b1c5df02f10ba802ed977
1 parent 2370126 commit 40c6ae4

File tree

9 files changed

+277
-60
lines changed

9 files changed

+277
-60
lines changed

packages/SystemUI/res/layout/status_bar_expanded.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
android:layout_width="match_parent"
6868
android:layout_height="match_parent"
6969
android:fadingEdge="none"
70-
android:overScrollMode="always"
70+
android:overScrollMode="ifContentScrolls"
7171
>
7272
<com.android.systemui.statusbar.policy.NotificationRowLayout
7373
android:id="@+id/latestItems"

packages/SystemUI/res/values/config.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@
6565

6666
<!-- Vibration duration for MultiWaveView used in SearchPanelView -->
6767
<integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
68+
69+
<!-- The length of the vibration when the notificaiotn pops open. -->
70+
<integer name="one_finger_pop_duration_ms">10</integer>
6871
</resources>
6972

packages/SystemUI/res/values/dimens.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,7 @@
150150

151151
<!-- Height of the carrier/wifi name label -->
152152
<dimen name="carrier_label_height">24dp</dimen>
153+
154+
<!-- The distance you can pull a notificaiton before it pops open -->
155+
<dimen name="one_finger_pop_limit">32dp</dimen>
153156
</resources>

packages/SystemUI/res/values/ids.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
<resources>
1919
<item type="id" name="expandable_tag" />
2020
<item type="id" name="user_expanded_tag" />
21+
<item type="id" name="user_lock_tag" />
2122
</resources>

0 commit comments

Comments
 (0)