3409 Commits

Author SHA1 Message Date
Wei Hua
d52b308916 Added additional Face attributes.
bug: 5186701
Change-Id: Id08df922b9a79192a81e6e8bd7c0dccad4664b3b
2011-08-19 13:01:51 -07:00
Jeff Sharkey
9a20fa54c9 Merge "Background data notification, API clean up." 2011-08-18 15:01:10 -07:00
Eino-Ville Talvala
01675902e0 Merge "NEW_API: Add real-time Effects." 2011-08-17 17:55:42 -07:00
Jeff Sharkey
3a844fcf5a Background data notification, API clean up.
When restricting background data, show ongoing notification to give
easy access to re-enable. Deprecate getBackgroundDataSetting() API
to always return true, since NetworkInfo.isConnected() is new source
of truth. Handle upgrade path by reading from existing secure value,
and kick one last broadcast when changing value. Remove background
data code from ConnectivityService.

Remove warning alerts, since they push ifaces into restricted list;
should only happen when iface has limit.

Bug: 5163559, 5129421
Change-Id: I0064d9d643656a4d32aaae51d4a58bce49fe295f
2011-08-17 14:12:42 -07:00
Fred Quintana
f01e16a0ff Merge "add the Identity contacts mimetype Bug: 5061729" 2011-08-16 14:19:59 -07:00
Fred Quintana
4923f1d0d9 add the Identity contacts mimetype
Bug: 5061729

Change-Id: Icdc0dd50666463f73b5b05ae1459ae34150153cc
2011-08-16 14:12:17 -07:00
Romain Guy
2ce81fcd7d Merge "Add an API to set the transform on a TextureView's surface texture. Bug #5156689" 2011-08-16 13:56:38 -07:00
Romain Guy
302a9df1d5 Add an API to set the transform on a TextureView's surface texture.
Bug #5156689

Change-Id: I635a625885c9b832a60d44ece0de7613ceb84109
2011-08-16 13:55:02 -07:00
Gilles Debunne
4cee03a85f Merge "Change the behavior of SuggestionSpan." 2011-08-16 13:23:25 -07:00
Adam Powell
e43fca9957 Offer a masked version of setUiOptions for windows to only modify certain flags.
Change-Id: I36aaff982767f8984c468e8c13f8d5ec8c3c0040
2011-08-16 13:07:22 -07:00
Luca Zanolin
7d1c55fad8 Change the behavior of SuggestionSpan.
SuggestionSpan can be accessed in two different ways:

- by tapping on the text (easy access)
- by tapping on "replace" pop-up (not easy and difficult to discover)

The "easy access" will be used for dictionary suggestions and voice recognition suggestions.

The suggestion span can be rendered into two different way:

- default, text is underlined in blue
- spelling error, text is underlined in red

Change-Id: I0af0fe6700d0ad588facb21c021dc6f59ef172f1
2011-08-16 10:42:45 -07:00
Dianne Hackborn
02e935a79b Fix build.
Change-Id: I266ad683d12c6effc70351c6151482a7e886d94d
2011-08-15 19:21:24 -07:00
Adam Powell
32ab095751 Merge "Fix bug 5159736 - Make DeviceDefault the default" 2011-08-14 16:57:45 -07:00
Adam Powell
6e90a362bc Fix bug 5159736 - Make DeviceDefault the default
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2011-08-14 16:49:22 -07:00
Daniel Lehmann
f188dfda30 Several API changes as requested by ES:
- Switch from resource ids to names to prevent breakage on package upgrade
   Bug:5135277
 - Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos
   Bug:5119385
 - Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos
   (this reduces db size and prevents click intercepting)
   Bug:5135808
 - Add some raw-contact fields to the StreamItem query
   Bug:5134081

Doing those changes in one block to prevent too many db upgrade steps

Change-Id: I5618e210206e0315b91f5883e6b6b386dccb5881
2011-08-14 15:39:22 -07:00
Dianne Hackborn
9beeb95c80 Merge "Turn off hinting by default for higher density displays." 2011-08-12 19:17:09 -07:00
Dianne Hackborn
f43fa5746e Turn off hinting by default for higher density displays.
Also adds an API for apps to control whether hinting is used.

Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
2011-08-12 18:59:39 -07:00
Eric Laurent
497b3fe725 Issue 5081351: isWiredHeadsetOn() permission.
AudioManager.isWiredHeadsetOn() should not require permission MODIFY_AUDIO_SETTINGS.
Remove permission checks on all getters in audio policy manager as permission enforcement
is really usefull for setters.
Also deprecate AudioManager.isWiredHeadsetOn() which name and implementation are deceptive.

