5017 Commits

Author SHA1 Message Date
Adam Powell
d0d2cda9d4 Further work on MediaRouter
Remove volume control and tracking. This will be handled by extensions
to existing audio and media APIs for now.

Tweak/refine other aspects of the API. Pass the router to callbacks for
easier future-proofing. Add group/ungroup callback methods.

Change-Id: Ib69e76e5f46280a9002b545bcf4cbc7b839844ee
2012-06-11 13:17:44 -07:00
Eric Fischer
34b729d335 Import translations. DO NOT MERGE
Change-Id: I937a8a4cc8617744f4a63d72fe946b0e2d543ede
2012-06-11 11:42:43 -07:00
Eric Fischer
d9038fd556 Import translations. DO NOT MERGE
Change-Id: I0edaecd41cef0eb158d003a3a0aafe28f49949f7
2012-06-08 16:31:51 -07:00
Daniel Sandler
6cf0c3365a Merge "Various notification template cleanups." into jb-dev 2012-06-08 13:38:02 -07:00
Daniel Sandler
619738c9e7 Various notification template cleanups.
Bug: 6597693 // hide line3 in InboxStyle
Bug: 6593691 // vertical centering inconsistencies
Bug: 6592116 // no left action gutter in BigPicture
Bug: 6622757 // missing subtext in BigText expanded
Change-Id: I941af99d0a905b6e0aa6fb74ad4eff29c17d9fc2
2012-06-08 11:41:37 -04:00
Adam Powell
39987ceb72 Progress bar assets - once more, with feeling!
Bug 6628236

Change-Id: I06369f37caf3db8b00047822f5fda44ce380e01b
2012-06-07 19:23:36 -07:00
Jean-Michel Trivi
6a5f9f6ddb Merge "Configuration for lock and UI sound levels" into jb-dev 2012-06-07 15:28:51 -07:00
Eric Fischer
bd646b8e1c Import translations. DO NOT MERGE
Change-Id: Ic209397930750934fe3ab136ab3a4586257c1ed3
2012-06-07 13:52:56 -07:00
Christian Robertson
43fa4c5261 Merge "New mouse pointer arrow with high res versions. Bug: 6579869" into jb-dev 2012-06-06 17:56:36 -07:00
Jake Hamby
e60a35c156 Merge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev 2012-06-06 14:01:24 -07:00
Jake Hamby
004ff5ad2a DO NOT MERGE: Remove SMS shortcode warning feature.
Fix jb-dev build. The SMS shortcode warning feature has some usability
limitations which need to be resolved before shipping. Remove the code
for JellyBean. It will be added back to a future release when the
feature is complete.

Bug: 6605549
Change-Id: Ic8a68dc0b1ad038618962185f5ee680d5281ca21
2012-06-06 13:56:50 -07:00
Eric Fischer
5ddf003cb2 Merge "Revert "Import translations. DO NOT MERGE"" into jb-dev 2012-06-06 13:53:00 -07:00
Eric Fischer
25dcc321f7 Revert "Import translations. DO NOT MERGE"
This reverts commit 6a6f746ece453c43aa92808cd140012866c8eb5c
2012-06-06 13:51:50 -07:00
Dianne Hackborn
533fce25a2 Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev 2012-06-06 13:31:59 -07:00
Eric Fischer
6a6f746ece Import translations. DO NOT MERGE
Change-Id: I5a8719c293a25460058ad5b62069ea80c33da110
2012-06-06 12:02:00 -07:00
Dianne Hackborn
636fd528f7 Docs (mostly): enumerate JELLY_BEAN target SDK changes.
Okay this isn't entirely docs.  I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
2012-06-06 11:36:49 -07:00
Adam Powell
f6452d0cac Merge "More fun with MediaRouter" into jb-dev 2012-06-05 19:27:49 -07:00
Adam Powell
690ffb4e1f More fun with MediaRouter
Add action provider, button, and styles. Extend ActionProvider to
allow for getting references to MenuItem instances.

Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog
selection yet to come.

Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171
2012-06-05 19:15:57 -07:00
Jean-Michel Trivi
c55b393efd Configuration for lock and UI sound levels
Define two integers in the platform configuration to
 define the sound level for lock/unlock sounds, and
 UI sound effects.
