/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
JglfwClipboard.java | 19 import com.badlogic.gdx.utils.Clipboard; 27 /** Clipboard implementation for desktop that uses the system clipboard via the default AWT {@link Toolkit}. 29 public class JglfwClipboard implements Clipboard, ClipboardOwner { 31 java.awt.datatransfer.Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); local 32 Transferable contents = clipboard.getContents(null); 43 java.awt.datatransfer.Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); local 44 clipboard.setContents(new StringSelection(content), this) [all...] |
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglClipboard.java | 27 import com.badlogic.gdx.utils.Clipboard; 29 /** Clipboard implementation for desktop that uses the system clipboard via the default AWT {@link Toolkit}. 31 public class LwjglClipboard implements Clipboard, ClipboardOwner { 35 java.awt.datatransfer.Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); local 36 Transferable contents = clipboard.getContents(null); 53 java.awt.datatransfer.Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); local 54 clipboard.setContents(stringSelection, this) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Clipboard.java | 19 /** A very simple clipboard interface for text content. 21 public interface Clipboard { 22 /** gets the current content of the clipboard if it contains text 23 * @return the clipboard content or null */ 26 /** Sets the content of the system clipboard.
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidClipboard.java | 22 import com.badlogic.gdx.utils.Clipboard; 24 public class AndroidClipboard implements Clipboard { 26 private android.text.ClipboardManager clipboard; field in class:AndroidClipboard 31 clipboard = (android.text.ClipboardManager)context.getSystemService(Context.CLIPBOARD_SERVICE); 40 if (clipboard.getText() == null) return null; 41 return clipboard.getText().toString(); 54 clipboard.setText(contents);
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
ClipboardService.java | 17 package com.android.server.clipboard; 54 * Implementation of the clipboard for copy and paste. 95 * Instantiates the clipboard. 105 permOwner = mAm.newUriPermissionOwner("clipboard"); 107 Slog.w("clipboard", "AM dead", e); 111 // Remove the clipboard if a user is removed 132 Slog.wtf("clipboard", "Exception: ", e); 172 PerUserClipboard clipboard = getClipboard(userId); local 173 revokeUris(clipboard); 174 setPrimaryClipInternal(clipboard, clip) 272 PerUserClipboard clipboard = getClipboard(); local 307 PerUserClipboard clipboard = getClipboard(); local 390 PerUserClipboard clipboard = getClipboard(); local [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtClipboard.java | 19 import com.badlogic.gdx.utils.Clipboard; 21 /** Basic implementation of clipboard in GWT. Copy-paste only works inside the libgdx application. */ 22 public class GwtClipboard implements Clipboard {
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/ |
Lwjgl3Clipboard.java | 24 import com.badlogic.gdx.utils.Clipboard; 26 /** Clipboard implementation for desktop that uses the system clipboard via the default AWT {@link Toolkit}. 28 public class Lwjgl3Clipboard implements Clipboard {
|
/frameworks/base/core/java/android/text/ |
ClipboardManager.java | 20 * @deprecated Old text-only interface to the clipboard. See 26 * Returns the text on the clipboard. It will eventually be possible 33 * Sets the contents of the clipboard to the specified text. 38 * Returns true if the clipboard contains text; false otherwise.
|
/external/libvncserver/client_examples/ |
scrap.h | 1 /* Handle clipboard text and data in arbitrary formats */
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_clipboard.h | 25 * Include file for SDL clipboard handling 42 * \brief Put UTF-8 text into the clipboard 49 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 56 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_clipboard.h | 25 * Include file for SDL clipboard handling 42 * \brief Put UTF-8 text into the clipboard 49 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 56 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_clipboard.h | 25 * Include file for SDL clipboard handling 42 * \brief Put UTF-8 text into the clipboard 49 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 56 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_clipboard.h | 25 * Include file for SDL clipboard handling 42 * \brief Put UTF-8 text into the clipboard 49 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 56 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
|
/frameworks/base/docs/html/guide/topics/text/ |
copy-paste.jd | 9 A clipboard-based framework for copying and pasting data. 16 Copies and pastes simple text directly to and from the clipboard. 28 <a href="#Clipboard">The Clipboard Framework</a> 31 <a href="#ClipboardClasses">Clipboard Classes</a> 45 <a href="#CoerceToText">Coercing the clipboard data to text</a> 50 <a href="#Copying">Copying to the Clipboard</a> 53 <a href="#Pasting">Pasting from the Clipboard</a> 124 Android provides a powerful clipboard-based framework for copying and pasting. It 127 directly in the clipboard, while complex data is stored as a reference that the pastin [all...] |
/frameworks/base/core/java/android/content/ |
ClipboardManager.java | 29 * Interface to the clipboard service, for placing and retrieving text in 30 * the global clipboard. 38 * to atomically get and set the current primary clipboard data. That data 44 * <p>For more information about using the clipboard framework, read the 45 * <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a> 80 * Defines a listener callback that is invoked when the primary clip on the clipboard changes. 101 IBinder b = ServiceManager.getService("clipboard"); 113 * Sets the current primary clip on the clipboard. This is the clip that 130 * Returns the current primary clip on the clipboard. 141 * Returns a description of the current primary clip on the clipboard [all...] |
IClipboard.aidl | 24 * Programming interface to the clipboard, which allows copying and pasting 38 * Returns true if the clipboard contains text; false otherwise.
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_clipboard.c | 94 /* Clear clipboard text state */ 114 /* Empty clipboard */ 158 /* Clipboard test cases */ 171 /* Sequence of Clipboard test cases */ 176 /* Clipboard test suite (global) */ 178 "Clipboard",
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
CopyDialog.java | 46 final ClipboardManager clipboard = (ClipboardManager) local 48 clipboard.setPrimaryClip(ClipData.newPlainText(null, mText));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
CopyCutAction.java | 28 import org.eclipse.swt.dnd.Clipboard; 54 private final Clipboard mClipboard; 63 public CopyCutAction(AndroidXmlEditor editor, Clipboard clipboard, ICommitXml xmlCommit, 65 this(editor, clipboard, xmlCommit, toList(selected), performCut); 75 public CopyCutAction(AndroidXmlEditor editor, Clipboard clipboard, ICommitXml xmlCommit, 79 mClipboard = clipboard; 102 * XML fragment, which is added as text to the clipboard.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
TableView.java | 25 import org.eclipse.swt.dnd.Clipboard; 39 private Clipboard mClipboard; 71 mClipboard = new Clipboard(parent.getDisplay());
|
/development/samples/NotePad/res/menu/ |
list_options_menu.xml | 9 <!-- If there is currently data in the clipboard, this adds a PASTE menu item to the menu
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
EmailCopyContextMenu.java | 39 * Requires a context to use for inflation and clipboard copying. 81 * Copy the input text sequence to the system clipboard. 85 ClipboardManager clipboard = local 87 clipboard.setPrimaryClip(ClipData.newPlainText(null, text));
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
CopyContactDetailDialog.java | 50 final ClipboardManager clipboard = local 52 clipboard.setPrimaryClip(ClipData.newPlainText(null /* label */, mContactDetail));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ClipboardSupport.java | 37 import org.eclipse.swt.dnd.Clipboard; 49 * The {@link ClipboardSupport} class manages the native clipboard, providing operations 50 * to copy, cut and paste view items, and can answer whether the clipboard contains 56 /** SWT clipboard instance. */ 57 private Clipboard mClipboard; 64 * @param canvas The {@link LayoutCanvas} to provide clipboard support for. 70 mClipboard = new Clipboard(parent.getDisplay()); 88 * selection both as text and as {@link SimpleElement}s in the clipboard. 92 * @param selection A list of selection items to add to the clipboard; 138 * the clipboard. Finally it uses {@link #deleteSelection(String, List)} t [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
ChooseAssetTypePage.java | 27 import org.eclipse.swt.dnd.Clipboard; 113 mClipboardButton.setText("Copy Name to Clipboard"); 164 Clipboard clipboard = new Clipboard(getShell().getDisplay()); local 166 clipboard.setContents( 169 clipboard.dispose();
|