5993 Commits

Author SHA1 Message Date
Mike Lockwood
7b925fbb87 am 43bc1c07: am d9e708e3: am 12ec2e6d: am 99206593: am 9607d78f: Merge "Added missing USB device descriptor fields needed for intent filters"
* commit '43bc1c07d25b7f278a860bbb9118f46ac732593a':
  Added missing USB device descriptor fields needed for intent filters
2014-01-08 16:10:42 +00:00
Mike Lockwood
9607d78f51 Merge "Added missing USB device descriptor fields needed for intent filters" 2014-01-08 15:56:13 +00:00
Alan Viverette
e2802755b1 Merge "Add support for specifying Drawable color filter in XML" 2014-01-07 23:53:47 +00:00
Alan Viverette
d9e788c4f0 Add support for specifying Drawable color filter in XML
BUG: 12178044
Change-Id: Ie118aebf56bb4580c97b625e20f4e76bed4b6f6f
2014-01-07 11:30:24 -08:00
Chong Zhang
f12aa45bcb Merge "MediaRecorder: add getSurface() api and SURFACE video source" 2014-01-06 19:05:09 +00:00
Chong Zhang
83cc994ba4 MediaRecorder: add getSurface() api and SURFACE video source
Bug: 12305192
Change-Id: If833c5ac8a738ffa284307e0435b5cbd1b7379b1
2014-01-06 10:42:51 -08:00
Zhijun He
b437428b3f Merge "Camera2: remove waitUntilIdle from Camera2 API" 2014-01-03 00:46:28 +00:00
Zhijun He
d842fcd3af Camera2: remove waitUntilIdle from Camera2 API
Change-Id: Id034573d8b50aa0bc93bf7f0e776eb55316746ed
2013-12-26 14:14:04 -08:00
Chris Craik
d863a10b28 Add initial APIs for 3d view manipulation.
Change-Id: I6de00bc577d5b3a1fbc9ca3a3b3668fcfa32b867
2013-12-20 15:15:01 -08:00
Alan Viverette
ca7a257628 Merge "Add APIs and implementation for additional caption edge types" 2013-12-20 00:40:36 +00:00
Alan Viverette
ce32ea7345 Add APIs and implementation for additional caption edge types
Change-Id: I62d97a0b3e3b751d698a889eec80dc79fb908d7a
2013-12-19 13:42:28 -08:00
Yorke Lee
710de6dc03 Merge "PhoneNumberUtils API changes" 2013-12-19 18:51:49 +00:00
Tor Norbye
0c34ee698e Merge "Hide NonNull and Nullable." 2013-12-18 22:22:14 +00:00
Alan Viverette
223622a50d Add reveal drawable, APIs for forwarding Drawable focus and touch
Hotspot APIs are hidden pending finalization of how we handle IDs.

BUG: 11416827
Change-Id: Iecacb4b8e3690930d2d805ae65a50cf33482a218
2013-12-17 21:33:38 +00:00
Tor Norbye
bbc75f34e6 Hide NonNull and Nullable.
These should not be used in app code; instead, we will add
class-file retention versions of these to the support
library.

Change-Id: I13275bd28529f5da04d923688655be35c77dbb1c
2013-12-17 08:44:38 -08:00
Alan Viverette
0dadf4d030 Merge "Replace auto-create in findViewById() with explicit create() API" 2013-12-17 01:20:22 +00:00
Shishir Agrawal
c4d41755d7 Merge "Adding support for SIM communication from Android over logical channels." 2013-12-17 00:44:40 +00:00
Shishir Agrawal
57f656b9f6 Adding support for SIM communication from Android over logical channels.
Expose the folowing commands in ITelephony.aidl and TelephonyManager:
    - iccOpenLogicalChannel
    - iccCloseLogicalChannel
    - iccTransmitApduLogicalChannel

Also add a new SIM_COMMUNICATION permission (maked as dangerous) to control
access to the above commands.

Change-Id: I89c08adc6f9738907e3b547c749f3cc61f300710
2013-12-12 16:57:38 -08:00
Yorke Lee
833a9e58ce Merge "ContactsContract api changes" 2013-12-13 00:11:53 +00:00
Yorke Lee
6b86518c57 Merge "Expose CallLog provider fields as public API" 2013-12-13 00:09:26 +00:00
Andres Morales
ec31555d88 Merge "Adding INfcUnlockSettings and NfcUnlock interface class." 2013-12-12 17:36:40 +00:00
Alan Viverette
f34ef74eb2 Replace auto-create in findViewById() with explicit create() API
Change-Id: Ib833cc23f4ae39b5d729db3d425faa7dfd5b3c4c
2013-12-11 15:59:53 -08:00
Alan Viverette
55d70620d9 Add caption window color attribute
The WebVTT rendering implementation interprets window color as region
color, since there is no window for non-region captions.