Change-Id: I38f8df7c26c0d417bf0e2b74e4c11c2d143f2ecd
2011-08-12 17:43:35 -07:00
Adam Powell
9ca705e323 Fix bug 5075761 - Visual assets: CAB states
Integrate new assets for the contextual action bar (action modes).

Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
2011-08-11 21:54:47 -07:00
Adam Powell
9cc07c3939 Merge "More fun with action bars and themes!" 2011-08-11 14:59:52 -07:00
Adam Powell
f242368f38 More fun with action bars and themes!
Fix bug 5144738 - Allow user to define pressed state asset for action
bar. Added android:actionBarItemBackground theme attribute. This
allows themes to define item pressed states for the action bar
independent of the standard selectableItemBackground.

Fix bug 5145416 - Custom view in action bar should use themed context
when inflating resource ID. Also applies to tab custom views.

Fix bug 5135550 - Tab divider height / Color should match spec. Added
actionBarDivider theme attribute. Similar to actionBarItemBackground
above, this allows apps to maintain proper contrast when the bar has a
different contrast profile than the rest of the activity.

Fix bug 5154778 - Theme.Holo.Light.DarkActionBar in themes.xml and
search_bar.xml are still referencing the deprecated title_bar_shadow
when we should be pointing to ab_solid_shadow_holo

Change-Id: I5ef0084de28a7c2d2fa02ae1752884feab0f8523
2011-08-11 14:33:32 -07:00
Debashish Chatterjee
9092b6d522 Merge "Added FETCH_VOICEMAIL intent definition in VoicemailContract." 2011-08-11 12:19:01 -07:00
Dianne Hackborn
e09cd7914c Merge "New broadcast telling when an app is fully removed." 2011-08-11 11:35:07 -07:00
Debashish Chatterjee
267a2ec040 Added FETCH_VOICEMAIL intent definition in VoicemailContract.
Content provider does not directly use this intent. But it is fired by
the contacts app to request the voicemail source to fetch voicemail
audio of a single voicemail message.

The constant needs to live in the contracts file to serve as a common
definition between contacts and voicemail source apps.

Bug: 5114261
Change-Id: Ibf7b2a4c871d3561d2ca50d03f8182352fadd3ab
2011-08-11 18:07:25 +01:00
Chia-chi Yeh
ac0a0d06c2 Merge "Unhide APIs for user space VPN." 2011-08-10 17:42:45 -07:00
Dianne Hackborn
f9abb40590 New broadcast telling when an app is fully removed.
Change-Id: Ia516d826f302a01881fa92d9ffdc0adfbf669a4b
2011-08-10 17:15:17 -07:00
Bjorn Bringert
4519ff6aa3 Add PendingIntent extra for WEB_SEARCH intents
This allos apps (e.g. browsers) that launch web searches
to control how the search results page is opened. For example,
the Android Browser will use this to make sure that searches
typed in the browser address bar open in the Andorid Browser,
and not somewhere else.

Bug: 4988580
Change-Id: I4665c9812ca8d704adbaea22a3812188bb48d1d2
2011-08-10 16:20:25 -07:00
Dianne Hackborn
fd545de7cd Merge "New extended Intent protcols for installing/uninstalling apps." 2011-08-10 12:34:21 -07:00
Dianne Hackborn
271c2fe0eb New extended Intent protcols for installing/uninstalling apps.
Change-Id: I13be1cc58c91f51d521a1f0f734d2b2db7b2980b
2011-08-10 12:22:11 -07:00
Wu-cheng Li
aba367eea4 Merge "Unhide camera face detection API." 2011-08-10 02:55:29 -07:00
Nick Pelly
7ad291a5e7 Merge "Add NFC to airplane mode" 2011-08-09 22:27:22 -07:00
Romain Guy
37cc31c604 Merge "Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed." 2011-08-09 20:23:22 -07:00
Grace Kloba
402f055303 Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.
If returns true, the SurfaceTexture will be released by TextureView.
If returns false, the client needs to release the SurfaceTexture.

Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
2011-08-09 18:47:17 -07:00
Wu-cheng Li
c0c683b334 Unhide camera face detection API.
bug:4460717
Change-Id: I8d72b0ada370acd6267c47deb654bb4bf1cfb538
2011-08-10 08:45:26 +08:00
Amith Yamasani
dd93a7923c Merge "Added methods to change text entry mode in SearchView." 2011-08-09 16:37:53 -07:00
Nick Pelly
8d32a01bd2 Add NFC to airplane mode
NFC now observes airplanes mode, and is by default toggleable in airplane mode.

Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
2011-08-09 16:31:46 -07:00
Amith Yamasani
5607a38271 Added methods to change text entry mode in SearchView.
Bug: 5143618

