Home
last modified time | relevance | path

Searched refs:ClipData (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/core/java/android/content/
DClipData.java164 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 …]
DIClipboard.aidl19 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()
DClipboardManager.java102 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()
DClipData.aidl19 parcelable ClipData;
/frameworks/base/core/java/android/view/
DDragEvent.java20 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);
DIWindowSession.aidl20 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/
DAssistContent.java4 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/
DDumpHeapActivity.java23 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/
DClipboardService.java30 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/
DLeakReporter.java26 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()
DDumpTruck.java19 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/
DJobParameters.java22 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()
DJobInfo.java33 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()
DJobScheduler.java25 import android.content.ClipData;
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java21 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/
DCopyDialog.java6 import android.content.ClipData;
48 clipboard.setPrimaryClip(ClipData.newPlainText(null, mText)); in onClick()
/frameworks/base/core/java/android/app/
DRemoteInput.java22 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/
DHeapDumpActivity.java30 import android.content.ClipData;
67 ClipData clip = ClipData.newUri(getContentResolver(), "Heap Dump", mDumpUri); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClipboardView.java17 import android.content.ClipData;
33 private ClipData mCurrentClip;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java32 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/
Dclipdata.proto26 // An android.content.ClipData object.
41 // An android.content.ClipData.Item object.
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java22 import android.content.ClipData;
49 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler()
DWindowManagerInternal.java21 import android.content.ClipData;
168 ClipData data) { in prePerformDrag()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java39 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/
DUsageStatsActivity.java24 import android.content.ClipData;
56 private ClipData mClip;
283 mClip = ClipData.newPlainText("package_name", text); in getView()

123