/frameworks/base/core/java/android/content/ |
D | ClipData.java | 164 public class ClipData implements Parcelable { class 711 public ClipData(CharSequence label, String[] mimeTypes, Item item) { in ClipData() method in ClipData 727 public ClipData(ClipDescription description, Item item) { in ClipData() method in ClipData 746 public ClipData(ClipDescription description, ArrayList<Item> items) { in ClipData() method in ClipData 761 public ClipData(ClipData other) { in ClipData() method in ClipData 775 static public ClipData newPlainText(CharSequence label, CharSequence text) { in newPlainText() 777 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item); in newPlainText() 790 static public ClipData newHtmlText(CharSequence label, CharSequence text, in newHtmlText() 793 return new ClipData(label, MIMETYPES_TEXT_HTML, item); in newHtmlText() 804 static public ClipData newIntent(CharSequence label, Intent intent) { in newIntent() [all …]
|
D | IClipboard.aidl | 19 import android.content.ClipData; 29 void setPrimaryClip(in ClipData clip, String callingPackage, int userId); in setPrimaryClip() 31 ClipData getPrimaryClip(String pkg, int userId); in getPrimaryClip()
|
D | ClipboardManager.java | 102 public void setPrimaryClip(@NonNull ClipData clip) { in setPrimaryClip() 133 public @Nullable ClipData getPrimaryClip() { in getPrimaryClip() 209 ClipData clip = getPrimaryClip(); in getText() 223 setPrimaryClip(ClipData.newPlainText(null, text)); in setText()
|
D | ClipData.aidl | 19 parcelable ClipData;
|
/frameworks/base/core/java/android/view/ |
D | DragEvent.java | 20 import android.content.ClipData; 136 ClipData mClipData; 277 private void init(int action, float x, float y, ClipDescription description, ClipData data, in init() 295 ClipDescription description, ClipData data, in obtain() 369 public ClipData getClipData() { in getClipData() 540 event.mClipData = ClipData.CREATOR.createFromParcel(in);
|
D | IWindowSession.aidl | 20 import android.content.ClipData; 179 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data); in performDrag()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistContent.java | 4 import android.content.ClipData; 26 private ClipData mClipData; 93 public void setClipData(ClipData clip) { in setClipData() 100 public ClipData getClipData() { in getClipData() 165 mClipData = ClipData.CREATOR.createFromParcel(in); in AssistContent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | DumpHeapActivity.java | 23 import android.content.ClipData; 73 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", JAVA_URI); in onCreate() 117 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", JAVA_URI); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 30 import android.content.ClipData; 200 ClipData clip = in ClipboardService() 201 new ClipData("host clipboard", in ClipboardService() 203 new ClipData.Item(contents)); in ClipboardService() 243 ClipData primaryClip; 352 public void setPrimaryClip(ClipData clip, String callingPackage, @UserIdInt int userId) { in setPrimaryClip() 382 public ClipData getPrimaryClip(String pkg, @UserIdInt int userId) { in getPrimaryClip() 505 void setPrimaryClipInternal(@Nullable ClipData clip, int uid) { in setPrimaryClipInternal() 543 clip = new ClipData(clip); in setPrimaryClipInternal() 545 clip.setItemAt(i, new ClipData.Item(clip.getItemAt(i))); in setPrimaryClipInternal() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakReporter.java | 26 import android.content.ClipData; 136 final ClipData clipData = new ClipData(null, new String[] { mimeType }, in getIntent() 137 new ClipData.Item(null, null, null, dumpUri)); in getIntent() 140 clipData.addItem(new ClipData.Item(null, null, null, hprofUri)); in getIntent()
|
D | DumpTruck.java | 19 import android.content.ClipData; 162 ClipData clipdata = new ClipData(new ClipDescription("content", in createShareIntent() 164 new ClipData.Item(hprofUri)); in createShareIntent()
|
/frameworks/base/core/java/android/app/job/ |
D | JobParameters.java | 22 import android.content.ClipData; 68 private final ClipData clipData; 82 Bundle transientExtras, ClipData clipData, int clipGrantFlags, in JobParameters() 143 public @Nullable ClipData getClipData() { in getClipData() 290 clipData = ClipData.CREATOR.createFromParcel(in); in JobParameters()
|
D | JobInfo.java | 33 import android.content.ClipData; 304 private final ClipData clipData; 354 public @Nullable ClipData getClipData() { in getClipData() 763 clipData = ClipData.CREATOR.createFromParcel(in); in JobInfo() 981 private ClipData mClipData; 1088 public Builder setClipData(@Nullable ClipData clip, int grantFlags) { in setClipData()
|
D | JobScheduler.java | 25 import android.content.ClipData;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 21 import android.content.ClipData; 80 ClipData clip = intent.getClipData(); in createFromIntent() 89 public static GrantedUriPermissions createFromClip(IActivityManager am, ClipData clip, in createFromClip() 102 private static GrantedUriPermissions grantClip(IActivityManager am, ClipData clip, in grantClip() 132 private static GrantedUriPermissions grantItem(IActivityManager am, ClipData.Item item, in grantItem()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CopyDialog.java | 6 import android.content.ClipData; 48 clipboard.setPrimaryClip(ClipData.newPlainText(null, mText)); in onClick()
|
/frameworks/base/core/java/android/app/ |
D | RemoteInput.java | 22 import android.content.ClipData; 463 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in addResultsToIntent() 499 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in addDataResultToIntent() 521 intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent)); in setResultsSource() 577 ClipData clipData = intent.getClipData(); in getClipDataIntentFromIntent()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpActivity.java | 30 import android.content.ClipData; 67 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", mDumpUri); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClipboardView.java | 17 import android.content.ClipData; 33 private ClipData mCurrentClip;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DragDropControllerTests.java | 32 import android.content.ClipData; 155 dragFlow(0, ClipData.newPlainText("label", "Test"), 0, 0); in testDragFlow() 174 private void dragFlow(int flag, ClipData data, float dropX, float dropY) { in dragFlow()
|
/frameworks/base/core/proto/android/content/ |
D | clipdata.proto | 26 // An android.content.ClipData object. 41 // An android.content.ClipData.Item object.
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 22 import android.content.ClipData; 49 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler()
|
D | WindowManagerInternal.java | 21 import android.content.ClipData; 168 ClipData data) { in prePerformDrag()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 39 import android.content.ClipData; 273 ClipData clipData = intent.getClipData(); in onAssistDataReceivedLocked() 279 ClipData clipData = content.getClipData(); in onAssistDataReceivedLocked() 332 void grantClipDataItemPermission(ClipData.Item item, int mode, int srcUid, int destUid, in grantClipDataItemPermission() 343 void grantClipDataPermissions(ClipData data, int mode, int srcUid, int destUid, in grantClipDataPermissions()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 24 import android.content.ClipData; 56 private ClipData mClip; 283 mClip = ClipData.newPlainText("package_name", text); in getView()
|