Handle imeOptions and inputType attributes in SearchableInfo.
Methods to directly modify those attributes on SearchView.

Change-Id: I340617767f930ecb1b1ad5ab2696bc613982a20b
2011-08-09 15:16:08 -07:00
Jeff Sharkey
82f006f672 Merge "Add progress to Notification.Builder." 2011-08-09 14:01:09 -07:00
Jeff Sharkey
1c40013bb2 Add progress to Notification.Builder.
Provide method to surface progress when building a notification. Also
manages visibility of various items, including hiding the entire line
when unneeded.

Bug: 4022082, 3399877
Change-Id: I90d8fca383c746001aadc6c5f21c68a23bb937e5
2011-08-09 11:19:32 -07:00
Wu-cheng Li
08a907149e Merge "Unhide camera recording hint API." 2011-08-09 02:54:07 -07:00
Chia-chi Yeh
d0d85f26cb Unhide APIs for user space VPN.
Change-Id: I6f9ddb3fffe9e10cc2d34dda3ae8700b1af7e470
2011-08-08 18:26:28 -07:00
Chet Haase
8b699792b6 Fix cancellation of AnimatorSet when child animation has delay
Previously, AnimatorSet incorrectly checked whether child animations were
'running' to figure out what to cancel. If a child animation was started, but
sitting in a startDelay phase, it was not 'running', so the right cancel/end
events would not propagate.

The fix is to add a new isStarted() API to Animator, which returns true when
the animator has started (but not yet ended), regardless of whether the animator
has a startDelay or not. It's basically a superset of the existing isRunning()
method, which only returns true when an animator has actually started setting values.

Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
2011-08-08 15:05:53 -07:00
satok
03b2ea1102 Support xml configuration file for the spell checker and add the spell checker subtype
Change-Id: I74715855525fc0a1282238d593ad37aefd42bfc3
2011-08-08 19:29:26 +09:00
Dianne Hackborn
b437e090ec Improved memory use reporting.
Change-Id: I38e53e6228bba92a142bafeedb5af8df4e4e5724
2011-08-05 18:18:05 -07:00
satok
0dc8bb25d2 Merge "API cleanup for the spell checker framework" 2011-08-05 03:59:06 -07:00
Svetoslav Ganov
8c6c79f090 Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide.
1. Added a callback to ShareActionProvider allowing clients to be notified
   when an activity is chosed given them a change to say update their UI and
   also decide whether to handle the activity launch themselves.

2. The popup of the ActivityChooserView was not hiding on hiding the action bar.

bug:5094963
bug:5095004

Change-Id: I6c8e8cc1f22d07e707e2218eb108f9101417b23b
2011-08-04 07:56:49 -07:00
Debashish Chatterjee
e53eba0470 Removed permission READ_WRITE_OWN_VOICEMAIL from framework/base.
This permission has now been replaced by ADD_VOICEMAIL.

Bug: 5098551
Change-Id: Idc993f1674a66f0df3ec699ed14b2e5cfedfe3e8
2011-08-04 15:49:04 +01:00
satok
5357806980 API cleanup for the spell checker framework
Bug: 5110151

- Add a bundle to an argment of newSpellCheckerSession
- Expose SpellCheckerSessionImpl in SpellCheckerService
- Fix function names
- etc

Change-Id: Ia8ec783b7b4d5fcd18389854b445fc10fc502297
2011-08-04 12:53:56 +09:00
Eino-Ville Talvala
b1dec71a45 NEW_API: Add real-time Effects.
Add simple effects API, based on the mobile filter framework.

Bug-Id: 4966161

Change-Id: I1fa8aa6effd0f13029e6dd09d6e0a6c3f29f6cda
2011-08-03 19:27:13 -07:00
Mathias Agopian
452f035c31 Merge changes I689cb0c0,I09603218
* changes:
  Add a 'release' method to the SurfaceTexture public Java API
  Mark Window-Manager-specific APIs on android.view.Surface as @hide
2011-08-03 18:12:36 -07:00