History log of /frameworks/base/core/java/android/content/ClipDescription.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e9ee7f2cb5e33fbc7eec7d30f221168c852f2d63 21-Apr-2017 Sudheer Shanka <sudheersai@google.com> Fix a spelling.

Bug: 37419581
Test: N/A
Change-Id: Ia647911524f0a2ebc304e46753a2299bbdd61617
/frameworks/base/core/java/android/content/ClipDescription.java
c8201910613a374e9c075c64dca2a0fe377250d0 20-Apr-2017 Sudheer Shanka <sudheersai@google.com> Update ClipDescription.getTimeStamp to use currentTimeMillis timebase.

Bug: 37419581
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases -t \
android.content.cts.ClipDescriptionTest

Change-Id: I699bfc073c471534eee0b3aa0300a6b6682ab8dd
/frameworks/base/core/java/android/content/ClipDescription.java
09971befd7e5eb506eca65afd61bd9248b78c723 18-Jan-2017 Sudheer Shanka <sudheersai@google.com> Add new api ClipDescription.getTimestamp.

ClipDescription.getTimestamp can be used to know the time
at which the associated ClipData is copied to global clipboard.

Bug: 30873580
Test: cts-tradefed run singleCommand cts-dev --module CtsContentTestCases -t \
android.content.cts.ClipDescriptionTest
Change-Id: I9486ab3fe0696959d42f6b4c98e40f5becee3019
/frameworks/base/core/java/android/content/ClipDescription.java
8e7b940f8d08fe6697e274933ba8c06e6363c295 24-Nov-2016 Vladislav Kaznacheev <kaznacheev@google.com> Add ClipData.addItem(Item, ContentResolver)

Unlike the existing addItem(Item), this method updates
the MIME type list in the ClipDescription.

Bug: 28750744
Test: cts-tradefed ... -m CtsContentTestCases
--test android.content.cts.ClipboardManagerTest
Change-Id: Ida0477267d1319a31a738dfd704c0af71928dd2f
/frameworks/base/core/java/android/content/ClipDescription.java
5d196673b8d940b9420cfdb12c2d6d75460b818c 06-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Hide unnecessary extra name constants in ClipDescription

Bug: 27530944
Change-Id: I6989a55ea4f5d16d7cfd2ba3ab9342f0be34113c
/frameworks/base/core/java/android/content/ClipDescription.java
ddb4bdecfcb6fd84c0613f42c0fadb7fdd487839 24-Nov-2015 Vladislav Kaznacheev <kaznacheev@google.com> Add extras to ClipDescription

This is required to expand metadata capabilities of DragEvent.
Apps receiving ACTION_DRAG_* events have access to
ClipDescription, but not ClipData.

Adding extras to ClipDescription allows for a richer behavior of apps
responding to these events.

Bug: 25788641
Change-Id: I07e374f71d16f8441dc3a0b02c7d833e0139b74b
/frameworks/base/core/java/android/content/ClipDescription.java
ae498721001c6cdcdb6cce1b2f3ba5abbce36f8a 14-Aug-2015 Dianne Hackborn <hackbod@google.com> Add debugging for issue #23190084: [APPComm][Dev Test] {Unable to share photo...

...from Camera360 to Hangouts }

In the short URI toString, include a small summary of the ClipData (instead
of just saying it has a clip data). This makes it a lot easier to understand
what is happening when you look at the log of activity starts.

Also separate out the activity manager dump of URI permission grants from
its dump of providers, so it is easy to just look at that state.

Change-Id: I68093d9f279944e1aa9a29347075f237f4f55ed3
/frameworks/base/core/java/android/content/ClipDescription.java
3390018c6b45acffa6edf97a4174ca49f1e8c76d 02-Jan-2014 John Spurlock <jspurlock@google.com> Docfixes: three typos and escape */*.

Change-Id: I418d855b5d08a1a20eaca3d8e4d2e5d0fca23dd5
/frameworks/base/core/java/android/content/ClipDescription.java
acb69bb909d098cea284df47d794c17171d84c91 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Add direct support for HTML formatted text in ClipData etc.

When using the clipboard, ACTION_SEND, etc., you can now supply
HTML formatted text as one of the representations. This is exposed
as a set of methods on ClipData for building items with HTML
formatted text, and retrieving and coercing to HTML (and styled)
text. In addtion, there is a new EXTRA_HTML_TEXT for interoperating
with the old ACTION_SEND protocol.

Change-Id: I8846520a480c8a5f829ec1e693aeebd425ac170d
/frameworks/base/core/java/android/content/ClipDescription.java
21c241e061de29a538008ca42df9c878184bcfb8 08-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new Intent API for associating a ClipData with an Intent.

Allows applications to propagate multiple URI grants through an
Intent.

Later on, we should probably redefine the share actions to be
based on this ClipData with the old extras-based approach only
there for compatibility. Even if we don't do that, though, this
allows you to do a multi-select share that grants multiple URI
permissions by stuffing the URIs in a ClipData.

Also add some documentation in various places telling people how
they can grant URI permissions.

Change-Id: Id4ba8e72c11caf7e1f1f438cb7af058d1586a37c
/frameworks/base/core/java/android/content/ClipDescription.java
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
/frameworks/base/core/java/android/content/ClipDescription.java
f6d952bbc85706031e1ad29ec389c1e02cfff433 28-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix some SDK build breakage. Not all.

Change-Id: I2791b0a7c48d03cb6e5ca93771efb56c0a0c1956
/frameworks/base/core/java/android/content/ClipDescription.java
1040dc465cbf5ca8f834a87c949e476abefa3f76 27-Aug-2010 Dianne Hackborn <hackbod@google.com> Improve clipboard API.

- Rename ClippedData to ClipData.
- Introudce ClipDescription subclass.
- Add convenience APIs for creating a ClipData.
- Add ClipboardManager API to get just the ClipDescription.
- Define MIME types associated with a clip.

Change-Id: If97ef91aa99a4dd0ec74ccaea504345c9ef12b5c
/frameworks/base/core/java/android/content/ClipDescription.java