lockscreen: new Ring style - overlay (4/3)

Introduces a new Ring style - 2 rings on left/right to unlock/silence.
1 ring in the middle to launch up to 4 custom apps.
Rings can be dragged anywhere on lockscreen - not just in one direction.
Unlock/silence rings are triggered by dragging the ring far enough away from its neutral posi$
Custom apps are triggered by releasing the middle ring while over the app icon.

Demo video: http://www.youtube.com/watch?v=VnQzT9QyJFQ

Change-Id: I7cbc02de5eb23f786bc7419d3506e2f2bc7d1819
This commit is contained in:
Valera Trubachev 2011-09-24 21:45:56 -04:00
parent 931d02ae3b
commit a63e6b862f
4 changed files with 35 additions and 0 deletions

View File

@ -199,6 +199,14 @@
android:layout_alignParentBottom="true"
/>
<com.android.internal.widget.RingSelector
android:id="@+id/ring_selector"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
/>
<!-- emergency call button shown when sim is PUKd and tab_selector is
hidden -->
<Button

View File

@ -48,6 +48,15 @@
android:layout_alignParentBottom="true"
/>
<!-- (1) incomingCallWidget: the UI displayed while an incoming call is ringing. -->
<com.android.internal.widget.RingSelector
android:id="@+id/incomingRingSelectorCallWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
android:layout_alignParentBottom="true"
/>
<!--
(2) inCallControls: the widgets visible while a regular call
(or calls) is in progress

View File

@ -48,6 +48,15 @@
android:layout_alignParentBottom="true"
/>
<!-- (1) incomingCallWidget: the UI displayed while an incoming call is ringing. -->
<com.android.internal.widget.RingSelector
android:id="@+id/incomingRingSelectorCallWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
android:layout_alignParentBottom="true"
/>
<!--
(2) inCallControls: the widgets visible while a regular call
(or calls) is in progress

View File

@ -48,6 +48,15 @@
android:layout_alignParentBottom="true"
/>
<!-- (1) incomingCallWidget: the UI displayed while an incoming call is ringing. -->
<com.android.internal.widget.RingSelector
android:id="@+id/incomingRingSelectorCallWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
android:layout_alignParentBottom="true"
/>
<!--
(2) inCallControls: the widgets visible while a regular call
(or calls) is in progress