Skip to content

Commit a5e042f

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Single finger notification expansion." into jb-dev
2 parents 01f9bf3 + 7ffa04b commit a5e042f

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)