BUG: 12020757
Change-Id: Ie891e1343d718783fc32c712860f886de22558ec
2013-12-11 15:22:14 -08:00
William Luh
3554740951 Merge "Expose new API for querying whether a certificate was user added." 2013-12-11 18:09:45 +00:00
George Mount
ed62560f69 Merge "Add Path trimming." 2013-12-11 15:08:59 +00:00
Alan Viverette
1eb87f2c57 Merge "Unhide accessibility focus and importance getter APIs" 2013-12-09 22:52:11 +00:00
Andres Morales
38a7ed05f8 Adding INfcUnlockSettings and NfcUnlock interface class.
Change-Id: Ie55a5d4bb58c2944952fc84cce32d3573a3a1a22
2013-12-09 14:41:01 -08:00
George Mount
7fe03a267e Add Path trimming.
Change-Id: Iafcf127a5136883ad4c0185d3c15f96d67f38d0d
2013-12-09 14:34:54 -08:00
Alan Viverette
ad7d65daed Merge "Add stacked padding mode to LayerDrawable" 2013-12-05 19:28:27 +00:00
Alan Viverette
a812ab8786 Merge "Allow alert dialogs to inflate custom view layouts" 2013-12-05 19:28:18 +00:00
Alan Viverette
5b10a723b0 Add stacked padding mode to LayerDrawable
General cleanup of LayerDrawable for readability's sake.

BUG: 11695507
Change-Id: Id7811b3c168ef68134d53b93fe9ac36dc9440566
2013-12-05 11:12:17 -08:00
Alan Viverette
ec186706df Allow alert dialogs to inflate custom view layouts
Adds APIs to set a layout resource ID as an AlertDialog's custom view. To
make this useful for developers, also ensures that Dialog content is set
up when calls are made to Dialog.findViewById() before show().

BUG: 11136748
Change-Id: I29747a28d7e30f4e31fe474424109ff29e1eaa98
2013-12-05 11:10:31 -08:00
Adam Powell
cfbe9be5b3 Add support for cross-activity scenes and transitions
* Add theme attributes for specifying a top-level TransitionManager
  for an activity window.

* Add window feature for automatic content transitions. This
  automatically assigns/creates a Scene for setContentView calls.

* Add named transitions. This allows apps to define APIs for
  handshake-agreements about which exit/entrance transitions to play.

* Add new transition type for ActivityOptions. This lets the system
  use ActivityOptions to communicate transition specifics and
  arguments to the called activity.

* Have ActivityManager pass appropriate ActivityOptions through to the
  called Activity. Have the called activity call back into the caller
  to let it know which transition of a possible requested set was
  chosen.

Still to do:

* Define and pass arguments for transitions. This will require
  defining a Parcelable version of TransitionValues and deciding how
  much leeway apps should have for these things.

* Determine how to appropriately filter the ActivityOptions bundle so
  that only appropriate data reaches the target.

* Determine if generalizing the auto-Scenes functionality to
  ViewGroups is appropriate.

Change-Id: I10684b926129ab2fbc1adec9ef31767237acae79
2013-12-05 10:06:19 -08:00
Yorke Lee
217d8a79c8 ContactsContract api changes
Make the following fields in ContactsContract public API:
STREQUENT_PHONE_ONLY
REMOVE_DUPLICATE_ENTRIES
CommonDataKinds.Callable.CONTENT_FILTER_URI
CommonDataKinds.Callable.CONTENT_URI
ContactOptionsColumns.FULL_NAME_STYLE
ContactOptionsColumns.PINNED
Contacts.MULTI_VCARD_URI (and improve documentation)
PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS (and improve documentation)
Preferences.SORT_ORDER_PRIMARY
Preferences.SORT_ORDER_ALTERNATIVE
Preferences.SORT_ORDER
Preferences.DISPLAY_ORDER_PRIMARY
Preferences.DISPLAY_ORDER_ALTERNATIVE
Preferences.DISPLAY_ORDER
PinnedPositions.DEMOTED
PinnedPositions.STAR_WHEN_PINNING
PinnedPositions.UNDEMOTE
PinnedPositions.UNPINNED
PinnedPositions.UPDATE_URI