Use the corresponding value in KeyguardViewMediator for the lock sounds.
Use the corresponding value in AudioService when playing sound effects.

Bug 6448481

Change-Id: Ie238f5eb1645e395412864d93447ac4049f7e54b
2012-06-05 16:58:20 -07:00
Jake Hamby
b1fc08ca08 DO NOT MERGE: Remove SMS shortcode warning feature.
The SMS shortcode warning feature has some usability limitations which need
to be resolved before shipping. Remove the code for JellyBean. It will be
added back to a future release when the feature is complete.

Bug: 6605549
Change-Id: Ifb23d20f30199f242abb8bf7db015232a085c8e3
2012-06-05 12:21:02 -07:00
Eric Fischer
ea97179dec Import translations. DO NOT MERGE
Change-Id: I09dd492b37f4658eabb1d67106da7ed45c51abd6
2012-06-05 10:46:41 -07:00
Eric Fischer
9f929e3bd4 Import translations. DO NOT MERGE
Change-Id: Ia697bb2342058f44ac8a2922ed4d3c4c851c1741
2012-06-04 17:09:45 -07:00
Adam Powell
a7aeb61c1f Update ProgressBar assets
Bug 6602341

Change-Id: I1279b26c37a89b7d04fb626574502a3c365b4d4f
2012-06-04 14:33:50 -07:00
Adam Powell
757b3c274e Fix ordering of product-specific strings
Change-Id: Ic825e13be639731380897b937d80938762fce5ce
2012-06-03 14:46:43 -07:00
Adam Powell
9b12b4edce Fix product-specific string declaration
Change-Id: Ib753995ed7bf47bb6724309370c9b05d65cfd81b
2012-06-03 14:32:04 -07:00
Adam Powell
7c86958d73 Merge "Add MediaRouter API." into jb-dev 2012-06-03 14:11:43 -07:00
Jim Miller
94a8ae09be Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev 2012-06-01 20:34:43 -07:00
Adrian Ludwig
361dfebc94 For JB, the READ_EXTERNAL_STORAGE permission is not enforced by default. It may be enforced by default in future releases. Developers have the option of enabling enforcement to test their application and some may begin to include this permission on applications. To avoid user confusion, the permission is placed in the development tools group.
Change-Id: Id27ba241db0253eac774401aaaa6e5c4340588d7
2012-06-01 19:57:57 -07:00
Adrian Ludwig
8f78694fc4 Update long strings to provide users with more information about permissions.
Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa
2012-06-01 19:19:54 -07:00
Christian Robertson
c7e7fef156 New mouse pointer arrow with high res versions. Bug: 6579869
Change-Id: I65bba6cbc585579bb49e1632bbab03e77a503d9e
2012-06-01 18:34:00 -07:00
Adam Powell
9a1de308ce Add MediaRouter API.
This is just the initial state tracking. Still to go is
actually triggering Bluetooth A2DP correctly and tracking
process state in the system server.

Change-Id: I33031d52799d6e2d7208910da833831085cc3677
2012-06-01 18:19:20 -07:00
Adrian Ludwig
1869440378 Revert "Update long strings to provide users with more information about permissions."
This reverts commit 714665c7a3bc4b4702e031448864d3d341f1f098
2012-06-01 17:33:38 -07:00
Adrian Ludwig
714665c7a3 Update long strings to provide users with more information about permissions.
Change-Id: I781fbe36f830e011c06951ff2baa910bab7f13aa

Conflicts:

	core/res/res/values/strings.xml
2012-06-01 17:20:20 -07:00
Adam Powell
1de199079d Merge "Update indeterminate progress bar assets" into jb-dev 2012-06-01 15:29:54 -07:00
Adam Powell
d0f8ea5ce0 Update indeterminate progress bar assets
Bug 6587381

