/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragUtils.java | 19 import static android.content.ClipDescription.MIMETYPE_APPLICATION_ACTIVITY; 20 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 21 import static android.content.ClipDescription.MIMETYPE_APPLICATION_TASK; 25 import android.content.ClipDescription; 60 public static boolean isAppDrag(ClipDescription description) { in isAppDrag() 98 public static String getMimeTypesConcatenated(ClipDescription description) { in getMimeTypesConcatenated()
|
D | DragAndDropEventLogger.java | 19 import static android.content.ClipDescription.MIMETYPE_APPLICATION_ACTIVITY; 20 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 21 import static android.content.ClipDescription.MIMETYPE_APPLICATION_TASK; 24 import android.content.ClipDescription; 58 ? session.appData.getParcelableExtra(ClipDescription.EXTRA_LOGGING_INSTANCE_ID, in logStart() 98 private DragAndDropUiEventEnum getStartEnum(ClipDescription description) { in getStartEnum()
|
D | DragSession.java | 27 import android.content.ClipDescription; 77 ClipDescription getClipDescription() { in getClipDescription()
|
D | DragAndDropPolicy.java | 24 import static android.content.ClipDescription.EXTRA_ACTIVITY_OPTIONS; 25 import static android.content.ClipDescription.EXTRA_PENDING_INTENT; 26 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 27 import static android.content.ClipDescription.MIMETYPE_APPLICATION_TASK; 49 import android.content.ClipDescription; 261 final ClipDescription description = session.getClipDescription(); in launchApp()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputContentInfo.java | 22 import android.content.ClipDescription; 58 private final ClipDescription mDescription; 74 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description) { in InputContentInfo() 91 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description, in InputContentInfo() 125 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) { in validateInternal() 178 public ClipDescription getDescription() { return mDescription; } in getDescription() 261 mDescription = ClipDescription.CREATOR.createFromParcel(source); in InputContentInfo()
|
/frameworks/base/core/java/android/content/ |
D | ClipDescription.java | 52 public class ClipDescription implements Parcelable { class 205 public ClipDescription(CharSequence label, String[] mimeTypes) { in ClipDescription() method in ClipDescription 216 public ClipDescription(ClipDescription o) { in ClipDescription() method in ClipDescription 602 ClipDescription(Parcel in) { in ClipDescription() method in ClipDescription 612 public static final @android.annotation.NonNull Parcelable.Creator<ClipDescription> CREATOR = 613 new Parcelable.Creator<ClipDescription>() { 615 public ClipDescription createFromParcel(Parcel source) { 616 return new ClipDescription(source); 619 public ClipDescription[] newArray(int size) { 620 return new ClipDescription[size];
|
D | IClipboard.aidl | 20 import android.content.ClipDescription; 36 ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription()
|
D | ClipDescription.aidl | 19 parcelable ClipDescription;
|
D | ClipData.java | 175 ClipDescription.MIMETYPE_TEXT_PLAIN }; 177 ClipDescription.MIMETYPE_TEXT_HTML }; 179 ClipDescription.MIMETYPE_TEXT_URILIST }; 181 ClipDescription.MIMETYPE_TEXT_INTENT }; 183 final ClipDescription mClipDescription; 872 mClipDescription = new ClipDescription(label, mimeTypes); in ClipData() 888 public ClipData(ClipDescription description, Item item) { in ClipData() 908 public ClipData(ClipDescription description, ArrayList<Item> items) { in ClipData() 1056 public ClipDescription getDescription() { in getDescription() 1356 mClipDescription = new ClipDescription(in); in ClipData()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewReceiveContentTest.java | 41 import android.content.ClipDescription; 135 ClipDescription description = new ClipDescription("", new String[] {"image/gif"}); in testOnReceive_fallbackToCommitContent() 157 ClipDescription description = new ClipDescription("", new String[] {"image/gif"}); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo() 178 ClipDescription description = new ClipDescription("", new String[] {"image/gif"}); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRowDragController.java | 29 import android.content.ClipDescription; 123 ClipDescription clipDescription = new ClipDescription("Drag And Drop", in startDragAndDrop() 124 new String[]{ClipDescription.MIMETYPE_APPLICATION_ACTIVITY}); in startDragAndDrop() 126 dragIntent.putExtra(ClipDescription.EXTRA_PENDING_INTENT, contentIntent); in startDragAndDrop() 130 item.getIntent().putExtra(ClipDescription.EXTRA_LOGGING_INSTANCE_ID, instanceId); in startDragAndDrop()
|
/frameworks/base/core/java/android/view/ |
D | DragEvent.java | 21 import android.content.ClipDescription; 135 ClipDescription mClipDescription; 301 ClipDescription description, ClipData data, SurfaceControl dragSurface, in init() 323 int flags, Object localState, ClipDescription description, ClipData data, in obtain() 425 public ClipDescription getClipDescription() { in getClipDescription() 633 event.mClipDescription = ClipDescription.CREATOR.createFromParcel(in);
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 22 import static android.content.ClipDescription.MIMETYPE_APPLICATION_ACTIVITY; 23 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 24 import static android.content.ClipDescription.MIMETYPE_APPLICATION_TASK; 25 import static android.content.ClipDescription.MIMETYPE_TEXT_INTENT; 58 import android.content.ClipDescription; 183 ClipDescription clipDescription = new ClipDescription(mimeType, new String[] { mimeType }); in createAppClipData() 196 i.putExtra(ClipDescription.EXTRA_PENDING_INTENT, pi); in createAppClipData() 211 ClipDescription clipDescription = new ClipDescription("Intent", in createIntentClipData()
|
D | DragAndDropControllerTest.java | 19 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 33 import android.content.ClipDescription; 153 ClipDescription clipDescription = new ClipDescription(MIMETYPE_APPLICATION_SHORTCUT, in createClipData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayUtilsTest.java | 30 import android.content.ClipDescription; 148 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, true); in test_extra_withPackage_returnsTrue() 172 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, false); in test_falseExtra_returnsFalse() 185 b.putBoolean(ClipDescription.EXTRA_IS_REMOTE_DEVICE, true); in test_wrongPackage_returnsFalse() 194 ClipDescription description = new ClipDescription("Test", mimeTypes); in constructClipData()
|
D | ClipboardListenerTest.java | 32 import android.content.ClipDescription; 156 ClipDescription desc = new ClipDescription("Test", new String[]{"text/plain"}); in test_shouldSuppressOverlay() 241 ClipDescription description = new ClipDescription("Test", new String[0]); in test_emptyClipData_showsToast()
|
D | ClipboardOverlayControllerTest.java | 44 import android.content.ClipDescription; 213 ClipDescription description = mSampleClipData.getDescription(); in test_setClipData_sensitiveTextData_legacy() 215 b.putBoolean(ClipDescription.EXTRA_IS_SENSITIVE, true); in test_setClipData_sensitiveTextData_legacy() 278 ClipDescription description = mSampleClipData.getDescription(); in test_setClipData_sensitiveTextData() 280 b.putBoolean(ClipDescription.EXTRA_IS_SENSITIVE, true); in test_setClipData_sensitiveTextData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionIntentCreator.kt | 20 import android.content.ClipDescription 56 ClipDescription("content", arrayOf(ClipDescription.MIMETYPE_TEXT_PLAIN)), in createShare()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | EditTextActivity.java | 23 import android.content.ClipDescription; 104 .getBoolean(ClipDescription.EXTRA_IS_SENSITIVE); in onStart() 126 extras.putBoolean(ClipDescription.EXTRA_IS_SENSITIVE, mSensitive); in saveToClipboard()
|
D | ClipboardOverlayUtils.java | 21 import android.content.ClipDescription; 55 ClipDescription.EXTRA_IS_REMOTE_DEVICE)) { in isRemoteCopy()
|
D | IntentCreator.java | 20 import android.content.ClipDescription; 52 new ClipDescription( in getShareIntent()
|
/frameworks/base/core/java/android/widget/ |
D | TextViewOnReceiveContentListener.java | 30 import android.content.ClipDescription; 268 ClipDescription description = clip.getDescription(); in handleNonTextViaImeCommitContent() 326 @NonNull ClipDescription description) { in isClipMimeTypeSupported() 346 ClipDescription description = clip.getDescription(); in containsOnlyText()
|
/frameworks/base/services/fakes/java/com/android/server/ |
D | FakeClipboardService.java | 20 import android.content.ClipDescription; 112 public ClipDescription getPrimaryClipDescription(String callingPackage, String attributionTag, in getPrimaryClipDescription()
|
/frameworks/layoutlib/bridge/src/android/content/ |
D | ClipboardManager.java | 83 public @Nullable ClipDescription getPrimaryClipDescription() { in getPrimaryClipDescription()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DragDropControllerTests.java | 20 import static android.content.ClipDescription.MIMETYPE_APPLICATION_ACTIVITY; 21 import static android.content.ClipDescription.MIMETYPE_APPLICATION_SHORTCUT; 22 import static android.content.ClipDescription.MIMETYPE_APPLICATION_TASK; 51 import android.content.ClipDescription; 393 data.putExtra(ClipDescription.EXTRA_PENDING_INTENT, (Parcelable) pi); in createClipDataForActivity() 399 new ClipDescription("drag", new String[] { in createClipDataForActivity() 472 new ClipDescription("drag", new String[] { in createClipDataForShortcut() 485 new ClipDescription("drag", new String[] { MIMETYPE_APPLICATION_TASK }), in testValidateAppTaskArguments()
|