Change-Id: I1d70654b4a931b88fff7a3a4b5ffc364978c7406
2013-12-04 15:11:46 -08:00
Yorke Lee
99d1699516 PhoneNumberUtils API changes
Unhide the following methods:
PhoneNumberFormattingTextWatcher(String countryCode)
formatNumber(String phoneNumber, String defaultCountryIso)
formatNumber(String phoneNumber, String phoneNumberE164, String defaultCountryISO)
formatNumberToE164(String phoneNumber, String defaultCountryIso)
(The previous 3 formatting methods use an instance of PhoneNumberUtil to do the formatting)
isLocalEmergencyNumber(String number, Context context)
isVoicemailNumber(String number)
replaceUnicodeDigits(String number)
normalizeNumber(String phoneNumber)

Deprecate the following methods. These formatting-related methods don't use
PhoneNumberUtil to perform the formatting, and so are considered broken:
formatNumber(String source)
formatNumber(String source, int defaultFormattingType)
getFormatTypeForLocale(Locale locale)
formatNumber(Editable text, int defaultFormattingType)
formatNanpNumber(Editable text)
formatJapaneseNumber(Editable text)

Change-Id: Ibf854092b7db05f7e3e9401cc909c9f1ed4997b0
2013-12-02 13:06:30 -08:00
Alan Viverette
4ecee5c2a6 Unhide accessibility focus and importance getter APIs
BUG: 11421928
Change-Id: Ica5cf80fc7e4c1cb0900d4d0d2e7b0d02ff13c87
2013-11-27 18:00:50 -08:00
Jason Sams
3042d2692f Generic object based data copy.
This change consolidates the copy paths to Object based.
The runtime now uses reflection to identify the type of
array present.  This adds support for long/double and reduces
the amount of code present.  We could also support arrays of vectors
or objects in the future with this mechanism.


Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788
2013-11-26 12:29:46 -08:00
Yorke Lee
a5f6a93e86 Expose CallLog provider fields as public API
Bug: 6948882
Change-Id: I3b398add070b0e3f92f0c80cad566d0a015248dd
2013-11-22 18:17:23 -08:00
George Mount
34d8519de4 Merge "Add animations along a Path." 2013-11-20 15:47:00 +00:00
George Mount
c96c7b2e54 Add animations along a Path.
Change-Id: If03bd10a3961ff874e33489e1253146b8dadca33
2013-11-20 07:39:26 -08:00
William Luh
d963715212 Expose new API for querying whether a certificate was user added.
Bug: 11257762
Change-Id: I0087048189f71b76761e7e95f98261c02bf73967
2013-11-19 10:45:25 -08:00
William Luh
6f1459a573 Merge "Revert "Expose new API for querying whether a certificate was user added."" 2013-11-19 01:28:08 +00:00
William Luh
635011173e Revert "Expose new API for querying whether a certificate was user added."
This reverts commit 60b96502b39d221afb43ff7e8a49a19a2fb3c2e0.

Change-Id: Ie1c2ee4c983c4d6b0c086f252a191b3c60e50b9c
2013-11-19 01:20:45 +00:00
William Luh
1680392e1e Merge "Expose new API for querying whether a certificate was user added." 2013-11-19 00:14:20 +00:00
Alan Viverette
2525d9c843 Deprecate Activity.setTitleColor()
BUG: 11712103
Change-Id: Id34ffb59d3f848c591a98880c6cdd9058e5a38dc
2013-11-15 14:42:19 -08:00
Sailesh Nepal
697d9f2f30 Add ThirdPartyCall APIs to master
These are APIs for the new ThirdPartyPhone feature.

Note, these APIs can't actually be used yet on master for two reasons:
  - initiating a call from a 3rd party app isn't possible yet because
    the TelephonyManager APIs aren't being added to master.
  - the TeleService implementation of these APIs aren't being added to
    master.

Also, these APIs will be removed and the final ones will be added
once they're ready to be merged into master.

Change-Id: Ie783290451da448a011f813983e55b12047b5d99
2013-11-13 12:27:21 -08:00
William Luh
60b96502b3 Expose new API for querying whether a certificate was user added.
Bug: 11257762
Change-Id: Icb23ac4f452528751988db708f7588ef45d23c26
2013-11-12 10:14:23 -08:00
Alan Viverette
fe2737282f Merge "Add methods for removing children and actions from A11y nodes" 2013-11-07 23:34:08 +00:00
Andy Hung
b84a72cb5c Merge "Revert "Add "throws IOException" to MediaCodec constructors (3)"" 2013-11-07 04:15:32 +00:00
Andy Hung
8ca55fc980 Revert "Add "throws IOException" to MediaCodec constructors (3)"
This reverts commit 52d8aa79a31c5042d2b43d06f08fa28489b27d1b.

Change-Id: Ic706e0fb469931664499d00fa3a221726b258673
2013-11-07 04:06:31 +00:00