Change-Id: I2154ab36d697d5cee098fa7134288c1b45ca1de4
2012-06-01 15:22:36 -07:00
Adrian Ludwig
d070e3daa4 Merge "Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."" into jb-dev 2012-06-01 14:54:07 -07:00
Adrian Ludwig
4c52235fbc Revert "Make the protectionLevel of framework permissions consistent and related to sensitive user data. Dangerous permissions are applied only where sensitive user data may be exposed."
This reverts commit a8a200278dcc232eabd4550f814439c94857c47c.

Conflicts:

	core/res/AndroidManifest.xml
	core/res/res/values/strings.xml

Change-Id: I3f76d93a6ffde031bf82c2afea315ebcdbc179e3
2012-06-01 14:22:03 -07:00
Dianne Hackborn
ea01e4a2d5 Merge "Survey says: NIET!" into jb-dev 2012-06-01 14:13:08 -07:00
Jim Miller
3294b6b09b Fix 6592932: add means to replace assist icon from given package
This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist.  It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST.  It should point to a StateListDrawable
in that package with the required states.  For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
    android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_normal" />
    <item android:state_enabled="true"
        android:state_active="true"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_activated" />
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="true"
        android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
2012-06-01 14:08:28 -07:00
Dianne Hackborn
4034bc431d Survey says: NIET!
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Eric Fischer
e41b07431c Import translations. DO NOT MERGE
Change-Id: I52e722cf5764a415d56036183bcd79907c011dc0
2012-06-01 11:18:05 -07:00
Svetoslav Ganov
1c094d338d Merge "Increase string length limit to fit translation." into jb-dev 2012-06-01 08:53:00 -07:00
Svetoslav Ganov
b97c5d25c3 Increase string length limit to fit translation.
bug:6575039

Change-Id: I64fd00add017d02a1a5ccadc3f324f1f2793bbba
2012-05-31 20:25:30 -07:00
Eric Fischer
70a9975ab8 Import translations. DO NOT MERGE
Change-Id: Id25d07811a971bc2e52eaa9e755477114642af93
2012-05-31 12:52:04 -07:00
Chet Haase
762ca84cb2 Merge "Sped up ActionBar and StatusBar animations" into jb-dev 2012-05-30 17:22:37 -07:00
Chet Haase
e8118e17b2 Sped up ActionBar and StatusBar animations
Animations to show/hide the ActionBar and StatusBar were very slow, given
the size of the objects and the distances covered by the sliding animations.
Also, the ActionBar animation was sometimes hiccuppy as it faded in/out.
This change eliminates the ActionBar fade (which is unnecessary) and speeds
up the animations (smaller durations and steeper interpolation curves). Also,
it eliminates the startDelay on the ActionBar show animation.

Issue #6564089 Options menu should slide in much quicker (nakasi/JB)

Change-Id: I2c8298301f7bf26bbbc94444e715420a2c029ba0
2012-05-30 16:47:54 -07:00
Daniel Sandler
c5d2050961 Merge "Visual tweaks to notifications." into jb-dev 2012-05-30 12:55:00 -07:00
Daniel Sandler
6387d2f6da Visual tweaks to notifications.
- Smaller right_icons
  - Higher-contrast text colors
  - Dividers between actions
  - Dividers above actions and overflows
  - Consistent 8dp gutter on left of content
  - BigTextStyle should not show line3 unless there is a subtext.
  - Collapse summary ("overflow") text into line3. This is a
    little wild because now the contentText, subText, and
    summaryText all share this spot, but the various
    variables all have different times when they're
    expressed so you have greater control over what shows
    where in the 1U and the expanded form.
  - Do not show contentText in BigText's line3. If you have
    subtext or summarytext, show that; otherwise suppress
    line3 entirely.

Bug: 6558134 // line3
Bug: 6508804 // other visuals
Change-Id: Ib79e818a332d17000e9a8fce333eff8f8cf043aa
2012-05-30 15:28:22 -04:00
Eric Fischer
dda62f69f3 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-30 12:14:48 -07:00
Eric Fischer
9cf9b1ee38 Import translations. DO NOT MERGE
Change-Id: Ie7124462acaa16457804e3f9f2ee13cb4b792ceb
2012-05-30 11:59:21 -07:00