OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClipboardManager
(Results
1 - 25
of
52
) sorted by null
1
2
3
/frameworks/base/core/java/android/text/
ClipboardManager.java
21
* {@link android.content.
ClipboardManager
} for the modern API.
24
public abstract class
ClipboardManager
{
/cts/tests/tests/content/src/android/content/cts/
ClipboardManagerListenerActivity.java
21
import android.content.
ClipboardManager
;
23
import android.content.
ClipboardManager
.OnPrimaryClipChangedListener;
28
private
ClipboardManager
mClipboardManager;
34
mClipboardManager = (
ClipboardManager
) getSystemService(Context.CLIPBOARD_SERVICE);
ClipboardManagerTest.java
21
import android.content.
ClipboardManager
;
40
ClipboardManager
clipboardManager
= makeClipboardManager();
41
clipboardManager
.setText("Test Text 1");
42
assertEquals("Test Text 1",
clipboardManager
.getText());
44
clipboardManager
.setText("Test Text 2");
45
assertEquals("Test Text 2",
clipboardManager
.getText());
50
ClipboardManager
clipboardManager
= makeClipboardManager();
51
if (
clipboardManager
.hasPrimaryClip())
[
all
...]
ClipboardManagerListenerTest.java
20
import android.content.
ClipboardManager
.OnPrimaryClipChangedListener;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/text/
TestClipboardManager.java
3
import android.text.
ClipboardManager
;
6
public class TestClipboardManager extends
ClipboardManager
{
/cts/tests/tests/text/src/android/text/cts/
ClipboardManagerTest.java
23
import android.text.
ClipboardManager
;
26
* Test {@link
ClipboardManager
}.
39
ClipboardManager
clipboardManager
=
40
(
ClipboardManager
) mContext.getSystemService(Context.CLIPBOARD_SERVICE);
44
clipboardManager
.setText(expected);
45
assertEquals(expected,
clipboardManager
.getText());
50
ClipboardManager
clipboardManager
=
51
(
ClipboardManager
) mContext.getSystemService(Context.CLIPBOARD_SERVICE)
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowClipboardManager.java
3
import android.text.
ClipboardManager
;
7
@Implements(
ClipboardManager
.class)
/packages/apps/ContactsCommon/src/com/android/contacts/common/
ClipboardUtils.java
20
import android.content.
ClipboardManager
;
42
ClipboardManager
clipboardManager
= (
ClipboardManager
) context.getSystemService(
45
clipboardManager
.setPrimaryClip(clipData);
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
IntentSenderActivity.java
20
import android.content.
ClipboardManager
;
21
import android.content.
ClipboardManager
.OnPrimaryClipChangedListener;
39
private
ClipboardManager
mClipboardManager;
54
mClipboardManager = (
ClipboardManager
) getSystemService(CLIPBOARD_SERVICE);
CopyPasteTest.java
19
import android.content.
ClipboardManager
;
31
implements
ClipboardManager
.OnPrimaryClipChangedListener {
34
private
ClipboardManager
mClipboard;
47
mClipboard = (
ClipboardManager
) context.getSystemService(Context.CLIPBOARD_SERVICE);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ClipboardManagerTest.java
4
import android.text.
ClipboardManager
;
19
private
ClipboardManager
clipboardManager
;
22
clipboardManager
= (
ClipboardManager
) Robolectric.application.getSystemService(Context.CLIPBOARD_SERVICE);
27
clipboardManager
.setText("BLARG!!!");
28
assertThat(
clipboardManager
.getText().toString(), equalTo("BLARG!!!"));
33
clipboardManager
.setText(null);
34
assertFalse(
clipboardManager
.hasText());
39
clipboardManager
.setText("")
[
all
...]
/packages/apps/Mms/src/com/android/mms/ui/
MessageListView.java
20
import android.text.
ClipboardManager
;
46
ClipboardManager
clip =
47
(
ClipboardManager
)getContext().getSystemService(Context.CLIPBOARD_SERVICE);
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
Clipboard.java
8
import android.content.
ClipboardManager
;
27
private final
ClipboardManager
mClipboardManager;
36
mClipboardManager = (
ClipboardManager
)
53
* {@link android.text.
ClipboardManager
#getText()} by invoking
99
* {@link android.text.
ClipboardManager
#setText(CharSequence)}, setting the
112
* {@link android.text.
ClipboardManager
#setText(CharSequence)}, setting the
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
EmailCopyContextMenu.java
21
import android.content.
ClipboardManager
;
85
ClipboardManager
clipboard =
86
(
ClipboardManager
) mContext.getSystemService(Context.CLIPBOARD_SERVICE);
ConversationViewHeader.java
25
import android.content.
ClipboardManager
;
213
final
ClipboardManager
clipboard = (
ClipboardManager
)
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ClipboardTest.java
9
import android.content.
ClipboardManager
;
55
final
ClipboardManager
clipboardManager
= (
ClipboardManager
)
57
assertNotNull(
clipboardManager
);
60
clipboardManager
.setPrimaryClip(ClipData.newPlainText(null, ""));
61
assertFalse(hasPrimaryClip(
clipboardManager
));
74
return hasPrimaryClip(
clipboardManager
);
82
final ClipData clip =
clipboardManager
.getPrimaryClip();
113
private Boolean hasPrimaryClip(
ClipboardManager
clipboardManager)
[
all
...]
ContentViewCoreSelectionTest.java
8
import android.content.
ClipboardManager
;
225
ClipboardManager
clipboardManager
=
226
(
ClipboardManager
) getActivity().getSystemService(
229
clipboardManager
.setPrimaryClip(clip);
/frameworks/base/core/java/android/content/
ClipboardManager.java
37
* The
ClipboardManager
API itself is very simple: it consists of methods
51
public class
ClipboardManager
extends android.text.
ClipboardManager
{
82
* {@link android.content.
ClipboardManager
#addPrimaryClipChangedListener(OnPrimaryClipChangedListener)
90
* Callback that is invoked by {@link android.content.
ClipboardManager
} when the primary
108
public
ClipboardManager
(Context context, Handler handler) {
/development/samples/ApiDemos/src/com/example/android/apis/content/
ClipboardSample.java
22
import android.content.
ClipboardManager
;
38
ClipboardManager
mClipboard;
49
ClipboardManager
.OnPrimaryClipChangedListener mPrimaryChangeListener
50
= new
ClipboardManager
.OnPrimaryClipChangedListener() {
60
mClipboard = (
ClipboardManager
)getSystemService(CLIPBOARD_SERVICE);
/development/samples/NotePad/src/com/example/android/notepad/
NotesList.java
22
import android.content.
ClipboardManager
;
176
ClipboardManager
clipboard = (
ClipboardManager
)
402
ClipboardManager
clipboard = (
ClipboardManager
)
NoteEditor.java
21
import android.content.
ClipboardManager
;
459
ClipboardManager
clipboard = (
ClipboardManager
)
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
IntentReceiverActivity.java
19
import android.content.
ClipboardManager
;
65
ClipboardManager
clipboard =
66
(
ClipboardManager
) getSystemService(CLIPBOARD_SERVICE);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SelectActionModeCallback.java
7
import android.content.
ClipboardManager
;
178
ClipboardManager
clipMgr = (
ClipboardManager
)
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/
ContextMenuTest.java
8
import android.content.
ClipboardManager
;
213
ClipboardManager
clipMgr =
214
(
ClipboardManager
) getActivity().getSystemService(Context.CLIPBOARD_SERVICE);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
21
import android.content.
ClipboardManager
;
223
ClipboardManager
cm = (
ClipboardManager
)
Completed in 1134 milliseconds
1
2
3